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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Wakeme Presen

1,448

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,448
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
2
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 • •

    ×