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,15 +1,17 @@
1
1
  module IControl::Networking
2
2
  ##
3
- # The SelfIP interface enables you to work with the definitions and attributes contained in a device's Self IP.
3
+ # The SelfIP interface enables you to work with the definitions and attributes contained
4
+ # in a device's Self IP.
4
5
  class SelfIP < IControl::Base
5
6
 
6
7
  set_id_name "self_ips"
7
8
 
8
9
  ##
9
10
  # Creates this self IP addresses with extended attributes.
10
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
11
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
12
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
11
+ # @rspec_example
12
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
13
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
14
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
13
15
  # @param [Hash] opts
14
16
  # @option opts [String] :vlan_names The VLANs that the new self IPs will be on.
15
17
  # @option opts [String] :netmasks The netmasks for the self IPs .
@@ -22,64 +24,71 @@ module IControl::Networking
22
24
 
23
25
  ##
24
26
  # Deletes all self IP addresses.
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.
27
+ # @rspec_example
28
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
29
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
30
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
28
31
  def delete_all_self_ips
29
32
  super
30
33
  end
31
34
 
32
35
  ##
33
36
  # Deletes this self IP addresses.
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.
37
+ # @rspec_example
38
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
39
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
40
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
37
41
  def delete_self_ip
38
42
  super
39
43
  end
40
44
 
41
45
  ##
42
46
  # Gets the floating states of this self IPs.
47
+ # @rspec_example
43
48
  # @return [EnabledState]
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.
49
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
50
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
51
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
47
52
  def floating_state
48
53
  super
49
54
  end
50
55
 
51
56
  ##
52
57
  # Gets a list of all self IPs on this device.
58
+ # @rspec_example
53
59
  # @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.
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.
57
63
  def list
58
64
  super
59
65
  end
60
66
 
61
67
  ##
62
68
  # Gets the netmasks of this self IPs.
69
+ # @rspec_example
63
70
  # @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.
71
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
72
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
73
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
67
74
  def netmask
68
75
  super
69
76
  end
70
77
 
71
78
  ##
72
79
  # Gets the unit ids of this self IPs.
80
+ # @rspec_example
73
81
  # @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.
82
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
83
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
84
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
77
85
  def unit_id
78
86
  super
79
87
  end
80
88
 
81
89
  ##
82
90
  # Gets the version information for this interface.
91
+ # @rspec_example
83
92
  # @return [String]
84
93
  def version
85
94
  super
@@ -87,19 +96,23 @@ module IControl::Networking
87
96
 
88
97
  ##
89
98
  # Gets the VLANs with which this self IPs are associated.
99
+ # @rspec_example
90
100
  # @return [String]
91
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
92
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
93
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
101
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
102
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
103
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
94
104
  def vlan
95
105
  super
96
106
  end
97
107
 
98
108
  ##
99
- # Sets the floating states of this self IPs. Note: If floating state is being set to enabled, then unit ID will be set to 1 by default. If floating state is being set to disabled, then unit ID will be set to 0.
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.
109
+ # Sets the floating states of this self IPs. Note: If floating state is being set to
110
+ # enabled, then unit ID will be set to 1 by default. If floating state is being set
111
+ # to disabled, then unit ID will be set to 0.
112
+ # @rspec_example
113
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
114
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
115
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
103
116
  # @param [Hash] opts
104
117
  # @option opts [IControl::Common::EnabledState] :states The floating states of the specified self IPs .
105
118
  def set_floating_state(opts)
@@ -109,9 +122,10 @@ module IControl::Networking
109
122
 
110
123
  ##
111
124
  # Sets the netmasks of this self IPs.
112
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
113
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
114
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
115
129
  # @param [Hash] opts
116
130
  # @option opts [String] :netmasks The netmasks of the specified self IPs .
117
131
  def set_netmask(opts)
@@ -120,10 +134,13 @@ module IControl::Networking
120
134
  end
121
135
 
122
136
  ##
123
- # Sets the unit ids of this self IPs. Note: If unit ID is being set to 0, then floating state will be set to disabled by default. If unit ID is being set to 1 or 2, then floating state will be set to enabled.
124
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
125
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
126
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
137
+ # Sets the unit ids of this self IPs. Note: If unit ID is being set to 0, then floating
138
+ # state will be set to disabled by default. If unit ID is being set to 1 or 2, then
139
+ # floating state will be set to enabled.
140
+ # @rspec_example
141
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
142
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
143
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
127
144
  # @param [Hash] opts
128
145
  # @option opts [long] :unit_ids The unit ids of the specified self IPs .
129
146
  def set_unit_id(opts)
@@ -133,9 +150,10 @@ module IControl::Networking
133
150
 
134
151
  ##
135
152
  # Sets the VLANs with which this self IPs are associated.
136
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
137
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
138
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
153
+ # @rspec_example
154
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
155
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
156
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
139
157
  # @param [Hash] opts
140
158
  # @option opts [String] :vlan_names The VLAN names.
141
159
  def set_vlan(opts)
@@ -1,27 +1,33 @@
1
1
  module IControl::Networking
2
2
  ##
3
- # The SelfIPPortLockdown interface enables you to lock down protocols and ports on self IP addresses.
3
+ # The SelfIPPortLockdown interface enables you to lock down protocols and ports on
4
+ # self IP addresses.
4
5
  class SelfIPPortLockdown < IControl::Base
5
6
 
6
7
  set_id_name "access_lists"
7
8
 
8
9
  class ProtocolPort < IControl::Base::Struct; end
9
10
  class SelfIPAccess < IControl::Base::Struct; end
11
+ class AllowModeSequence < IControl::Base::Sequence ; end
12
+ class ProtocolPortSequence < IControl::Base::Sequence ; end
13
+ class SelfIPAccessSequence < IControl::Base::Sequence ; end
10
14
  # A list of access modes.
11
15
  class AllowMode < IControl::Base::Enumeration; end ##
12
16
  # Adds the list of access methods, with optional protocols/ports, for this self IPs.
13
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
14
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
15
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
17
+ # @rspec_example
18
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
19
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
20
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
16
21
  def add_allow_access_list
17
22
  super
18
23
  end
19
24
 
20
25
  ##
21
26
  # Adds to the default list of protocols/ports on which access is allowed.
22
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
23
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
24
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
27
+ # @rspec_example
28
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
29
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
30
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
25
31
  # @param [Hash] opts
26
32
  # @option opts [IControl::Networking::SelfIPPortLockdown::ProtocolPort] :defaults The defaults protocols/ports to add.
27
33
  def add_default_protocol_port_access_list(opts)
@@ -31,19 +37,21 @@ module IControl::Networking
31
37
 
32
38
  ##
33
39
  # Deletes protocols and ports from the allow access list for this self IPs.
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.
40
+ # @rspec_example
41
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
42
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
43
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
37
44
  def delete_allow_access_list
38
45
  super
39
46
  end
40
47
 
41
48
  ##
42
49
  # Gets the access list for this self IPs.
50
+ # @rspec_example
43
51
  # @return [SelfIPAccess]
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.
52
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
53
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
54
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
47
55
  # @param [Hash] opts
48
56
  # @option opts [String] :self_ips The self IPs .
49
57
  def allow_access_list(opts)
@@ -53,26 +61,30 @@ module IControl::Networking
53
61
 
54
62
  ##
55
63
  # Gets the default protocol/port access list on which access is allowed.
64
+ # @rspec_example
56
65
  # @return [ProtocolPort]
57
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
58
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
59
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
66
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
67
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
68
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
60
69
  def default_protocol_port_access_list
61
70
  super
62
71
  end
63
72
 
64
73
  ##
65
74
  # Gets the version information for this interface.
75
+ # @rspec_example
66
76
  # @return [String]
67
77
  def version
68
78
  super
69
79
  end
70
80
 
71
81
  ##
72
- # Remove protocols and ports from the default list of protocols/ports on which access is allowed.
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.
82
+ # Remove protocols and ports from the default list of protocols/ports on which access
83
+ # is allowed.
84
+ # @rspec_example
85
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
86
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
87
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
76
88
  # @param [Hash] opts
77
89
  # @option opts [IControl::Networking::SelfIPPortLockdown::ProtocolPort] :defaults The defaults protocols/ports to remove.
78
90
  def remove_default_protocol_port_access_list(opts)
@@ -93,11 +105,11 @@ module IControl::Networking
93
105
  # A structure that defines the access mode for the specified self IP.
94
106
  # @attr [String] self_ip The self IP address.
95
107
  # @attr [IControl::Networking::SelfIPPortLockdown::AllowMode] mode The access mode for the self IP.
96
- # @attr [IControl::Networking::SelfIPPortLockdown::ProtocolPort] protocol_ports The list of protocols/ports for which access is allowed.
108
+ # @attr [IControl::Networking::SelfIPPortLockdown::ProtocolPortSequence] protocol_ports The list of protocols/ports for which access is allowed.
97
109
  class SelfIPAccess < IControl::Base::Struct
98
110
  icontrol_attribute :self_ip, String
99
111
  icontrol_attribute :mode, IControl::Networking::SelfIPPortLockdown::AllowMode
100
- icontrol_attribute :protocol_ports, IControl::Networking::SelfIPPortLockdown::ProtocolPort
112
+ icontrol_attribute :protocol_ports, IControl::Networking::SelfIPPortLockdown::ProtocolPortSequence
101
113
  end
102
114
 
103
115
 
@@ -1,165 +1,217 @@
1
1
  module IControl::Networking
2
2
  ##
3
- # The STPGlobals interface enables you to work with global attributes used to configure STP (Spanning Tree Protocol).
3
+ # The STPGlobals interface enables you to work with global attributes used to configure
4
+ # STP (Spanning Tree Protocol).
4
5
  class STPGlobals < IControl::Base
5
6
 
6
7
  set_id_name "value"
7
8
 
8
9
  ##
9
- # Gets the configuration identifier name in a spanning tree region, used to identify a group of adjacent bridges with identical configuration name, configuration revision levels, and assignments of VLANs to spanning tree instances. This setting is used only when the STP mode is MSTP, however the user may set it in any STP mode.
10
+ # Gets the configuration identifier name in a spanning tree region, used to identify
11
+ # a group of adjacent bridges with identical configuration name, configuration revision
12
+ # levels, and assignments of VLANs to spanning tree instances. This setting is used
13
+ # only when the STP mode is MSTP, however the user may set it in any STP mode.
14
+ # @rspec_example
10
15
  # @return [String]
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
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
17
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
18
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
19
  def configuration_identifier
15
20
  super
16
21
  end
17
22
 
18
23
  ##
19
- # Gets the configuration revision level of the MSTP configuration. It's used only when the STP mode is MSTP, however, the user may set it in any STP mode.
24
+ # Gets the configuration revision level of the MSTP configuration. It's used only when
25
+ # the STP mode is MSTP, however, the user may set it in any STP mode.
26
+ # @rspec_example
20
27
  # @return [long]
21
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
22
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
23
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
28
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
29
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
30
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
24
31
  def configuration_revision
25
32
  super
26
33
  end
27
34
 
28
35
  ##
29
- # Gets the forward delay parameter, which controls how long an interface was blocked from forwarding network traffic after a reconfiguration of the spanning tree topology. The default valu is 15 seconds, and the valid range is 4-30 seconds. Note that this parameter has no effect when the STP mode is RSPT or MSTP, as long as all bridges in the spanning tree use the RSTP or MSTP protocol.
36
+ # Gets the forward delay parameter, which controls how long an interface was blocked
37
+ # from forwarding network traffic after a reconfiguration of the spanning tree topology.
38
+ # The default valu is 15 seconds, and the valid range is 4-30 seconds. Note that this
39
+ # parameter has no effect when the STP mode is RSPT or MSTP, as long as all bridges
40
+ # in the spanning tree use the RSTP or MSTP protocol.
41
+ # @rspec_example
30
42
  # @return [long]
31
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
32
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
33
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
34
46
  def forward_delay
35
47
  super
36
48
  end
37
49
 
38
50
  ##
39
- # Gets the hello time, which is the time interval in seconds between the periodic transmissions that communicate spanning tree information to the adjacent bridges in the network. The default valu is 2 seconds, and the valid range is 1-10 seconds.
51
+ # Gets the hello time, which is the time interval in seconds between the periodic transmissions
52
+ # that communicate spanning tree information to the adjacent bridges in the network.
53
+ # The default valu is 2 seconds, and the valid range is 1-10 seconds.
54
+ # @rspec_example
40
55
  # @return [long]
41
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
42
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
43
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
56
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
57
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
58
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
44
59
  def hello_time
45
60
  super
46
61
  end
47
62
 
48
63
  ##
49
- # Gets the maximum age parameter, which controls how long spanning tree information received from other bridges is considered valid. The default valu is 20 seconds, and the valid range is 6-40 seconds.
64
+ # Gets the maximum age parameter, which controls how long spanning tree information
65
+ # received from other bridges is considered valid. The default valu is 20 seconds,
66
+ # and the valid range is 6-40 seconds.
67
+ # @rspec_example
50
68
  # @return [long]
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.
69
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
70
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
71
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
54
72
  def maximum_age
55
73
  super
56
74
  end
57
75
 
58
76
  ##
59
- # Gets the maximum hops an MSTP packet may travel before it is discarded. It's used only when the STP mode is MSTP, however, the user may set it in any STP mode.
77
+ # Gets the maximum hops an MSTP packet may travel before it is discarded. It's used
78
+ # only when the STP mode is MSTP, however, the user may set it in any STP mode.
79
+ # @rspec_example
60
80
  # @return [long]
61
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
62
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
63
- # @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.
64
84
  def maximum_hop
65
85
  super
66
86
  end
67
87
 
68
88
  ##
69
89
  # Gets the STP mode.
90
+ # @rspec_example
70
91
  # @return [STPModeType]
71
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
72
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
73
- # @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.
74
95
  def mode
75
96
  super
76
97
  end
77
98
 
78
99
  ##
79
- # Gets the transmit hold count parameter, which is an absolute limit on the number of spanning tree protocol packets the BIG-IP may transmit on a port in any hello time interval. This ensures that the spanning tree packets will not unduly load the network even in unstable conditions. The default valu is 6 packets, and the valid range is 1-10 packets.
100
+ # Gets the transmit hold count parameter, which is an absolute limit on the number
101
+ # of spanning tree protocol packets the BIG-IP may transmit on a port in any hello
102
+ # time interval. This ensures that the spanning tree packets will not unduly load the
103
+ # network even in unstable conditions. The default valu is 6 packets, and the valid
104
+ # range is 1-10 packets.
105
+ # @rspec_example
80
106
  # @return [long]
81
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
82
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
83
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
107
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
108
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
109
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
84
110
  def transmit_hold
85
111
  super
86
112
  end
87
113
 
88
114
  ##
89
115
  # Gets the version information for this interface.
116
+ # @rspec_example
90
117
  # @return [String]
91
118
  def version
92
119
  super
93
120
  end
94
121
 
95
122
  ##
96
- # Sets the configuration identifier name in a spanning tree region, used to identify a group of adjacent bridges with identical configuration name, configuration revision levels, and assignments of VLANs to spanning tree instances. This setting is used only when the STP mode is MSTP, however the user may set it in any STP mode.
97
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
98
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
99
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
123
+ # Sets the configuration identifier name in a spanning tree region, used to identify
124
+ # a group of adjacent bridges with identical configuration name, configuration revision
125
+ # levels, and assignments of VLANs to spanning tree instances. This setting is used
126
+ # only when the STP mode is MSTP, however the user may set it in any STP mode.
127
+ # @rspec_example
128
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
129
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
130
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
100
131
  def set_configuration_identifier
101
132
  super
102
133
  end
103
134
 
104
135
  ##
105
- # Sets the configuration revision level of the MSTP configuration. It's used only when the STP mode is MSTP, however, the user may set it in any STP mode.
106
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
107
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
108
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
136
+ # Sets the configuration revision level of the MSTP configuration. It's used only when
137
+ # the STP mode is MSTP, however, the user may set it in any STP mode.
138
+ # @rspec_example
139
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
140
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
141
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
109
142
  def set_configuration_revision
110
143
  super
111
144
  end
112
145
 
113
146
  ##
114
- # Sets the forward delay parameter, which controls how long an interface was blocked from forwarding network traffic after a reconfiguration of the spanning tree topology. The default valu is 15 seconds, and the valid range is 4-30 seconds. Note that this parameter has no effect when the STP mode is RSPT or MSTP, as long as all bridges in the spanning tree use the RSTP or MSTP protocol.
115
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
116
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
117
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
147
+ # Sets the forward delay parameter, which controls how long an interface was blocked
148
+ # from forwarding network traffic after a reconfiguration of the spanning tree topology.
149
+ # The default valu is 15 seconds, and the valid range is 4-30 seconds. Note that this
150
+ # parameter has no effect when the STP mode is RSPT or MSTP, as long as all bridges
151
+ # in the spanning tree use the RSTP or MSTP protocol.
152
+ # @rspec_example
153
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
154
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
155
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
118
156
  def set_forward_delay
119
157
  super
120
158
  end
121
159
 
122
160
  ##
123
- # Sets the hello time, which is the time interval in seconds between the periodic transmissions that communicate spanning tree information to the adjacent bridges in the network. The default valu is 2 seconds, and the valid range is 1-10 seconds.
124
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
125
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
126
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
161
+ # Sets the hello time, which is the time interval in seconds between the periodic transmissions
162
+ # that communicate spanning tree information to the adjacent bridges in the network.
163
+ # The default valu is 2 seconds, and the valid range is 1-10 seconds.
164
+ # @rspec_example
165
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
166
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
167
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
127
168
  def set_hello_time
128
169
  super
129
170
  end
130
171
 
131
172
  ##
132
- # Sets the maximum age parameter, which controls how long spanning tree information received from other bridges is considered valid. The default valu is 20 seconds, and the valid range is 6-40 seconds.
133
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
134
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
135
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
173
+ # Sets the maximum age parameter, which controls how long spanning tree information
174
+ # received from other bridges is considered valid. The default valu is 20 seconds,
175
+ # and the valid range is 6-40 seconds.
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.
136
180
  def set_maximum_age
137
181
  super
138
182
  end
139
183
 
140
184
  ##
141
- # Sets the maximum hops an MSTP packet may travel before it is discarded. It's used only when the STP mode is MSTP, however, the user may set it in any STP mode.
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.
185
+ # Sets the maximum hops an MSTP packet may travel before it is discarded. It's used
186
+ # only when the STP mode is MSTP, however, the user may set it in any STP mode.
187
+ # @rspec_example
188
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
189
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
190
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
145
191
  def set_maximum_hop
146
192
  super
147
193
  end
148
194
 
149
195
  ##
150
196
  # Sets the STP mode.
151
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
152
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
153
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
197
+ # @rspec_example
198
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
199
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
200
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
154
201
  def set_mode
155
202
  super
156
203
  end
157
204
 
158
205
  ##
159
- # Sets the transmit hold count parameter, which is an absolute limit on the number of spanning tree protocol packets the BIG-IP may transmit on a port in any hello time interval. This ensures that the spanning tree packets will not unduly load the network even in unstable conditions. The default valu is 6 packets, and the valid range is 1-10 packets.
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.
206
+ # Sets the transmit hold count parameter, which is an absolute limit on the number
207
+ # of spanning tree protocol packets the BIG-IP may transmit on a port in any hello
208
+ # time interval. This ensures that the spanning tree packets will not unduly load the
209
+ # network even in unstable conditions. The default valu is 6 packets, and the valid
210
+ # range is 1-10 packets.
211
+ # @rspec_example
212
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
213
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
214
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
163
215
  def set_transmit_hold
164
216
  super
165
217
  end