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
data/lib/icontrol/arx.rb CHANGED
@@ -19,6 +19,34 @@ module IControl::ARX
19
19
  class VirtualServiceDefinition < IControl::Base::Struct; end
20
20
  class VirtualServiceStats < IControl::Base::Struct; end
21
21
  class VolumeDefinition < IControl::Base::Struct; end
22
+ class ARXStatusTypeSequence < IControl::Base::Sequence ; end
23
+ class ExportDefinitionSequence < IControl::Base::Sequence ; end
24
+ class FileChangeDefinitionSequence < IControl::Base::Sequence ; end
25
+ class FileChangeResponseSequence < IControl::Base::Sequence ; end
26
+ class FileChangeTypeSequence < IControl::Base::Sequence ; end
27
+ class FileServerDefinitionSequence < IControl::Base::Sequence ; end
28
+ class FileServerTypeSequence < IControl::Base::Sequence ; end
29
+ class HARoleTypeSequence < IControl::Base::Sequence ; end
30
+ class HAStatusSequence < IControl::Base::Sequence ; end
31
+ class HealthDefinitionSequence < IControl::Base::Sequence ; end
32
+ class NamespaceDefinitionSequence < IControl::Base::Sequence ; end
33
+ class NetworkDefinitionSequence < IControl::Base::Sequence ; end
34
+ class NetworkStatsSequence < IControl::Base::Sequence ; end
35
+ class PolicyDefinitionSequence < IControl::Base::Sequence ; end
36
+ class PolicyScheduleIntervalTypeSequence < IControl::Base::Sequence ; end
37
+ class PolicyScheduleSequence < IControl::Base::Sequence ; end
38
+ class PolicyTypeSequence < IControl::Base::Sequence ; end
39
+ class ProcessorStatsSequence < IControl::Base::Sequence ; end
40
+ class ProtocolDefinitionSequence < IControl::Base::Sequence ; end
41
+ class ProtocolTypeSequence < IControl::Base::Sequence ; end
42
+ class ProtocolVersionSequence < IControl::Base::Sequence ; end
43
+ class ShareDefinitionSequence < IControl::Base::Sequence ; end
44
+ class SnapshotDefinitionSequence < IControl::Base::Sequence ; end
45
+ class StorageStatusSequence < IControl::Base::Sequence ; end
46
+ class VirtualServiceDefinitionSequence < IControl::Base::Sequence ; end
47
+ class VirtualServiceStatsSequence < IControl::Base::Sequence ; end
48
+ class VolumeDefinitionSequence < IControl::Base::Sequence ; end
49
+ class VolumeTypeSequence < IControl::Base::Sequence ; end
22
50
  class Api < IControl::Base; end
23
51
  class Chassis < IControl::Base; end
24
52
  class Export < IControl::Base; end
@@ -30,7 +58,8 @@ module IControl::ARX
30
58
  class Share < IControl::Base; end
31
59
  class VirtualService < IControl::Base; end
32
60
  class Volume < IControl::Base; end
33
- # The ARXStatusType class defines the status types that can be returned by methods that return the status of an object or module.
61
+ # The ARXStatusType class defines the status types that can be returned by methods
62
+ # that return the status of an object or module.
34
63
  class ARXStatusType < IControl::Base::Enumeration; end
35
64
  # Possible File Change Types.
36
65
  class FileChangeType < IControl::Base::Enumeration; end
@@ -89,7 +118,7 @@ module IControl::ARX
89
118
  # @attr [String] change_idx The change index is used as a placeholder while retrieving batches of file changes. This value is provided to get_notifications in order to get the next set of file changes.
90
119
  # @attr [String] src_root Parent directory path of all file sources returned in this response.
91
120
  # @attr [String] dst_root Parent directory path of all file destinations returned in this response. This field is empty if it is the same as FileChangeResponse ::src_root. In this case, the caller must use the source root to reconstruct the file destination's full path.
92
- # @attr [IControl::ARX::FileChangeDefinition] changes A list of file change details.
121
+ # @attr [IControl::ARX::FileChangeDefinitionSequence] changes A list of file change details.
93
122
  class FileChangeResponse < IControl::Base::Struct
94
123
  icontrol_attribute :count, Numeric
95
124
  icontrol_attribute :more, Object
@@ -97,7 +126,7 @@ module IControl::ARX
97
126
  icontrol_attribute :change_idx, String
98
127
  icontrol_attribute :src_root, String
99
128
  icontrol_attribute :dst_root, String
100
- icontrol_attribute :changes, IControl::ARX::FileChangeDefinition
129
+ icontrol_attribute :changes, IControl::ARX::FileChangeDefinitionSequence
101
130
  end
102
131
 
103
132
  ##
@@ -150,12 +179,12 @@ module IControl::ARX
150
179
  # @attr [String] name The namespace's name.
151
180
  # @attr [String] description A description of the namespace.
152
181
  # @attr [IControl::ARX::ARXStatusType] status The namespace's status.
153
- # @attr [IControl::ARX::ProtocolDefinition] protocols A list of protocols configured for this namespace.
182
+ # @attr [IControl::ARX::ProtocolDefinitionSequence] protocols A list of protocols configured for this namespace.
154
183
  class NamespaceDefinition < IControl::Base::Struct
155
184
  icontrol_attribute :name, String
156
185
  icontrol_attribute :description, String
157
186
  icontrol_attribute :status, IControl::ARX::ARXStatusType
158
- icontrol_attribute :protocols, IControl::ARX::ProtocolDefinition
187
+ icontrol_attribute :protocols, IControl::ARX::ProtocolDefinitionSequence
159
188
  end
160
189
 
161
190
  ##
@@ -312,12 +341,12 @@ module IControl::ARX
312
341
  # @attr [String] name The name of the snapshot.
313
342
  # @attr [Numeric] create_time The creation time of the snapshot.
314
343
  # @attr [String] volume_path The snapshot path relative to the root of the virtual volume in NFS format: {@literal //}
315
- # @attr [String] backend_paths A list of paths to the physical snapshots that compose this virtual snapshot for all of the included shares in the virtual volume in NFS format: {@literal :///}
344
+ # @attr [StringSequence] backend_paths A list of paths to the physical snapshots that compose this virtual snapshot for all of the included shares in the virtual volume in NFS format: {@literal :///}
316
345
  class SnapshotDefinition < IControl::Base::Struct
317
346
  icontrol_attribute :name, String
318
347
  icontrol_attribute :create_time, Numeric
319
348
  icontrol_attribute :volume_path, String
320
- icontrol_attribute :backend_paths, String
349
+ icontrol_attribute :backend_paths, StringSequence
321
350
  end
322
351
 
323
352
  ##
@@ -503,7 +532,8 @@ module IControl::ARX
503
532
  ## A sequence of VolumeType values.
504
533
  class VolumeTypeSequence < IControl::Base::Sequence ; end
505
534
 
506
- # The ARXStatusType class defines the status types that can be returned by methods that return the status of an object or module.
535
+ # The ARXStatusType class defines the status types that can be returned by methods
536
+ # that return the status of an object or module.
507
537
  class ARXStatusType < IControl::Base::Enumeration
508
538
  # The status cannot be determined.
509
539
  ARX_UNKNOWN = :ARX_UNKNOWN
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns the ARX running release version.
10
+ # @rspec_example
10
11
  # @return [String]
11
12
  def version
12
13
  super
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns the status of this ARX's high availability peer.
10
+ # @rspec_example
10
11
  # @return [HAStatus]
11
12
  def ha_peer
12
13
  super
@@ -14,6 +15,7 @@ module IControl::ARX
14
15
 
15
16
  ##
16
17
  # Returns this ARX's high availability status.
18
+ # @rspec_example
17
19
  # @return [HAStatus]
18
20
  def ha_status
19
21
  super
@@ -21,6 +23,7 @@ module IControl::ARX
21
23
 
22
24
  ##
23
25
  # Returns a list of system health events.
26
+ # @rspec_example
24
27
  # @return [HealthDefinition]
25
28
  def health
26
29
  super
@@ -28,6 +31,7 @@ module IControl::ARX
28
31
 
29
32
  ##
30
33
  # Returns the system hostname.
34
+ # @rspec_example
31
35
  # @return [String]
32
36
  def hostname
33
37
  super
@@ -35,6 +39,7 @@ module IControl::ARX
35
39
 
36
40
  ##
37
41
  # Returns the ARX chassis hardware version.
42
+ # @rspec_example
38
43
  # @return [String]
39
44
  def hw_version
40
45
  super
@@ -42,6 +47,7 @@ module IControl::ARX
42
47
 
43
48
  ##
44
49
  # Returns the ARX model.
50
+ # @rspec_example
45
51
  # @return [String]
46
52
  def model
47
53
  super
@@ -49,6 +55,7 @@ module IControl::ARX
49
55
 
50
56
  ##
51
57
  # Returns a list of processor statistics for this system.
58
+ # @rspec_example
52
59
  # @return [ProcessorStats]
53
60
  def processor_stats
54
61
  super
@@ -56,6 +63,7 @@ module IControl::ARX
56
63
 
57
64
  ##
58
65
  # Returns the ARX serial number.
66
+ # @rspec_example
59
67
  # @return [String]
60
68
  def serial
61
69
  super
@@ -63,6 +71,7 @@ module IControl::ARX
63
71
 
64
72
  ##
65
73
  # Returns a list of storage system statuses.
74
+ # @rspec_example
66
75
  # @return [StorageStatus]
67
76
  def storage_status
68
77
  super
@@ -70,6 +79,7 @@ module IControl::ARX
70
79
 
71
80
  ##
72
81
  # Returns the system software version.
82
+ # @rspec_example
73
83
  # @return [String]
74
84
  def sw_version
75
85
  super
@@ -77,6 +87,7 @@ module IControl::ARX
77
87
 
78
88
  ##
79
89
  # Returns the system type.
90
+ # @rspec_example
80
91
  # @return [String]
81
92
  def type
82
93
  super
@@ -6,7 +6,9 @@ module IControl::ARX
6
6
  set_id_name "virtual_service"
7
7
 
8
8
  ##
9
- # Returns the list of export definitions for a list of exports from this virtual servic and protocol.
9
+ # Returns the list of export definitions for a list of exports from this virtual servic
10
+ # and protocol.
11
+ # @rspec_example
10
12
  # @return [ExportDefinition]
11
13
  # @param [Hash] opts
12
14
  # @option opts [IControl::ARX::ProtocolType] :protocol Protocol type.
@@ -18,6 +20,7 @@ module IControl::ARX
18
20
 
19
21
  ##
20
22
  # Returns the list of exports for this virtual servic and protocol.
23
+ # @rspec_example
21
24
  # @return [String]
22
25
  # @param [Hash] opts
23
26
  # @option opts [IControl::ARX::ProtocolType] :protocol The protocol type.
@@ -1,12 +1,16 @@
1
1
  module IControl::ARX
2
2
  ##
3
- # The FileChangeNotification Interface lets applications monitor and manage ARX file data storage activity.
3
+ # The FileChangeNotification Interface lets applications monitor and manage ARX file
4
+ # data storage activity.
4
5
  class FileChangeNotification < IControl::Base
5
6
 
6
7
  set_id_name "namespace"
7
8
 
8
9
  ##
9
- # Complete the file change notification session established by FileChangeNotification::start_notifications. If the caller does not call this function, the file change notification session will be automatically cleared after no requests received for an hour.
10
+ # Complete the file change notification session established by FileChangeNotification::start_notifications.
11
+ # If the caller does not call this function, the file change notification session will
12
+ # be automatically cleared after no requests received for an hour.
13
+ # @rspec_example
10
14
  # @return [String]
11
15
  # @param [Hash] opts
12
16
  # @option opts [String] :session_id File change notification session identifier returned by FileChangeNotification ::start_notifications.
@@ -16,7 +20,13 @@ module IControl::ARX
16
20
  end
17
21
 
18
22
  ##
19
- # Retrieve file and directory changes that took place during the window of time defined by from_snapshot and to_snapshot. The caller may call this function repeatedly until there are no more file changes. When a fault occurs, the caller must discard the current session and start a new session. When the fault is not arxFaultFcnRescan or arxFaultFcnSessionRestart, the caller can resume from where they left off by providing the last received change_idx to the first get_notifications call in the new session.
23
+ # Retrieve file and directory changes that took place during the window of time defined
24
+ # by from_snapshot and to_snapshot. The caller may call this function repeatedly until
25
+ # there are no more file changes. When a fault occurs, the caller must discard the
26
+ # current session and start a new session. When the fault is not arxFaultFcnRescan
27
+ # or arxFaultFcnSessionRestart, the caller can resume from where they left off by providing
28
+ # the last received change_idx to the first get_notifications call in the new session.
29
+ # @rspec_example
20
30
  # @return [FileChangeResponse]
21
31
  # @param [Hash] opts
22
32
  # @option opts [String] :session_id File change notification session identifier returned by FileChangeNotification ::start_notifications.
@@ -29,6 +39,7 @@ module IControl::ARX
29
39
 
30
40
  ##
31
41
  # Returns a list of snapshot definitions for a list of specified snapshots.
42
+ # @rspec_example
32
43
  # @return [SnapshotDefinition]
33
44
  # @param [Hash] opts
34
45
  # @option opts [String] :volume The volume name.
@@ -41,6 +52,7 @@ module IControl::ARX
41
52
 
42
53
  ##
43
54
  # Returns a list of snapshots for a notification rule.
55
+ # @rspec_example
44
56
  # @return [String]
45
57
  # @param [Hash] opts
46
58
  # @option opts [String] :volume The volume name.
@@ -51,7 +63,16 @@ module IControl::ARX
51
63
  end
52
64
 
53
65
  ##
54
- # Start processing file and directory changes. If the from_snapshot parameter is non-zero, then the changes that occurred between the creation time of the snapshot specified by from_snapshot and the creation time of the snapshot specified by to_snapshot will be processed. If the from_snapshot parameter is 0, then all files that exist in the snapshot specified by to_snapshot will be processed. This function creates a new file change notification session that the caller uses to get all file changes that occurred between from_snapshot and to_snapshot. The caller passes the returned session id to FileChangeNotification::get_notifications to get file changes and FileChangeNotification::finish_notifications to complete the session. In case of error, this function generates a SOAP fault.
66
+ # Start processing file and directory changes. If the from_snapshot parameter is non-zero,
67
+ # then the changes that occurred between the creation time of the snapshot specified
68
+ # by from_snapshot and the creation time of the snapshot specified by to_snapshot will
69
+ # be processed. If the from_snapshot parameter is 0, then all files that exist in the
70
+ # snapshot specified by to_snapshot will be processed. This function creates a new
71
+ # file change notification session that the caller uses to get all file changes that
72
+ # occurred between from_snapshot and to_snapshot. The caller passes the returned session
73
+ # id to FileChangeNotification::get_notifications to get file changes and FileChangeNotification::finish_notifications
74
+ # to complete the session. In case of error, this function generates a SOAP fault.
75
+ # @rspec_example
55
76
  # @return [String]
56
77
  # @param [Hash] opts
57
78
  # @option opts [String] :volume Volume name.
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns a list of file server definitions for this file servers.
10
+ # @rspec_example
10
11
  # @return [FileServerDefinition]
11
12
  def definition
12
13
  super
@@ -14,6 +15,7 @@ module IControl::ARX
14
15
 
15
16
  ##
16
17
  # Returns the list of file server names.
18
+ # @rspec_example
17
19
  # @return [String]
18
20
  def list
19
21
  super
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns a list of namespace definitions for this namespace.
10
+ # @rspec_example
10
11
  # @return [NamespaceDefinition]
11
12
  def definition
12
13
  super
@@ -14,6 +15,7 @@ module IControl::ARX
14
15
 
15
16
  ##
16
17
  # Returns the list of configured namespace.
18
+ # @rspec_example
17
19
  # @return [String]
18
20
  def list
19
21
  super
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns a list of network interface definitions for this network interfaces.
10
+ # @rspec_example
10
11
  # @return [NetworkDefinition]
11
12
  def definition
12
13
  super
@@ -14,6 +15,7 @@ module IControl::ARX
14
15
 
15
16
  ##
16
17
  # Returns the list of network interfaces.
18
+ # @rspec_example
17
19
  # @return [String]
18
20
  def list
19
21
  super
@@ -21,6 +23,7 @@ module IControl::ARX
21
23
 
22
24
  ##
23
25
  # Returns a list of network interface statistics for this network interfaces.
26
+ # @rspec_example
24
27
  # @return [NetworkStats]
25
28
  def stats
26
29
  super
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns the details of this policies.
10
+ # @rspec_example
10
11
  # @return [PolicyDefinition]
11
12
  # @param [Hash] opts
12
13
  # @option opts [String] :volume Volume name.
@@ -18,6 +19,7 @@ module IControl::ARX
18
19
 
19
20
  ##
20
21
  # Returns the list of policies for this namespac and volume.
22
+ # @rspec_example
21
23
  # @return [String]
22
24
  # @param [Hash] opts
23
25
  # @option opts [String] :volume Volume name.
@@ -28,6 +30,7 @@ module IControl::ARX
28
30
 
29
31
  ##
30
32
  # Returns the details of this schedule.
33
+ # @rspec_example
31
34
  # @return [PolicySchedule]
32
35
  # @param [Hash] opts
33
36
  # @option opts [String] :schedule Schedule name.
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns a list of share definitions for this shares.
10
+ # @rspec_example
10
11
  # @return [ShareDefinition]
11
12
  # @param [Hash] opts
12
13
  # @option opts [String] :volume The volume name.
@@ -18,6 +19,7 @@ module IControl::ARX
18
19
 
19
20
  ##
20
21
  # Returns the list of shares.
22
+ # @rspec_example
21
23
  # @return [String]
22
24
  # @param [Hash] opts
23
25
  # @option opts [String] :volume The volume name.
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns the details of this virtual service.
10
+ # @rspec_example
10
11
  # @return [VirtualServiceDefinition]
11
12
  def definition
12
13
  super
@@ -14,6 +15,7 @@ module IControl::ARX
14
15
 
15
16
  ##
16
17
  # Returns the list of virtual service names.
18
+ # @rspec_example
17
19
  # @return [String]
18
20
  def list
19
21
  super
@@ -21,6 +23,7 @@ module IControl::ARX
21
23
 
22
24
  ##
23
25
  # Returns the statistics of this virtual service.
26
+ # @rspec_example
24
27
  # @return [VirtualServiceStats]
25
28
  def stats
26
29
  super
@@ -7,6 +7,7 @@ module IControl::ARX
7
7
 
8
8
  ##
9
9
  # Returns the volume definitions for this volumes.
10
+ # @rspec_example
10
11
  # @return [VolumeDefinition]
11
12
  # @param [Hash] opts
12
13
  # @option opts [String] :volumes A list of volume names.
@@ -17,6 +18,7 @@ module IControl::ARX
17
18
 
18
19
  ##
19
20
  # Returns the list of volumes for this namespac.
21
+ # @rspec_example
20
22
  # @return [String]
21
23
  def list
22
24
  super
data/lib/icontrol/asm.rb CHANGED
@@ -9,6 +9,19 @@ module IControl::ASM
9
9
  class ViolationSeverity < IControl::Base::Struct; end
10
10
  class WebApplicationGroupDefinition < IControl::Base::Struct; end
11
11
  class WebObjectType < IControl::Base::Struct; end
12
+ class ApplyLearningSequence < IControl::Base::Sequence ; end
13
+ class DynamicSessionsInUrlSequence < IControl::Base::Sequence ; end
14
+ class ObjectTypeTypeSequence < IControl::Base::Sequence ; end
15
+ class ObjectTypeTypeSequenceSequence < IControl::Base::SequenceSequence ; end
16
+ class PolicyTemplateSequence < IControl::Base::Sequence ; end
17
+ class PolicyTemplateSequenceSequence < IControl::Base::SequenceSequence ; end
18
+ class ViolationSequence < IControl::Base::Sequence ; end
19
+ class ViolationSequenceSequence < IControl::Base::SequenceSequence ; end
20
+ class ViolationSeveritySequence < IControl::Base::Sequence ; end
21
+ class WebApplicationGroupDefinitionSequence < IControl::Base::Sequence ; end
22
+ class WebApplicationLanguageSequence < IControl::Base::Sequence ; end
23
+ class WebObjectTypeSequence < IControl::Base::Sequence ; end
24
+ class WebObjectTypeSequenceSequence < IControl::Base::SequenceSequence ; end
12
25
  class ObjectParams < IControl::Base; end
13
26
  class Policy < IControl::Base; end
14
27
  class SystemConfiguration < IControl::Base; end
@@ -51,10 +64,10 @@ module IControl::ASM
51
64
 
52
65
  ##
53
66
  # A struct that describes a file transfer context.
54
- # @attr [String] file_data The actual file content for the transfer operation.
67
+ # @attr [StringSequence] file_data The actual file content for the transfer operation.
55
68
  # @attr [IControl::Common::FileChainType] chain_type The flag used to indicate whether this is FIRST, MIDDLE, or LAST chunk of the file data.
56
69
  class FileTransferContext < IControl::Base::Struct
57
- icontrol_attribute :file_data, String
70
+ icontrol_attribute :file_data, StringSequence
58
71
  icontrol_attribute :chain_type, IControl::Common::FileChainType
59
72
  end
60
73
 
@@ -103,7 +116,9 @@ module IControl::ASM
103
116
  end
104
117
 
105
118
  ##
106
- # A struct that represents a web application group. This is only used in contexts in which the &amp;quot;ungrouped" special group is relevant. Otherwise, the group is represented by its name.
119
+ # A struct that represents a web application group. This is only used in contexts in
120
+ # which the &amp;quot;ungrouped" special group is relevant. Otherwise, the group is
121
+ # represented by its name.
107
122
  # @attr [String] value The name of the web application group.
108
123
  # @attr [Object] ungrouped_flag The flag that indicates how the value should be interpreted. If the ungrouped_flag is false, then the value represents the actual web application group name. If the ungrouped_flag is true, then the value is ignored/meaningless, and represents the special group of "ungrouped" web applications.
109
124
  class WebApplicationGroupDefinition < IControl::Base::Struct