Your SlideShare is downloading. ×
  • Like
Wakeme Presen
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Wakeme Presen

  • 500 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
500
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide




















Transcript

  • 1. Wakame
  • 2. GUI DCM HVC HVA HVA Instance HVA Instance
  • 3. GUI DCM HVC HVA HVA Instance HVA Instance
  • 4. • Web API • Active Resource • Sinatra
  • 5. Active Resource • Ruby on Rails • RESTful API
  • 6. Active Resource • URL • Instance.create => POST /instances.json • Instance.find(:all) => GET /instances.json • URL • DCM JSON
  • 7. Active Resource • class Instance < ActiveResource::Base self.site = 'http://id:pass@dcm.xxx.com/' end Basic • Instance.create( :account=>'A-HOGE1243', :image_storage=>'IS-4567DEFG'           :cpus=>4, ..., )
  • 8. Active Resource • JavaScript Jester(http://github.com/thoughtbot/jester) • PHP phpActiveResource (http://github.com/lux/phpactiveresource) • POST http://xxx/instances.json
  • 9. GUI DCM HVC HVA HVA Instance HVA Instance
  • 10. • • •
  • 11. • • •
  • 12. • A 3F => NETWORK_A.3F • B 2F => NETWORK_B.2F A B C 4F 3F 2F
  • 13. • • • A B C 4F 3F 2F
  • 14. HVC GUI DCM HVC HVA HVA Instance HVA Instance
  • 15. HVC • HTTP • HVC HVA •     /?action=run_instance&hva_ip=<HVAIP> &instance_uuid=<INSTANCE UUID> &instance_mac=<INSTANCE MAC ADDRES> &image=<IMAGE URL> &cpus=< CPU >&... •
  • 16. GUI DCM HVC HVA HVA Instance HVA Instance
  • 17. • • Active Resource instance = Instance.find(‘<UUID>’) instance.status = :online instance.save
  • 18. Dcm • HVA/HVC/ • HVC
  • 19. GUI DCM HVC HVA HVA Instance HVA Instance
  • 20. Wakame 1.0 • IP • •