icontrol 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/icontrol/arx.rb +38 -8
- data/lib/icontrol/arx/api.rb +1 -0
- data/lib/icontrol/arx/chassis.rb +11 -0
- data/lib/icontrol/arx/export.rb +4 -1
- data/lib/icontrol/arx/file_change_notification.rb +25 -4
- data/lib/icontrol/arx/file_server.rb +2 -0
- data/lib/icontrol/arx/namespace.rb +2 -0
- data/lib/icontrol/arx/network.rb +3 -0
- data/lib/icontrol/arx/policy.rb +3 -0
- data/lib/icontrol/arx/share.rb +2 -0
- data/lib/icontrol/arx/virtual_service.rb +3 -0
- data/lib/icontrol/arx/volume.rb +2 -0
- data/lib/icontrol/asm.rb +18 -3
- data/lib/icontrol/asm/object_params.rb +12 -6
- data/lib/icontrol/asm/policy.rb +118 -79
- data/lib/icontrol/asm/system_configuration.rb +27 -19
- data/lib/icontrol/asm/web_application.rb +74 -52
- data/lib/icontrol/asm/web_application_group.rb +33 -24
- data/lib/icontrol/base.rb +1 -0
- data/lib/icontrol/base/exception.rb +1 -0
- data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
- data/lib/icontrol/base/icontrol_overlay.rb +6 -0
- data/lib/icontrol/base/predeclarations.rb +5 -4
- data/lib/icontrol/base/struct.rb +6 -2
- data/lib/icontrol/common.rb +55 -4
- data/lib/icontrol/global_lb.rb +22 -3
- data/lib/icontrol/global_lb/application.rb +63 -44
- data/lib/icontrol/global_lb/data_center.rb +82 -58
- data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
- data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
- data/lib/icontrol/global_lb/globals.rb +662 -430
- data/lib/icontrol/global_lb/link.rb +181 -131
- data/lib/icontrol/global_lb/monitor.rb +174 -104
- data/lib/icontrol/global_lb/pool.rb +290 -203
- data/lib/icontrol/global_lb/pool_member.rb +118 -71
- data/lib/icontrol/global_lb/region.rb +37 -25
- data/lib/icontrol/global_lb/rule.rb +53 -37
- data/lib/icontrol/global_lb/server.rb +176 -124
- data/lib/icontrol/global_lb/topology.rb +41 -27
- data/lib/icontrol/global_lb/virtual_server.rb +118 -84
- data/lib/icontrol/global_lb/wide_ip.rb +168 -117
- data/lib/icontrol/local_lb.rb +81 -10
- data/lib/icontrol/local_lb/klass.rb +233 -153
- data/lib/icontrol/local_lb/monitor.rb +158 -96
- data/lib/icontrol/local_lb/nat.rb +74 -52
- data/lib/icontrol/local_lb/node_address.rb +123 -86
- data/lib/icontrol/local_lb/pool.rb +229 -164
- data/lib/icontrol/local_lb/pool_member.rb +134 -76
- data/lib/icontrol/local_lb/profile_auth.rb +103 -75
- data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
- data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
- data/lib/icontrol/local_lb/profile_dns.rb +65 -46
- data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
- data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
- data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
- data/lib/icontrol/local_lb/profile_http.rb +701 -433
- data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
- data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
- data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
- data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
- data/lib/icontrol/local_lb/profile_radius.rb +94 -62
- data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
- data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
- data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
- data/lib/icontrol/local_lb/profile_sip.rb +145 -99
- data/lib/icontrol/local_lb/profile_stream.rb +71 -51
- data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
- data/lib/icontrol/local_lb/profile_udp.rb +109 -78
- data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
- data/lib/icontrol/local_lb/profile_xml.rb +116 -79
- data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
- data/lib/icontrol/local_lb/rate_class.rb +523 -318
- data/lib/icontrol/local_lb/rule.rb +53 -37
- data/lib/icontrol/local_lb/snat.rb +96 -65
- data/lib/icontrol/local_lb/snat_pool.rb +54 -39
- data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
- data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
- data/lib/icontrol/local_lb/virtual_address.rb +99 -70
- data/lib/icontrol/local_lb/virtual_server.rb +358 -243
- data/lib/icontrol/lt_config.rb +8 -1
- data/lib/icontrol/lt_config/field.rb +87 -53
- data/lib/icontrol/lt_config/klass.rb +59 -43
- data/lib/icontrol/management.rb +80 -38
- data/lib/icontrol/management/ccldap_configuration.rb +218 -144
- data/lib/icontrol/management/change_control.rb +67 -41
- data/lib/icontrol/management/crldp_configuration.rb +73 -52
- data/lib/icontrol/management/crldp_server.rb +55 -39
- data/lib/icontrol/management/db_variable.rb +32 -21
- data/lib/icontrol/management/event_notification.rb +19 -8
- data/lib/icontrol/management/event_subscription.rb +121 -74
- data/lib/icontrol/management/key_certificate.rb +235 -138
- data/lib/icontrol/management/ldap_configuration.rb +249 -179
- data/lib/icontrol/management/license_administration.rb +97 -56
- data/lib/icontrol/management/named.rb +103 -67
- data/lib/icontrol/management/ocsp_configuration.rb +33 -24
- data/lib/icontrol/management/ocsp_responder.rb +294 -165
- data/lib/icontrol/management/partition.rb +42 -23
- data/lib/icontrol/management/provision.rb +73 -39
- data/lib/icontrol/management/radius_configuration.rb +85 -57
- data/lib/icontrol/management/radius_server.rb +51 -37
- data/lib/icontrol/management/resource_record.rb +163 -121
- data/lib/icontrol/management/snmp_configuration.rb +675 -390
- data/lib/icontrol/management/tacacs_configuration.rb +99 -67
- data/lib/icontrol/management/tmos_module.rb +20 -8
- data/lib/icontrol/management/user_management.rb +198 -124
- data/lib/icontrol/management/view.rb +33 -24
- data/lib/icontrol/management/zone.rb +49 -34
- data/lib/icontrol/management/zone_runner.rb +11 -7
- data/lib/icontrol/networking.rb +31 -4
- data/lib/icontrol/networking/admin_ip.rb +92 -71
- data/lib/icontrol/networking/arp.rb +41 -28
- data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
- data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
- data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
- data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
- data/lib/icontrol/networking/interfaces.rb +241 -142
- data/lib/icontrol/networking/packet_filter.rb +111 -69
- data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
- data/lib/icontrol/networking/port_mirror.rb +39 -27
- data/lib/icontrol/networking/profile_gre.rb +63 -41
- data/lib/icontrol/networking/profile_ipip.rb +38 -25
- data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
- data/lib/icontrol/networking/route_domain.rb +70 -44
- data/lib/icontrol/networking/route_table.rb +128 -91
- data/lib/icontrol/networking/self_ip.rb +57 -39
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
- data/lib/icontrol/networking/stp_globals.rb +115 -63
- data/lib/icontrol/networking/stp_instance.rb +166 -68
- data/lib/icontrol/networking/trunk.rb +165 -101
- data/lib/icontrol/networking/tunnel.rb +77 -52
- data/lib/icontrol/networking/vlan.rb +140 -98
- data/lib/icontrol/networking/vlan_group.rb +145 -101
- data/lib/icontrol/system.rb +70 -33
- data/lib/icontrol/system/cluster.rb +103 -81
- data/lib/icontrol/system/config_sync.rb +128 -72
- data/lib/icontrol/system/connections.rb +27 -17
- data/lib/icontrol/system/disk.rb +134 -67
- data/lib/icontrol/system/failover.rb +44 -27
- data/lib/icontrol/system/geo_ip.rb +16 -5
- data/lib/icontrol/system/inet.rb +47 -30
- data/lib/icontrol/system/internal.rb +13 -9
- data/lib/icontrol/system/services.rb +75 -42
- data/lib/icontrol/system/software_management.rb +132 -83
- data/lib/icontrol/system/statistics.rb +443 -298
- data/lib/icontrol/system/system_info.rb +137 -95
- data/lib/icontrol/web_accelerator/applications.rb +17 -10
- data/lib/icontrol/web_accelerator/policies.rb +13 -9
- data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
- data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
- data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
- metadata +10 -4
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
module IControl::Networking
|
|
2
2
|
##
|
|
3
|
-
# The RouteDomain interface enables you to work with the definitions and attributes
|
|
3
|
+
# The RouteDomain interface enables you to work with the definitions and attributes
|
|
4
|
+
# contained in a device's route domains. Route domains allow you to specify overlapping
|
|
5
|
+
# IP addresses for different objects in the system. This allows a service provider,
|
|
6
|
+
# for example, to have two different pool members at 10.10.10.1 that represent completely
|
|
7
|
+
# different real servers. The addresses for the two pool members might be 10.10.10.1%1
|
|
8
|
+
# and 10.10.10.1%2 where the numbers after the percent signs are numeric ids of route
|
|
9
|
+
# domains.
|
|
4
10
|
class RouteDomain < IControl::Base
|
|
5
11
|
|
|
6
12
|
set_id_name "route_domains"
|
|
7
13
|
|
|
8
14
|
##
|
|
9
15
|
# Adds this VLANs to this route domain.
|
|
10
|
-
# @
|
|
11
|
-
# @raise [IControl::Common::
|
|
12
|
-
# @raise [IControl::Common::
|
|
16
|
+
# @rspec_example
|
|
17
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
18
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
19
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
13
20
|
# @param [Hash] opts
|
|
14
21
|
# @option opts [String[]] :vlans The lists of child VLANs .
|
|
15
22
|
def add_vlan(opts)
|
|
@@ -19,9 +26,10 @@ module IControl::Networking
|
|
|
19
26
|
|
|
20
27
|
##
|
|
21
28
|
# Creates a route domain.
|
|
22
|
-
# @
|
|
23
|
-
# @raise [IControl::Common::
|
|
24
|
-
# @raise [IControl::Common::
|
|
29
|
+
# @rspec_example
|
|
30
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
31
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
32
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
25
33
|
# @param [Hash] opts
|
|
26
34
|
# @option opts [String[]] :vlans The lists of VLANs .
|
|
27
35
|
def create(opts)
|
|
@@ -31,64 +39,71 @@ module IControl::Networking
|
|
|
31
39
|
|
|
32
40
|
##
|
|
33
41
|
# Deletes all route domain.
|
|
34
|
-
# @
|
|
35
|
-
# @raise [IControl::Common::
|
|
36
|
-
# @raise [IControl::Common::
|
|
42
|
+
# @rspec_example
|
|
43
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
44
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
45
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
37
46
|
def delete_all_route_domains
|
|
38
47
|
super
|
|
39
48
|
end
|
|
40
49
|
|
|
41
50
|
##
|
|
42
51
|
# Deletes this route domain.
|
|
43
|
-
# @
|
|
44
|
-
# @raise [IControl::Common::
|
|
45
|
-
# @raise [IControl::Common::
|
|
52
|
+
# @rspec_example
|
|
53
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
54
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
55
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
46
56
|
def delete_route_domain
|
|
47
57
|
super
|
|
48
58
|
end
|
|
49
59
|
|
|
50
60
|
##
|
|
51
61
|
# Gets the descriptions for the this route domain.
|
|
62
|
+
# @rspec_example
|
|
52
63
|
# @return [String]
|
|
53
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
54
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
55
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
64
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
65
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
66
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
56
67
|
def description
|
|
57
68
|
super
|
|
58
69
|
end
|
|
59
70
|
|
|
60
71
|
##
|
|
61
72
|
# Gets a list of all route domain on this device.
|
|
73
|
+
# @rspec_example
|
|
62
74
|
# @return [long]
|
|
63
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
64
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
65
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
75
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
76
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
77
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
66
78
|
def list
|
|
67
79
|
super
|
|
68
80
|
end
|
|
69
81
|
|
|
70
82
|
##
|
|
71
83
|
# Gets the parent ids for this route domain.
|
|
84
|
+
# @rspec_example
|
|
72
85
|
# @return [long]
|
|
73
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
74
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
75
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
86
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
87
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
88
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
76
89
|
def parent_id
|
|
77
90
|
super
|
|
78
91
|
end
|
|
79
92
|
|
|
80
93
|
##
|
|
81
94
|
# Gets the state to enforce cross-domain routing restrictions for a set of route domain.
|
|
95
|
+
# @rspec_example
|
|
82
96
|
# @return [EnabledState]
|
|
83
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
84
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
85
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
97
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
98
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
99
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
86
100
|
def strict_state
|
|
87
101
|
super
|
|
88
102
|
end
|
|
89
103
|
|
|
90
104
|
##
|
|
91
105
|
# Gets the version information for this interface.
|
|
106
|
+
# @rspec_example
|
|
92
107
|
# @return [String]
|
|
93
108
|
def version
|
|
94
109
|
super
|
|
@@ -96,28 +111,31 @@ module IControl::Networking
|
|
|
96
111
|
|
|
97
112
|
##
|
|
98
113
|
# Gets the lists of VLANs for this route domain.
|
|
114
|
+
# @rspec_example
|
|
99
115
|
# @return [String[]]
|
|
100
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
101
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
102
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
116
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
117
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
118
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
103
119
|
def vlan
|
|
104
120
|
super
|
|
105
121
|
end
|
|
106
122
|
|
|
107
123
|
##
|
|
108
124
|
# Removes all VLANs from this route domain.
|
|
109
|
-
# @
|
|
110
|
-
# @raise [IControl::Common::
|
|
111
|
-
# @raise [IControl::Common::
|
|
125
|
+
# @rspec_example
|
|
126
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
127
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
128
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
112
129
|
def remove_all_vlans
|
|
113
130
|
super
|
|
114
131
|
end
|
|
115
132
|
|
|
116
133
|
##
|
|
117
134
|
# Removes this VLANs from this route domain.
|
|
118
|
-
# @
|
|
119
|
-
# @raise [IControl::Common::
|
|
120
|
-
# @raise [IControl::Common::
|
|
135
|
+
# @rspec_example
|
|
136
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
137
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
138
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
121
139
|
# @param [Hash] opts
|
|
122
140
|
# @option opts [String[]] :vlans The lists of child VLANs .
|
|
123
141
|
def remove_vlan(opts)
|
|
@@ -127,9 +145,10 @@ module IControl::Networking
|
|
|
127
145
|
|
|
128
146
|
##
|
|
129
147
|
# Sets the descriptions for the this route domain.
|
|
130
|
-
# @
|
|
131
|
-
# @raise [IControl::Common::
|
|
132
|
-
# @raise [IControl::Common::
|
|
148
|
+
# @rspec_example
|
|
149
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
150
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
151
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
133
152
|
# @param [Hash] opts
|
|
134
153
|
# @option opts [String] :descriptions The descriptions to set for the specified route domains.
|
|
135
154
|
def set_description(opts)
|
|
@@ -139,9 +158,10 @@ module IControl::Networking
|
|
|
139
158
|
|
|
140
159
|
##
|
|
141
160
|
# Sets the parent ids for this route domain.
|
|
142
|
-
# @
|
|
143
|
-
# @raise [IControl::Common::
|
|
144
|
-
# @raise [IControl::Common::
|
|
161
|
+
# @rspec_example
|
|
162
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
163
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
164
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
145
165
|
# @param [Hash] opts
|
|
146
166
|
# @option opts [long] :parent_ids The route domain parent ids.
|
|
147
167
|
def set_parent_id(opts)
|
|
@@ -150,10 +170,16 @@ module IControl::Networking
|
|
|
150
170
|
end
|
|
151
171
|
|
|
152
172
|
##
|
|
153
|
-
# Sets the state to enforce cross-domain routing restrictions for a set of route domain.
|
|
154
|
-
#
|
|
155
|
-
#
|
|
156
|
-
#
|
|
173
|
+
# Sets the state to enforce cross-domain routing restrictions for a set of route domain.
|
|
174
|
+
# NOTES = If set, packets cannot cross route domain boundaries, i.e., they are strictly
|
|
175
|
+
# isolated to the current route domain. = For example, if not set, you can add a route
|
|
176
|
+
# to the routing table where the destination is 10.0.0.0%20 (route domain 20) and the
|
|
177
|
+
# gateway is 172.27.84.29%32 (route domain 32). = If set, the system may find invalid
|
|
178
|
+
# iRules that passed validation.
|
|
179
|
+
# @rspec_example
|
|
180
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
181
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
182
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
157
183
|
# @param [Hash] opts
|
|
158
184
|
# @option opts [IControl::Common::EnabledState] :states State to enforce cross-domain routing restrictions for each specified route domain (default: enabled)
|
|
159
185
|
def set_strict_state(opts)
|
|
@@ -10,11 +10,18 @@ module IControl::Networking
|
|
|
10
10
|
class RouteAttribute < IControl::Base::Struct; end
|
|
11
11
|
class RouteDefinition < IControl::Base::Struct; end
|
|
12
12
|
class RouteTableMetricEntry < IControl::Base::Struct; end
|
|
13
|
-
class RouteTableMetricStatistics < IControl::Base::Struct; end
|
|
13
|
+
class RouteTableMetricStatistics < IControl::Base::Struct; end
|
|
14
|
+
class DynamicRouteSequence < IControl::Base::Sequence ; end
|
|
15
|
+
class DynamicRouteStatisticsSequence < IControl::Base::Sequence ; end
|
|
16
|
+
class RouteAttributeSequence < IControl::Base::Sequence ; end
|
|
17
|
+
class RouteDefinitionSequence < IControl::Base::Sequence ; end
|
|
18
|
+
class RouteTableMetricEntrySequence < IControl::Base::Sequence ; end
|
|
19
|
+
class RouteTableMetricStatisticsSequence < IControl::Base::Sequence ; end ##
|
|
14
20
|
# Adds this management route entries to the route table.
|
|
15
|
-
# @
|
|
16
|
-
# @raise [IControl::Common::
|
|
17
|
-
# @raise [IControl::Common::
|
|
21
|
+
# @rspec_example
|
|
22
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
23
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
24
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
18
25
|
# @param [Hash] opts
|
|
19
26
|
# @option opts [IControl::Networking::RouteTable::RouteAttribute] :attributes The attributes for the specified management routes.
|
|
20
27
|
def add_management_route(opts)
|
|
@@ -24,9 +31,10 @@ module IControl::Networking
|
|
|
24
31
|
|
|
25
32
|
##
|
|
26
33
|
# Adds this static route entries to the route table.
|
|
27
|
-
# @
|
|
28
|
-
# @raise [IControl::Common::
|
|
29
|
-
# @raise [IControl::Common::
|
|
34
|
+
# @rspec_example
|
|
35
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
36
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
37
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
30
38
|
# @param [Hash] opts
|
|
31
39
|
# @option opts [IControl::Networking::RouteTable::RouteAttribute] :attributes The static route attributes to add.
|
|
32
40
|
def add_static_route(opts)
|
|
@@ -36,46 +44,51 @@ module IControl::Networking
|
|
|
36
44
|
|
|
37
45
|
##
|
|
38
46
|
# Deletes all management route entries from the route table.
|
|
39
|
-
# @
|
|
40
|
-
# @raise [IControl::Common::
|
|
41
|
-
# @raise [IControl::Common::
|
|
47
|
+
# @rspec_example
|
|
48
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
49
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
50
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
42
51
|
def delete_all_management_routes
|
|
43
52
|
super
|
|
44
53
|
end
|
|
45
54
|
|
|
46
55
|
##
|
|
47
56
|
# Deletes all static route entries from the route table.
|
|
48
|
-
# @
|
|
49
|
-
# @raise [IControl::Common::
|
|
50
|
-
# @raise [IControl::Common::
|
|
57
|
+
# @rspec_example
|
|
58
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
59
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
60
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
51
61
|
def delete_all_static_routes
|
|
52
62
|
super
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
##
|
|
56
66
|
# Deletes this management route entries from the route table.
|
|
57
|
-
# @
|
|
58
|
-
# @raise [IControl::Common::
|
|
59
|
-
# @raise [IControl::Common::
|
|
67
|
+
# @rspec_example
|
|
68
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
69
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
70
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
60
71
|
def delete_management_route
|
|
61
72
|
super
|
|
62
73
|
end
|
|
63
74
|
|
|
64
75
|
##
|
|
65
76
|
# Deletes this static route entries from the route table.
|
|
66
|
-
# @
|
|
67
|
-
# @raise [IControl::Common::
|
|
68
|
-
# @raise [IControl::Common::
|
|
77
|
+
# @rspec_example
|
|
78
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
79
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
80
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
69
81
|
def delete_static_route
|
|
70
82
|
super
|
|
71
83
|
end
|
|
72
84
|
|
|
73
85
|
##
|
|
74
86
|
# Gets the dynamic route for this destination IP addresses.
|
|
87
|
+
# @rspec_example
|
|
75
88
|
# @return [DynamicRouteStatistics]
|
|
76
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
77
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
78
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
89
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
90
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
91
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
79
92
|
# @param [Hash] opts
|
|
80
93
|
# @option opts [String] :destinations The destination IP addresses.
|
|
81
94
|
def dynamic_route(opts)
|
|
@@ -85,50 +98,55 @@ module IControl::Networking
|
|
|
85
98
|
|
|
86
99
|
##
|
|
87
100
|
# Gets a list of all management route entries.
|
|
101
|
+
# @rspec_example
|
|
88
102
|
# @return [RouteDefinition]
|
|
89
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
90
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
91
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
103
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
104
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
105
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
92
106
|
def management_route
|
|
93
107
|
super
|
|
94
108
|
end
|
|
95
109
|
|
|
96
110
|
##
|
|
97
111
|
# Gets the gateways for this management route.
|
|
112
|
+
# @rspec_example
|
|
98
113
|
# @return [String]
|
|
99
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
100
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
101
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
114
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
115
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
116
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
102
117
|
def management_route_gateway
|
|
103
118
|
super
|
|
104
119
|
end
|
|
105
120
|
|
|
106
121
|
##
|
|
107
122
|
# Gets the MTUs for this management route.
|
|
123
|
+
# @rspec_example
|
|
108
124
|
# @return [long]
|
|
109
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
110
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
111
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
125
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
126
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
127
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
112
128
|
def management_route_mtu
|
|
113
129
|
super
|
|
114
130
|
end
|
|
115
131
|
|
|
116
132
|
##
|
|
117
133
|
# Gets the route type for this management route.
|
|
134
|
+
# @rspec_example
|
|
118
135
|
# @return [RouteEntryType]
|
|
119
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
120
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
121
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
136
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
137
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
138
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
122
139
|
def management_route_type
|
|
123
140
|
super
|
|
124
141
|
end
|
|
125
142
|
|
|
126
143
|
##
|
|
127
144
|
# Gets the route metric statistics for this destination IP addresses.
|
|
145
|
+
# @rspec_example
|
|
128
146
|
# @return [RouteTableMetricStatistics]
|
|
129
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
130
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
131
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
147
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
148
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
149
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
132
150
|
# @param [Hash] opts
|
|
133
151
|
# @option opts [String] :destinations The destination IP addresses.
|
|
134
152
|
def route_table_metric_statistics_for_destination(opts)
|
|
@@ -138,10 +156,11 @@ module IControl::Networking
|
|
|
138
156
|
|
|
139
157
|
##
|
|
140
158
|
# Gets the route metric statistics for this MAC addresses of the gateways.
|
|
159
|
+
# @rspec_example
|
|
141
160
|
# @return [RouteTableMetricStatistics]
|
|
142
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
143
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
144
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
161
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
162
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
163
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
145
164
|
# @param [Hash] opts
|
|
146
165
|
# @option opts [String] :mac_addresses The MAC addresses.
|
|
147
166
|
def route_table_metric_statistics_for_mac(opts)
|
|
@@ -151,66 +170,74 @@ module IControl::Networking
|
|
|
151
170
|
|
|
152
171
|
##
|
|
153
172
|
# Gets a list of all static route entries.
|
|
173
|
+
# @rspec_example
|
|
154
174
|
# @return [RouteDefinition]
|
|
155
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
156
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
157
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
175
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
176
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
177
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
158
178
|
def static_route
|
|
159
179
|
super
|
|
160
180
|
end
|
|
161
181
|
|
|
162
182
|
##
|
|
163
183
|
# Gets the gateways for this static route.
|
|
184
|
+
# @rspec_example
|
|
164
185
|
# @return [String]
|
|
165
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
166
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
167
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
186
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
187
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
188
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
168
189
|
def static_route_gateway
|
|
169
190
|
super
|
|
170
191
|
end
|
|
171
192
|
|
|
172
193
|
##
|
|
173
194
|
# Gets the MTUs for this static route.
|
|
195
|
+
# @rspec_example
|
|
174
196
|
# @return [long]
|
|
175
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
176
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
177
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
197
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
198
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
199
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
178
200
|
def static_route_mtu
|
|
179
201
|
super
|
|
180
202
|
end
|
|
181
203
|
|
|
182
204
|
##
|
|
183
|
-
# Gets the pool names for this static route. The pool name allow the destination to
|
|
205
|
+
# Gets the pool names for this static route. The pool name allow the destination to
|
|
206
|
+
# select the nexthop router from a pool.
|
|
207
|
+
# @rspec_example
|
|
184
208
|
# @return [String]
|
|
185
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
186
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
187
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
209
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
210
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
211
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
188
212
|
def static_route_pool
|
|
189
213
|
super
|
|
190
214
|
end
|
|
191
215
|
|
|
192
216
|
##
|
|
193
217
|
# Gets the route type for this static route.
|
|
218
|
+
# @rspec_example
|
|
194
219
|
# @return [RouteEntryType]
|
|
195
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
196
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
197
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
220
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
221
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
222
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
198
223
|
def static_route_type
|
|
199
224
|
super
|
|
200
225
|
end
|
|
201
226
|
|
|
202
227
|
##
|
|
203
228
|
# Gets the VLAN names for this static route.
|
|
229
|
+
# @rspec_example
|
|
204
230
|
# @return [String]
|
|
205
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
206
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
207
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
231
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
232
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
233
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
208
234
|
def static_route_vlan
|
|
209
235
|
super
|
|
210
236
|
end
|
|
211
237
|
|
|
212
238
|
##
|
|
213
239
|
# Gets the version information for this interface.
|
|
240
|
+
# @rspec_example
|
|
214
241
|
# @return [String]
|
|
215
242
|
def version
|
|
216
243
|
super
|
|
@@ -218,18 +245,20 @@ module IControl::Networking
|
|
|
218
245
|
|
|
219
246
|
##
|
|
220
247
|
# Resets or flushes all route metric statistics.
|
|
221
|
-
# @
|
|
222
|
-
# @raise [IControl::Common::
|
|
223
|
-
# @raise [IControl::Common::
|
|
248
|
+
# @rspec_example
|
|
249
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
250
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
251
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
224
252
|
def reset_all_route_table_metric_statistics
|
|
225
253
|
super
|
|
226
254
|
end
|
|
227
255
|
|
|
228
256
|
##
|
|
229
257
|
# Sets the gateways for this management route.
|
|
230
|
-
# @
|
|
231
|
-
# @raise [IControl::Common::
|
|
232
|
-
# @raise [IControl::Common::
|
|
258
|
+
# @rspec_example
|
|
259
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
260
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
261
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
233
262
|
# @param [Hash] opts
|
|
234
263
|
# @option opts [String] :gateways The gateways for the specified management routes.
|
|
235
264
|
def set_management_route_gateway(opts)
|
|
@@ -239,9 +268,10 @@ module IControl::Networking
|
|
|
239
268
|
|
|
240
269
|
##
|
|
241
270
|
# Sets the MTUs for this management route.
|
|
242
|
-
# @
|
|
243
|
-
# @raise [IControl::Common::
|
|
244
|
-
# @raise [IControl::Common::
|
|
271
|
+
# @rspec_example
|
|
272
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
273
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
274
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
245
275
|
# @param [Hash] opts
|
|
246
276
|
# @option opts [long] :mtus The MTUs for the specified management routes.
|
|
247
277
|
def set_management_route_mtu(opts)
|
|
@@ -251,18 +281,20 @@ module IControl::Networking
|
|
|
251
281
|
|
|
252
282
|
##
|
|
253
283
|
# Sets the state that rejects all requests for this management route.
|
|
254
|
-
# @
|
|
255
|
-
# @raise [IControl::Common::
|
|
256
|
-
# @raise [IControl::Common::
|
|
284
|
+
# @rspec_example
|
|
285
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
286
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
287
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
257
288
|
def set_management_route_reject
|
|
258
289
|
super
|
|
259
290
|
end
|
|
260
291
|
|
|
261
292
|
##
|
|
262
293
|
# Sets the gateways for this static route.
|
|
263
|
-
# @
|
|
264
|
-
# @raise [IControl::Common::
|
|
265
|
-
# @raise [IControl::Common::
|
|
294
|
+
# @rspec_example
|
|
295
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
296
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
297
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
266
298
|
# @param [Hash] opts
|
|
267
299
|
# @option opts [String] :gateways The gateways for the specified static routes.
|
|
268
300
|
def set_static_route_gateway(opts)
|
|
@@ -272,9 +304,10 @@ module IControl::Networking
|
|
|
272
304
|
|
|
273
305
|
##
|
|
274
306
|
# Sets the MTUs for this static route.
|
|
275
|
-
# @
|
|
276
|
-
# @raise [IControl::Common::
|
|
277
|
-
# @raise [IControl::Common::
|
|
307
|
+
# @rspec_example
|
|
308
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
309
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
310
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
278
311
|
# @param [Hash] opts
|
|
279
312
|
# @option opts [long] :mtus The MTUs to destinations.
|
|
280
313
|
def set_static_route_mtu(opts)
|
|
@@ -283,10 +316,12 @@ module IControl::Networking
|
|
|
283
316
|
end
|
|
284
317
|
|
|
285
318
|
##
|
|
286
|
-
# Sets the pool names for this static route. The pool name allow the destination to
|
|
287
|
-
#
|
|
288
|
-
# @
|
|
289
|
-
# @raise [IControl::Common::
|
|
319
|
+
# Sets the pool names for this static route. The pool name allow the destination to
|
|
320
|
+
# select the nexthop router from a pool.
|
|
321
|
+
# @rspec_example
|
|
322
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
323
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
324
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
290
325
|
# @param [Hash] opts
|
|
291
326
|
# @option opts [String] :pools The pool names.
|
|
292
327
|
def set_static_route_pool(opts)
|
|
@@ -296,18 +331,20 @@ module IControl::Networking
|
|
|
296
331
|
|
|
297
332
|
##
|
|
298
333
|
# Sets the state that rejects all requests for this static route.
|
|
299
|
-
# @
|
|
300
|
-
# @raise [IControl::Common::
|
|
301
|
-
# @raise [IControl::Common::
|
|
334
|
+
# @rspec_example
|
|
335
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
336
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
337
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
302
338
|
def set_static_route_reject
|
|
303
339
|
super
|
|
304
340
|
end
|
|
305
341
|
|
|
306
342
|
##
|
|
307
343
|
# Sets the VLAN names for this static route.
|
|
308
|
-
# @
|
|
309
|
-
# @raise [IControl::Common::
|
|
310
|
-
# @raise [IControl::Common::
|
|
344
|
+
# @rspec_example
|
|
345
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
346
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
347
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
311
348
|
# @param [Hash] opts
|
|
312
349
|
# @option opts [String] :vlans The VLAN names.
|
|
313
350
|
def set_static_route_vlan(opts)
|
|
@@ -334,10 +371,10 @@ module IControl::Networking
|
|
|
334
371
|
|
|
335
372
|
##
|
|
336
373
|
# A struct that describes dynamic route statistics and timestamp.
|
|
337
|
-
# @attr [IControl::Networking::RouteTable::
|
|
374
|
+
# @attr [IControl::Networking::RouteTable::DynamicRouteSequence] statistics The statistics for a sequence of dynamic routes.
|
|
338
375
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
339
376
|
class DynamicRouteStatistics < IControl::Base::Struct
|
|
340
|
-
icontrol_attribute :statistics, IControl::Networking::RouteTable::
|
|
377
|
+
icontrol_attribute :statistics, IControl::Networking::RouteTable::DynamicRouteSequence
|
|
341
378
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
342
379
|
end
|
|
343
380
|
|
|
@@ -380,10 +417,10 @@ module IControl::Networking
|
|
|
380
417
|
|
|
381
418
|
##
|
|
382
419
|
# A struct that describes route table statistics and timestamp.
|
|
383
|
-
# @attr [IControl::Networking::RouteTable::
|
|
420
|
+
# @attr [IControl::Networking::RouteTable::RouteTableMetricEntrySequence] statistics The statistics for a sequence of pool members.
|
|
384
421
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
385
422
|
class RouteTableMetricStatistics < IControl::Base::Struct
|
|
386
|
-
icontrol_attribute :statistics, IControl::Networking::RouteTable::
|
|
423
|
+
icontrol_attribute :statistics, IControl::Networking::RouteTable::RouteTableMetricEntrySequence
|
|
387
424
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
388
425
|
end
|
|
389
426
|
|