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
@@ -21,8 +21,8 @@ module IControl::Networking
|
|
21
21
|
# @option opts [IControl::Networking::FilterAction] :actions The list of action of what to do with the traffic should it match each rule.
|
22
22
|
# @option opts [String] :expressions The expressions that make up the rules, used to match the ingress traffic. The legal expressions for the filters are determined by the version of the pcap library linked into the rule compiler. If empty, the associated filters match all packets.
|
23
23
|
def create(opts)
|
24
|
-
check_params(opts,[:sort_orders,:actions,:expressions])
|
25
|
-
super
|
24
|
+
opts = check_params(opts,[:sort_orders,:actions,:expressions])
|
25
|
+
super(opts)
|
26
26
|
end
|
27
27
|
|
28
28
|
##
|
@@ -180,8 +180,8 @@ module IControl::Networking
|
|
180
180
|
# @param [Hash] opts
|
181
181
|
# @option opts [IControl::Networking::FilterAction] :actions The action of what the filter should do when there is a match.
|
182
182
|
def set_action(opts)
|
183
|
-
check_params(opts,[:actions])
|
184
|
-
super
|
183
|
+
opts = check_params(opts,[:actions])
|
184
|
+
super(opts)
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
@@ -196,8 +196,8 @@ module IControl::Networking
|
|
196
196
|
# @param [Hash] opts
|
197
197
|
# @option opts [String] :expressions The expressions used to match ingress traffic.
|
198
198
|
def set_expression(opts)
|
199
|
-
check_params(opts,[:expressions])
|
200
|
-
super
|
199
|
+
opts = check_params(opts,[:expressions])
|
200
|
+
super(opts)
|
201
201
|
end
|
202
202
|
|
203
203
|
##
|
@@ -210,8 +210,8 @@ module IControl::Networking
|
|
210
210
|
# @param [Hash] opts
|
211
211
|
# @option opts [IControl::Common::EnabledState] :states The logging states.
|
212
212
|
def set_log_state(opts)
|
213
|
-
check_params(opts,[:states])
|
214
|
-
super
|
213
|
+
opts = check_params(opts,[:states])
|
214
|
+
super(opts)
|
215
215
|
end
|
216
216
|
|
217
217
|
##
|
@@ -228,8 +228,8 @@ module IControl::Networking
|
|
228
228
|
# @param [Hash] opts
|
229
229
|
# @option opts [String] :rate_classes The rate classes used to rate limit the traffic.
|
230
230
|
def set_rate_class(opts)
|
231
|
-
check_params(opts,[:rate_classes])
|
232
|
-
super
|
231
|
+
opts = check_params(opts,[:rate_classes])
|
232
|
+
super(opts)
|
233
233
|
end
|
234
234
|
|
235
235
|
##
|
@@ -241,8 +241,8 @@ module IControl::Networking
|
|
241
241
|
# @param [Hash] opts
|
242
242
|
# @option opts [long] :orders The sort order values of the associated filter rules. Legal values for sort-order are all integers between 0 and 999, inclusive. No two rules may have the same sort-order value.
|
243
243
|
def set_sort_order(opts)
|
244
|
-
check_params(opts,[:orders])
|
245
|
-
super
|
244
|
+
opts = check_params(opts,[:orders])
|
245
|
+
super(opts)
|
246
246
|
end
|
247
247
|
|
248
248
|
##
|
@@ -254,8 +254,8 @@ module IControl::Networking
|
|
254
254
|
# @param [Hash] opts
|
255
255
|
# @option opts [String] :vlan_names The ingress VLANs to match on. If present, each entry must be a specific VLAN name currently in existence. If omitted, the rule matches all VLANs .
|
256
256
|
def set_vlan(opts)
|
257
|
-
check_params(opts,[:vlan_names])
|
258
|
-
super
|
257
|
+
opts = check_params(opts,[:vlan_names])
|
258
|
+
super(opts)
|
259
259
|
end
|
260
260
|
|
261
261
|
##
|
@@ -25,8 +25,8 @@ module IControl::Networking
|
|
25
25
|
# @param [Hash] opts
|
26
26
|
# @option opts [String] :mac_addresses The MAC addresses.
|
27
27
|
def add_trusted_mac_address(opts)
|
28
|
-
check_params(opts,[:mac_addresses])
|
29
|
-
super
|
28
|
+
opts = check_params(opts,[:mac_addresses])
|
29
|
+
super(opts)
|
30
30
|
end
|
31
31
|
|
32
32
|
##
|
@@ -38,8 +38,8 @@ module IControl::Networking
|
|
38
38
|
# @param [Hash] opts
|
39
39
|
# @option opts [String] :vlans The VLAN names.
|
40
40
|
def add_trusted_vlan(opts)
|
41
|
-
check_params(opts,[:vlans])
|
42
|
-
super
|
41
|
+
opts = check_params(opts,[:vlans])
|
42
|
+
super(opts)
|
43
43
|
end
|
44
44
|
|
45
45
|
##
|
@@ -102,8 +102,8 @@ module IControl::Networking
|
|
102
102
|
# @param [Hash] opts
|
103
103
|
# @option opts [String] :mac_addresses The MAC addresses.
|
104
104
|
def remove_trusted_mac_address(opts)
|
105
|
-
check_params(opts,[:mac_addresses])
|
106
|
-
super
|
105
|
+
opts = check_params(opts,[:mac_addresses])
|
106
|
+
super(opts)
|
107
107
|
end
|
108
108
|
|
109
109
|
##
|
@@ -115,8 +115,8 @@ module IControl::Networking
|
|
115
115
|
# @param [Hash] opts
|
116
116
|
# @option opts [String] :vlans The VLAN names.
|
117
117
|
def remove_trusted_vlan(opts)
|
118
|
-
check_params(opts,[:vlans])
|
119
|
-
super
|
118
|
+
opts = check_params(opts,[:vlans])
|
119
|
+
super(opts)
|
120
120
|
end
|
121
121
|
|
122
122
|
|
@@ -15,8 +15,8 @@ module IControl::Networking
|
|
15
15
|
# @param [Hash] opts
|
16
16
|
# @option opts [String[]] :interfaces The lists of mirrored-from interfaces.
|
17
17
|
def add_interface(opts)
|
18
|
-
check_params(opts,[:interfaces])
|
19
|
-
super
|
18
|
+
opts = check_params(opts,[:interfaces])
|
19
|
+
super(opts)
|
20
20
|
end
|
21
21
|
|
22
22
|
##
|
@@ -29,8 +29,8 @@ module IControl::Networking
|
|
29
29
|
# @param [Hash] opts
|
30
30
|
# @option opts [String[]] :interfaces The lists of interfaces from which mirroring will take place.
|
31
31
|
def create(opts)
|
32
|
-
check_params(opts,[:interfaces])
|
33
|
-
super
|
32
|
+
opts = check_params(opts,[:interfaces])
|
33
|
+
super(opts)
|
34
34
|
end
|
35
35
|
|
36
36
|
##
|
@@ -103,8 +103,8 @@ module IControl::Networking
|
|
103
103
|
# @param [Hash] opts
|
104
104
|
# @option opts [String[]] :interfaces The lists of mirrored-from interfaces.
|
105
105
|
def remove_interface(opts)
|
106
|
-
check_params(opts,[:interfaces])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:interfaces])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
|
@@ -115,8 +115,8 @@ module IControl::Networking
|
|
115
115
|
# @param [Hash] opts
|
116
116
|
# @option opts [String] :defaults GRE tunnel profile from which each specified GRE tunnel profile inherits its unspecified attribute values (default: gre)
|
117
117
|
def set_default_profile(opts)
|
118
|
-
check_params(opts,[:defaults])
|
119
|
-
super
|
118
|
+
opts = check_params(opts,[:defaults])
|
119
|
+
super(opts)
|
120
120
|
end
|
121
121
|
|
122
122
|
##
|
@@ -129,8 +129,8 @@ module IControl::Networking
|
|
129
129
|
# @param [Hash] opts
|
130
130
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for including the checksum in the transmitted packets for each specified GRE tunnel profile (default: disabled)
|
131
131
|
def set_include_checksum_state(opts)
|
132
|
-
check_params(opts,[:states])
|
133
|
-
super
|
132
|
+
opts = check_params(opts,[:states])
|
133
|
+
super(opts)
|
134
134
|
end
|
135
135
|
|
136
136
|
##
|
@@ -143,8 +143,8 @@ module IControl::Networking
|
|
143
143
|
# @param [Hash] opts
|
144
144
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for validating the checksum on the received packets for each specified GRE tunnel profile
|
145
145
|
def set_validate_checksum_state(opts)
|
146
|
-
check_params(opts,[:states])
|
147
|
-
super
|
146
|
+
opts = check_params(opts,[:states])
|
147
|
+
super(opts)
|
148
148
|
end
|
149
149
|
|
150
150
|
|
@@ -90,8 +90,8 @@ module IControl::Networking
|
|
90
90
|
# @param [Hash] opts
|
91
91
|
# @option opts [String] :defaults IP-IP tunnel profile from which each specified IP-IP tunnel profile inherits its unspecified attribute values (default: ipip)
|
92
92
|
def set_default_profile(opts)
|
93
|
-
check_params(opts,[:defaults])
|
94
|
-
super
|
93
|
+
opts = check_params(opts,[:defaults])
|
94
|
+
super(opts)
|
95
95
|
end
|
96
96
|
|
97
97
|
|
@@ -142,8 +142,8 @@ module IControl::Networking
|
|
142
142
|
# @param [Hash] opts
|
143
143
|
# @option opts [String] :defaults WCCP-GRE tunnel profile from which each specified WCCP-GRE tunnel profile inherits its unspecified attribute values (default: wccpgre)
|
144
144
|
def set_default_profile(opts)
|
145
|
-
check_params(opts,[:defaults])
|
146
|
-
super
|
145
|
+
opts = check_params(opts,[:defaults])
|
146
|
+
super(opts)
|
147
147
|
end
|
148
148
|
|
149
149
|
##
|
@@ -156,8 +156,8 @@ module IControl::Networking
|
|
156
156
|
# @param [Hash] opts
|
157
157
|
# @option opts [IControl::Networking::ProfileWCCPGRE::ProfileWCCPGREForwarding] :modes Forwarding specification for packets leaving a WCCP-GRE tunnel for each specified WCCP-GRE tunnel profile (default: WCCP_GRE_FORWARD_NORMAL)
|
158
158
|
def set_egress_forwarding(opts)
|
159
|
-
check_params(opts,[:modes])
|
160
|
-
super
|
159
|
+
opts = check_params(opts,[:modes])
|
160
|
+
super(opts)
|
161
161
|
end
|
162
162
|
|
163
163
|
##
|
@@ -170,8 +170,8 @@ module IControl::Networking
|
|
170
170
|
# @param [Hash] opts
|
171
171
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for including the checksum in the transmitted packets for each specified WCCP-GRE tunnel profile (default: disabled)
|
172
172
|
def set_include_checksum_state(opts)
|
173
|
-
check_params(opts,[:states])
|
174
|
-
super
|
173
|
+
opts = check_params(opts,[:states])
|
174
|
+
super(opts)
|
175
175
|
end
|
176
176
|
|
177
177
|
##
|
@@ -184,8 +184,8 @@ module IControl::Networking
|
|
184
184
|
# @param [Hash] opts
|
185
185
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for validating the checksum on the received packets for each specified WCCP-GRE tunnel profile
|
186
186
|
def set_validate_checksum_state(opts)
|
187
|
-
check_params(opts,[:states])
|
188
|
-
super
|
187
|
+
opts = check_params(opts,[:states])
|
188
|
+
super(opts)
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
@@ -197,8 +197,8 @@ module IControl::Networking
|
|
197
197
|
# @param [Hash] opts
|
198
198
|
# @option opts [IControl::Common::ProfileULong] :versions WCCP version currently in use for each specified WCCP-GRE tunnel profiles
|
199
199
|
def set_wccp_version(opts)
|
200
|
-
check_params(opts,[:versions])
|
201
|
-
super
|
200
|
+
opts = check_params(opts,[:versions])
|
201
|
+
super(opts)
|
202
202
|
end
|
203
203
|
|
204
204
|
##
|
@@ -20,8 +20,8 @@ module IControl::Networking
|
|
20
20
|
# @param [Hash] opts
|
21
21
|
# @option opts [String[]] :vlans The lists of child VLANs .
|
22
22
|
def add_vlan(opts)
|
23
|
-
check_params(opts,[:vlans])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:vlans])
|
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 [String[]] :vlans The lists of VLANs .
|
35
35
|
def create(opts)
|
36
|
-
check_params(opts,[:vlans])
|
37
|
-
super
|
36
|
+
opts = check_params(opts,[:vlans])
|
37
|
+
super(opts)
|
38
38
|
end
|
39
39
|
|
40
40
|
##
|
@@ -139,8 +139,8 @@ module IControl::Networking
|
|
139
139
|
# @param [Hash] opts
|
140
140
|
# @option opts [String[]] :vlans The lists of child VLANs .
|
141
141
|
def remove_vlan(opts)
|
142
|
-
check_params(opts,[:vlans])
|
143
|
-
super
|
142
|
+
opts = check_params(opts,[:vlans])
|
143
|
+
super(opts)
|
144
144
|
end
|
145
145
|
|
146
146
|
##
|
@@ -152,8 +152,8 @@ module IControl::Networking
|
|
152
152
|
# @param [Hash] opts
|
153
153
|
# @option opts [String] :descriptions The descriptions to set for the specified route domains.
|
154
154
|
def set_description(opts)
|
155
|
-
check_params(opts,[:descriptions])
|
156
|
-
super
|
155
|
+
opts = check_params(opts,[:descriptions])
|
156
|
+
super(opts)
|
157
157
|
end
|
158
158
|
|
159
159
|
##
|
@@ -165,8 +165,8 @@ module IControl::Networking
|
|
165
165
|
# @param [Hash] opts
|
166
166
|
# @option opts [long] :parent_ids The route domain parent ids.
|
167
167
|
def set_parent_id(opts)
|
168
|
-
check_params(opts,[:parent_ids])
|
169
|
-
super
|
168
|
+
opts = check_params(opts,[:parent_ids])
|
169
|
+
super(opts)
|
170
170
|
end
|
171
171
|
|
172
172
|
##
|
@@ -183,8 +183,8 @@ module IControl::Networking
|
|
183
183
|
# @param [Hash] opts
|
184
184
|
# @option opts [IControl::Common::EnabledState] :states State to enforce cross-domain routing restrictions for each specified route domain (default: enabled)
|
185
185
|
def set_strict_state(opts)
|
186
|
-
check_params(opts,[:states])
|
187
|
-
super
|
186
|
+
opts = check_params(opts,[:states])
|
187
|
+
super(opts)
|
188
188
|
end
|
189
189
|
|
190
190
|
|
@@ -25,8 +25,8 @@ module IControl::Networking
|
|
25
25
|
# @param [Hash] opts
|
26
26
|
# @option opts [IControl::Networking::RouteTable::RouteAttribute] :attributes The attributes for the specified management routes.
|
27
27
|
def add_management_route(opts)
|
28
|
-
check_params(opts,[:attributes])
|
29
|
-
super
|
28
|
+
opts = check_params(opts,[:attributes])
|
29
|
+
super(opts)
|
30
30
|
end
|
31
31
|
|
32
32
|
##
|
@@ -38,8 +38,8 @@ module IControl::Networking
|
|
38
38
|
# @param [Hash] opts
|
39
39
|
# @option opts [IControl::Networking::RouteTable::RouteAttribute] :attributes The static route attributes to add.
|
40
40
|
def add_static_route(opts)
|
41
|
-
check_params(opts,[:attributes])
|
42
|
-
super
|
41
|
+
opts = check_params(opts,[:attributes])
|
42
|
+
super(opts)
|
43
43
|
end
|
44
44
|
|
45
45
|
##
|
@@ -92,8 +92,8 @@ module IControl::Networking
|
|
92
92
|
# @param [Hash] opts
|
93
93
|
# @option opts [String] :destinations The destination IP addresses.
|
94
94
|
def dynamic_route(opts)
|
95
|
-
check_params(opts,[:destinations])
|
96
|
-
super
|
95
|
+
opts = check_params(opts,[:destinations])
|
96
|
+
super(opts)
|
97
97
|
end
|
98
98
|
|
99
99
|
##
|
@@ -150,8 +150,8 @@ module IControl::Networking
|
|
150
150
|
# @param [Hash] opts
|
151
151
|
# @option opts [String] :destinations The destination IP addresses.
|
152
152
|
def route_table_metric_statistics_for_destination(opts)
|
153
|
-
check_params(opts,[:destinations])
|
154
|
-
super
|
153
|
+
opts = check_params(opts,[:destinations])
|
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 [String] :mac_addresses The MAC addresses.
|
166
166
|
def route_table_metric_statistics_for_mac(opts)
|
167
|
-
check_params(opts,[:mac_addresses])
|
168
|
-
super
|
167
|
+
opts = check_params(opts,[:mac_addresses])
|
168
|
+
super(opts)
|
169
169
|
end
|
170
170
|
|
171
171
|
##
|
@@ -262,8 +262,8 @@ module IControl::Networking
|
|
262
262
|
# @param [Hash] opts
|
263
263
|
# @option opts [String] :gateways The gateways for the specified management routes.
|
264
264
|
def set_management_route_gateway(opts)
|
265
|
-
check_params(opts,[:gateways])
|
266
|
-
super
|
265
|
+
opts = check_params(opts,[:gateways])
|
266
|
+
super(opts)
|
267
267
|
end
|
268
268
|
|
269
269
|
##
|
@@ -275,8 +275,8 @@ module IControl::Networking
|
|
275
275
|
# @param [Hash] opts
|
276
276
|
# @option opts [long] :mtus The MTUs for the specified management routes.
|
277
277
|
def set_management_route_mtu(opts)
|
278
|
-
check_params(opts,[:mtus])
|
279
|
-
super
|
278
|
+
opts = check_params(opts,[:mtus])
|
279
|
+
super(opts)
|
280
280
|
end
|
281
281
|
|
282
282
|
##
|
@@ -298,8 +298,8 @@ module IControl::Networking
|
|
298
298
|
# @param [Hash] opts
|
299
299
|
# @option opts [String] :gateways The gateways for the specified static routes.
|
300
300
|
def set_static_route_gateway(opts)
|
301
|
-
check_params(opts,[:gateways])
|
302
|
-
super
|
301
|
+
opts = check_params(opts,[:gateways])
|
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 [long] :mtus The MTUs to destinations.
|
313
313
|
def set_static_route_mtu(opts)
|
314
|
-
check_params(opts,[:mtus])
|
315
|
-
super
|
314
|
+
opts = check_params(opts,[:mtus])
|
315
|
+
super(opts)
|
316
316
|
end
|
317
317
|
|
318
318
|
##
|
@@ -325,8 +325,8 @@ module IControl::Networking
|
|
325
325
|
# @param [Hash] opts
|
326
326
|
# @option opts [String] :pools The pool names.
|
327
327
|
def set_static_route_pool(opts)
|
328
|
-
check_params(opts,[:pools])
|
329
|
-
super
|
328
|
+
opts = check_params(opts,[:pools])
|
329
|
+
super(opts)
|
330
330
|
end
|
331
331
|
|
332
332
|
##
|
@@ -348,8 +348,8 @@ module IControl::Networking
|
|
348
348
|
# @param [Hash] opts
|
349
349
|
# @option opts [String] :vlans The VLAN names.
|
350
350
|
def set_static_route_vlan(opts)
|
351
|
-
check_params(opts,[:vlans])
|
352
|
-
super
|
351
|
+
opts = check_params(opts,[:vlans])
|
352
|
+
super(opts)
|
353
353
|
end
|
354
354
|
|
355
355
|
##
|
@@ -18,8 +18,8 @@ module IControl::Networking
|
|
18
18
|
# @option opts [long] :unit_ids The unit ids for the self IPs .
|
19
19
|
# @option opts [IControl::Common::EnabledState] :floating_states The floating attributes of the self IPs .
|
20
20
|
def create(opts)
|
21
|
-
check_params(opts,[:vlan_names,:netmasks,:unit_ids,:floating_states])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:vlan_names,:netmasks,:unit_ids,:floating_states])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -116,8 +116,8 @@ module IControl::Networking
|
|
116
116
|
# @param [Hash] opts
|
117
117
|
# @option opts [IControl::Common::EnabledState] :states The floating states of the specified self IPs .
|
118
118
|
def set_floating_state(opts)
|
119
|
-
check_params(opts,[:states])
|
120
|
-
super
|
119
|
+
opts = check_params(opts,[:states])
|
120
|
+
super(opts)
|
121
121
|
end
|
122
122
|
|
123
123
|
##
|
@@ -129,8 +129,8 @@ module IControl::Networking
|
|
129
129
|
# @param [Hash] opts
|
130
130
|
# @option opts [String] :netmasks The netmasks of the specified self IPs .
|
131
131
|
def set_netmask(opts)
|
132
|
-
check_params(opts,[:netmasks])
|
133
|
-
super
|
132
|
+
opts = check_params(opts,[:netmasks])
|
133
|
+
super(opts)
|
134
134
|
end
|
135
135
|
|
136
136
|
##
|
@@ -144,8 +144,8 @@ module IControl::Networking
|
|
144
144
|
# @param [Hash] opts
|
145
145
|
# @option opts [long] :unit_ids The unit ids of the specified self IPs .
|
146
146
|
def set_unit_id(opts)
|
147
|
-
check_params(opts,[:unit_ids])
|
148
|
-
super
|
147
|
+
opts = check_params(opts,[:unit_ids])
|
148
|
+
super(opts)
|
149
149
|
end
|
150
150
|
|
151
151
|
##
|
@@ -157,8 +157,8 @@ module IControl::Networking
|
|
157
157
|
# @param [Hash] opts
|
158
158
|
# @option opts [String] :vlan_names The VLAN names.
|
159
159
|
def set_vlan(opts)
|
160
|
-
check_params(opts,[:vlan_names])
|
161
|
-
super
|
160
|
+
opts = check_params(opts,[:vlan_names])
|
161
|
+
super(opts)
|
162
162
|
end
|
163
163
|
|
164
164
|
|