mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[xenserver|compute] updated compute service to add new model, requests
- added VLAN model - added Vlans collection - added create_network request - added create_vlan req. - added destroy_network req. - added destroy_vlan req.
This commit is contained in:
parent
0ae1c5b242
commit
fe3487cf8f
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,8 @@ module Fog
|
|||
model :vbd_metrics
|
||||
model :host_metrics
|
||||
model :host_cpu
|
||||
model :vlan
|
||||
collection :vlans
|
||||
|
||||
request_path 'fog/xenserver/requests/compute'
|
||||
request :create_server
|
||||
|
@ -68,6 +70,10 @@ module Fog
|
|||
request :disable_host
|
||||
request :enable_host
|
||||
request :shutdown_host
|
||||
request :create_network
|
||||
request :destroy_network
|
||||
request :create_vlan
|
||||
request :destroy_vlan
|
||||
|
||||
class Real
|
||||
|
||||
|
|
Loading…
Reference in a new issue