際際滷

際際滷Share a Scribd company logo
Wakame
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
? Web API

? Active Resource

? Sinatra
Active Resource


? Ruby on Rails

? RESTful API
Active Resource

?                         URL

    ?
        Instance.create
        => POST /instances.json
    ?
        Instance.?nd(:all)
        => GET /instances.json
?                         URL

? DCM            JSON
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, ...,
               )
Active Resource


? JavaScript
  Jester(http://github.com/thoughtbot/jester)
? PHP
  phpActiveResource
  (http://github.com/lux/phpactiveresource)
?
    POST http://xxx/instances.json
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
?



?

?
?



?



?
?            A 3F => NETWORK_A.3F

?            B 2F => NETWORK_B.2F
     A   B      C

4F

3F

2F
?

?

?
     A   B   C

4F

3F

2F
HVC
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
HVC
? HTTP

? HVC      HVA

?
    ? ? /?action=run_instance&hva_ip=<HVAIP>
          &instance_uuid=<INSTANCE UUID>
          &instance_mac=<INSTANCE MAC ADDRES>
          &image=<IMAGE URL>
          &cpus=<        CPU       >&...

?
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
?

?           Active Resource
    instance = Instance.?nd(`<UUID>¨)
    instance.status = :online
    instance.save
Dcm



? HVA/HVC/



? HVC
GUI     DCM

                    HVC

                    HVA
              HVA
                      Instance
      HVA
                      Instance
Wakame 1.0


? IP

?

?

More Related Content

Wakeme Presen

  • 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.?nd(: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.?nd(`<UUID>¨) instance.status = :online instance.save
  • 19. GUI DCM HVC HVA HVA Instance HVA Instance

Editor's Notes