Module: Misty::Openstack::API::BlazarV1

Included in:
Misty::Openstack::API::Blazar::V1
Defined in:
lib/misty/openstack/api/blazar/blazar_v1.rb

Instance Method Summary collapse

Instance Method Details

#apiObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/misty/openstack/api/blazar/blazar_v1.rb', line 6

def api
{"v1/leases"=>{:GET=>[:list_leases], :POST=>[:create_lease]},
 "v1/leases/{lease_id}"=>
{:GET=>[:show_lease_details],
 :PUT=>[:update_lease],
 :DELETE=>[:delete_lease]},
 "v1/os_hosts"=>{:GET=>[:list_hosts], :POST=>[:create_host]},
 "v1/os_hosts/{host_id}"=>
{:GET=>[:show_host_details], :PUT=>[:update_host], :DELETE=>[:delete_host]}}
end

#tagObject



2
3
4
# File 'lib/misty/openstack/api/blazar/blazar_v1.rb', line 2

def tag
  'Reservation API Reference '
end