Module: Misty::Openstack::NeutronV2_0

Included in:
Misty::Openstack::Neutron::V2_0
Defined in:
lib/misty/openstack/neutron/neutron_v2_0.rb

Instance Method Summary collapse

Instance Method Details

#apiObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
# File 'lib/misty/openstack/neutron/neutron_v2_0.rb', line 6

def api
{"/"=>{:GET=>[:list_api_versions]},
 "/v2.0/"=>{:GET=>[:show_api_v2_details]},
 "/v2.0/extensions"=>{:GET=>[:list_extensions]},
 "/v2.0/extensions/{alias}"=>{:GET=>[:show_extension_details]},
 "/v2.0/networks/{network_id}"=>
{:GET=>[:show_network_details],
 :PUT=>[:update_network],
 :DELETE=>[:delete_network]},
 "/v2.0/networks/{network_id}/dhcp-agents"=>
{:GET=>[:list_network_dhcp_agents]},
 "/v2.0/networks"=>
{:GET=>[:list_networks], :POST=>[:create_network, :bulk_create_networks]},
 "/v2.0/agents"=>{:GET=>[:list_agents]},
 "/v2.0/agents/{agent_id}"=>{:GET=>[:show_agent]},
 "/v2.0/agents/{agent_id}/dhcp-networks"=>
{:GET=>[:list_agent_dhcp_networks],
 :POST=>[:create_agent_dhcp_network]},
 "/v2.0/agents/{agent_id}/dhcp-networks/{network_id}"=>
{:DELETE=>[:delete_agent_dhcp_network]},
 "/v2.0/ports/{port_id}"=>
{:GET=>[:show_port_details, :show_trunk_details],
 :PUT=>[:update_port],
 :DELETE=>[:delete_port]},
 "/v2.0/ports"=>
{:GET=>[:list_ports], :POST=>[:create_port, :bulk_create_ports]},
 "/v2.0/segments/{segment_id}"=>
{:GET=>[:show_segment_details],
 :PUT=>[:update_segment],
 :DELETE=>[:delete_segment]},
 "/v2.0/segments"=>{:GET=>[:list_segments], :POST=>[:create_segment]},
 "/v2.0/trunks"=>{:GET=>[:list_trunks], :POST=>[:create_trunk]},
 "/v2.0/trunks/{trunk_id}/add_subports"=>{:PUT=>[:add_subports_to_trunk]},
 "/v2.0/trunks/{trunk_id}/remove_subports"=>
{:PUT=>[:delete_subports_from_trunk]},
 "/v2.0/trunks/{trunk_id}/get_subports"=>{:GET=>[:list_subports_for_trunk]},
 "/v2.0/trunks/{trunk_id}"=>
{:PUT=>[:update_trunk], :GET=>[:show_trunk], :DELETE=>[:delete_trunk]},
 "/v2.0/floatingips"=>
{:GET=>[:list_floating_ips], :POST=>[:create_floating_ip]},
 "/v2.0/floatingips/{floatingip_id}"=>
{:GET=>[:show_floating_ip_details],
 :PUT=>[:update_floating_ip],
 :DELETE=>[:delete_floating_ip]},
 "/v2.0/routers"=>{:GET=>[:list_routers], :POST=>[:create_router]},
 "/v2.0/routers/{router_id}"=>
{:GET=>[:show_router_details],
 :PUT=>[:update_router],
 :DELETE=>[:delete_router]},
 "/v2.0/routers/{router_id}/add_router_interface"=>
{:PUT=>[:add_interface_to_router]},
 "/v2.0/routers/{router_id}/remove_router_interface"=>
{:PUT=>[:remove_interface_from_router]},
 "/v2.0/subnetpools/{subnetpool_id}"=>
{:GET=>[:show_subnet_pool],
 :PUT=>[:update_subnet_pool],
 :DELETE=>[:delete_subnet_pool]},
 "/v2.0/subnetpools"=>
{:GET=>[:list_subnet_pools], :POST=>[:create_subnet_pool]},
 "/v2.0/subnets"=>
{:GET=>[:list_subnets], :POST=>[:create_subnet, :bulk_create_subnet]},
 "/v2.0/subnets/{subnet_id}"=>
{:GET=>[:show_subnet_details],
 :PUT=>[:update_subnet],
 :DELETE=>[:delete_subnet]},
 "/v2.0/fwaas/firewall_groups"=>
{:GET=>[:list_firewall_groups], :POST=>[:create_firewall_group]},
 "/v2.0/fwaas/firewall_groups/{firewall_group_id}"=>
{:GET=>[:show_firewall_group_details],
 :PUT=>[:update_firewall_group],
 :DELETE=>[:delete_firewall_group]},
 "/v2.0/fwaas/firewall_policies"=>{:GET=>[:list_firewall_policies], :POST=>[:create_firewall_policy]},
 "/v2.0/fwaas/firewall_policies/{firewall_policy_id}"=>
{:GET=>[:show_firewall_policy_details],
 :PUT=>[:update_firewall_policy],
 :DELETE=>[:delete_firewall_policy]},
 "/v2.0/fwaas/firewall_rules"=>{:GET=>[:list_firewall_rules], :POST=>[:create_firewall_rule]},
 "/v2.0/fwaas/firewall_rules/{firewall_rule_id}"=>
{:GET=>[:show_firewall_rule_details],
 :PUT=>[:update_firewall_rule],
 :DELETE=>[:delete_firewall_rule]},
 "/v2.0/fwaas/firewall_policies/{firewall_policy_id}/insert_rule"=>
{:PUT=>[:insert_rule_into_a_firewall_policy]},
 "/v2.0/fwaas/firewall_policies/{firewall_policy_id}/remove_rule"=>
{:PUT=>[:remove_rule_from_firewall_policy]},
 "/v2.0/rbac-policies/{rbac_policy_id}"=>
{:GET=>[:show_rbac_policy_details],
 :PUT=>[:update_rbac_policy],
 :DELETE=>[:delete_rbac_policy]},
 "/v2.0/rbac-policies"=>
{:GET=>[:list_rbac_policies], :POST=>[:create_rbac_policy]},
 "/v2.0/security-group-rules"=>
{:GET=>[:list_security_group_rules], :POST=>[:create_security_group_rule]},
 "/v2.0/security-group-rules/{security_group_rule_id}"=>
{:GET=>[:show_security_group_rule], :DELETE=>[:delete_security_group_rule]},
 "/v2.0/security-groups"=>
{:GET=>[:list_security_groups], :POST=>[:create_security_group]},
 "/v2.0/security-groups/{security_group_id}"=>
{:GET=>[:show_security_group],
 :PUT=>[:update_security_group],
 :DELETE=>[:delete_security_group]},
 "/v2.0/vpn/ikepolicies"=>
{:GET=>[:list_ike_policies], :POST=>[:create_ike_policy]},
 "/v2.0/vpn/ikepolicies/{ikepolicy_id}"=>
{:GET=>[:show_ike_policy_details],
 :PUT=>[:update_ike_policy],
 :DELETE=>[:remove_ike_policy]},
 "/v2.0/vpn/ipsecpolicies"=>
{:GET=>[:list_ipsec_policies], :POST=>[:create_ipsec_policy]},
 "/v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}"=>
{:GET=>[:show_ipsec_policy],
 :PUT=>[:update_ipsec_policy],
 :DELETE=>[:remove_ipsec_policy]},
 "/v2.0/vpn/ipsec-site-connections"=>
{:GET=>[:list_ipsec_connections], :POST=>[:create_ipsec_connection]},
 "/v2.0/vpn/ipsec-site-connections/{connection_id}"=>
{:GET=>[:show_ipsec_connection],
 :PUT=>[:update_ipsec_connection],
 :DELETE=>[:remove_ipsec_connection]},
 "/v2.0/vpn/endpoint-groups"=>
{:GET=>[:list_vpn_endpoint_groups], :POST=>[:create_vpn_endpoint_group]},
 "/v2.0/vpn/endpoint-groups/{endpoint_group_id}"=>
{:GET=>[:show_vpn_endpoint_group],
 :PUT=>[:update_vpn_endpoint_group],
 :DELETE=>[:remove_vpn_endpoint_group]},
 "/v2.0/vpn/vpnservices"=>
{:GET=>[:list_vpn_services], :POST=>[:create_vpn_service]},
 "/v2.0/vpn/vpnservices/{service_id}"=>
{:GET=>[:show_vpn_service_details],
 :PUT=>[:update_vpn_service],
 :DELETE=>[:remove_vpn_service]},
 "/v2.0/flavors"=>{:GET=>[:list_flavors], :POST=>[:create_flavor]},
 "/v2.0/flavors/{flavor_id}"=>
{:GET=>[:show_flavor_details],
 :PUT=>[:update_flavor],
 :DELETE=>[:delete_flavor]},
 "/v2.0/flavors/{flavor_id}/service_profiles"=>
{:POST=>[:associate_flavor_with_a_service_profile]},
 "/v2.0/flavors/{flavor_id}/service_profiles/{profile_id}"=>
{:DELETE=>[:disassociate_a_flavor]},
 "/v2.0/service_profiles"=>
{:GET=>[:list_service_profiles], :POST=>[:create_service_profile]},
 "/v2.0/service_profiles/{profile_id}"=>
{:GET=>[:show_service_profile_details],
 :PUT=>[:update_service_profile],
 :DELETE=>[:delete_service_profile]},
 "/v2.0/metering/metering-labels"=>
{:GET=>[:list_metering_labels], :POST=>[:create_metering_label]},
 "/v2.0/metering/metering-labels/{metering_label_id}"=>
{:GET=>[:show_metering_label_details], :DELETE=>[:delete_metering_label]},
 "/v2.0/metering/metering-label-rules"=>
{:GET=>[:list_metering_label_rules], :POST=>[:create_metering_label_rule]},
 "/v2.0/metering/metering-label-rules/{metering_label_rule_id}"=>
{:GET=>[:show_metering_label_rule_details],
 :DELETE=>[:delete_metering_label_rule]},
 "/v2.0/network-ip-availabilities/{network_id}"=>
{:GET=>[:show_network_ip_availability]},
 "/v2.0/network-ip-availabilities"=>{:GET=>[:list_network_ip_availability]},
 "/v2.0/quotas"=>
{:GET=>[:list_quotas_for_projects_with_non_default_quota_values]},
 "/v2.0/quotas/{project_id}"=>
{:GET=>[:list_quotas_for_a_project],
 :PUT=>[:update_quota_for_a_project],
 :DELETE=>[:reset_quota_for_a_project]},
 "/v2.0/quotas/{project_id}/default"=>
{:GET=>[:list_default_quotas_for_a_project]},
 "/v2.0/quotas/{project_id}/details.json"=>
{:GET=>[:show_quota_details_for_a_tenant]},
 "/v2.0/service-providers"=>{:GET=>[:list_service_providers]},
 "/v2.0/{resource_type}/{resource_id}/tags"=>
{:PUT=>[:replace_all_tags],
 :DELETE=>[:remove_all_tags],
 :GET=>[:obtain_tag_list]},
 "/v2.0/{resource_type}/{resource_id}/tags/{tag}"=>
{:GET=>[:confirm_a_tag], :PUT=>[:add_a_tag], :DELETE=>[:remove_a_tag]},
 "/v2.0/qos/rule-types"=>{:GET=>[:list_qos_rule_types]},
 "/v2.0/qos/rule-types/{rule_type}"=>{:GET=>[:show_qos_rule_type_details]},
 "/v2.0/qos/policies"=>
{:GET=>[:list_qos_policies], :POST=>[:create_qos_policy]},
 "/v2.0/qos/policies/{policy_id}"=>
{:GET=>[:show_qos_policy_details],
 :PUT=>[:update_qos_policy],
 :DELETE=>[:delete_qos_policy]},
 "/v2.0/qos/policies/{policy_id}/bandwidth_limit_rules"=>
{:GET=>[:list_bandwidth_limit_rules_for_qos_policy],
 :POST=>[:create_bandwidth_limit_rule]},
 "/v2.0/qos/policies/{policy_id}/bandwidth_limit_rules/{rule_id}"=>
{:GET=>[:show_bandwidth_limit_rule_details],
 :PUT=>[:update_bandwidth_limit_rule],
 :DELETE=>[:delete_bandwidth_limit_rule]},
 "/v2.0/qos/policies/{policy_id}/dscp_marking_rules"=>
{:GET=>[:list_dscp_marking_rules_for_qos_policy],
 :POST=>[:create_dscp_marking_rule]},
 "/v2.0/qos/policies/{policy_id}/dscp_marking_rules/{dscp_rule_id}"=>
{:GET=>[:show_dscp_marking_rule_details],
 :PUT=>[:update_dscp_marking_rule],
 :DELETE=>[:delete_dscp_marking_rule]},
 "/v2.0/qos/policies/{policy_id}/minimum_bandwidth_rules"=>
{:GET=>[:list_minimum_bandwidth_rules_for_qos_policy],
 :POST=>[:create_minimum_bandwidth_rule]},
 "/v2.0/qos/policies/{policy_id}/minimum_bandwidth_rules/{rule_id}"=>
{:GET=>[:show_minimum_bandwidth_rule_details],
 :PUT=>[:update_minimum_bandwidth_rule],
 :DELETE=>[:delete_minimum_bandwidth_rule]},
 "/v2.0/lbaas/loadbalancers"=>
{:GET=>[:list_load_balancers], :POST=>[:create_a_load_balancer]},
 "/v2.0/lbaas/loadbalancers/{loadbalancer_id}"=>
{:GET=>[:show_load_balancer_details],
 :PUT=>[:update_load_balancer],
 :DELETE=>[:remove_load_balancer]},
 "/v2.0/lbaas/loadbalancers/{loadbalancer_id}/statuses"=>
{:GET=>[:show_load_balancer_status_tree]},
 "/v2.0/lbaas/listeners"=>{:GET=>[:list_listeners], :POST=>[:create_listener]},
 "/v2.0/lbaas/listeners/{listener_id}"=>
{:GET=>[:show_listener_details],
 :PUT=>[:update_listener],
 :DELETE=>[:remove_listener]},
 "/v2.0/lbaas/pools"=>{:GET=>[:list_pools], :POST=>[:create_pool]},
 "/v2.0/lbaas/pools/{pool_id}"=>
{:GET=>[:show_pool_details], :PUT=>[:update_pool], :DELETE=>[:remove_pool]},
 "/v2.0/lbaas/pools/{pool_id}/members"=>
{:GET=>[:list_pool_members], :POST=>[:add_member_to_pool]},
 "/v2.0/lbaas/pools/{pool_id}/members/{member_id}"=>
{:GET=>[:show_pool_member_details],
 :PUT=>[:update_pool_member],
 :DELETE=>[:remove_member_from_pool]},
 "/v2.0/lbaas/healthmonitors"=>
{:GET=>[:list_health_monitors], :POST=>[:create_health_monitor]},
 "/v2.0/lbaas/healthmonitors/{healthmonitor_id}"=>
{:GET=>[:show_health_monitor_details],
 :PUT=>[:update_health_monitor],
 :DELETE=>[:remove_health_monitor]},
 "/v2.0/logging/logging_resources"=>
{:GET=>[:list_logging_resources], :POST=>[:create_logging_resource]},
 "/v2.0/logging/logging_resources/{logging_resource_id}"=>
{:GET=>[:show_logging_resource_details],
 :PUT=>[:update_logging_resource],
 :DELETE=>[:delete_logging_resource]},
 "/v2.0/logging/logging_resources/{logging_resource_id}/firewall_logs"=>
{:GET=>[:list_firewall_logs], :POST=>[:create_firewall_log]},
 "/v2.0/logging/logging_resources/{logging_resource_id}/firewall_logs/{firewall_log_id}"=>
{:GET=>[:show_firewall_log_details],
 :PUT=>[:update_firewall_log],
 :DELETE=>[:delete_firewall_log]},
 "/v2.0/bgpvpn/bgpvpns"=>{:GET=>[:list_bgp_vpns], :POST=>[:create_bgp_vpns]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}"=>
{:GET=>[:show_bgp_vpn_details],
 :PUT=>[:update_a_bgp_vpn],
 :DELETE=>[:delete_bgp_vpn]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/network_associations"=>
{:GET=>[:list_network_associations], :POST=>[:create_network_association]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/network_associations/{network_association_id}"=>
{:GET=>[:show_network_association_details],
 :DELETE=>[:delete_network_association]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/router_associations"=>
{:GET=>[:list_router_associations], :POST=>[:create_router_association]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/router_associations/{router_association_id}"=>
{:GET=>[:show_router_association_details],
 :PUT=>[:update_a_router_association_bgpvpn_routes_control_extension],
 :DELETE=>[:delete_router_association]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/port_associations"=>
{:GET=>[:list_port_associations], :POST=>[:create_port_association]},
 "/v2.0/bgpvpn/bgpvpns/{bgpvpn_id}/port_associations/{port_association_id}"=>
{:GET=>[:show_port_association_details],
 :PUT=>[:update_a_port_association],
 :DELETE=>[:delete_port_association]},
 "/v2.0/log/logs"=>{:GET=>[:list_logs], :POST=>[:create_log]},
 "/v2.0/log/logs/{log_id}"=>
{:GET=>[:show_log], :PUT=>[:update_log], :DELETE=>[:delete_log]},
 "/v2.0/log/loggable-resources"=>{:GET=>[:list_loggable_resources]}}
end

#tagObject



2
3
4
# File 'lib/misty/openstack/neutron/neutron_v2_0.rb', line 2

def tag
  'Networking API Reference 1.10.1'
end