icontrol 0.0.4 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol.rb +24 -17
- data/lib/icontrol/arx.rb +666 -0
- data/lib/icontrol/arx/api.rb +17 -0
- data/lib/icontrol/arx/chassis.rb +87 -0
- data/lib/icontrol/arx/export.rb +31 -0
- data/lib/icontrol/arx/file_change_notification.rb +69 -0
- data/lib/icontrol/arx/file_server.rb +24 -0
- data/lib/icontrol/arx/namespace.rb +24 -0
- data/lib/icontrol/arx/network.rb +31 -0
- data/lib/icontrol/arx/policy.rb +41 -0
- data/lib/icontrol/arx/share.rb +31 -0
- data/lib/icontrol/arx/virtual_service.rb +31 -0
- data/lib/icontrol/arx/volume.rb +27 -0
- data/lib/icontrol/asm.rb +466 -0
- data/lib/icontrol/asm/object_params.rb +83 -0
- data/lib/icontrol/asm/policy.rb +316 -0
- data/lib/icontrol/asm/system_configuration.rb +92 -0
- data/lib/icontrol/asm/web_application.rb +186 -0
- data/lib/icontrol/asm/web_application_group.rb +97 -0
- data/lib/icontrol/base.rb +181 -147
- data/lib/icontrol/base/attributable.rb +55 -0
- data/lib/icontrol/base/enumeration.rb +20 -0
- data/lib/icontrol/base/exception.rb +30 -0
- data/lib/icontrol/base/mappings.rb +52 -0
- data/lib/icontrol/base/predeclarations.rb +32 -0
- data/lib/icontrol/base/sequence.rb +83 -0
- data/lib/icontrol/base/struct.rb +47 -0
- data/lib/icontrol/common.rb +1486 -109
- data/lib/icontrol/global_lb.rb +424 -0
- data/lib/icontrol/global_lb/application.rb +195 -0
- data/lib/icontrol/global_lb/data_center.rb +238 -0
- data/lib/icontrol/global_lb/dnssec_key.rb +334 -0
- data/lib/icontrol/global_lb/dnssec_zone.rb +132 -0
- data/lib/icontrol/global_lb/globals.rb +1238 -0
- data/lib/icontrol/global_lb/link.rb +517 -0
- data/lib/icontrol/global_lb/monitor.rb +678 -0
- data/lib/icontrol/global_lb/pool.rb +705 -0
- data/lib/icontrol/global_lb/pool_member.rb +383 -0
- data/lib/icontrol/global_lb/region.rb +127 -0
- data/lib/icontrol/global_lb/rule.rb +155 -0
- data/lib/icontrol/global_lb/server.rb +463 -0
- data/lib/icontrol/global_lb/topology.rb +127 -0
- data/lib/icontrol/global_lb/virtual_server.rb +313 -0
- data/lib/icontrol/global_lb/wide_ip.rb +432 -0
- data/lib/icontrol/local_lb.rb +1236 -0
- data/lib/icontrol/local_lb/klass.rb +611 -0
- data/lib/icontrol/local_lb/monitor.rb +686 -11
- data/lib/icontrol/local_lb/nat.rb +208 -0
- data/lib/icontrol/local_lb/node_address.rb +333 -0
- data/lib/icontrol/local_lb/pool.rb +563 -59
- data/lib/icontrol/local_lb/pool_member.rb +437 -3
- data/lib/icontrol/local_lb/profile_auth.rb +271 -5
- data/lib/icontrol/local_lb/profile_client_ssl.rb +690 -0
- data/lib/icontrol/local_lb/profile_diameter.rb +224 -0
- data/lib/icontrol/local_lb/profile_dns.rb +158 -0
- data/lib/icontrol/local_lb/profile_fast_http.rb +554 -0
- data/lib/icontrol/local_lb/profile_fast_l4.rb +620 -0
- data/lib/icontrol/local_lb/profile_ftp.rb +202 -0
- data/lib/icontrol/local_lb/profile_http.rb +1402 -0
- data/lib/icontrol/local_lb/profile_http_class.rb +373 -197
- data/lib/icontrol/local_lb/profile_iiop.rb +224 -0
- data/lib/icontrol/local_lb/profile_one_connect.rb +246 -0
- data/lib/icontrol/local_lb/profile_persistence.rb +621 -0
- data/lib/icontrol/local_lb/profile_radius.rb +201 -0
- data/lib/icontrol/local_lb/profile_rtsp.rb +400 -0
- data/lib/icontrol/local_lb/profile_sctp.rb +576 -0
- data/lib/icontrol/local_lb/profile_server_ssl.rb +642 -0
- data/lib/icontrol/local_lb/profile_sip.rb +312 -0
- data/lib/icontrol/local_lb/profile_stream.rb +180 -0
- data/lib/icontrol/local_lb/profile_tcp.rb +928 -0
- data/lib/icontrol/local_lb/profile_udp.rb +268 -0
- data/lib/icontrol/local_lb/profile_user_statistic.rb +266 -0
- data/lib/icontrol/local_lb/profile_xml.rb +292 -0
- data/lib/icontrol/local_lb/ram_cache_information.rb +159 -0
- data/lib/icontrol/local_lb/rate_class.rb +1121 -3
- data/lib/icontrol/local_lb/rule.rb +154 -3
- data/lib/icontrol/local_lb/snat.rb +277 -0
- data/lib/icontrol/local_lb/snat_pool.rb +149 -3
- data/lib/icontrol/local_lb/snat_pool_member.rb +75 -0
- data/lib/icontrol/local_lb/snat_translation_address.rb +261 -0
- data/lib/icontrol/local_lb/virtual_address.rb +250 -0
- data/lib/icontrol/local_lb/virtual_server.rb +919 -564
- data/lib/icontrol/lt_config.rb +27 -0
- data/lib/icontrol/lt_config/field.rb +191 -0
- data/lib/icontrol/lt_config/klass.rb +161 -0
- data/lib/icontrol/management.rb +606 -0
- data/lib/icontrol/management/ccldap_configuration.rb +455 -0
- data/lib/icontrol/management/change_control.rb +308 -0
- data/lib/icontrol/management/crldp_configuration.rb +188 -0
- data/lib/icontrol/management/crldp_server.rb +155 -0
- data/lib/icontrol/management/db_variable.rb +91 -0
- data/lib/icontrol/management/event_notification.rb +105 -0
- data/lib/icontrol/management/event_subscription.rb +727 -0
- data/lib/icontrol/management/key_certificate.rb +730 -0
- data/lib/icontrol/management/ldap_configuration.rb +646 -0
- data/lib/icontrol/management/license_administration.rb +246 -0
- data/lib/icontrol/management/named.rb +205 -0
- data/lib/icontrol/management/ocsp_configuration.rb +100 -0
- data/lib/icontrol/management/ocsp_responder.rb +523 -0
- data/lib/icontrol/management/partition.rb +90 -0
- data/lib/icontrol/management/provision.rb +143 -0
- data/lib/icontrol/management/radius_configuration.rb +200 -0
- data/lib/icontrol/management/radius_server.rb +157 -0
- data/lib/icontrol/management/resource_record.rb +512 -0
- data/lib/icontrol/management/snmp_configuration.rb +1726 -0
- data/lib/icontrol/management/tacacs_configuration.rb +248 -0
- data/lib/icontrol/management/tmos_module.rb +37 -0
- data/lib/icontrol/management/user_management.rb +519 -0
- data/lib/icontrol/management/view.rb +103 -0
- data/lib/icontrol/management/zone.rb +138 -0
- data/lib/icontrol/management/zone_runner.rb +35 -0
- data/lib/icontrol/networking.rb +282 -0
- data/lib/icontrol/networking/admin_ip.rb +267 -0
- data/lib/icontrol/networking/arp.rb +194 -0
- data/lib/icontrol/networking/i_session_advertised_route.rb +155 -0
- data/lib/icontrol/networking/i_session_local_interface.rb +219 -0
- data/lib/icontrol/networking/i_session_peer_discovery.rb +232 -0
- data/lib/icontrol/networking/i_session_remote_interface.rb +321 -0
- data/lib/icontrol/networking/interfaces.rb +538 -0
- data/lib/icontrol/networking/packet_filter.rb +241 -0
- data/lib/icontrol/networking/packet_filter_globals.rb +113 -0
- data/lib/icontrol/networking/port_mirror.rb +100 -0
- data/lib/icontrol/networking/profile_gre.rb +130 -0
- data/lib/icontrol/networking/profile_ipip.rb +86 -0
- data/lib/icontrol/networking/profile_wccpgre.rb +200 -0
- data/lib/icontrol/networking/route_domain.rb +166 -0
- data/lib/icontrol/networking/route_table.rb +404 -0
- data/lib/icontrol/networking/self_ip.rb +148 -0
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +124 -0
- data/lib/icontrol/networking/stp_globals.rb +169 -0
- data/lib/icontrol/networking/stp_instance.rb +315 -0
- data/lib/icontrol/networking/trunk.rb +386 -0
- data/lib/icontrol/networking/tunnel.rb +207 -0
- data/lib/icontrol/networking/vlan.rb +383 -0
- data/lib/icontrol/networking/vlan_group.rb +355 -0
- data/lib/icontrol/system.rb +459 -0
- data/lib/icontrol/system/cluster.rb +265 -0
- data/lib/icontrol/system/config_sync.rb +319 -0
- data/lib/icontrol/system/connections.rb +118 -0
- data/lib/icontrol/system/disk.rb +252 -0
- data/lib/icontrol/system/failover.rb +118 -0
- data/lib/icontrol/system/geo_ip.rb +26 -0
- data/lib/icontrol/system/inet.rb +120 -0
- data/lib/icontrol/system/internal.rb +52 -0
- data/lib/icontrol/system/services.rb +299 -0
- data/lib/icontrol/system/software_management.rb +383 -0
- data/lib/icontrol/system/statistics.rb +1085 -0
- data/lib/icontrol/system/system_info.rb +318 -0
- data/lib/icontrol/web_accelerator.rb +9 -0
- data/lib/icontrol/web_accelerator/applications.rb +55 -0
- data/lib/icontrol/web_accelerator/policies.rb +49 -0
- data/lib/icontrol/web_accelerator/proxy_message.rb +35 -0
- data/spec/icontrol/local_lb/pool_spec.rb +807 -0
- data/spec/spec_helper.rb +25 -44
- metadata +296 -50
- data/lib/icontrol/attributable.rb +0 -48
- data/lib/icontrol/local_lb/common.rb +0 -118
- data/lib/icontrol/local_lb/monitor_rule.rb +0 -22
- data/lib/icontrol/mappings.rb +0 -62
- data/lib/icontrol/statistic_type.rb +0 -950
- data/spec/fixtures/endpoint_helper.rb +0 -14
- data/spec/fixtures/soap/soap_fixture.rb +0 -14
- data/spec/fixtures/wsdl/wsdl_fixture.rb +0 -15
- data/spec/icontrol_local_lb_pool_spec.rb +0 -119
- data/spec/icontrol_local_lb_profile_http_class_spec.rb +0 -271
- data/spec/icontrol_local_lb_rule_spec.rb +0 -22
- data/spec/icontrol_local_lb_virtual_server_spec.rb +0 -705
- data/spec/icontrol_spec.rb +0 -79
data/lib/icontrol.rb
CHANGED
@@ -1,17 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
require
|
16
|
-
require
|
17
|
-
require
|
1
|
+
require "icontrol/base"
|
2
|
+
module IControl
|
3
|
+
|
4
|
+
module ARX ; end
|
5
|
+
module ASM ; end
|
6
|
+
module Common ; end
|
7
|
+
module GlobalLB ; end
|
8
|
+
module LTConfig ; end
|
9
|
+
module LocalLB ; end
|
10
|
+
module Management ; end
|
11
|
+
module Networking ; end
|
12
|
+
module System ; end
|
13
|
+
module WebAccelerator ; end
|
14
|
+
end
|
15
|
+
require "icontrol/common"
|
16
|
+
require "icontrol/arx"
|
17
|
+
require "icontrol/asm"
|
18
|
+
require "icontrol/global_lb"
|
19
|
+
require "icontrol/lt_config"
|
20
|
+
require "icontrol/local_lb"
|
21
|
+
require "icontrol/management"
|
22
|
+
require "icontrol/networking"
|
23
|
+
require "icontrol/system"
|
24
|
+
require "icontrol/web_accelerator"
|
data/lib/icontrol/arx.rb
ADDED
@@ -0,0 +1,666 @@
|
|
1
|
+
module IControl::ARX
|
2
|
+
|
3
|
+
class ExportDefinition < IControl::Base::Struct; end
|
4
|
+
class FileChangeDefinition < IControl::Base::Struct; end
|
5
|
+
class FileChangeResponse < IControl::Base::Struct; end
|
6
|
+
class FileServerDefinition < IControl::Base::Struct; end
|
7
|
+
class HAStatus < IControl::Base::Struct; end
|
8
|
+
class HealthDefinition < IControl::Base::Struct; end
|
9
|
+
class NamespaceDefinition < IControl::Base::Struct; end
|
10
|
+
class NetworkDefinition < IControl::Base::Struct; end
|
11
|
+
class NetworkStats < IControl::Base::Struct; end
|
12
|
+
class PolicyDefinition < IControl::Base::Struct; end
|
13
|
+
class PolicySchedule < IControl::Base::Struct; end
|
14
|
+
class ProcessorStats < IControl::Base::Struct; end
|
15
|
+
class ProtocolDefinition < IControl::Base::Struct; end
|
16
|
+
class ShareDefinition < IControl::Base::Struct; end
|
17
|
+
class SnapshotDefinition < IControl::Base::Struct; end
|
18
|
+
class StorageStatus < IControl::Base::Struct; end
|
19
|
+
class VirtualServiceDefinition < IControl::Base::Struct; end
|
20
|
+
class VirtualServiceStats < IControl::Base::Struct; end
|
21
|
+
class VolumeDefinition < IControl::Base::Struct; end
|
22
|
+
class Api < IControl::Base; end
|
23
|
+
class Chassis < IControl::Base; end
|
24
|
+
class Export < IControl::Base; end
|
25
|
+
class FileChangeNotification < IControl::Base; end
|
26
|
+
class FileServer < IControl::Base; end
|
27
|
+
class Namespace < IControl::Base; end
|
28
|
+
class Network < IControl::Base; end
|
29
|
+
class Policy < IControl::Base; end
|
30
|
+
class Share < IControl::Base; end
|
31
|
+
class VirtualService < IControl::Base; end
|
32
|
+
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.
|
34
|
+
class ARXStatusType < IControl::Base::Enumeration; end
|
35
|
+
# Possible File Change Types.
|
36
|
+
class FileChangeType < IControl::Base::Enumeration; end
|
37
|
+
# Possible File Server Types.
|
38
|
+
class FileServerType < IControl::Base::Enumeration; end
|
39
|
+
# The possible HA Roles of a chassis.
|
40
|
+
class HARoleType < IControl::Base::Enumeration; end
|
41
|
+
# Enumeration of policy schedule interval types.
|
42
|
+
class PolicyScheduleIntervalType < IControl::Base::Enumeration; end
|
43
|
+
# Enumeration of policy types.
|
44
|
+
class PolicyType < IControl::Base::Enumeration; end
|
45
|
+
# A structure that enumerates supported file access protocol types.
|
46
|
+
class ProtocolType < IControl::Base::Enumeration; end
|
47
|
+
# A structure that enumerates supported file access protocol versions.
|
48
|
+
class ProtocolVersion < IControl::Base::Enumeration; end
|
49
|
+
# Enumeration of ARX volume types.
|
50
|
+
class VolumeType < IControl::Base::Enumeration; end##
|
51
|
+
# A structure that contains the details of a virtual service export.
|
52
|
+
# @attr [String] name The name of the export.
|
53
|
+
# @attr [String] service The name of the virtual service that hosts the export.
|
54
|
+
# @attr [String] namespace The name of the namespace the export is hosted from.
|
55
|
+
# @attr [String] volume The name of the volume the export is hosted from.
|
56
|
+
# @attr [String] path The virtual volume path of the export.
|
57
|
+
# @attr [IControl::ARX::ProtocolType] protocol The file access protocol used for the export.
|
58
|
+
# @attr [IControl::ARX::ARXStatusType] status The status of the export.
|
59
|
+
class ExportDefinition < IControl::Base::Struct
|
60
|
+
icontrol_attribute :name, String
|
61
|
+
icontrol_attribute :service, String
|
62
|
+
icontrol_attribute :namespace, String
|
63
|
+
icontrol_attribute :volume, String
|
64
|
+
icontrol_attribute :path, String
|
65
|
+
icontrol_attribute :protocol, IControl::ARX::ProtocolType
|
66
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
67
|
+
end
|
68
|
+
|
69
|
+
##
|
70
|
+
# A structure that contains the details of a file change.
|
71
|
+
# @attr [IControl::ARX::FileChangeType] type The type of file change.
|
72
|
+
# @attr [String] src_path The file's original path. The path is relative to src_root. This field is not used when the file change is either FileChangeType ::FILECHANGE_FILE_NEW or FileChangeType ::FILECHANGE_DIR_NEW.
|
73
|
+
# @attr [String] dst_path The file's new path. When the file change is FileChangeType ::FILECHANGE_FILE_OTHER, FileChangeType ::FILECHANGE_DIR_OTHER, FileChangeType ::FILECHANGE_FILE_NEW or FileChangeType ::FILECHANGE_DIR_NEW the path is relative to dst_root. However, if the file change is FileChangeType ::FILECHANGE_FILE_RENAME or FileChangeType ::FILECHANGE_DIR_RENAME then it is the full path. For any other file change type, this field is not used.
|
74
|
+
# @attr [String] src_link If this change is for a link to another file on NFS, then the source link will represent the original path for the target of the link. This path can be used to group links that link to the same file. However, this path can only be used as a key to group links during this session because a different path may be used in other sessions.
|
75
|
+
# @attr [String] dst_link If this change is for a link to another file on NFS, then the destination link will represent the new path for the target of the link. This path can be used to group links that link to the same file. However, this path can only be used as a key to group links during this session because a different path may be used in other sessions.
|
76
|
+
class FileChangeDefinition < IControl::Base::Struct
|
77
|
+
icontrol_attribute :type, IControl::ARX::FileChangeType
|
78
|
+
icontrol_attribute :src_path, String
|
79
|
+
icontrol_attribute :dst_path, String
|
80
|
+
icontrol_attribute :src_link, String
|
81
|
+
icontrol_attribute :dst_link, String
|
82
|
+
end
|
83
|
+
|
84
|
+
##
|
85
|
+
# A structure that contains the details of a file change response.
|
86
|
+
# @attr [Numeric] count Number of file changes returned from FileChangeResponse ::getChanges.
|
87
|
+
# @attr [Object] more This is set to true when there are more file changes left to retrieve for this session and false when there are no more changes left to retrieve for the session. When this is true, the user should call get_notifications to retrieve the next batch of file changes.
|
88
|
+
# @attr [Numeric] error_code Reserved for future development. Errors will be handled through the SOAP fault mechanism.
|
89
|
+
# @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
|
+
# @attr [String] src_root Parent directory path of all file sources returned in this response.
|
91
|
+
# @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.
|
93
|
+
class FileChangeResponse < IControl::Base::Struct
|
94
|
+
icontrol_attribute :count, Numeric
|
95
|
+
icontrol_attribute :more, Object
|
96
|
+
icontrol_attribute :error_code, Numeric
|
97
|
+
icontrol_attribute :change_idx, String
|
98
|
+
icontrol_attribute :src_root, String
|
99
|
+
icontrol_attribute :dst_root, String
|
100
|
+
icontrol_attribute :changes, IControl::ARX::FileChangeDefinition
|
101
|
+
end
|
102
|
+
|
103
|
+
##
|
104
|
+
# A structure that contains file server details.
|
105
|
+
# @attr [String] name The file server name.
|
106
|
+
# @attr [String] description A description of the file server.
|
107
|
+
# @attr [String] ip The filer server's IP address.
|
108
|
+
# @attr [String] mgmt_ip The file server's management IP address.
|
109
|
+
# @attr [IControl::ARX::FileServerType] type The file server's type.
|
110
|
+
# @attr [Numeric] cifs_port The file server's CIFS port number.
|
111
|
+
# @attr [String] spn The file server's Service Principal Name.
|
112
|
+
class FileServerDefinition < IControl::Base::Struct
|
113
|
+
icontrol_attribute :name, String
|
114
|
+
icontrol_attribute :description, String
|
115
|
+
icontrol_attribute :ip, String
|
116
|
+
icontrol_attribute :mgmt_ip, String
|
117
|
+
icontrol_attribute :type, IControl::ARX::FileServerType
|
118
|
+
icontrol_attribute :cifs_port, Numeric
|
119
|
+
icontrol_attribute :spn, String
|
120
|
+
end
|
121
|
+
|
122
|
+
##
|
123
|
+
# A structure that contains the details of a chassis's HA status.
|
124
|
+
# @attr [String] name The hostname of the ARX.
|
125
|
+
# @attr [String] ip The ARX's management IP address.
|
126
|
+
# @attr [IControl::ARX::HARoleType] role The ARX's role in the HA pair.
|
127
|
+
# @attr [IControl::ARX::ARXStatusType] status The ARX's status.
|
128
|
+
class HAStatus < IControl::Base::Struct
|
129
|
+
icontrol_attribute :name, String
|
130
|
+
icontrol_attribute :ip, String
|
131
|
+
icontrol_attribute :role, IControl::ARX::HARoleType
|
132
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
133
|
+
end
|
134
|
+
|
135
|
+
##
|
136
|
+
# A structure that contains the details of system health events.
|
137
|
+
# @attr [Numeric] date The date of the occurrence of the event.
|
138
|
+
# @attr [Numeric] id The event's unique identifier.
|
139
|
+
# @attr [String] event The event's name.
|
140
|
+
# @attr [String] description A description of the event.
|
141
|
+
class HealthDefinition < IControl::Base::Struct
|
142
|
+
icontrol_attribute :date, Numeric
|
143
|
+
icontrol_attribute :id, Numeric
|
144
|
+
icontrol_attribute :event, String
|
145
|
+
icontrol_attribute :description, String
|
146
|
+
end
|
147
|
+
|
148
|
+
##
|
149
|
+
# A structure that contains the details of a namespace.
|
150
|
+
# @attr [String] name The namespace's name.
|
151
|
+
# @attr [String] description A description of the namespace.
|
152
|
+
# @attr [IControl::ARX::ARXStatusType] status The namespace's status.
|
153
|
+
# @attr [IControl::ARX::ProtocolDefinition] protocols A list of protocols configured for this namespace.
|
154
|
+
class NamespaceDefinition < IControl::Base::Struct
|
155
|
+
icontrol_attribute :name, String
|
156
|
+
icontrol_attribute :description, String
|
157
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
158
|
+
icontrol_attribute :protocols, IControl::ARX::ProtocolDefinition
|
159
|
+
end
|
160
|
+
|
161
|
+
##
|
162
|
+
# A structure that contains network interface details.
|
163
|
+
# @attr [String] id The network interface's identifier.
|
164
|
+
# @attr [Numeric] slot The network interface's slot number.
|
165
|
+
# @attr [Numeric] port The network interface's port number.
|
166
|
+
# @attr [String] type The network interface's type.
|
167
|
+
# @attr [String] speed The network interface's speed.
|
168
|
+
# @attr [String] duplex The network interface's duplex setting.
|
169
|
+
# @attr [String] negotiate The network interface's auto negotiation setting.
|
170
|
+
# @attr [String] mac The network interfaces's MAC address.
|
171
|
+
# @attr [IControl::ARX::ARXStatusType] status The network interface's status.
|
172
|
+
class NetworkDefinition < IControl::Base::Struct
|
173
|
+
icontrol_attribute :id, String
|
174
|
+
icontrol_attribute :slot, Numeric
|
175
|
+
icontrol_attribute :port, Numeric
|
176
|
+
icontrol_attribute :type, String
|
177
|
+
icontrol_attribute :speed, String
|
178
|
+
icontrol_attribute :duplex, String
|
179
|
+
icontrol_attribute :negotiate, String
|
180
|
+
icontrol_attribute :mac, String
|
181
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
182
|
+
end
|
183
|
+
|
184
|
+
##
|
185
|
+
# A structure that contains the statistics of a network.
|
186
|
+
# @attr [String] id The network interface's identifier.
|
187
|
+
# @attr [Numeric] tx_octets The number of bytes transmitted by this interface.
|
188
|
+
# @attr [Numeric] tx_total The total number of bytes transmitted by this interface.
|
189
|
+
# @attr [Numeric] tx_unicast The number of unicast packets transmitted by this interface.
|
190
|
+
# @attr [Numeric] tx_multicast The number of multicast packets transmitted by this interface.
|
191
|
+
# @attr [Numeric] tx_broadcast The number of broadcast packets transmitted by this interface.
|
192
|
+
# @attr [Numeric] rx_octets The number of bytes received by this interface.
|
193
|
+
# @attr [Numeric] rx_total The total number of bytes received by this interface.
|
194
|
+
# @attr [Numeric] rx_unicast The number of unicast packets received by this interface.
|
195
|
+
# @attr [Numeric] rx_multicast The number of multicast packets received by this interface.
|
196
|
+
# @attr [Numeric] rx_broadcast The number of broadcast packets received by this interface.
|
197
|
+
# @attr [Numeric] crc_errors The number of CRC errors encountered by this interface.
|
198
|
+
# @attr [Numeric] discarded The number of packets discarded by this interface.
|
199
|
+
# @attr [Numeric] collisions The number of packet collisions encountered by this interface.
|
200
|
+
class NetworkStats < IControl::Base::Struct
|
201
|
+
icontrol_attribute :id, String
|
202
|
+
icontrol_attribute :tx_octets, Numeric
|
203
|
+
icontrol_attribute :tx_total, Numeric
|
204
|
+
icontrol_attribute :tx_unicast, Numeric
|
205
|
+
icontrol_attribute :tx_multicast, Numeric
|
206
|
+
icontrol_attribute :tx_broadcast, Numeric
|
207
|
+
icontrol_attribute :rx_octets, Numeric
|
208
|
+
icontrol_attribute :rx_total, Numeric
|
209
|
+
icontrol_attribute :rx_unicast, Numeric
|
210
|
+
icontrol_attribute :rx_multicast, Numeric
|
211
|
+
icontrol_attribute :rx_broadcast, Numeric
|
212
|
+
icontrol_attribute :crc_errors, Numeric
|
213
|
+
icontrol_attribute :discarded, Numeric
|
214
|
+
icontrol_attribute :collisions, Numeric
|
215
|
+
end
|
216
|
+
|
217
|
+
##
|
218
|
+
# A structure that contains policy details.
|
219
|
+
# @attr [String] name The name of the policy.
|
220
|
+
# @attr [String] namespace The name of the namespace that hosts the policy.
|
221
|
+
# @attr [String] volume The name of the volume that hosts the policy.
|
222
|
+
# @attr [String] schedule The run schedule this policy is assigned to.
|
223
|
+
# @attr [IControl::ARX::PolicyType] type The policy type.
|
224
|
+
# @attr [IControl::ARX::ARXStatusType] status The status of the policy.
|
225
|
+
class PolicyDefinition < IControl::Base::Struct
|
226
|
+
icontrol_attribute :name, String
|
227
|
+
icontrol_attribute :namespace, String
|
228
|
+
icontrol_attribute :volume, String
|
229
|
+
icontrol_attribute :schedule, String
|
230
|
+
icontrol_attribute :type, IControl::ARX::PolicyType
|
231
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
232
|
+
end
|
233
|
+
|
234
|
+
##
|
235
|
+
# A structure that contains the details of a policy schedule.
|
236
|
+
# @attr [String] name The name of the schedule.
|
237
|
+
# @attr [Numeric] start The start time of the schedule.
|
238
|
+
# @attr [Numeric] next The next scheduled start time.
|
239
|
+
# @attr [Numeric] last The last scheduled run time.
|
240
|
+
# @attr [Numeric] interval The number of intervals between scheduled runs.
|
241
|
+
# @attr [IControl::ARX::PolicyScheduleIntervalType] interval_type The type of interval between scheduled runs.
|
242
|
+
# @attr [Numeric] duration The duration of the schedule.
|
243
|
+
class PolicySchedule < IControl::Base::Struct
|
244
|
+
icontrol_attribute :name, String
|
245
|
+
icontrol_attribute :start, Numeric
|
246
|
+
icontrol_attribute :next, Numeric
|
247
|
+
icontrol_attribute :last, Numeric
|
248
|
+
icontrol_attribute :interval, Numeric
|
249
|
+
icontrol_attribute :interval_type, IControl::ARX::PolicyScheduleIntervalType
|
250
|
+
icontrol_attribute :duration, Numeric
|
251
|
+
end
|
252
|
+
|
253
|
+
##
|
254
|
+
# A structure that contains processor statistics.
|
255
|
+
# @attr [String] processor The processor's identifier.
|
256
|
+
# @attr [String] module_type The processor's module type (e.g. ACM, ACM/NSM, ACM/NSM/ASM).
|
257
|
+
# @attr [IControl::ARX::ARXStatusType] status The processor's status.
|
258
|
+
# @attr [Numeric] uptime The number of seconds since the last reboot.
|
259
|
+
# @attr [Numeric] totalmem The processor's total memory.
|
260
|
+
# @attr [Numeric] freemem The processor's free memory.
|
261
|
+
# @attr [Numeric] cpu1min The processor's load level for the last 1 minute.
|
262
|
+
# @attr [Numeric] cpu5min The processor's load level for the last 5 minutes.
|
263
|
+
class ProcessorStats < IControl::Base::Struct
|
264
|
+
icontrol_attribute :processor, String
|
265
|
+
icontrol_attribute :module_type, String
|
266
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
267
|
+
icontrol_attribute :uptime, Numeric
|
268
|
+
icontrol_attribute :totalmem, Numeric
|
269
|
+
icontrol_attribute :freemem, Numeric
|
270
|
+
icontrol_attribute :cpu1min, Numeric
|
271
|
+
icontrol_attribute :cpu5min, Numeric
|
272
|
+
end
|
273
|
+
|
274
|
+
##
|
275
|
+
# A structure that contains file access protocol details.
|
276
|
+
# @attr [IControl::ARX::ProtocolType] type The protocol's type (CIFS or NFS).
|
277
|
+
# @attr [IControl::ARX::ProtocolVersion] version The protocol's version (only for NFS).
|
278
|
+
class ProtocolDefinition < IControl::Base::Struct
|
279
|
+
icontrol_attribute :type, IControl::ARX::ProtocolType
|
280
|
+
icontrol_attribute :version, IControl::ARX::ProtocolVersion
|
281
|
+
end
|
282
|
+
|
283
|
+
##
|
284
|
+
# A structure that contains share details.
|
285
|
+
# @attr [String] name The share name.
|
286
|
+
# @attr [String] namespace The name of the namespace that contains the volume this share is a part of.
|
287
|
+
# @attr [String] volume The name of the volume that this share is a part of.
|
288
|
+
# @attr [String] nfs_path The share's NFS export path.
|
289
|
+
# @attr [String] cifs_share The share's CIFS share name.
|
290
|
+
# @attr [String] ip The IP address of the file server that hosts this share.
|
291
|
+
# @attr [Numeric] total_space Total space on the share.
|
292
|
+
# @attr [Numeric] free_space Free space on the share.
|
293
|
+
# @attr [Numeric] transitions Number of times this share has transitioned to the Active state.
|
294
|
+
# @attr [Numeric] last_transition The last time this share transitioned to the Active state.
|
295
|
+
# @attr [IControl::ARX::ARXStatusType] status The status of the share.
|
296
|
+
class ShareDefinition < IControl::Base::Struct
|
297
|
+
icontrol_attribute :name, String
|
298
|
+
icontrol_attribute :namespace, String
|
299
|
+
icontrol_attribute :volume, String
|
300
|
+
icontrol_attribute :nfs_path, String
|
301
|
+
icontrol_attribute :cifs_share, String
|
302
|
+
icontrol_attribute :ip, String
|
303
|
+
icontrol_attribute :total_space, Numeric
|
304
|
+
icontrol_attribute :free_space, Numeric
|
305
|
+
icontrol_attribute :transitions, Numeric
|
306
|
+
icontrol_attribute :last_transition, Numeric
|
307
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
308
|
+
end
|
309
|
+
|
310
|
+
##
|
311
|
+
# A structure that contains notification snapshot details.
|
312
|
+
# @attr [String] name The name of the snapshot.
|
313
|
+
# @attr [Numeric] create_time The creation time of the snapshot.
|
314
|
+
# @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 :///}
|
316
|
+
class SnapshotDefinition < IControl::Base::Struct
|
317
|
+
icontrol_attribute :name, String
|
318
|
+
icontrol_attribute :create_time, Numeric
|
319
|
+
icontrol_attribute :volume_path, String
|
320
|
+
icontrol_attribute :backend_paths, String
|
321
|
+
end
|
322
|
+
|
323
|
+
##
|
324
|
+
# A structure that contains the details of a storage subsystem's status for a chassis.
|
325
|
+
# @attr [String] name The name of the storage subsystem.
|
326
|
+
# @attr [Numeric] total_space Total space on the storage subsystem in bytes.
|
327
|
+
# @attr [Numeric] used_space Used space on the storage subsystem in bytes.
|
328
|
+
# @attr [Numeric] free_space Available free space on the storage subsystem in bytes.
|
329
|
+
class StorageStatus < IControl::Base::Struct
|
330
|
+
icontrol_attribute :name, String
|
331
|
+
icontrol_attribute :total_space, Numeric
|
332
|
+
icontrol_attribute :used_space, Numeric
|
333
|
+
icontrol_attribute :free_space, Numeric
|
334
|
+
end
|
335
|
+
|
336
|
+
##
|
337
|
+
# A structure that contains virtual service details.
|
338
|
+
# @attr [String] name The name of the virtual service.
|
339
|
+
# @attr [String] cifs_namespace The name of the CIFS namespace.
|
340
|
+
# @attr [String] nfs_namespace The name of the NFS namespace.
|
341
|
+
# @attr [String] ip The IP address of the virtual service.
|
342
|
+
# @attr [String] netmask The netmask of the virtual service.
|
343
|
+
# @attr [Numeric] vlan The VLAN of the virtual service.
|
344
|
+
# @attr [String] win_domain The Windows domain name.
|
345
|
+
# @attr [String] pre_win2k_domain The pre-Windows 2000 domain name.
|
346
|
+
# @attr [Numeric] export_count Export count.
|
347
|
+
# @attr [IControl::ARX::ARXStatusType] status Service Status.
|
348
|
+
# @attr [IControl::ARX::ARXStatusType] nfs_status NFS Service Status.
|
349
|
+
# @attr [IControl::ARX::ARXStatusType] cifs_status CIFS Service Status.
|
350
|
+
class VirtualServiceDefinition < IControl::Base::Struct
|
351
|
+
icontrol_attribute :name, String
|
352
|
+
icontrol_attribute :cifs_namespace, String
|
353
|
+
icontrol_attribute :nfs_namespace, String
|
354
|
+
icontrol_attribute :ip, String
|
355
|
+
icontrol_attribute :netmask, String
|
356
|
+
icontrol_attribute :vlan, Numeric
|
357
|
+
icontrol_attribute :win_domain, String
|
358
|
+
icontrol_attribute :pre_win2k_domain, String
|
359
|
+
icontrol_attribute :export_count, Numeric
|
360
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
361
|
+
icontrol_attribute :nfs_status, IControl::ARX::ARXStatusType
|
362
|
+
icontrol_attribute :cifs_status, IControl::ARX::ARXStatusType
|
363
|
+
end
|
364
|
+
|
365
|
+
##
|
366
|
+
# A structure that contains the statistics of a particular virtual service.
|
367
|
+
# @attr [String] name The name of the virtual service.
|
368
|
+
# @attr [Numeric] tx_octets The number of bytes transmitted.
|
369
|
+
# @attr [Numeric] tx_unicast The number of unicast packets transmitted.
|
370
|
+
# @attr [Numeric] tx_nonunicast The number of nonunicast packets transmitted.
|
371
|
+
# @attr [Numeric] tx_dropped The number of transmit packets dropped.
|
372
|
+
# @attr [Numeric] rx_octets The number of bytes received.
|
373
|
+
# @attr [Numeric] rx_unicast The number of unicast packets received.
|
374
|
+
# @attr [Numeric] rx_nonunicast The number of nonunicast packets received.
|
375
|
+
# @attr [Numeric] rx_dropped The number of receive packets dropped.
|
376
|
+
class VirtualServiceStats < IControl::Base::Struct
|
377
|
+
icontrol_attribute :name, String
|
378
|
+
icontrol_attribute :tx_octets, Numeric
|
379
|
+
icontrol_attribute :tx_unicast, Numeric
|
380
|
+
icontrol_attribute :tx_nonunicast, Numeric
|
381
|
+
icontrol_attribute :tx_dropped, Numeric
|
382
|
+
icontrol_attribute :rx_octets, Numeric
|
383
|
+
icontrol_attribute :rx_unicast, Numeric
|
384
|
+
icontrol_attribute :rx_nonunicast, Numeric
|
385
|
+
icontrol_attribute :rx_dropped, Numeric
|
386
|
+
end
|
387
|
+
|
388
|
+
##
|
389
|
+
# A structure that contains the details of a volume.
|
390
|
+
# @attr [String] name The path that represents the name of the volume.
|
391
|
+
# @attr [IControl::ARX::VolumeType] type The volume type.
|
392
|
+
# @attr [String] namespace The namespace name that contains the volume.
|
393
|
+
# @attr [String] description The volume description.
|
394
|
+
# @attr [Numeric] vpu The Virtual Processor Unit that hosts the volume.
|
395
|
+
# @attr [Numeric] failure_domain The volume's Failure domain.
|
396
|
+
# @attr [Numeric] total_space Total space on the volume.
|
397
|
+
# @attr [Numeric] free_space Free space available on the volume.
|
398
|
+
# @attr [Numeric] file_count Total number of files on the volume.
|
399
|
+
# @attr [Numeric] file_max_free Maximum number of file credits on the volume.
|
400
|
+
# @attr [Numeric] file_max_reserve Maximum number of reserved file credits for the volume.
|
401
|
+
# @attr [Numeric] dir_count Total number of directories in the volume.
|
402
|
+
# @attr [Numeric] share_count The number of shares in the volume.
|
403
|
+
# @attr [IControl::ARX::ARXStatusType] status The status of the volume.
|
404
|
+
class VolumeDefinition < IControl::Base::Struct
|
405
|
+
icontrol_attribute :name, String
|
406
|
+
icontrol_attribute :type, IControl::ARX::VolumeType
|
407
|
+
icontrol_attribute :namespace, String
|
408
|
+
icontrol_attribute :description, String
|
409
|
+
icontrol_attribute :vpu, Numeric
|
410
|
+
icontrol_attribute :failure_domain, Numeric
|
411
|
+
icontrol_attribute :total_space, Numeric
|
412
|
+
icontrol_attribute :free_space, Numeric
|
413
|
+
icontrol_attribute :file_count, Numeric
|
414
|
+
icontrol_attribute :file_max_free, Numeric
|
415
|
+
icontrol_attribute :file_max_reserve, Numeric
|
416
|
+
icontrol_attribute :dir_count, Numeric
|
417
|
+
icontrol_attribute :share_count, Numeric
|
418
|
+
icontrol_attribute :status, IControl::ARX::ARXStatusType
|
419
|
+
end
|
420
|
+
|
421
|
+
|
422
|
+
## A sequence of ARXStatusType values.
|
423
|
+
class ARXStatusTypeSequence < IControl::Base::Sequence ; end
|
424
|
+
|
425
|
+
## A sequence of ExportDefinition values.
|
426
|
+
class ExportDefinitionSequence < IControl::Base::Sequence ; end
|
427
|
+
|
428
|
+
## A sequence of FileChangeDefinition values.
|
429
|
+
class FileChangeDefinitionSequence < IControl::Base::Sequence ; end
|
430
|
+
|
431
|
+
## A sequence of FileChangeResponse values.
|
432
|
+
class FileChangeResponseSequence < IControl::Base::Sequence ; end
|
433
|
+
|
434
|
+
## A sequence of FileChangeType values.
|
435
|
+
class FileChangeTypeSequence < IControl::Base::Sequence ; end
|
436
|
+
|
437
|
+
## A sequence of FileServerDefinition values.
|
438
|
+
class FileServerDefinitionSequence < IControl::Base::Sequence ; end
|
439
|
+
|
440
|
+
## A sequence of FileServerType values.
|
441
|
+
class FileServerTypeSequence < IControl::Base::Sequence ; end
|
442
|
+
|
443
|
+
## A sequence of HARoleType values.
|
444
|
+
class HARoleTypeSequence < IControl::Base::Sequence ; end
|
445
|
+
|
446
|
+
## A sequence of HAStatus values.
|
447
|
+
class HAStatusSequence < IControl::Base::Sequence ; end
|
448
|
+
|
449
|
+
## A sequence of HealthDefinition values.
|
450
|
+
class HealthDefinitionSequence < IControl::Base::Sequence ; end
|
451
|
+
|
452
|
+
## A sequence of NamespaceDefinition values.
|
453
|
+
class NamespaceDefinitionSequence < IControl::Base::Sequence ; end
|
454
|
+
|
455
|
+
## A sequence of NetworkDefinition values.
|
456
|
+
class NetworkDefinitionSequence < IControl::Base::Sequence ; end
|
457
|
+
|
458
|
+
## A sequence of NetworkStats values.
|
459
|
+
class NetworkStatsSequence < IControl::Base::Sequence ; end
|
460
|
+
|
461
|
+
## A sequence of PolicyDefinition values.
|
462
|
+
class PolicyDefinitionSequence < IControl::Base::Sequence ; end
|
463
|
+
|
464
|
+
## A sequence of PolicyScheduleIntervalType values.
|
465
|
+
class PolicyScheduleIntervalTypeSequence < IControl::Base::Sequence ; end
|
466
|
+
|
467
|
+
## A sequence of PolicySchedule values.
|
468
|
+
class PolicyScheduleSequence < IControl::Base::Sequence ; end
|
469
|
+
|
470
|
+
## A sequence of PolicyType values.
|
471
|
+
class PolicyTypeSequence < IControl::Base::Sequence ; end
|
472
|
+
|
473
|
+
## A sequence of ProcessorStats values.
|
474
|
+
class ProcessorStatsSequence < IControl::Base::Sequence ; end
|
475
|
+
|
476
|
+
## A sequence of ProtocolDefinition values.
|
477
|
+
class ProtocolDefinitionSequence < IControl::Base::Sequence ; end
|
478
|
+
|
479
|
+
## A sequence of ProtocolType values.
|
480
|
+
class ProtocolTypeSequence < IControl::Base::Sequence ; end
|
481
|
+
|
482
|
+
## A sequence of ProtocolVersion values.
|
483
|
+
class ProtocolVersionSequence < IControl::Base::Sequence ; end
|
484
|
+
|
485
|
+
## A sequence of ShareDefinition values.
|
486
|
+
class ShareDefinitionSequence < IControl::Base::Sequence ; end
|
487
|
+
|
488
|
+
## A sequence of SnapshotDefinition values.
|
489
|
+
class SnapshotDefinitionSequence < IControl::Base::Sequence ; end
|
490
|
+
|
491
|
+
## A sequence of StorageStatus values.
|
492
|
+
class StorageStatusSequence < IControl::Base::Sequence ; end
|
493
|
+
|
494
|
+
## A sequence of VirtualServiceDefinition values.
|
495
|
+
class VirtualServiceDefinitionSequence < IControl::Base::Sequence ; end
|
496
|
+
|
497
|
+
## A sequence of VirtualServiceStats values.
|
498
|
+
class VirtualServiceStatsSequence < IControl::Base::Sequence ; end
|
499
|
+
|
500
|
+
## A sequence of VolumeDefinition values.
|
501
|
+
class VolumeDefinitionSequence < IControl::Base::Sequence ; end
|
502
|
+
|
503
|
+
## A sequence of VolumeType values.
|
504
|
+
class VolumeTypeSequence < IControl::Base::Sequence ; end
|
505
|
+
|
506
|
+
# The ARXStatusType class defines the status types that can be returned by methods that return the status of an object or module.
|
507
|
+
class ARXStatusType < IControl::Base::Enumeration
|
508
|
+
# The status cannot be determined.
|
509
|
+
ARX_UNKNOWN = :ARX_UNKNOWN
|
510
|
+
# The object is configured but administratively disabled. This state may also occur if an object has sub-objects that have their own status and all of the sub-objects are either disabled or not currently operational.
|
511
|
+
ARX_DISABLED = :ARX_DISABLED
|
512
|
+
# The object and all sub-objects are enabled and fully operational.
|
513
|
+
ARX_ONLINE = :ARX_ONLINE
|
514
|
+
# At least one sub-object is either disabled or not currently operational.
|
515
|
+
ARX_DEGRADED = :ARX_DEGRADED
|
516
|
+
# The object is administratively enabled but not currently operational.
|
517
|
+
ARX_OFFLINE = :ARX_OFFLINE
|
518
|
+
# The object is not operational due to component failures that require manual intervention.
|
519
|
+
ARX_FAILED = :ARX_FAILED
|
520
|
+
# The object is not fully configured.
|
521
|
+
ARX_UNINITIALIZED = :ARX_UNINITIALIZED
|
522
|
+
# The operation has been scheduled to start but has not yet started.
|
523
|
+
ARX_PENDING = :ARX_PENDING
|
524
|
+
# The operation is currently starting.
|
525
|
+
ARX_STARTING = :ARX_STARTING
|
526
|
+
# Starting the operation has failed.
|
527
|
+
ARX_STARTING_FAILED = :ARX_STARTING_FAILED
|
528
|
+
# The operation is currently stopping.
|
529
|
+
ARX_STOPPING = :ARX_STOPPING
|
530
|
+
# Stopping the operation has failed.
|
531
|
+
ARX_STOPPING_FAILED = :ARX_STOPPING_FAILED
|
532
|
+
# The object is ready, but not currently in use.
|
533
|
+
ARX_STANDBY = :ARX_STANDBY
|
534
|
+
# The object perational but has been administratively suspended.
|
535
|
+
ARX_SUSPENDED = :ARX_SUSPENDED
|
536
|
+
# The volume is currently migrating files.
|
537
|
+
ARX_MIGRATING = :ARX_MIGRATING
|
538
|
+
end
|
539
|
+
|
540
|
+
|
541
|
+
# Possible File Change Types.
|
542
|
+
class FileChangeType < IControl::Base::Enumeration
|
543
|
+
# The file may have been changed, and the change is not one of FileChangeType ::FILECHANGE_FILE_RENAME, FileChangeType ::FILECHANGE_FILE_DELETE or FileChangeType ::FILECHANGE_FILE_NEW.
|
544
|
+
FILECHANGE_FILE_OTHER = :FILECHANGE_FILE_OTHER
|
545
|
+
# The directory may have been changed, and the change is not one of FileChangeType ::FILECHANGE_DIR_RENAME, FileChangeType ::FILECHANGE_DIR_DELETE or FileChangeType ::FILECHANGE_DIR_NEW.
|
546
|
+
FILECHANGE_DIR_OTHER = :FILECHANGE_DIR_OTHER
|
547
|
+
# The file has been renamed.
|
548
|
+
FILECHANGE_FILE_RENAME = :FILECHANGE_FILE_RENAME
|
549
|
+
# The directory has been renamed.
|
550
|
+
FILECHANGE_DIR_RENAME = :FILECHANGE_DIR_RENAME
|
551
|
+
# The file has been deleted.
|
552
|
+
FILECHANGE_FILE_DELETE = :FILECHANGE_FILE_DELETE
|
553
|
+
# The directory has been deleted.
|
554
|
+
FILECHANGE_DIR_DELETE = :FILECHANGE_DIR_DELETE
|
555
|
+
# The file has been created.
|
556
|
+
FILECHANGE_FILE_NEW = :FILECHANGE_FILE_NEW
|
557
|
+
# The directory has been created.
|
558
|
+
FILECHANGE_DIR_NEW = :FILECHANGE_DIR_NEW
|
559
|
+
end
|
560
|
+
|
561
|
+
|
562
|
+
# Possible File Server Types.
|
563
|
+
class FileServerType < IControl::Base::Enumeration
|
564
|
+
# Unknown file server type.
|
565
|
+
FILESERVER_UNKNOWN = :FILESERVER_UNKNOWN
|
566
|
+
# Network Appliance file server type.
|
567
|
+
FILESERVER_NETAPP = :FILESERVER_NETAPP
|
568
|
+
# EMC file server type.
|
569
|
+
FILESERVER_EMC = :FILESERVER_EMC
|
570
|
+
# BlueArc file server type.
|
571
|
+
FILESERVER_BLUEARC = :FILESERVER_BLUEARC
|
572
|
+
# Microsoft Windows file server type.
|
573
|
+
FILESERVER_WINDOWS = :FILESERVER_WINDOWS
|
574
|
+
# Data Domain file server type.
|
575
|
+
FILESERVER_DATADOMAIN = :FILESERVER_DATADOMAIN
|
576
|
+
end
|
577
|
+
|
578
|
+
|
579
|
+
# The possible HA Roles of a chassis.
|
580
|
+
class HARoleType < IControl::Base::Enumeration
|
581
|
+
# This ARX is not part of an HA cluster.
|
582
|
+
ROLE_NONE = :ROLE_NONE
|
583
|
+
# This ARX is acting as the active/primary peer in the HA pair.
|
584
|
+
ROLE_ACTIVE = :ROLE_ACTIVE
|
585
|
+
# This ARX is acting as the backup/secondary peer in the HA pair.
|
586
|
+
ROLE_BACKUP = :ROLE_BACKUP
|
587
|
+
end
|
588
|
+
|
589
|
+
|
590
|
+
# Enumeration of policy schedule interval types.
|
591
|
+
class PolicyScheduleIntervalType < IControl::Base::Enumeration
|
592
|
+
# Minute Intervals.
|
593
|
+
POLICY_SCHEDULE_INTERVAL_MINUTES = :POLICY_SCHEDULE_INTERVAL_MINUTES
|
594
|
+
# Hourly Intervals.
|
595
|
+
POLICY_SCHEDULE_INTERVAL_HOURS = :POLICY_SCHEDULE_INTERVAL_HOURS
|
596
|
+
# Daily Intervals.
|
597
|
+
POLICY_SCHEDULE_INTERVAL_DAYS = :POLICY_SCHEDULE_INTERVAL_DAYS
|
598
|
+
# Weekly Intervals.
|
599
|
+
POLICY_SCHEDULE_INTERVAL_WEEKS = :POLICY_SCHEDULE_INTERVAL_WEEKS
|
600
|
+
# Monthly Intervals.
|
601
|
+
POLICY_SCHEDULE_INTERVAL_MONTHS = :POLICY_SCHEDULE_INTERVAL_MONTHS
|
602
|
+
# Quarterly Intervals.
|
603
|
+
POLICY_SCHEDULE_INTERVAL_QUARTERS = :POLICY_SCHEDULE_INTERVAL_QUARTERS
|
604
|
+
# Yearly Intervals.
|
605
|
+
POLICY_SCHEDULE_INTERVAL_YEARS = :POLICY_SCHEDULE_INTERVAL_YEARS
|
606
|
+
end
|
607
|
+
|
608
|
+
|
609
|
+
# Enumeration of policy types.
|
610
|
+
class PolicyType < IControl::Base::Enumeration
|
611
|
+
# File placement policy rule.
|
612
|
+
POLICY_PLACERULE = :POLICY_PLACERULE
|
613
|
+
# Shadow copy policy rule.
|
614
|
+
POLICY_SHADOWCOPY = :POLICY_SHADOWCOPY
|
615
|
+
# Snapshot policy rule.
|
616
|
+
POLICY_SNAPSHOT = :POLICY_SNAPSHOT
|
617
|
+
# Notification policy rule.
|
618
|
+
POLICY_NOTIFICATION = :POLICY_NOTIFICATION
|
619
|
+
# Replica snapshot policy rule.
|
620
|
+
POLICY_REPLICA_SNAPSHOT = :POLICY_REPLICA_SNAPSHOT
|
621
|
+
end
|
622
|
+
|
623
|
+
|
624
|
+
# A structure that enumerates supported file access protocol types.
|
625
|
+
class ProtocolType < IControl::Base::Enumeration
|
626
|
+
# The Common Internet File System (CIFS) protocol.
|
627
|
+
PROTOCOL_CIFS = :PROTOCOL_CIFS
|
628
|
+
# The Network File System (NFS) protocol.
|
629
|
+
PROTOCOL_NFS = :PROTOCOL_NFS
|
630
|
+
end
|
631
|
+
|
632
|
+
|
633
|
+
# A structure that enumerates supported file access protocol versions.
|
634
|
+
class ProtocolVersion < IControl::Base::Enumeration
|
635
|
+
# Version Not Applicable.
|
636
|
+
PROTOCOL_VERSION_NA = :PROTOCOL_VERSION_NA
|
637
|
+
# NFS Version 2
|
638
|
+
PROTOCOL_VERSION_NFSV2 = :PROTOCOL_VERSION_NFSV2
|
639
|
+
# NFS Version 3 UDP.
|
640
|
+
PROTOCOL_VERSION_NFSV3UDP = :PROTOCOL_VERSION_NFSV3UDP
|
641
|
+
# NFS Version 3 TCP.
|
642
|
+
PROTOCOL_VERSION_NFSV3TCP = :PROTOCOL_VERSION_NFSV3TCP
|
643
|
+
end
|
644
|
+
|
645
|
+
|
646
|
+
# Enumeration of ARX volume types.
|
647
|
+
class VolumeType < IControl::Base::Enumeration
|
648
|
+
# Presentation Volume.
|
649
|
+
PRESENTATION_VOLUME = :PRESENTATION_VOLUME
|
650
|
+
# Managed Volume.
|
651
|
+
MANAGED_VOLUME = :MANAGED_VOLUME
|
652
|
+
end
|
653
|
+
|
654
|
+
|
655
|
+
end
|
656
|
+
require "arx/api"
|
657
|
+
require "arx/chassis"
|
658
|
+
require "arx/export"
|
659
|
+
require "arx/file_change_notification"
|
660
|
+
require "arx/file_server"
|
661
|
+
require "arx/namespace"
|
662
|
+
require "arx/network"
|
663
|
+
require "arx/policy"
|
664
|
+
require "arx/share"
|
665
|
+
require "arx/virtual_service"
|
666
|
+
require "arx/volume"
|