icontrol 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/lib/icontrol/arx.rb +38 -8
  2. data/lib/icontrol/arx/api.rb +1 -0
  3. data/lib/icontrol/arx/chassis.rb +11 -0
  4. data/lib/icontrol/arx/export.rb +4 -1
  5. data/lib/icontrol/arx/file_change_notification.rb +25 -4
  6. data/lib/icontrol/arx/file_server.rb +2 -0
  7. data/lib/icontrol/arx/namespace.rb +2 -0
  8. data/lib/icontrol/arx/network.rb +3 -0
  9. data/lib/icontrol/arx/policy.rb +3 -0
  10. data/lib/icontrol/arx/share.rb +2 -0
  11. data/lib/icontrol/arx/virtual_service.rb +3 -0
  12. data/lib/icontrol/arx/volume.rb +2 -0
  13. data/lib/icontrol/asm.rb +18 -3
  14. data/lib/icontrol/asm/object_params.rb +12 -6
  15. data/lib/icontrol/asm/policy.rb +118 -79
  16. data/lib/icontrol/asm/system_configuration.rb +27 -19
  17. data/lib/icontrol/asm/web_application.rb +74 -52
  18. data/lib/icontrol/asm/web_application_group.rb +33 -24
  19. data/lib/icontrol/base.rb +1 -0
  20. data/lib/icontrol/base/exception.rb +1 -0
  21. data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
  22. data/lib/icontrol/base/icontrol_overlay.rb +6 -0
  23. data/lib/icontrol/base/predeclarations.rb +5 -4
  24. data/lib/icontrol/base/struct.rb +6 -2
  25. data/lib/icontrol/common.rb +55 -4
  26. data/lib/icontrol/global_lb.rb +22 -3
  27. data/lib/icontrol/global_lb/application.rb +63 -44
  28. data/lib/icontrol/global_lb/data_center.rb +82 -58
  29. data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
  30. data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
  31. data/lib/icontrol/global_lb/globals.rb +662 -430
  32. data/lib/icontrol/global_lb/link.rb +181 -131
  33. data/lib/icontrol/global_lb/monitor.rb +174 -104
  34. data/lib/icontrol/global_lb/pool.rb +290 -203
  35. data/lib/icontrol/global_lb/pool_member.rb +118 -71
  36. data/lib/icontrol/global_lb/region.rb +37 -25
  37. data/lib/icontrol/global_lb/rule.rb +53 -37
  38. data/lib/icontrol/global_lb/server.rb +176 -124
  39. data/lib/icontrol/global_lb/topology.rb +41 -27
  40. data/lib/icontrol/global_lb/virtual_server.rb +118 -84
  41. data/lib/icontrol/global_lb/wide_ip.rb +168 -117
  42. data/lib/icontrol/local_lb.rb +81 -10
  43. data/lib/icontrol/local_lb/klass.rb +233 -153
  44. data/lib/icontrol/local_lb/monitor.rb +158 -96
  45. data/lib/icontrol/local_lb/nat.rb +74 -52
  46. data/lib/icontrol/local_lb/node_address.rb +123 -86
  47. data/lib/icontrol/local_lb/pool.rb +229 -164
  48. data/lib/icontrol/local_lb/pool_member.rb +134 -76
  49. data/lib/icontrol/local_lb/profile_auth.rb +103 -75
  50. data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
  51. data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
  52. data/lib/icontrol/local_lb/profile_dns.rb +65 -46
  53. data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
  54. data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
  55. data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
  56. data/lib/icontrol/local_lb/profile_http.rb +701 -433
  57. data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
  58. data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
  59. data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
  60. data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
  61. data/lib/icontrol/local_lb/profile_radius.rb +94 -62
  62. data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
  63. data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
  64. data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
  65. data/lib/icontrol/local_lb/profile_sip.rb +145 -99
  66. data/lib/icontrol/local_lb/profile_stream.rb +71 -51
  67. data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
  68. data/lib/icontrol/local_lb/profile_udp.rb +109 -78
  69. data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
  70. data/lib/icontrol/local_lb/profile_xml.rb +116 -79
  71. data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
  72. data/lib/icontrol/local_lb/rate_class.rb +523 -318
  73. data/lib/icontrol/local_lb/rule.rb +53 -37
  74. data/lib/icontrol/local_lb/snat.rb +96 -65
  75. data/lib/icontrol/local_lb/snat_pool.rb +54 -39
  76. data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
  77. data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
  78. data/lib/icontrol/local_lb/virtual_address.rb +99 -70
  79. data/lib/icontrol/local_lb/virtual_server.rb +358 -243
  80. data/lib/icontrol/lt_config.rb +8 -1
  81. data/lib/icontrol/lt_config/field.rb +87 -53
  82. data/lib/icontrol/lt_config/klass.rb +59 -43
  83. data/lib/icontrol/management.rb +80 -38
  84. data/lib/icontrol/management/ccldap_configuration.rb +218 -144
  85. data/lib/icontrol/management/change_control.rb +67 -41
  86. data/lib/icontrol/management/crldp_configuration.rb +73 -52
  87. data/lib/icontrol/management/crldp_server.rb +55 -39
  88. data/lib/icontrol/management/db_variable.rb +32 -21
  89. data/lib/icontrol/management/event_notification.rb +19 -8
  90. data/lib/icontrol/management/event_subscription.rb +121 -74
  91. data/lib/icontrol/management/key_certificate.rb +235 -138
  92. data/lib/icontrol/management/ldap_configuration.rb +249 -179
  93. data/lib/icontrol/management/license_administration.rb +97 -56
  94. data/lib/icontrol/management/named.rb +103 -67
  95. data/lib/icontrol/management/ocsp_configuration.rb +33 -24
  96. data/lib/icontrol/management/ocsp_responder.rb +294 -165
  97. data/lib/icontrol/management/partition.rb +42 -23
  98. data/lib/icontrol/management/provision.rb +73 -39
  99. data/lib/icontrol/management/radius_configuration.rb +85 -57
  100. data/lib/icontrol/management/radius_server.rb +51 -37
  101. data/lib/icontrol/management/resource_record.rb +163 -121
  102. data/lib/icontrol/management/snmp_configuration.rb +675 -390
  103. data/lib/icontrol/management/tacacs_configuration.rb +99 -67
  104. data/lib/icontrol/management/tmos_module.rb +20 -8
  105. data/lib/icontrol/management/user_management.rb +198 -124
  106. data/lib/icontrol/management/view.rb +33 -24
  107. data/lib/icontrol/management/zone.rb +49 -34
  108. data/lib/icontrol/management/zone_runner.rb +11 -7
  109. data/lib/icontrol/networking.rb +31 -4
  110. data/lib/icontrol/networking/admin_ip.rb +92 -71
  111. data/lib/icontrol/networking/arp.rb +41 -28
  112. data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
  113. data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
  114. data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
  115. data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
  116. data/lib/icontrol/networking/interfaces.rb +241 -142
  117. data/lib/icontrol/networking/packet_filter.rb +111 -69
  118. data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
  119. data/lib/icontrol/networking/port_mirror.rb +39 -27
  120. data/lib/icontrol/networking/profile_gre.rb +63 -41
  121. data/lib/icontrol/networking/profile_ipip.rb +38 -25
  122. data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
  123. data/lib/icontrol/networking/route_domain.rb +70 -44
  124. data/lib/icontrol/networking/route_table.rb +128 -91
  125. data/lib/icontrol/networking/self_ip.rb +57 -39
  126. data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
  127. data/lib/icontrol/networking/stp_globals.rb +115 -63
  128. data/lib/icontrol/networking/stp_instance.rb +166 -68
  129. data/lib/icontrol/networking/trunk.rb +165 -101
  130. data/lib/icontrol/networking/tunnel.rb +77 -52
  131. data/lib/icontrol/networking/vlan.rb +140 -98
  132. data/lib/icontrol/networking/vlan_group.rb +145 -101
  133. data/lib/icontrol/system.rb +70 -33
  134. data/lib/icontrol/system/cluster.rb +103 -81
  135. data/lib/icontrol/system/config_sync.rb +128 -72
  136. data/lib/icontrol/system/connections.rb +27 -17
  137. data/lib/icontrol/system/disk.rb +134 -67
  138. data/lib/icontrol/system/failover.rb +44 -27
  139. data/lib/icontrol/system/geo_ip.rb +16 -5
  140. data/lib/icontrol/system/inet.rb +47 -30
  141. data/lib/icontrol/system/internal.rb +13 -9
  142. data/lib/icontrol/system/services.rb +75 -42
  143. data/lib/icontrol/system/software_management.rb +132 -83
  144. data/lib/icontrol/system/statistics.rb +443 -298
  145. data/lib/icontrol/system/system_info.rb +137 -95
  146. data/lib/icontrol/web_accelerator/applications.rb +17 -10
  147. data/lib/icontrol/web_accelerator/policies.rb +13 -9
  148. data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
  149. data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
  150. data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
  151. metadata +10 -4
@@ -1,16 +1,20 @@
1
1
  module IControl::Networking
2
2
  ##
3
- # The Tunnel interface manages a virtual network interface that allows a network protocol to carry packets of another protocol between two endpoints. Once created, it can be used just like a VLAN in BIG-IP configurations.
3
+ # The Tunnel interface manages a virtual network interface that allows a network protocol
4
+ # to carry packets of another protocol between two endpoints. Once created, it can
5
+ # be used just like a VLAN in BIG-IP configurations.
4
6
  class Tunnel < IControl::Base
5
7
 
6
8
  set_id_name "tunnels"
7
9
 
10
+ class TunnelDirectionSequence < IControl::Base::Sequence ; end
8
11
  # Direction of traffic flow through the tunnel
9
12
  class TunnelDirection < IControl::Base::Enumeration; end ##
10
13
  # Creates a set of tunnel.
11
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
12
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
13
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
14
+ # @rspec_example
15
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
16
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
17
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
18
  # @param [Hash] opts
15
19
  # @option opts [String] :local_addresses IP addresses for the local end of each specified tunnel
16
20
  # @option opts [String] :remote_addresses IP addresses for the remote end of each specified tunnel
@@ -22,94 +26,104 @@ module IControl::Networking
22
26
 
23
27
  ##
24
28
  # Deletes all tunnel.
25
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
26
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
27
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
28
33
  def delete_all_tunnels
29
34
  super
30
35
  end
31
36
 
32
37
  ##
33
38
  # Deletes a set of tunnel.
34
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
35
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
36
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
39
+ # @rspec_example
40
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
41
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
42
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
37
43
  def delete_tunnel
38
44
  super
39
45
  end
40
46
 
41
47
  ##
42
48
  # Gets the direction for traffic flow within a set of tunnel.
49
+ # @rspec_example
43
50
  # @return [TunnelDirection]
44
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
45
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
46
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
51
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
52
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
53
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
47
54
  def direction
48
55
  super
49
56
  end
50
57
 
51
58
  ##
52
59
  # Gets the names of all tunnel.
60
+ # @rspec_example
53
61
  # @return [String]
54
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
55
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
56
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
62
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
63
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
64
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
57
65
  def list
58
66
  super
59
67
  end
60
68
 
61
69
  ##
62
70
  # Gets the IP address for the local end of a set of tunnel.
71
+ # @rspec_example
63
72
  # @return [String]
64
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
65
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
66
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
73
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
74
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
75
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
67
76
  def local_address
68
77
  super
69
78
  end
70
79
 
71
80
  ##
72
81
  # Gets the maximum transmission unit (MTU) for a set of tunnel.
82
+ # @rspec_example
73
83
  # @return [long]
74
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
75
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
76
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
84
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
85
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
86
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
77
87
  def mtu
78
88
  super
79
89
  end
80
90
 
81
91
  ##
82
92
  # Gets the profile specifying the tunneling protocol for a set of tunnel.
93
+ # @rspec_example
83
94
  # @return [String]
84
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
85
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
86
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
95
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
96
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
97
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
87
98
  def profile
88
99
  super
89
100
  end
90
101
 
91
102
  ##
92
103
  # Gets the IP address for the remote end for a set of tunnel.
104
+ # @rspec_example
93
105
  # @return [String]
94
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
95
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
96
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
106
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
107
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
108
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
97
109
  def remote_address
98
110
  super
99
111
  end
100
112
 
101
113
  ##
102
114
  # Gets the Type of Service (ToS) value for the encapsulating packet's IP header.
115
+ # @rspec_example
103
116
  # @return [long]
104
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
105
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
106
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
117
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
118
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
119
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
107
120
  def tos
108
121
  super
109
122
  end
110
123
 
111
124
  ##
112
125
  # Gets the version information for this interface.
126
+ # @rspec_example
113
127
  # @return [String]
114
128
  def version
115
129
  super
@@ -117,9 +131,10 @@ module IControl::Networking
117
131
 
118
132
  ##
119
133
  # Sets the direction for traffic flow within a set of tunnel.
120
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
121
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
122
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
134
+ # @rspec_example
135
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
136
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
137
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
123
138
  # @param [Hash] opts
124
139
  # @option opts [IControl::Networking::Tunnel::TunnelDirection] :directions Direction for traffic flow within each specified tunnel
125
140
  def set_direction(opts)
@@ -129,9 +144,10 @@ module IControl::Networking
129
144
 
130
145
  ##
131
146
  # Sets the IP address for the local end of the tunnel for a set of tunnel
132
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
133
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
134
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
147
+ # @rspec_example
148
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
149
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
150
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
135
151
  # @param [Hash] opts
136
152
  # @option opts [String] :addresses IP addresses for the local end of each specified tunnel
137
153
  def set_local_address(opts)
@@ -140,10 +156,13 @@ module IControl::Networking
140
156
  end
141
157
 
142
158
  ##
143
- # Sets the maximum transmission unit (MTU) for a set of tunnel. If zero, the tunnel's MTU is automatically set to the MTU of the tunnel's underlying interface minus the encapsulation overhead introduced by the tunneling protocol in use for the tunnel.
144
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
145
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
146
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
159
+ # Sets the maximum transmission unit (MTU) for a set of tunnel. If zero, the tunnel's
160
+ # MTU is automatically set to the MTU of the tunnel's underlying interface minus the
161
+ # encapsulation overhead introduced by the tunneling protocol in use for the tunnel.
162
+ # @rspec_example
163
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
164
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
165
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
147
166
  # @param [Hash] opts
148
167
  # @option opts [long] :mtus Maximum transmission unit (MTU) for each specified tunnel (default: 0)
149
168
  def set_mtu(opts)
@@ -152,10 +171,12 @@ module IControl::Networking
152
171
  end
153
172
 
154
173
  ##
155
- # Sets the profile specifying the tunneling protocol for a set of tunnel. This profile may be an IPIP, GRE, or WCCP-GRE profile type.
156
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
157
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
158
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
174
+ # Sets the profile specifying the tunneling protocol for a set of tunnel. This profile
175
+ # may be an IPIP, GRE, or WCCP-GRE profile type.
176
+ # @rspec_example
177
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
178
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
179
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
159
180
  # @param [Hash] opts
160
181
  # @option opts [String] :profiles Profile specifying the tunneling protocol for each specified tunnel
161
182
  def set_profile(opts)
@@ -165,9 +186,10 @@ module IControl::Networking
165
186
 
166
187
  ##
167
188
  # Sets the IP address for the remote end of a set of tunnel.
168
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
169
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
170
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
189
+ # @rspec_example
190
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
191
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
192
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
171
193
  # @param [Hash] opts
172
194
  # @option opts [String] :addresses IP addresses for the remote end of each specified tunnel
173
195
  def set_remote_address(opts)
@@ -176,10 +198,13 @@ module IControl::Networking
176
198
  end
177
199
 
178
200
  ##
179
- # Sets the Type of Service (ToS) value for the encapsulating packet's IP header. The valid range is zero to 254. The special value 65535 specifies that the encapsulating packet's IP header ToS value is set to the encapsulated packet's IP header ToS value.
180
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
181
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
182
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
201
+ # Sets the Type of Service (ToS) value for the encapsulating packet's IP header. The
202
+ # valid range is zero to 254. The special value 65535 specifies that the encapsulating
203
+ # packet's IP header ToS value is set to the encapsulated packet's IP header ToS value.
204
+ # @rspec_example
205
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
206
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
207
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
183
208
  # @param [Hash] opts
184
209
  # @option opts [long] :values Type of Service ( ToS ) value for the encapsulating packet's IP header (default: 65535)
185
210
  def set_tos(opts)
@@ -1,16 +1,22 @@
1
1
  module IControl::Networking
2
2
  ##
3
- # The VLAN interface enables you to work with the definitions and attributes contained in a device's VLAN.
3
+ # The VLAN interface enables you to work with the definitions and attributes contained
4
+ # in a device's VLAN.
4
5
  class VLAN < IControl::Base
5
6
 
6
7
  set_id_name "vlans"
7
8
 
8
9
  class ForwardingTableEntry < IControl::Base::Struct; end
9
- class MemberEntry < IControl::Base::Struct; end ##
10
+ class MemberEntry < IControl::Base::Struct; end
11
+ class ForwardingTableSequence < IControl::Base::Sequence ; end
12
+ class ForwardingTableSequenceSequence < IControl::Base::SequenceSequence ; end
13
+ class MemberSequence < IControl::Base::Sequence ; end
14
+ class MemberSequenceSequence < IControl::Base::SequenceSequence ; end ##
10
15
  # Adds this member interfaces/trunks to this VLANs.
11
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
12
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
13
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
14
20
  # @param [Hash] opts
15
21
  # @option opts [IControl::Networking::VLAN::MemberEntry[]] :members The lists of member interfaces/trunks to put on the specified VLANs .
16
22
  def add_member(opts)
@@ -20,9 +26,10 @@ module IControl::Networking
20
26
 
21
27
  ##
22
28
  # Adds the static forwarding entries for this VLANs.
23
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
24
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
25
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
26
33
  # @param [Hash] opts
27
34
  # @option opts [IControl::Networking::VLAN::ForwardingTableEntry[]] :forwarding_entries The static forwarding entries to add to the specified VLANs .
28
35
  def add_static_forwarding(opts)
@@ -32,9 +39,10 @@ module IControl::Networking
32
39
 
33
40
  ##
34
41
  # Creates this VLANs with extended attributes.
35
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
36
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
37
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
38
46
  # @param [Hash] opts
39
47
  # @option opts [long] :vlan_ids The VLAN tag numbers or IDs (valid range is 1-4095).
40
48
  # @option opts [IControl::Networking::VLAN::MemberEntry[]] :members The lists of interfaces/trunks that will be members of the VLANs .
@@ -48,144 +56,161 @@ module IControl::Networking
48
56
 
49
57
  ##
50
58
  # Deletes all VLANs.
51
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
52
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
53
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
59
+ # @rspec_example
60
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
61
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
62
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
54
63
  def delete_all_vlans
55
64
  super
56
65
  end
57
66
 
58
67
  ##
59
68
  # Deletes this VLANs.
60
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
61
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
62
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
69
+ # @rspec_example
70
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
71
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
72
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
63
73
  def delete_vlan
64
74
  super
65
75
  end
66
76
 
67
77
  ##
68
78
  # Retrieves the dynamic forwarding entries for this VLANs.
79
+ # @rspec_example
69
80
  # @return [ForwardingTableEntry[]]
70
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
71
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
72
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
81
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
82
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
83
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
73
84
  def dynamic_forwarding
74
85
  super
75
86
  end
76
87
 
77
88
  ##
78
89
  # Gets the failsafe actions for this VLANs.
90
+ # @rspec_example
79
91
  # @return [HAAction]
80
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
81
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
82
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
92
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
93
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
94
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
83
95
  def failsafe_action
84
96
  super
85
97
  end
86
98
 
87
99
  ##
88
100
  # Gets the failsafe states for this VLANs.
101
+ # @rspec_example
89
102
  # @return [EnabledState]
90
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
91
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
92
- # @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.
93
106
  def failsafe_state
94
107
  super
95
108
  end
96
109
 
97
110
  ##
98
111
  # Gets the failsafe timeouts for this VLANs.
112
+ # @rspec_example
99
113
  # @return [long]
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.
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.
103
117
  def failsafe_timeout
104
118
  super
105
119
  end
106
120
 
107
121
  ##
108
122
  # Gets the configured learning modes of this VLANs.
123
+ # @rspec_example
109
124
  # @return [LearningMode]
110
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
111
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
112
- # @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.
113
128
  def learning_mode
114
129
  super
115
130
  end
116
131
 
117
132
  ##
118
133
  # Gets a list of all VLANs on this device.
134
+ # @rspec_example
119
135
  # @return [String]
120
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
121
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
122
- # @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.
123
139
  def list
124
140
  super
125
141
  end
126
142
 
127
143
  ##
128
144
  # Gets the MAC masquerade addresses for this VLANs.
145
+ # @rspec_example
129
146
  # @return [String]
130
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
131
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
132
- # @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.
133
150
  def mac_masquerade_address
134
151
  super
135
152
  end
136
153
 
137
154
  ##
138
155
  # Gets the members of this VLANs.
156
+ # @rspec_example
139
157
  # @return [MemberEntry[]]
140
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
141
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
142
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
158
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
159
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
160
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
143
161
  def member
144
162
  super
145
163
  end
146
164
 
147
165
  ##
148
166
  # Gets the MTUs for this VLANs.
167
+ # @rspec_example
149
168
  # @return [long]
150
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
151
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
152
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
169
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
170
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
171
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
153
172
  def mtu
154
173
  super
155
174
  end
156
175
 
157
176
  ##
158
- # Gets the source checking states for this VLANs. If enabled and auto lasthop is disabled, check that the source of the first packet of a connection is correct (correct VLAN, router, node). This is equivalent to BSD's net.inet.sourcecheck sysctl variable.
177
+ # Gets the source checking states for this VLANs. If enabled and auto lasthop is disabled,
178
+ # check that the source of the first packet of a connection is correct (correct VLAN,
179
+ # router, node). This is equivalent to BSD's net.inet.sourcecheck sysctl variable.
180
+ # @rspec_example
159
181
  # @return [EnabledState]
160
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
161
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
162
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
182
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
183
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
184
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
163
185
  def source_check_state
164
186
  super
165
187
  end
166
188
 
167
189
  ##
168
190
  # Retrieves the static forwarding entries for this VLANs.
191
+ # @rspec_example
169
192
  # @return [ForwardingTableEntry[]]
170
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
171
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
172
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
193
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
194
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
195
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
173
196
  def static_forwarding
174
197
  super
175
198
  end
176
199
 
177
200
  ##
178
201
  # Gets the true MAC addresses used by this VLANs.
202
+ # @rspec_example
179
203
  # @return [String]
180
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
181
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
182
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
204
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
205
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
206
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
183
207
  def true_mac_address
184
208
  super
185
209
  end
186
210
 
187
211
  ##
188
212
  # Gets the version information for this interface.
213
+ # @rspec_example
189
214
  # @return [String]
190
215
  def version
191
216
  super
@@ -193,46 +218,51 @@ module IControl::Networking
193
218
 
194
219
  ##
195
220
  # Gets the ids for this VLANs.
221
+ # @rspec_example
196
222
  # @return [long]
197
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
198
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
199
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
223
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
224
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
225
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
200
226
  def vlan_id
201
227
  super
202
228
  end
203
229
 
204
230
  ##
205
231
  # Removes all dynamic forwarding entries from this VLANs.
206
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
207
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
208
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
232
+ # @rspec_example
233
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
234
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
235
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
209
236
  def remove_all_dynamic_forwardings
210
237
  super
211
238
  end
212
239
 
213
240
  ##
214
241
  # Removes all member interfaces/trunks from this VLANs.
215
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
216
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
217
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
242
+ # @rspec_example
243
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
244
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
245
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
218
246
  def remove_all_members
219
247
  super
220
248
  end
221
249
 
222
250
  ##
223
251
  # Removes all static forwarding entries from this VLANs.
224
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
225
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
226
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
252
+ # @rspec_example
253
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
254
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
255
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
227
256
  def remove_all_static_forwardings
228
257
  super
229
258
  end
230
259
 
231
260
  ##
232
261
  # Removes this member interfaces/trunks from this VLANs.
233
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
234
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
235
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
262
+ # @rspec_example
263
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
264
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
265
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
236
266
  # @param [Hash] opts
237
267
  # @option opts [IControl::Networking::VLAN::MemberEntry[]] :members The lists of member interfaces/trunks to remove from the specified VLANs .
238
268
  def remove_member(opts)
@@ -242,9 +272,10 @@ module IControl::Networking
242
272
 
243
273
  ##
244
274
  # Removes the static forwarding entries from this VLANs.
245
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
246
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
247
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
275
+ # @rspec_example
276
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
277
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
278
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
248
279
  # @param [Hash] opts
249
280
  # @option opts [IControl::Networking::VLAN::ForwardingTableEntry[]] :forwarding_entries The static forwarding entries to remove from the specified VLANs .
250
281
  def remove_static_forwarding(opts)
@@ -254,9 +285,10 @@ module IControl::Networking
254
285
 
255
286
  ##
256
287
  # Sets the failsafe actions for this VLANs.
257
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
258
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
259
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
288
+ # @rspec_example
289
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
290
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
291
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
260
292
  # @param [Hash] opts
261
293
  # @option opts [IControl::Common::HAAction] :actions The failsafe actions to set for the specified VLAN names.
262
294
  def set_failsafe_action(opts)
@@ -266,9 +298,10 @@ module IControl::Networking
266
298
 
267
299
  ##
268
300
  # Sets the failsafe states for this VLANs.
269
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
270
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
271
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
301
+ # @rspec_example
302
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
303
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
304
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
272
305
  # @param [Hash] opts
273
306
  # @option opts [IControl::Common::EnabledState] :states The failsafe states to set for the specified VLAN names.
274
307
  def set_failsafe_state(opts)
@@ -278,9 +311,10 @@ module IControl::Networking
278
311
 
279
312
  ##
280
313
  # Sets the failsafe timeouts for this VLANs.
281
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
282
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
283
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
314
+ # @rspec_example
315
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
316
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
317
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
284
318
  # @param [Hash] opts
285
319
  # @option opts [long] :timeouts The failsafe timeouts to set for the specified VLAN names.
286
320
  def set_failsafe_timeout(opts)
@@ -290,9 +324,10 @@ module IControl::Networking
290
324
 
291
325
  ##
292
326
  # Sets the learning modes for this VLANs.
293
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
294
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
295
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
327
+ # @rspec_example
328
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
329
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
330
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
296
331
  # @param [Hash] opts
297
332
  # @option opts [IControl::Networking::LearningMode] :modes The learning modes to set for the specified VLANs .
298
333
  def set_learning_mode(opts)
@@ -302,9 +337,10 @@ module IControl::Networking
302
337
 
303
338
  ##
304
339
  # Sets the MAC masquerade addresses for this VLANs.
305
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
306
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
307
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
340
+ # @rspec_example
341
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
342
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
343
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
308
344
  # @param [Hash] opts
309
345
  # @option opts [String] :mac_masquerade_addresses The MAC masquerade addresses to set for the specified VLAN names.
310
346
  def set_mac_masquerade_address(opts)
@@ -314,9 +350,10 @@ module IControl::Networking
314
350
 
315
351
  ##
316
352
  # Sets the MTUs for this VLANs.
317
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
318
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
319
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
353
+ # @rspec_example
354
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
355
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
356
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
320
357
  # @param [Hash] opts
321
358
  # @option opts [long] :mtus The MTUs to set for the specified VLAN names.
322
359
  def set_mtu(opts)
@@ -325,10 +362,13 @@ module IControl::Networking
325
362
  end
326
363
 
327
364
  ##
328
- # Sets the the source checking states for this VLANs. If enabled and auto lasthop is disabled, check that the source of the first packet of a connection is correct (correct VLAN, router, node). This is equivalent to BSD's net.inet.sourcecheck sysctl variable.
329
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
330
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
331
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
365
+ # Sets the the source checking states for this VLANs. If enabled and auto lasthop is
366
+ # disabled, check that the source of the first packet of a connection is correct (correct
367
+ # VLAN, router, node). This is equivalent to BSD's net.inet.sourcecheck sysctl variable.
368
+ # @rspec_example
369
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
370
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
371
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
332
372
  # @param [Hash] opts
333
373
  # @option opts [IControl::Common::EnabledState] :states The source checking states to set for the specified VLAN names.
334
374
  def set_source_check_state(opts)
@@ -337,10 +377,12 @@ module IControl::Networking
337
377
  end
338
378
 
339
379
  ##
340
- # Sets the tag ids for this VLANs. Note: Currently (9.4.0+), this method is not supported; delete and re-create the VLAN instead.
341
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
342
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
343
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
380
+ # Sets the tag ids for this VLANs. Note: Currently (9.4.0+), this method is not supported;
381
+ # delete and re-create the VLAN instead.
382
+ # @rspec_example
383
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
384
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
385
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
344
386
  # @param [Hash] opts
345
387
  # @option opts [long] :vlan_ids The VLAN ID/tag numbers (valid range is 1-4095).
346
388
  def set_vlan_id(opts)