icontrol 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol/arx/export.rb +4 -4
- data/lib/icontrol/arx/file_change_notification.rb +10 -10
- data/lib/icontrol/arx/policy.rb +6 -6
- data/lib/icontrol/arx/share.rb +4 -4
- data/lib/icontrol/arx/volume.rb +2 -2
- data/lib/icontrol/asm/object_params.rb +4 -4
- data/lib/icontrol/asm/policy.rb +36 -36
- data/lib/icontrol/asm/system_configuration.rb +6 -6
- data/lib/icontrol/asm/web_application.rb +10 -10
- data/lib/icontrol/asm/web_application_group.rb +4 -4
- data/lib/icontrol/base.rb +13 -2
- data/lib/icontrol/base/attributable.rb +1 -1
- data/lib/icontrol/base/icontrol_overlay.rb +2 -1
- data/lib/icontrol/base/icontrol_overlay/common.rb +20 -0
- data/lib/icontrol/base/{icontrol → icontrol_overlay}/local_lb/pool.rb +0 -0
- data/lib/icontrol/global_lb/application.rb +12 -12
- data/lib/icontrol/global_lb/data_center.rb +6 -6
- data/lib/icontrol/global_lb/dnssec_key.rb +24 -24
- data/lib/icontrol/global_lb/dnssec_zone.rb +8 -8
- data/lib/icontrol/global_lb/globals.rb +48 -48
- data/lib/icontrol/global_lb/link.rb +34 -34
- data/lib/icontrol/global_lb/monitor.rb +30 -30
- data/lib/icontrol/global_lb/pool.rb +52 -52
- data/lib/icontrol/global_lb/pool_member.rb +34 -34
- data/lib/icontrol/global_lb/region.rb +6 -6
- data/lib/icontrol/global_lb/rule.rb +4 -4
- data/lib/icontrol/global_lb/server.rb +36 -36
- data/lib/icontrol/global_lb/topology.rb +6 -6
- data/lib/icontrol/global_lb/virtual_server.rb +16 -16
- data/lib/icontrol/global_lb/wide_ip.rb +28 -28
- data/lib/icontrol/local_lb/klass.rb +48 -48
- data/lib/icontrol/local_lb/monitor.rb +28 -28
- data/lib/icontrol/local_lb/nat.rb +10 -10
- data/lib/icontrol/local_lb/node_address.rb +22 -22
- data/lib/icontrol/local_lb/pool.rb +42 -42
- data/lib/icontrol/local_lb/pool_member.rb +20 -20
- data/lib/icontrol/local_lb/profile_auth.rb +16 -16
- data/lib/icontrol/local_lb/profile_client_ssl.rb +54 -54
- data/lib/icontrol/local_lb/profile_diameter.rb +10 -10
- data/lib/icontrol/local_lb/profile_dns.rb +4 -4
- data/lib/icontrol/local_lb/profile_fast_http.rb +40 -40
- data/lib/icontrol/local_lb/profile_fast_l4.rb +46 -46
- data/lib/icontrol/local_lb/profile_ftp.rb +8 -8
- data/lib/icontrol/local_lb/profile_http.rb +118 -118
- data/lib/icontrol/local_lb/profile_http_class.rb +28 -28
- data/lib/icontrol/local_lb/profile_iiop.rb +10 -10
- data/lib/icontrol/local_lb/profile_one_connect.rb +12 -12
- data/lib/icontrol/local_lb/profile_persistence.rb +50 -50
- data/lib/icontrol/local_lb/profile_radius.rb +8 -8
- data/lib/icontrol/local_lb/profile_rtsp.rb +26 -26
- data/lib/icontrol/local_lb/profile_sctp.rb +42 -42
- data/lib/icontrol/local_lb/profile_server_ssl.rb +48 -48
- data/lib/icontrol/local_lb/profile_sip.rb +18 -18
- data/lib/icontrol/local_lb/profile_stream.rb +6 -6
- data/lib/icontrol/local_lb/profile_tcp.rb +74 -74
- data/lib/icontrol/local_lb/profile_udp.rb +14 -14
- data/lib/icontrol/local_lb/profile_user_statistic.rb +6 -6
- data/lib/icontrol/local_lb/profile_xml.rb +14 -14
- data/lib/icontrol/local_lb/ram_cache_information.rb +2 -2
- data/lib/icontrol/local_lb/rate_class.rb +122 -122
- data/lib/icontrol/local_lb/rule.rb +4 -4
- data/lib/icontrol/local_lb/snat.rb +14 -14
- data/lib/icontrol/local_lb/snat_pool.rb +6 -6
- data/lib/icontrol/local_lb/snat_pool_member.rb +4 -4
- data/lib/icontrol/local_lb/snat_translation_address.rb +16 -16
- data/lib/icontrol/local_lb/virtual_address.rb +14 -14
- data/lib/icontrol/local_lb/virtual_server.rb +66 -66
- data/lib/icontrol/lt_config/field.rb +24 -24
- data/lib/icontrol/lt_config/klass.rb +4 -4
- data/lib/icontrol/management/ccldap_configuration.rb +38 -38
- data/lib/icontrol/management/change_control.rb +22 -22
- data/lib/icontrol/management/crldp_configuration.rb +14 -14
- data/lib/icontrol/management/crldp_server.rb +8 -8
- data/lib/icontrol/management/event_notification.rb +2 -2
- data/lib/icontrol/management/event_subscription.rb +30 -30
- data/lib/icontrol/management/key_certificate.rb +66 -66
- data/lib/icontrol/management/ldap_configuration.rb +58 -58
- data/lib/icontrol/management/license_administration.rb +8 -8
- data/lib/icontrol/management/named.rb +16 -16
- data/lib/icontrol/management/ocsp_configuration.rb +6 -6
- data/lib/icontrol/management/ocsp_responder.rb +40 -40
- data/lib/icontrol/management/partition.rb +4 -4
- data/lib/icontrol/management/provision.rb +8 -8
- data/lib/icontrol/management/radius_configuration.rb +16 -16
- data/lib/icontrol/management/radius_server.rb +8 -8
- data/lib/icontrol/management/resource_record.rb +76 -76
- data/lib/icontrol/management/snmp_configuration.rb +142 -142
- data/lib/icontrol/management/tacacs_configuration.rb +20 -20
- data/lib/icontrol/management/user_management.rb +34 -34
- data/lib/icontrol/management/view.rb +8 -8
- data/lib/icontrol/management/zone.rb +14 -14
- data/lib/icontrol/networking/admin_ip.rb +30 -30
- data/lib/icontrol/networking/arp.rb +4 -4
- data/lib/icontrol/networking/i_session_advertised_route.rb +8 -8
- data/lib/icontrol/networking/i_session_local_interface.rb +14 -14
- data/lib/icontrol/networking/i_session_peer_discovery.rb +16 -16
- data/lib/icontrol/networking/i_session_remote_interface.rb +20 -20
- data/lib/icontrol/networking/interfaces.rb +26 -26
- data/lib/icontrol/networking/packet_filter.rb +14 -14
- data/lib/icontrol/networking/packet_filter_globals.rb +8 -8
- data/lib/icontrol/networking/port_mirror.rb +6 -6
- data/lib/icontrol/networking/profile_gre.rb +6 -6
- data/lib/icontrol/networking/profile_ipip.rb +2 -2
- data/lib/icontrol/networking/profile_wccpgre.rb +10 -10
- data/lib/icontrol/networking/route_domain.rb +12 -12
- data/lib/icontrol/networking/route_table.rb +22 -22
- data/lib/icontrol/networking/self_ip.rb +10 -10
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +6 -6
- data/lib/icontrol/networking/stp_instance.rb +22 -22
- data/lib/icontrol/networking/trunk.rb +20 -20
- data/lib/icontrol/networking/tunnel.rb +14 -14
- data/lib/icontrol/networking/vlan.rb +26 -26
- data/lib/icontrol/networking/vlan_group.rb +28 -28
- data/lib/icontrol/system/cluster.rb +22 -22
- data/lib/icontrol/system/config_sync.rb +26 -26
- data/lib/icontrol/system/disk.rb +18 -18
- data/lib/icontrol/system/inet.rb +10 -10
- data/lib/icontrol/system/internal.rb +2 -2
- data/lib/icontrol/system/services.rb +10 -10
- data/lib/icontrol/system/software_management.rb +20 -20
- data/lib/icontrol/system/statistics.rb +22 -22
- data/lib/icontrol/system/system_info.rb +8 -8
- data/lib/icontrol/web_accelerator/applications.rb +4 -4
- data/lib/icontrol/web_accelerator/policies.rb +2 -2
- data/spec/icontrol/base/struct_spec.rb +11 -0
- data/spec/icontrol/common_spec.rb +11 -0
- metadata +9 -4
@@ -31,8 +31,8 @@ module IControl::Networking
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [IControl::Networking::SelfIPPortLockdown::ProtocolPort] :defaults The defaults protocols/ports to add.
|
33
33
|
def add_default_protocol_port_access_list(opts)
|
34
|
-
check_params(opts,[:defaults])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:defaults])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -55,8 +55,8 @@ module IControl::Networking
|
|
55
55
|
# @param [Hash] opts
|
56
56
|
# @option opts [String] :self_ips The self IPs .
|
57
57
|
def allow_access_list(opts)
|
58
|
-
check_params(opts,[:self_ips])
|
59
|
-
super
|
58
|
+
opts = check_params(opts,[:self_ips])
|
59
|
+
super(opts)
|
60
60
|
end
|
61
61
|
|
62
62
|
##
|
@@ -88,8 +88,8 @@ module IControl::Networking
|
|
88
88
|
# @param [Hash] opts
|
89
89
|
# @option opts [IControl::Networking::SelfIPPortLockdown::ProtocolPort] :defaults The defaults protocols/ports to remove.
|
90
90
|
def remove_default_protocol_port_access_list(opts)
|
91
|
-
check_params(opts,[:defaults])
|
92
|
-
super
|
91
|
+
opts = check_params(opts,[:defaults])
|
92
|
+
super(opts)
|
93
93
|
end
|
94
94
|
|
95
95
|
##
|
@@ -34,8 +34,8 @@ module IControl::Networking
|
|
34
34
|
# @param [Hash] opts
|
35
35
|
# @option opts [String[]] :vlan_names The VLAN names to add to the spanning tree instances.
|
36
36
|
def add_vlan(opts)
|
37
|
-
check_params(opts,[:vlan_names])
|
38
|
-
super
|
37
|
+
opts = check_params(opts,[:vlan_names])
|
38
|
+
super(opts)
|
39
39
|
end
|
40
40
|
|
41
41
|
##
|
@@ -48,8 +48,8 @@ module IControl::Networking
|
|
48
48
|
# @option opts [long] :priorities The per-instance bridge priorities.
|
49
49
|
# @option opts [String[]] :vlan_names The VLAN members that are under the control of the STP instances.
|
50
50
|
def create(opts)
|
51
|
-
check_params(opts,[:priorities,:vlan_names])
|
52
|
-
super
|
51
|
+
opts = check_params(opts,[:priorities,:vlan_names])
|
52
|
+
super(opts)
|
53
53
|
end
|
54
54
|
|
55
55
|
##
|
@@ -101,8 +101,8 @@ module IControl::Networking
|
|
101
101
|
# @param [Hash] opts
|
102
102
|
# @option opts [String[]] :interfaces The interfaces/trunks from which to get the active states.
|
103
103
|
def interface_active_state(opts)
|
104
|
-
check_params(opts,[:interfaces])
|
105
|
-
super
|
104
|
+
opts = check_params(opts,[:interfaces])
|
105
|
+
super(opts)
|
106
106
|
end
|
107
107
|
|
108
108
|
##
|
@@ -130,8 +130,8 @@ module IControl::Networking
|
|
130
130
|
# @option opts [String[]] :interfaces The interfaces from which to get the interface path costs.
|
131
131
|
# @option opts [IControl::Networking::STPInstance::PathCostType[]] :path_cost_types The types of path costs (internal/external) to query.
|
132
132
|
def interface_path_cost(opts)
|
133
|
-
check_params(opts,[:interfaces,:path_cost_types])
|
134
|
-
super
|
133
|
+
opts = check_params(opts,[:interfaces,:path_cost_types])
|
134
|
+
super(opts)
|
135
135
|
end
|
136
136
|
|
137
137
|
##
|
@@ -151,8 +151,8 @@ module IControl::Networking
|
|
151
151
|
# @param [Hash] opts
|
152
152
|
# @option opts [String[]] :interfaces The interfaces from which to get the interface priorities.
|
153
153
|
def interface_priority(opts)
|
154
|
-
check_params(opts,[:interfaces])
|
155
|
-
super
|
154
|
+
opts = check_params(opts,[:interfaces])
|
155
|
+
super(opts)
|
156
156
|
end
|
157
157
|
|
158
158
|
##
|
@@ -165,8 +165,8 @@ module IControl::Networking
|
|
165
165
|
# @param [Hash] opts
|
166
166
|
# @option opts [String[]] :interfaces The interfaces/trunks from which to get the active states.
|
167
167
|
def interface_requested_state(opts)
|
168
|
-
check_params(opts,[:interfaces])
|
169
|
-
super
|
168
|
+
opts = check_params(opts,[:interfaces])
|
169
|
+
super(opts)
|
170
170
|
end
|
171
171
|
|
172
172
|
##
|
@@ -179,8 +179,8 @@ module IControl::Networking
|
|
179
179
|
# @param [Hash] opts
|
180
180
|
# @option opts [String[]] :interfaces The interfaces/trunks from which to get the active states.
|
181
181
|
def interface_role(opts)
|
182
|
-
check_params(opts,[:interfaces])
|
183
|
-
super
|
182
|
+
opts = check_params(opts,[:interfaces])
|
183
|
+
super(opts)
|
184
184
|
end
|
185
185
|
|
186
186
|
##
|
@@ -260,8 +260,8 @@ module IControl::Networking
|
|
260
260
|
# @param [Hash] opts
|
261
261
|
# @option opts [String[]] :vlan_names The VLAN names to remove from the spanning tree instances.
|
262
262
|
def remove_vlan(opts)
|
263
|
-
check_params(opts,[:vlan_names])
|
264
|
-
super
|
263
|
+
opts = check_params(opts,[:vlan_names])
|
264
|
+
super(opts)
|
265
265
|
end
|
266
266
|
|
267
267
|
##
|
@@ -281,8 +281,8 @@ module IControl::Networking
|
|
281
281
|
# @param [Hash] opts
|
282
282
|
# @option opts [long] :priorities The bridge priorities of the specified spanning tree instances.
|
283
283
|
def set_bridge_priority(opts)
|
284
|
-
check_params(opts,[:priorities])
|
285
|
-
super
|
284
|
+
opts = check_params(opts,[:priorities])
|
285
|
+
super(opts)
|
286
286
|
end
|
287
287
|
|
288
288
|
##
|
@@ -308,8 +308,8 @@ module IControl::Networking
|
|
308
308
|
# @param [Hash] opts
|
309
309
|
# @option opts [IControl::Networking::STPInstance::InterfacePathCost[]] :path_costs The interface path costs of the specified interfaces in the spanning tree instances.
|
310
310
|
def set_interface_path_cost(opts)
|
311
|
-
check_params(opts,[:path_costs])
|
312
|
-
super
|
311
|
+
opts = check_params(opts,[:path_costs])
|
312
|
+
super(opts)
|
313
313
|
end
|
314
314
|
|
315
315
|
##
|
@@ -328,8 +328,8 @@ module IControl::Networking
|
|
328
328
|
# @param [Hash] opts
|
329
329
|
# @option opts [IControl::Networking::STPInstance::InterfacePriority[]] :priorities The interface priorities of the specified interfaces in the spanning tree instances.
|
330
330
|
def set_interface_priority(opts)
|
331
|
-
check_params(opts,[:priorities])
|
332
|
-
super
|
331
|
+
opts = check_params(opts,[:priorities])
|
332
|
+
super(opts)
|
333
333
|
end
|
334
334
|
|
335
335
|
##
|
@@ -27,8 +27,8 @@ module IControl::Networking
|
|
27
27
|
# @param [Hash] opts
|
28
28
|
# @option opts [String[]] :interfaces The lists of interfaces to add to the specified trunks.
|
29
29
|
def add_interface(opts)
|
30
|
-
check_params(opts,[:interfaces])
|
31
|
-
super
|
30
|
+
opts = check_params(opts,[:interfaces])
|
31
|
+
super(opts)
|
32
32
|
end
|
33
33
|
|
34
34
|
##
|
@@ -41,8 +41,8 @@ module IControl::Networking
|
|
41
41
|
# @option opts [boolean] :lacp_states The LACP enabled states associated with the specified trunks.
|
42
42
|
# @option opts [String[]] :interfaces The interfaces associated with the specified trunks.
|
43
43
|
def create(opts)
|
44
|
-
check_params(opts,[:lacp_states,:interfaces])
|
45
|
-
super
|
44
|
+
opts = check_params(opts,[:lacp_states,:interfaces])
|
45
|
+
super(opts)
|
46
46
|
end
|
47
47
|
|
48
48
|
##
|
@@ -271,8 +271,8 @@ module IControl::Networking
|
|
271
271
|
# @param [Hash] opts
|
272
272
|
# @option opts [String[]] :interfaces The lists of interfaces to remove from the specified trunks.
|
273
273
|
def remove_interface(opts)
|
274
|
-
check_params(opts,[:interfaces])
|
275
|
-
super
|
274
|
+
opts = check_params(opts,[:interfaces])
|
275
|
+
super(opts)
|
276
276
|
end
|
277
277
|
|
278
278
|
##
|
@@ -298,8 +298,8 @@ module IControl::Networking
|
|
298
298
|
# @param [Hash] opts
|
299
299
|
# @option opts [IControl::Common::EnabledState] :states The states indicating whether active LACP is enabled/disabled.
|
300
300
|
def set_active_lacp_state(opts)
|
301
|
-
check_params(opts,[:states])
|
302
|
-
super
|
301
|
+
opts = check_params(opts,[:states])
|
302
|
+
super(opts)
|
303
303
|
end
|
304
304
|
|
305
305
|
##
|
@@ -311,8 +311,8 @@ module IControl::Networking
|
|
311
311
|
# @param [Hash] opts
|
312
312
|
# @option opts [IControl::Networking::Trunk::DistributionHashOption] :hashing_options The frame distribution hashing option used by the specified trunks..
|
313
313
|
def set_distribution_hash_option(opts)
|
314
|
-
check_params(opts,[:hashing_options])
|
315
|
-
super
|
314
|
+
opts = check_params(opts,[:hashing_options])
|
315
|
+
super(opts)
|
316
316
|
end
|
317
317
|
|
318
318
|
##
|
@@ -324,8 +324,8 @@ module IControl::Networking
|
|
324
324
|
# @param [Hash] opts
|
325
325
|
# @option opts [IControl::Common::EnabledState] :states The states indicating whether LACP is enabled/disabled for the specified trunks.
|
326
326
|
def set_lacp_enabled_state(opts)
|
327
|
-
check_params(opts,[:states])
|
328
|
-
super
|
327
|
+
opts = check_params(opts,[:states])
|
328
|
+
super(opts)
|
329
329
|
end
|
330
330
|
|
331
331
|
##
|
@@ -337,8 +337,8 @@ module IControl::Networking
|
|
337
337
|
# @param [Hash] opts
|
338
338
|
# @option opts [IControl::Networking::Trunk::LACPTimeoutOption] :timeout_options The LACP timeout options for the specified trunks.
|
339
339
|
def set_lacp_timeout_option(opts)
|
340
|
-
check_params(opts,[:timeout_options])
|
341
|
-
super
|
340
|
+
opts = check_params(opts,[:timeout_options])
|
341
|
+
super(opts)
|
342
342
|
end
|
343
343
|
|
344
344
|
##
|
@@ -350,8 +350,8 @@ module IControl::Networking
|
|
350
350
|
# @param [Hash] opts
|
351
351
|
# @option opts [IControl::Networking::Trunk::LinkSelectionPolicy] :policies The link selection policies used by the specified trunks.
|
352
352
|
def set_link_selection_policy(opts)
|
353
|
-
check_params(opts,[:policies])
|
354
|
-
super
|
353
|
+
opts = check_params(opts,[:policies])
|
354
|
+
super(opts)
|
355
355
|
end
|
356
356
|
|
357
357
|
##
|
@@ -369,8 +369,8 @@ module IControl::Networking
|
|
369
369
|
# @param [Hash] opts
|
370
370
|
# @option opts [IControl::Common::EnabledState] :states The STP enabled states to set for the specified interface names.
|
371
371
|
def set_stp_enabled_state(opts)
|
372
|
-
check_params(opts,[:states])
|
373
|
-
super
|
372
|
+
opts = check_params(opts,[:states])
|
373
|
+
super(opts)
|
374
374
|
end
|
375
375
|
|
376
376
|
##
|
@@ -385,8 +385,8 @@ module IControl::Networking
|
|
385
385
|
# @param [Hash] opts
|
386
386
|
# @option opts [IControl::Common::EnabledState] :states The STP protocol detection reset states to set for the specified interface names.
|
387
387
|
def set_stp_protocol_detection_reset_state(opts)
|
388
|
-
check_params(opts,[:states])
|
389
|
-
super
|
388
|
+
opts = check_params(opts,[:states])
|
389
|
+
super(opts)
|
390
390
|
end
|
391
391
|
|
392
392
|
##
|
@@ -20,8 +20,8 @@ module IControl::Networking
|
|
20
20
|
# @option opts [String] :remote_addresses IP addresses for the remote end of each specified tunnel
|
21
21
|
# @option opts [String] :profiles Profile specifying the tunneling protocol for each specified tunnel
|
22
22
|
def create(opts)
|
23
|
-
check_params(opts,[:local_addresses,:remote_addresses,:profiles])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:local_addresses,:remote_addresses,:profiles])
|
24
|
+
super(opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
##
|
@@ -138,8 +138,8 @@ module IControl::Networking
|
|
138
138
|
# @param [Hash] opts
|
139
139
|
# @option opts [IControl::Networking::Tunnel::TunnelDirection] :directions Direction for traffic flow within each specified tunnel
|
140
140
|
def set_direction(opts)
|
141
|
-
check_params(opts,[:directions])
|
142
|
-
super
|
141
|
+
opts = check_params(opts,[:directions])
|
142
|
+
super(opts)
|
143
143
|
end
|
144
144
|
|
145
145
|
##
|
@@ -151,8 +151,8 @@ module IControl::Networking
|
|
151
151
|
# @param [Hash] opts
|
152
152
|
# @option opts [String] :addresses IP addresses for the local end of each specified tunnel
|
153
153
|
def set_local_address(opts)
|
154
|
-
check_params(opts,[:addresses])
|
155
|
-
super
|
154
|
+
opts = check_params(opts,[:addresses])
|
155
|
+
super(opts)
|
156
156
|
end
|
157
157
|
|
158
158
|
##
|
@@ -166,8 +166,8 @@ module IControl::Networking
|
|
166
166
|
# @param [Hash] opts
|
167
167
|
# @option opts [long] :mtus Maximum transmission unit (MTU) for each specified tunnel (default: 0)
|
168
168
|
def set_mtu(opts)
|
169
|
-
check_params(opts,[:mtus])
|
170
|
-
super
|
169
|
+
opts = check_params(opts,[:mtus])
|
170
|
+
super(opts)
|
171
171
|
end
|
172
172
|
|
173
173
|
##
|
@@ -180,8 +180,8 @@ module IControl::Networking
|
|
180
180
|
# @param [Hash] opts
|
181
181
|
# @option opts [String] :profiles Profile specifying the tunneling protocol for each specified tunnel
|
182
182
|
def set_profile(opts)
|
183
|
-
check_params(opts,[:profiles])
|
184
|
-
super
|
183
|
+
opts = check_params(opts,[:profiles])
|
184
|
+
super(opts)
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
@@ -193,8 +193,8 @@ module IControl::Networking
|
|
193
193
|
# @param [Hash] opts
|
194
194
|
# @option opts [String] :addresses IP addresses for the remote end of each specified tunnel
|
195
195
|
def set_remote_address(opts)
|
196
|
-
check_params(opts,[:addresses])
|
197
|
-
super
|
196
|
+
opts = check_params(opts,[:addresses])
|
197
|
+
super(opts)
|
198
198
|
end
|
199
199
|
|
200
200
|
##
|
@@ -208,8 +208,8 @@ module IControl::Networking
|
|
208
208
|
# @param [Hash] opts
|
209
209
|
# @option opts [long] :values Type of Service ( ToS ) value for the encapsulating packet's IP header (default: 65535)
|
210
210
|
def set_tos(opts)
|
211
|
-
check_params(opts,[:values])
|
212
|
-
super
|
211
|
+
opts = check_params(opts,[:values])
|
212
|
+
super(opts)
|
213
213
|
end
|
214
214
|
|
215
215
|
|
@@ -20,8 +20,8 @@ module IControl::Networking
|
|
20
20
|
# @param [Hash] opts
|
21
21
|
# @option opts [IControl::Networking::VLAN::MemberEntry[]] :members The lists of member interfaces/trunks to put on the specified VLANs .
|
22
22
|
def add_member(opts)
|
23
|
-
check_params(opts,[:members])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:members])
|
24
|
+
super(opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
##
|
@@ -33,8 +33,8 @@ module IControl::Networking
|
|
33
33
|
# @param [Hash] opts
|
34
34
|
# @option opts [IControl::Networking::VLAN::ForwardingTableEntry[]] :forwarding_entries The static forwarding entries to add to the specified VLANs .
|
35
35
|
def add_static_forwarding(opts)
|
36
|
-
check_params(opts,[:forwarding_entries])
|
37
|
-
super
|
36
|
+
opts = check_params(opts,[:forwarding_entries])
|
37
|
+
super(opts)
|
38
38
|
end
|
39
39
|
|
40
40
|
##
|
@@ -50,8 +50,8 @@ module IControl::Networking
|
|
50
50
|
# @option opts [long] :timeouts The failsafe timeouts.
|
51
51
|
# @option opts [String] :mac_masquerade_addresses The MAC masquerade addresses.
|
52
52
|
def create(opts)
|
53
|
-
check_params(opts,[:vlan_ids,:members,:failsafe_states,:timeouts,:mac_masquerade_addresses])
|
54
|
-
super
|
53
|
+
opts = check_params(opts,[:vlan_ids,:members,:failsafe_states,:timeouts,:mac_masquerade_addresses])
|
54
|
+
super(opts)
|
55
55
|
end
|
56
56
|
|
57
57
|
##
|
@@ -266,8 +266,8 @@ module IControl::Networking
|
|
266
266
|
# @param [Hash] opts
|
267
267
|
# @option opts [IControl::Networking::VLAN::MemberEntry[]] :members The lists of member interfaces/trunks to remove from the specified VLANs .
|
268
268
|
def remove_member(opts)
|
269
|
-
check_params(opts,[:members])
|
270
|
-
super
|
269
|
+
opts = check_params(opts,[:members])
|
270
|
+
super(opts)
|
271
271
|
end
|
272
272
|
|
273
273
|
##
|
@@ -279,8 +279,8 @@ module IControl::Networking
|
|
279
279
|
# @param [Hash] opts
|
280
280
|
# @option opts [IControl::Networking::VLAN::ForwardingTableEntry[]] :forwarding_entries The static forwarding entries to remove from the specified VLANs .
|
281
281
|
def remove_static_forwarding(opts)
|
282
|
-
check_params(opts,[:forwarding_entries])
|
283
|
-
super
|
282
|
+
opts = check_params(opts,[:forwarding_entries])
|
283
|
+
super(opts)
|
284
284
|
end
|
285
285
|
|
286
286
|
##
|
@@ -292,8 +292,8 @@ module IControl::Networking
|
|
292
292
|
# @param [Hash] opts
|
293
293
|
# @option opts [IControl::Common::HAAction] :actions The failsafe actions to set for the specified VLAN names.
|
294
294
|
def set_failsafe_action(opts)
|
295
|
-
check_params(opts,[:actions])
|
296
|
-
super
|
295
|
+
opts = check_params(opts,[:actions])
|
296
|
+
super(opts)
|
297
297
|
end
|
298
298
|
|
299
299
|
##
|
@@ -305,8 +305,8 @@ module IControl::Networking
|
|
305
305
|
# @param [Hash] opts
|
306
306
|
# @option opts [IControl::Common::EnabledState] :states The failsafe states to set for the specified VLAN names.
|
307
307
|
def set_failsafe_state(opts)
|
308
|
-
check_params(opts,[:states])
|
309
|
-
super
|
308
|
+
opts = check_params(opts,[:states])
|
309
|
+
super(opts)
|
310
310
|
end
|
311
311
|
|
312
312
|
##
|
@@ -318,8 +318,8 @@ module IControl::Networking
|
|
318
318
|
# @param [Hash] opts
|
319
319
|
# @option opts [long] :timeouts The failsafe timeouts to set for the specified VLAN names.
|
320
320
|
def set_failsafe_timeout(opts)
|
321
|
-
check_params(opts,[:timeouts])
|
322
|
-
super
|
321
|
+
opts = check_params(opts,[:timeouts])
|
322
|
+
super(opts)
|
323
323
|
end
|
324
324
|
|
325
325
|
##
|
@@ -331,8 +331,8 @@ module IControl::Networking
|
|
331
331
|
# @param [Hash] opts
|
332
332
|
# @option opts [IControl::Networking::LearningMode] :modes The learning modes to set for the specified VLANs .
|
333
333
|
def set_learning_mode(opts)
|
334
|
-
check_params(opts,[:modes])
|
335
|
-
super
|
334
|
+
opts = check_params(opts,[:modes])
|
335
|
+
super(opts)
|
336
336
|
end
|
337
337
|
|
338
338
|
##
|
@@ -344,8 +344,8 @@ module IControl::Networking
|
|
344
344
|
# @param [Hash] opts
|
345
345
|
# @option opts [String] :mac_masquerade_addresses The MAC masquerade addresses to set for the specified VLAN names.
|
346
346
|
def set_mac_masquerade_address(opts)
|
347
|
-
check_params(opts,[:mac_masquerade_addresses])
|
348
|
-
super
|
347
|
+
opts = check_params(opts,[:mac_masquerade_addresses])
|
348
|
+
super(opts)
|
349
349
|
end
|
350
350
|
|
351
351
|
##
|
@@ -357,8 +357,8 @@ module IControl::Networking
|
|
357
357
|
# @param [Hash] opts
|
358
358
|
# @option opts [long] :mtus The MTUs to set for the specified VLAN names.
|
359
359
|
def set_mtu(opts)
|
360
|
-
check_params(opts,[:mtus])
|
361
|
-
super
|
360
|
+
opts = check_params(opts,[:mtus])
|
361
|
+
super(opts)
|
362
362
|
end
|
363
363
|
|
364
364
|
##
|
@@ -372,8 +372,8 @@ module IControl::Networking
|
|
372
372
|
# @param [Hash] opts
|
373
373
|
# @option opts [IControl::Common::EnabledState] :states The source checking states to set for the specified VLAN names.
|
374
374
|
def set_source_check_state(opts)
|
375
|
-
check_params(opts,[:states])
|
376
|
-
super
|
375
|
+
opts = check_params(opts,[:states])
|
376
|
+
super(opts)
|
377
377
|
end
|
378
378
|
|
379
379
|
##
|
@@ -386,8 +386,8 @@ module IControl::Networking
|
|
386
386
|
# @param [Hash] opts
|
387
387
|
# @option opts [long] :vlan_ids The VLAN ID/tag numbers (valid range is 1-4095).
|
388
388
|
def set_vlan_id(opts)
|
389
|
-
check_params(opts,[:vlan_ids])
|
390
|
-
super
|
389
|
+
opts = check_params(opts,[:vlan_ids])
|
390
|
+
super(opts)
|
391
391
|
end
|
392
392
|
|
393
393
|
##
|