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
@@ -6,11 +6,14 @@ module IControl::System
6
6
  set_id_name "lock_name"
7
7
 
8
8
  ##
9
- # Attempts to acquire loc with specified name for specified number of seconds. These locs can be used to synchronize work of multiple clients working with this device. This call returns immediately.
9
+ # Attempts to acquire loc with specified name for specified number of seconds. These
10
+ # locs can be used to synchronize work of multiple clients working with this device.
11
+ # This call returns immediately.
12
+ # @rspec_example
10
13
  # @return [boolean]
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
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
15
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
16
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
17
  # @param [Hash] opts
15
18
  # @option opts [long] :duration_sec Time for how long the system should keep the lock. The lock will be automatically released when duration time is over.
16
19
  # @option opts [String] :comment Additional user oriented information about this lock.
@@ -21,60 +24,66 @@ module IControl::System
21
24
 
22
25
  ##
23
26
  # Gets the CPU usage extended information for this system by host ID for all hosts.
27
+ # @rspec_example
24
28
  # @return [CPUUsageExtendedInformation]
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
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
30
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
31
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
28
32
  def all_cpu_usage_extended_information
29
33
  super
30
34
  end
31
35
 
32
36
  ##
33
37
  # Gets the system's base MAC address
38
+ # @rspec_example
34
39
  # @return [String]
35
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
36
- # @raise [IControl::Common::InvalidArgument]
37
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
40
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
41
+ # @raise [IControl::IControl::Common::InvalidArgument]
42
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
38
43
  def base_mac_address
39
44
  super
40
45
  end
41
46
 
42
47
  ##
43
48
  # Gets the temperatures recorded by the blade sensors
49
+ # @rspec_example
44
50
  # @return [BladeTemperature]
45
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
46
- # @raise [IControl::Common::InvalidArgument]
47
- # @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]
53
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
48
54
  def blade_temperature
49
55
  super
50
56
  end
51
57
 
52
58
  ##
53
59
  # Gets connection information (see ConnectionInformation for more info).
60
+ # @rspec_example
54
61
  # @return [ConnectionInformation]
55
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
56
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
57
- # @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.
58
65
  def connection_information
59
66
  super
60
67
  end
61
68
 
62
69
  ##
63
70
  # Gets the CPU metrics for the CPU(s) on the platform.
71
+ # @rspec_example
64
72
  # @return [PlatformCPUs]
65
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
66
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
67
- # @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.
68
76
  def cpu_metrics
69
77
  super
70
78
  end
71
79
 
72
80
  ##
73
81
  # Gets the CPU usage extended information for this system by host ID.
82
+ # @rspec_example
74
83
  # @return [CPUUsageExtendedInformation]
75
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
76
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
77
- # @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.
78
87
  # @param [Hash] opts
79
88
  # @option opts [String] :host_ids A list of host ids for which to get CPU usage extended information.
80
89
  def cpu_usage_extended_information(opts)
@@ -83,91 +92,106 @@ module IControl::System
83
92
  end
84
93
 
85
94
  ##
86
- # This method has been deprecated; use get_cpu_usage_extended_information and related methods instead. Gets the CPU usage information for this system.
95
+ # This method has been deprecated; use get_cpu_usage_extended_information and related
96
+ # methods instead. Gets the CPU usage information for this system.
97
+ # @rspec_example
87
98
  # @return [CPUUsageInformation]
88
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
89
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
90
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
99
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
100
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
101
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
91
102
  def cpu_usage_information
92
103
  super
93
104
  end
94
105
 
95
106
  ##
96
107
  # Gets the disk usage information for this system.
108
+ # @rspec_example
97
109
  # @return [DiskUsageInformation]
98
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
99
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
100
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
110
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
111
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
112
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
101
113
  def disk_usage_information
102
114
  super
103
115
  end
104
116
 
105
117
  ##
106
118
  # Gets the Fan metrics for the Fan(s) on the platform.
119
+ # @rspec_example
107
120
  # @return [PlatformFans]
108
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
109
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
110
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
121
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
122
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
123
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
111
124
  def fan_metrics
112
125
  super
113
126
  end
114
127
 
115
128
  ##
116
- # Gets the global CPU usage extended information for this system. This gets one set of combined ("rolled up") statistics for all hosts. It is not to be confused with get_all_cpu_usage_extended_information, which gets all individual cpu usage statistics, one for each host.
129
+ # Gets the global CPU usage extended information for this system. This gets one set
130
+ # of combined ("rolled up") statistics for all hosts. It is not to be confused with
131
+ # get_all_cpu_usage_extended_information, which gets all individual cpu usage statistics,
132
+ # one for each host.
133
+ # @rspec_example
117
134
  # @return [GlobalCPUUsageExtendedInformation]
118
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
119
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
120
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
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.
121
138
  def global_cpu_usage_extended_information
122
139
  super
123
140
  end
124
141
 
125
142
  ##
126
143
  # Gets a globally unique identifier for the system.
144
+ # @rspec_example
127
145
  # @return [String]
128
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
129
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
130
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
146
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
147
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
148
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
131
149
  def globally_unique_identifier
132
150
  super
133
151
  end
134
152
 
135
153
  ##
136
- # Gets the unique identifier for the configsync or sync group of which this device is a member.
154
+ # Gets the unique identifier for the configsync or sync group of which this device
155
+ # is a member.
156
+ # @rspec_example
137
157
  # @return [String]
138
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
139
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
140
- # @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.
141
161
  def group_id
142
162
  super
143
163
  end
144
164
 
145
165
  ##
146
- # Gets the information for the hardware in the system. This includes information about CPUs, compression and encryption acceleration hardware, etc.
166
+ # Gets the information for the hardware in the system. This includes information about
167
+ # CPUs, compression and encryption acceleration hardware, etc.
168
+ # @rspec_example
147
169
  # @return [HardwareInformation]
148
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
149
- # @raise [IControl::Common::InvalidArgument]
150
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
170
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
171
+ # @raise [IControl::IControl::Common::InvalidArgument]
172
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
151
173
  def hardware_information
152
174
  super
153
175
  end
154
176
 
155
177
  ##
156
178
  # Lists all names of currently acquired locs.
179
+ # @rspec_example
157
180
  # @return [String]
158
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
159
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
160
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
181
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
182
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
183
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
161
184
  def lock_list
162
185
  super
163
186
  end
164
187
 
165
188
  ##
166
189
  # Gets loc statuses of specified locs
190
+ # @rspec_example
167
191
  # @return [LockStatus]
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.
192
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
193
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
194
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
171
195
  # @param [Hash] opts
172
196
  # @option opts [String] :lock_names sequence of lock names.
173
197
  def lock_status(opts)
@@ -177,135 +201,153 @@ module IControl::System
177
201
 
178
202
  ##
179
203
  # Gets the F5 marketing name for this platform
204
+ # @rspec_example
180
205
  # @return [String]
181
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
182
- # @raise [IControl::Common::InvalidArgument]
183
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
206
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
207
+ # @raise [IControl::IControl::Common::InvalidArgument]
208
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
184
209
  def marketing_name
185
210
  super
186
211
  end
187
212
 
188
213
  ##
189
- # This method has been deprecated; use get_host_statistics and related methods instead. Gets the memory information for this system.
214
+ # This method has been deprecated; use get_host_statistics and related methods instead.
215
+ # Gets the memory information for this system.
216
+ # @rspec_example
190
217
  # @return [MemoryUsageInformation]
191
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
192
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
193
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
218
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
219
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
220
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
194
221
  def memory_usage_information
195
222
  super
196
223
  end
197
224
 
198
225
  ##
199
226
  # Gets the Power Supply metrics for the Power Supplies on the platform.
227
+ # @rspec_example
200
228
  # @return [PlatformPowerSupplies]
201
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
202
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
203
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
229
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
230
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
231
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
204
232
  def power_supply_metrics
205
233
  super
206
234
  end
207
235
 
208
236
  ##
209
237
  # Gets a list of attributes of installed product.
238
+ # @rspec_example
210
239
  # @return [ProductInformation]
211
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
212
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
213
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
240
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
241
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
242
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
214
243
  def product_information
215
244
  super
216
245
  end
217
246
 
218
247
  ##
219
248
  # Gets the PVA version
249
+ # @rspec_example
220
250
  # @return [String]
221
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
222
- # @raise [IControl::Common::InvalidArgument]
223
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
251
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
252
+ # @raise [IControl::IControl::Common::InvalidArgument]
253
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
224
254
  def pva_version
225
255
  super
226
256
  end
227
257
 
228
258
  ##
229
259
  # Gets the unique identifier for the system.
260
+ # @rspec_example
230
261
  # @return [String]
231
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
232
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
233
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
262
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
263
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
264
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
234
265
  def system_id
235
266
  super
236
267
  end
237
268
 
238
269
  ##
239
270
  # Gets the system-identifying attributes of the operating system.
271
+ # @rspec_example
240
272
  # @return [SystemInformation]
241
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
242
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
243
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
273
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
274
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
275
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
244
276
  def system_information
245
277
  super
246
278
  end
247
279
 
248
280
  ##
249
281
  # Gets the current chassis temperatures.
282
+ # @rspec_example
250
283
  # @return [PlatformTemperatures]
251
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
252
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
253
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
284
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
285
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
286
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
254
287
  def temperature_metrics
255
288
  super
256
289
  end
257
290
 
258
291
  ##
259
292
  # Gets the system time in UTC.
293
+ # @rspec_example
260
294
  # @return [TimeStamp]
261
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
262
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
263
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
295
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
296
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
297
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
264
298
  def time
265
299
  super
266
300
  end
267
301
 
268
302
  ##
269
303
  # Gets the local time zone information.
304
+ # @rspec_example
270
305
  # @return [TimeZone]
271
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
272
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
273
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
306
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
307
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
308
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
274
309
  def time_zone
275
310
  super
276
311
  end
277
312
 
278
313
  ##
279
314
  # Gets the number of seconds the device has been running.
315
+ # @rspec_example
280
316
  # @return [long]
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.
317
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
318
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
319
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
284
320
  def uptime
285
321
  super
286
322
  end
287
323
 
288
324
  ##
289
325
  # Gets the version information for this interface.
326
+ # @rspec_example
290
327
  # @return [String]
291
328
  def version
292
329
  super
293
330
  end
294
331
 
295
332
  ##
296
- # Attempts to release loc with specified name. These locs can be used to synchronize work of multiple clients working with this device. This call returns immediately. Nothing will happen if specified loc doesn't exist.
297
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
298
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
299
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
333
+ # Attempts to release loc with specified name. These locs can be used to synchronize
334
+ # work of multiple clients working with this device. This call returns immediately.
335
+ # Nothing will happen if specified loc doesn't exist.
336
+ # @rspec_example
337
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
338
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
339
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
300
340
  def release_lock
301
341
  super
302
342
  end
303
343
 
304
344
  ##
305
- # Sets the unique identifier for the configsync or sync group of which this device is a member.
306
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
307
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
308
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
345
+ # Sets the unique identifier for the configsync or sync group of which this device
346
+ # is a member.
347
+ # @rspec_example
348
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
349
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
350
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
309
351
  # @param [Hash] opts
310
352
  # @option opts [String] :group_id The group identifier.
311
353
  def set_group_id(opts)
@@ -6,11 +6,15 @@ module IControl::WebAccelerator
6
6
  set_id_name "name"
7
7
 
8
8
  ##
9
- # Create a new Application. The strings that describe requested hosts should be one-line and are of the form: requested_host(domain=>www.example.com, destination_pool=>INTERNAL) or requested_host(domain=>www.example.com, destination_pool=>INTERNAL, http_subdomain_count=>5, https_subdomain_count=>5, subdomain_prefix=>wa)
9
+ # Create a new Application. The strings that describe requested hosts should be one-line
10
+ # and are of the form: requested_host(domain=>www.example.com, destination_pool=>INTERNAL)
11
+ # or requested_host(domain=>www.example.com, destination_pool=>INTERNAL,
12
+ # http_subdomain_count=>5, https_subdomain_count=>5, subdomain_prefix=>wa)
13
+ # @rspec_example
10
14
  # @return [long]
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.
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] :description The description of the new application.
16
20
  # @option opts [String] :local_policy The name of the local policy to use.
@@ -23,9 +27,10 @@ module IControl::WebAccelerator
23
27
 
24
28
  ##
25
29
  # Delete a list of namd Applications.
26
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
27
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
28
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
30
+ # @rspec_example
31
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
32
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
33
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
29
34
  # @param [Hash] opts
30
35
  # @option opts [String] :applications A list of application names.
31
36
  def delete_application(opts)
@@ -35,16 +40,18 @@ module IControl::WebAccelerator
35
40
 
36
41
  ##
37
42
  # Get a list of Applications present on this WebAccelerator.
43
+ # @rspec_example
38
44
  # @return [String]
39
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
40
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
41
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
45
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
46
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
47
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
42
48
  def list
43
49
  super
44
50
  end
45
51
 
46
52
  ##
47
53
  # Gets the version information for this interface.
54
+ # @rspec_example
48
55
  # @return [String]
49
56
  def version
50
57
  super