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
@@ -75,8 +75,8 @@ module IControl::Networking
|
|
75
75
|
# @param [Hash] opts
|
76
76
|
# @option opts [String] :arp_addresses The ARP IP addresses.
|
77
77
|
def dynamic_arp(opts)
|
78
|
-
check_params(opts,[:arp_addresses])
|
79
|
-
super
|
78
|
+
opts = check_params(opts,[:arp_addresses])
|
79
|
+
super(opts)
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
@@ -89,8 +89,8 @@ module IControl::Networking
|
|
89
89
|
# @param [Hash] opts
|
90
90
|
# @option opts [String] :ndp_addresses The NDP IP addresses.
|
91
91
|
def dynamic_ndp(opts)
|
92
|
-
check_params(opts,[:ndp_addresses])
|
93
|
-
super
|
92
|
+
opts = check_params(opts,[:ndp_addresses])
|
93
|
+
super(opts)
|
94
94
|
end
|
95
95
|
|
96
96
|
##
|
@@ -19,8 +19,8 @@ module IControl::Networking
|
|
19
19
|
# @param [Hash] opts
|
20
20
|
# @option opts [IControl::Networking::iSessionAdvertisedRoute::iSessionAdvertisedRouteStruct] :subnet The subnet struct to create.
|
21
21
|
def create(opts)
|
22
|
-
check_params(opts,[:subnet])
|
23
|
-
super
|
22
|
+
opts = check_params(opts,[:subnet])
|
23
|
+
super(opts)
|
24
24
|
end
|
25
25
|
|
26
26
|
##
|
@@ -105,8 +105,8 @@ module IControl::Networking
|
|
105
105
|
# @option opts [IControl::Networking::iSessionAdvertisedRoute::SubnetOptKey] :ip The subnet IP.
|
106
106
|
# @option opts [IControl::Common::EnabledState] :included The new included setting.
|
107
107
|
def set_enabled_state(opts)
|
108
|
-
check_params(opts,[:ip,:included])
|
109
|
-
super
|
108
|
+
opts = check_params(opts,[:ip,:included])
|
109
|
+
super(opts)
|
110
110
|
end
|
111
111
|
|
112
112
|
##
|
@@ -119,8 +119,8 @@ module IControl::Networking
|
|
119
119
|
# @option opts [IControl::Networking::iSessionAdvertisedRoute::SubnetOptKey] :ip The subnet IP.
|
120
120
|
# @option opts [String] :labels The new subnet labels
|
121
121
|
def set_label(opts)
|
122
|
-
check_params(opts,[:ip,:labels])
|
123
|
-
super
|
122
|
+
opts = check_params(opts,[:ip,:labels])
|
123
|
+
super(opts)
|
124
124
|
end
|
125
125
|
|
126
126
|
##
|
@@ -133,8 +133,8 @@ module IControl::Networking
|
|
133
133
|
# @option opts [IControl::Networking::iSessionAdvertisedRoute::SubnetOptKey] :subnet The subnet IPs .
|
134
134
|
# @option opts [long] :metric value.
|
135
135
|
def set_metric(opts)
|
136
|
-
check_params(opts,[:subnet,:metric])
|
137
|
-
super
|
136
|
+
opts = check_params(opts,[:subnet,:metric])
|
137
|
+
super(opts)
|
138
138
|
end
|
139
139
|
|
140
140
|
##
|
@@ -20,8 +20,8 @@ module IControl::Networking
|
|
20
20
|
# @option opts [IControl::Common::EnabledState] :enabled The enabled flag.
|
21
21
|
# @option opts [String] :serverssl The serverssl name.
|
22
22
|
def create(opts)
|
23
|
-
check_params(opts,[:woc_instance,:local_ips,:enabled,:serverssl])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:woc_instance,:local_ips,:enabled,:serverssl])
|
24
|
+
super(opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
##
|
@@ -150,8 +150,8 @@ module IControl::Networking
|
|
150
150
|
# @param [Hash] opts
|
151
151
|
# @option opts [IControl::Common::EnabledState] :nat_states The new nat states.
|
152
152
|
def set_allow_nat(opts)
|
153
|
-
check_params(opts,[:nat_states])
|
154
|
-
super
|
153
|
+
opts = check_params(opts,[:nat_states])
|
154
|
+
super(opts)
|
155
155
|
end
|
156
156
|
|
157
157
|
##
|
@@ -163,8 +163,8 @@ module IControl::Networking
|
|
163
163
|
# @param [Hash] opts
|
164
164
|
# @option opts [IControl::Common::EnabledState] :enabled_states The new enabled state flags.
|
165
165
|
def set_enabled_state(opts)
|
166
|
-
check_params(opts,[:enabled_states])
|
167
|
-
super
|
166
|
+
opts = check_params(opts,[:enabled_states])
|
167
|
+
super(opts)
|
168
168
|
end
|
169
169
|
|
170
170
|
##
|
@@ -176,8 +176,8 @@ module IControl::Networking
|
|
176
176
|
# @param [Hash] opts
|
177
177
|
# @option opts [String] :ips The local ip addresses.
|
178
178
|
def set_management_address(opts)
|
179
|
-
check_params(opts,[:ips])
|
180
|
-
super
|
179
|
+
opts = check_params(opts,[:ips])
|
180
|
+
super(opts)
|
181
181
|
end
|
182
182
|
|
183
183
|
##
|
@@ -189,8 +189,8 @@ module IControl::Networking
|
|
189
189
|
# @param [Hash] opts
|
190
190
|
# @option opts [IControl::Networking::iSessionLocalInterface::NatSourceAddress] :nat_states The new nat states.
|
191
191
|
def set_nat_source_address(opts)
|
192
|
-
check_params(opts,[:nat_states])
|
193
|
-
super
|
192
|
+
opts = check_params(opts,[:nat_states])
|
193
|
+
super(opts)
|
194
194
|
end
|
195
195
|
|
196
196
|
##
|
@@ -202,8 +202,8 @@ module IControl::Networking
|
|
202
202
|
# @param [Hash] opts
|
203
203
|
# @option opts [String] :serverssls The serverssl strings to be used.
|
204
204
|
def set_serverssl(opts)
|
205
|
-
check_params(opts,[:serverssls])
|
206
|
-
super
|
205
|
+
opts = check_params(opts,[:serverssls])
|
206
|
+
super(opts)
|
207
207
|
end
|
208
208
|
|
209
209
|
##
|
@@ -215,8 +215,8 @@ module IControl::Networking
|
|
215
215
|
# @param [Hash] opts
|
216
216
|
# @option opts [long] :ports The new local port numbers.
|
217
217
|
def set_tunnel_port(opts)
|
218
|
-
check_params(opts,[:ports])
|
219
|
-
super
|
218
|
+
opts = check_params(opts,[:ports])
|
219
|
+
super(opts)
|
220
220
|
end
|
221
221
|
|
222
222
|
|
@@ -136,8 +136,8 @@ module IControl::Networking
|
|
136
136
|
# @param [Hash] opts
|
137
137
|
# @option opts [IControl::Common::EnabledState] :discoverable_peer The peer discoverable setting.
|
138
138
|
def set_discoverable_peer_enabled_state(opts)
|
139
|
-
check_params(opts,[:discoverable_peer])
|
140
|
-
super
|
139
|
+
opts = check_params(opts,[:discoverable_peer])
|
140
|
+
super(opts)
|
141
141
|
end
|
142
142
|
|
143
143
|
##
|
@@ -150,8 +150,8 @@ module IControl::Networking
|
|
150
150
|
# @param [Hash] opts
|
151
151
|
# @option opts [IControl::Common::EnabledState] :discover_peer The discover peer setting
|
152
152
|
def set_discovered_peer_enabled_state(opts)
|
153
|
-
check_params(opts,[:discover_peer])
|
154
|
-
super
|
153
|
+
opts = check_params(opts,[:discover_peer])
|
154
|
+
super(opts)
|
155
155
|
end
|
156
156
|
|
157
157
|
##
|
@@ -164,8 +164,8 @@ module IControl::Networking
|
|
164
164
|
# @param [Hash] opts
|
165
165
|
# @option opts [IControl::Networking::iSessionPeerDiscovery::DiscoveryMode] :discovery_modes The discovery mode setting.
|
166
166
|
def set_discovery_mode(opts)
|
167
|
-
check_params(opts,[:discovery_modes])
|
168
|
-
super
|
167
|
+
opts = check_params(opts,[:discovery_modes])
|
168
|
+
super(opts)
|
169
169
|
end
|
170
170
|
|
171
171
|
##
|
@@ -178,8 +178,8 @@ module IControl::Networking
|
|
178
178
|
# @param [Hash] opts
|
179
179
|
# @option opts [IControl::Networking::iSessionPeerDiscovery::FilterMode] :discovery_mode The discovery mode setting.
|
180
180
|
def set_discovery_mode_enabled_state(opts)
|
181
|
-
check_params(opts,[:discovery_mode])
|
182
|
-
super
|
181
|
+
opts = check_params(opts,[:discovery_mode])
|
182
|
+
super(opts)
|
183
183
|
end
|
184
184
|
|
185
185
|
##
|
@@ -192,8 +192,8 @@ module IControl::Networking
|
|
192
192
|
# @param [Hash] opts
|
193
193
|
# @option opts [short] :max_backoff_time The max icmp backoff time of the Dynamic Peer Discovery objects.
|
194
194
|
def set_icmp_backoff_time(opts)
|
195
|
-
check_params(opts,[:max_backoff_time])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:max_backoff_time])
|
196
|
+
super(opts)
|
197
197
|
end
|
198
198
|
|
199
199
|
##
|
@@ -206,8 +206,8 @@ module IControl::Networking
|
|
206
206
|
# @param [Hash] opts
|
207
207
|
# @option opts [short] :max_requests The max number of requests.
|
208
208
|
def set_icmp_max_requests(opts)
|
209
|
-
check_params(opts,[:max_requests])
|
210
|
-
super
|
209
|
+
opts = check_params(opts,[:max_requests])
|
210
|
+
super(opts)
|
211
211
|
end
|
212
212
|
|
213
213
|
##
|
@@ -220,8 +220,8 @@ module IControl::Networking
|
|
220
220
|
# @param [Hash] opts
|
221
221
|
# @option opts [short] :max_retries The number of retries.
|
222
222
|
def set_icmp_max_retries(opts)
|
223
|
-
check_params(opts,[:max_retries])
|
224
|
-
super
|
223
|
+
opts = check_params(opts,[:max_retries])
|
224
|
+
super(opts)
|
225
225
|
end
|
226
226
|
|
227
227
|
##
|
@@ -234,8 +234,8 @@ module IControl::Networking
|
|
234
234
|
# @param [Hash] opts
|
235
235
|
# @option opts [short] :max_peers The max number of peers.
|
236
236
|
def set_max_peer_count(opts)
|
237
|
-
check_params(opts,[:max_peers])
|
238
|
-
super
|
237
|
+
opts = check_params(opts,[:max_peers])
|
238
|
+
super(opts)
|
239
239
|
end
|
240
240
|
|
241
241
|
|
@@ -23,8 +23,8 @@ module IControl::Networking
|
|
23
23
|
# @option opts [String] :peer_ips The peer mgmt ips.
|
24
24
|
# @option opts [IControl::Common::EnabledState] :enabled_states The is enable states settings.
|
25
25
|
def create(opts)
|
26
|
-
check_params(opts,[:peer_names,:serverssls,:peer_ips,:enabled_states])
|
27
|
-
super
|
26
|
+
opts = check_params(opts,[:peer_names,:serverssls,:peer_ips,:enabled_states])
|
27
|
+
super(opts)
|
28
28
|
end
|
29
29
|
|
30
30
|
##
|
@@ -207,8 +207,8 @@ module IControl::Networking
|
|
207
207
|
# @param [Hash] opts
|
208
208
|
# @option opts [IControl::Common::EnabledState] :nat_states The new nat states.
|
209
209
|
def set_behind_nat(opts)
|
210
|
-
check_params(opts,[:nat_states])
|
211
|
-
super
|
210
|
+
opts = check_params(opts,[:nat_states])
|
211
|
+
super(opts)
|
212
212
|
end
|
213
213
|
|
214
214
|
##
|
@@ -220,8 +220,8 @@ module IControl::Networking
|
|
220
220
|
# @param [Hash] opts
|
221
221
|
# @option opts [String] :ips The new mgmt addresses to use.
|
222
222
|
def set_management_address(opts)
|
223
|
-
check_params(opts,[:ips])
|
224
|
-
super
|
223
|
+
opts = check_params(opts,[:ips])
|
224
|
+
super(opts)
|
225
225
|
end
|
226
226
|
|
227
227
|
##
|
@@ -233,8 +233,8 @@ module IControl::Networking
|
|
233
233
|
# @param [Hash] opts
|
234
234
|
# @option opts [String] :nat_configs The new nat configs.
|
235
235
|
def set_nat_config_status(opts)
|
236
|
-
check_params(opts,[:nat_configs])
|
237
|
-
super
|
236
|
+
opts = check_params(opts,[:nat_configs])
|
237
|
+
super(opts)
|
238
238
|
end
|
239
239
|
|
240
240
|
##
|
@@ -246,8 +246,8 @@ module IControl::Networking
|
|
246
246
|
# @param [Hash] opts
|
247
247
|
# @option opts [IControl::Networking::iSessionRemoteInterface::NatSourceAddress] :nat_states The new nat states.
|
248
248
|
def set_nat_source_address(opts)
|
249
|
-
check_params(opts,[:nat_states])
|
250
|
-
super
|
249
|
+
opts = check_params(opts,[:nat_states])
|
250
|
+
super(opts)
|
251
251
|
end
|
252
252
|
|
253
253
|
##
|
@@ -259,8 +259,8 @@ module IControl::Networking
|
|
259
259
|
# @param [Hash] opts
|
260
260
|
# @option opts [IControl::Networking::iSessionRemoteInterface::OriginState] :origins The new peer origin states.
|
261
261
|
def set_origin(opts)
|
262
|
-
check_params(opts,[:origins])
|
263
|
-
super
|
262
|
+
opts = check_params(opts,[:origins])
|
263
|
+
super(opts)
|
264
264
|
end
|
265
265
|
|
266
266
|
##
|
@@ -272,8 +272,8 @@ module IControl::Networking
|
|
272
272
|
# @param [Hash] opts
|
273
273
|
# @option opts [IControl::Common::EnabledState] :enabled The enabled flag.
|
274
274
|
def set_peer_enabled_state(opts)
|
275
|
-
check_params(opts,[:enabled])
|
276
|
-
super
|
275
|
+
opts = check_params(opts,[:enabled])
|
276
|
+
super(opts)
|
277
277
|
end
|
278
278
|
|
279
279
|
##
|
@@ -285,8 +285,8 @@ module IControl::Networking
|
|
285
285
|
# @param [Hash] opts
|
286
286
|
# @option opts [IControl::Common::EnabledState] :routing
|
287
287
|
def set_peer_routing_state(opts)
|
288
|
-
check_params(opts,[:routing])
|
289
|
-
super
|
288
|
+
opts = check_params(opts,[:routing])
|
289
|
+
super(opts)
|
290
290
|
end
|
291
291
|
|
292
292
|
##
|
@@ -298,8 +298,8 @@ module IControl::Networking
|
|
298
298
|
# @param [Hash] opts
|
299
299
|
# @option opts [String] :serverssl The server ssl name.
|
300
300
|
def set_profile_serverssl(opts)
|
301
|
-
check_params(opts,[:serverssl])
|
302
|
-
super
|
301
|
+
opts = check_params(opts,[:serverssl])
|
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 [short] :tunnel_ports The tunnel port number.
|
313
313
|
def set_tunnel_port(opts)
|
314
|
-
check_params(opts,[:tunnel_ports])
|
315
|
-
super
|
314
|
+
opts = check_params(opts,[:tunnel_ports])
|
315
|
+
super(opts)
|
316
316
|
end
|
317
317
|
|
318
318
|
|
@@ -352,8 +352,8 @@ module IControl::Networking
|
|
352
352
|
# @param [Hash] opts
|
353
353
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified interfaces.
|
354
354
|
def set_enabled_state(opts)
|
355
|
-
check_params(opts,[:states])
|
356
|
-
super
|
355
|
+
opts = check_params(opts,[:states])
|
356
|
+
super(opts)
|
357
357
|
end
|
358
358
|
|
359
359
|
##
|
@@ -365,8 +365,8 @@ module IControl::Networking
|
|
365
365
|
# @param [Hash] opts
|
366
366
|
# @option opts [IControl::Networking::LearningMode] :modes The learning modes to set for the specified interfaces.
|
367
367
|
def set_learning_mode(opts)
|
368
|
-
check_params(opts,[:modes])
|
369
|
-
super
|
368
|
+
opts = check_params(opts,[:modes])
|
369
|
+
super(opts)
|
370
370
|
end
|
371
371
|
|
372
372
|
##
|
@@ -380,8 +380,8 @@ module IControl::Networking
|
|
380
380
|
# @param [Hash] opts
|
381
381
|
# @option opts [IControl::Networking::Interfaces::MediaType] :media_types The media types to set for the specified interfaces (e.g. auto, 100baseTX, 10baseT).
|
382
382
|
def set_media(opts)
|
383
|
-
check_params(opts,[:media_types])
|
384
|
-
super
|
383
|
+
opts = check_params(opts,[:media_types])
|
384
|
+
super(opts)
|
385
385
|
end
|
386
386
|
|
387
387
|
##
|
@@ -399,8 +399,8 @@ module IControl::Networking
|
|
399
399
|
# @param [Hash] opts
|
400
400
|
# @option opts [IControl::Networking::Interfaces::MediaType] :media_types The media types to set for the specified interfaces (e.g. auto, 100baseTX, 10baseT).
|
401
401
|
def set_media_fixed_or_sfp(opts)
|
402
|
-
check_params(opts,[:media_types])
|
403
|
-
super
|
402
|
+
opts = check_params(opts,[:media_types])
|
403
|
+
super(opts)
|
404
404
|
end
|
405
405
|
|
406
406
|
##
|
@@ -412,8 +412,8 @@ module IControl::Networking
|
|
412
412
|
# @param [Hash] opts
|
413
413
|
# @option opts [IControl::Networking::Interfaces::MediaType] :media_types The SFP media types to set for the specified interfaces (e.g. auto, 100baseTX, 10baseT).
|
414
414
|
def set_media_sfp(opts)
|
415
|
-
check_params(opts,[:media_types])
|
416
|
-
super
|
415
|
+
opts = check_params(opts,[:media_types])
|
416
|
+
super(opts)
|
417
417
|
end
|
418
418
|
|
419
419
|
##
|
@@ -425,8 +425,8 @@ module IControl::Networking
|
|
425
425
|
# @param [Hash] opts
|
426
426
|
# @option opts [IControl::Networking::PhyMasterSlaveMode] :modes The PHY master/slave modes to set for the specified interfaces.
|
427
427
|
def set_phy_master_slave_mode(opts)
|
428
|
-
check_params(opts,[:modes])
|
429
|
-
super
|
428
|
+
opts = check_params(opts,[:modes])
|
429
|
+
super(opts)
|
430
430
|
end
|
431
431
|
|
432
432
|
##
|
@@ -439,8 +439,8 @@ module IControl::Networking
|
|
439
439
|
# @param [Hash] opts
|
440
440
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified interfaces.
|
441
441
|
def set_prefer_sfp_state(opts)
|
442
|
-
check_params(opts,[:states])
|
443
|
-
super
|
442
|
+
opts = check_params(opts,[:states])
|
443
|
+
super(opts)
|
444
444
|
end
|
445
445
|
|
446
446
|
##
|
@@ -452,8 +452,8 @@ module IControl::Networking
|
|
452
452
|
# @param [Hash] opts
|
453
453
|
# @option opts [IControl::Networking::FlowControlType] :flow_controls The configured/requested flow control types to set for the specified interface names.
|
454
454
|
def set_requested_flow_control(opts)
|
455
|
-
check_params(opts,[:flow_controls])
|
456
|
-
super
|
455
|
+
opts = check_params(opts,[:flow_controls])
|
456
|
+
super(opts)
|
457
457
|
end
|
458
458
|
|
459
459
|
##
|
@@ -471,8 +471,8 @@ module IControl::Networking
|
|
471
471
|
# @param [Hash] opts
|
472
472
|
# @option opts [IControl::Common::EnabledState] :states The auto edge-port detection states to set for the specified interface names.
|
473
473
|
def set_stp_auto_edge_port_detection_state(opts)
|
474
|
-
check_params(opts,[:states])
|
475
|
-
super
|
474
|
+
opts = check_params(opts,[:states])
|
475
|
+
super(opts)
|
476
476
|
end
|
477
477
|
|
478
478
|
##
|
@@ -486,8 +486,8 @@ module IControl::Networking
|
|
486
486
|
# @param [Hash] opts
|
487
487
|
# @option opts [IControl::Common::EnabledState] :states The edge-port states to set for the specified interface names.
|
488
488
|
def set_stp_edge_port_state(opts)
|
489
|
-
check_params(opts,[:states])
|
490
|
-
super
|
489
|
+
opts = check_params(opts,[:states])
|
490
|
+
super(opts)
|
491
491
|
end
|
492
492
|
|
493
493
|
##
|
@@ -507,8 +507,8 @@ module IControl::Networking
|
|
507
507
|
# @param [Hash] opts
|
508
508
|
# @option opts [IControl::Common::EnabledState] :states The STP enabled states to set for the specified interface names.
|
509
509
|
def set_stp_enabled_state(opts)
|
510
|
-
check_params(opts,[:states])
|
511
|
-
super
|
510
|
+
opts = check_params(opts,[:states])
|
511
|
+
super(opts)
|
512
512
|
end
|
513
513
|
|
514
514
|
##
|
@@ -520,8 +520,8 @@ module IControl::Networking
|
|
520
520
|
# @param [Hash] opts
|
521
521
|
# @option opts [IControl::Networking::STPLinkType] :link_types The STP link types to set for the specified interface names.
|
522
522
|
def set_stp_link_type(opts)
|
523
|
-
check_params(opts,[:link_types])
|
524
|
-
super
|
523
|
+
opts = check_params(opts,[:link_types])
|
524
|
+
super(opts)
|
525
525
|
end
|
526
526
|
|
527
527
|
##
|
@@ -536,8 +536,8 @@ module IControl::Networking
|
|
536
536
|
# @param [Hash] opts
|
537
537
|
# @option opts [IControl::Common::EnabledState] :states The STP protocol detection reset states to set for the specified interface names.
|
538
538
|
def set_stp_protocol_detection_reset_state(opts)
|
539
|
-
check_params(opts,[:states])
|
540
|
-
super
|
539
|
+
opts = check_params(opts,[:states])
|
540
|
+
super(opts)
|
541
541
|
end
|
542
542
|
|
543
543
|
##
|