icontrol 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/icontrol/arx.rb +38 -8
- data/lib/icontrol/arx/api.rb +1 -0
- data/lib/icontrol/arx/chassis.rb +11 -0
- data/lib/icontrol/arx/export.rb +4 -1
- data/lib/icontrol/arx/file_change_notification.rb +25 -4
- data/lib/icontrol/arx/file_server.rb +2 -0
- data/lib/icontrol/arx/namespace.rb +2 -0
- data/lib/icontrol/arx/network.rb +3 -0
- data/lib/icontrol/arx/policy.rb +3 -0
- data/lib/icontrol/arx/share.rb +2 -0
- data/lib/icontrol/arx/virtual_service.rb +3 -0
- data/lib/icontrol/arx/volume.rb +2 -0
- data/lib/icontrol/asm.rb +18 -3
- data/lib/icontrol/asm/object_params.rb +12 -6
- data/lib/icontrol/asm/policy.rb +118 -79
- data/lib/icontrol/asm/system_configuration.rb +27 -19
- data/lib/icontrol/asm/web_application.rb +74 -52
- data/lib/icontrol/asm/web_application_group.rb +33 -24
- data/lib/icontrol/base.rb +1 -0
- data/lib/icontrol/base/exception.rb +1 -0
- data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
- data/lib/icontrol/base/icontrol_overlay.rb +6 -0
- data/lib/icontrol/base/predeclarations.rb +5 -4
- data/lib/icontrol/base/struct.rb +6 -2
- data/lib/icontrol/common.rb +55 -4
- data/lib/icontrol/global_lb.rb +22 -3
- data/lib/icontrol/global_lb/application.rb +63 -44
- data/lib/icontrol/global_lb/data_center.rb +82 -58
- data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
- data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
- data/lib/icontrol/global_lb/globals.rb +662 -430
- data/lib/icontrol/global_lb/link.rb +181 -131
- data/lib/icontrol/global_lb/monitor.rb +174 -104
- data/lib/icontrol/global_lb/pool.rb +290 -203
- data/lib/icontrol/global_lb/pool_member.rb +118 -71
- data/lib/icontrol/global_lb/region.rb +37 -25
- data/lib/icontrol/global_lb/rule.rb +53 -37
- data/lib/icontrol/global_lb/server.rb +176 -124
- data/lib/icontrol/global_lb/topology.rb +41 -27
- data/lib/icontrol/global_lb/virtual_server.rb +118 -84
- data/lib/icontrol/global_lb/wide_ip.rb +168 -117
- data/lib/icontrol/local_lb.rb +81 -10
- data/lib/icontrol/local_lb/klass.rb +233 -153
- data/lib/icontrol/local_lb/monitor.rb +158 -96
- data/lib/icontrol/local_lb/nat.rb +74 -52
- data/lib/icontrol/local_lb/node_address.rb +123 -86
- data/lib/icontrol/local_lb/pool.rb +229 -164
- data/lib/icontrol/local_lb/pool_member.rb +134 -76
- data/lib/icontrol/local_lb/profile_auth.rb +103 -75
- data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
- data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
- data/lib/icontrol/local_lb/profile_dns.rb +65 -46
- data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
- data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
- data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
- data/lib/icontrol/local_lb/profile_http.rb +701 -433
- data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
- data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
- data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
- data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
- data/lib/icontrol/local_lb/profile_radius.rb +94 -62
- data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
- data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
- data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
- data/lib/icontrol/local_lb/profile_sip.rb +145 -99
- data/lib/icontrol/local_lb/profile_stream.rb +71 -51
- data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
- data/lib/icontrol/local_lb/profile_udp.rb +109 -78
- data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
- data/lib/icontrol/local_lb/profile_xml.rb +116 -79
- data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
- data/lib/icontrol/local_lb/rate_class.rb +523 -318
- data/lib/icontrol/local_lb/rule.rb +53 -37
- data/lib/icontrol/local_lb/snat.rb +96 -65
- data/lib/icontrol/local_lb/snat_pool.rb +54 -39
- data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
- data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
- data/lib/icontrol/local_lb/virtual_address.rb +99 -70
- data/lib/icontrol/local_lb/virtual_server.rb +358 -243
- data/lib/icontrol/lt_config.rb +8 -1
- data/lib/icontrol/lt_config/field.rb +87 -53
- data/lib/icontrol/lt_config/klass.rb +59 -43
- data/lib/icontrol/management.rb +80 -38
- data/lib/icontrol/management/ccldap_configuration.rb +218 -144
- data/lib/icontrol/management/change_control.rb +67 -41
- data/lib/icontrol/management/crldp_configuration.rb +73 -52
- data/lib/icontrol/management/crldp_server.rb +55 -39
- data/lib/icontrol/management/db_variable.rb +32 -21
- data/lib/icontrol/management/event_notification.rb +19 -8
- data/lib/icontrol/management/event_subscription.rb +121 -74
- data/lib/icontrol/management/key_certificate.rb +235 -138
- data/lib/icontrol/management/ldap_configuration.rb +249 -179
- data/lib/icontrol/management/license_administration.rb +97 -56
- data/lib/icontrol/management/named.rb +103 -67
- data/lib/icontrol/management/ocsp_configuration.rb +33 -24
- data/lib/icontrol/management/ocsp_responder.rb +294 -165
- data/lib/icontrol/management/partition.rb +42 -23
- data/lib/icontrol/management/provision.rb +73 -39
- data/lib/icontrol/management/radius_configuration.rb +85 -57
- data/lib/icontrol/management/radius_server.rb +51 -37
- data/lib/icontrol/management/resource_record.rb +163 -121
- data/lib/icontrol/management/snmp_configuration.rb +675 -390
- data/lib/icontrol/management/tacacs_configuration.rb +99 -67
- data/lib/icontrol/management/tmos_module.rb +20 -8
- data/lib/icontrol/management/user_management.rb +198 -124
- data/lib/icontrol/management/view.rb +33 -24
- data/lib/icontrol/management/zone.rb +49 -34
- data/lib/icontrol/management/zone_runner.rb +11 -7
- data/lib/icontrol/networking.rb +31 -4
- data/lib/icontrol/networking/admin_ip.rb +92 -71
- data/lib/icontrol/networking/arp.rb +41 -28
- data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
- data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
- data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
- data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
- data/lib/icontrol/networking/interfaces.rb +241 -142
- data/lib/icontrol/networking/packet_filter.rb +111 -69
- data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
- data/lib/icontrol/networking/port_mirror.rb +39 -27
- data/lib/icontrol/networking/profile_gre.rb +63 -41
- data/lib/icontrol/networking/profile_ipip.rb +38 -25
- data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
- data/lib/icontrol/networking/route_domain.rb +70 -44
- data/lib/icontrol/networking/route_table.rb +128 -91
- data/lib/icontrol/networking/self_ip.rb +57 -39
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
- data/lib/icontrol/networking/stp_globals.rb +115 -63
- data/lib/icontrol/networking/stp_instance.rb +166 -68
- data/lib/icontrol/networking/trunk.rb +165 -101
- data/lib/icontrol/networking/tunnel.rb +77 -52
- data/lib/icontrol/networking/vlan.rb +140 -98
- data/lib/icontrol/networking/vlan_group.rb +145 -101
- data/lib/icontrol/system.rb +70 -33
- data/lib/icontrol/system/cluster.rb +103 -81
- data/lib/icontrol/system/config_sync.rb +128 -72
- data/lib/icontrol/system/connections.rb +27 -17
- data/lib/icontrol/system/disk.rb +134 -67
- data/lib/icontrol/system/failover.rb +44 -27
- data/lib/icontrol/system/geo_ip.rb +16 -5
- data/lib/icontrol/system/inet.rb +47 -30
- data/lib/icontrol/system/internal.rb +13 -9
- data/lib/icontrol/system/services.rb +75 -42
- data/lib/icontrol/system/software_management.rb +132 -83
- data/lib/icontrol/system/statistics.rb +443 -298
- data/lib/icontrol/system/system_info.rb +137 -95
- data/lib/icontrol/web_accelerator/applications.rb +17 -10
- data/lib/icontrol/web_accelerator/policies.rb +13 -9
- data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
- data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
- data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
- metadata +10 -4
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
module IControl::Networking
|
|
2
2
|
##
|
|
3
|
-
# The VLANGroup interface enables you to work with the definitions and attributes contained
|
|
3
|
+
# The VLANGroup interface enables you to work with the definitions and attributes contained
|
|
4
|
+
# in a device's VLAN group.
|
|
4
5
|
class VLANGroup < IControl::Base
|
|
5
6
|
|
|
6
7
|
set_id_name "vlan_groups"
|
|
7
8
|
|
|
9
|
+
class VLANGroupTransparencySequence < IControl::Base::Sequence ; end
|
|
8
10
|
# A list of possible transparency values for VLAN groups.
|
|
9
11
|
class VLANGroupTransparency < IControl::Base::Enumeration; end ##
|
|
10
|
-
# Adds this IP addresses to the global proxy ARP exclusion list that applies to all
|
|
11
|
-
#
|
|
12
|
-
# @
|
|
13
|
-
# @raise [IControl::Common::
|
|
12
|
+
# Adds this IP addresses to the global proxy ARP exclusion list that applies to all
|
|
13
|
+
# VLAN groups.
|
|
14
|
+
# @rspec_example
|
|
15
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
16
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
17
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
14
18
|
# @param [Hash] opts
|
|
15
19
|
# @option opts [String] :addresses The lists of IP addresses.
|
|
16
20
|
def add_global_proxy_exclusion(opts)
|
|
@@ -20,9 +24,10 @@ module IControl::Networking
|
|
|
20
24
|
|
|
21
25
|
##
|
|
22
26
|
# Adds this children VLANs to this VLAN groups.
|
|
23
|
-
# @
|
|
24
|
-
# @raise [IControl::Common::
|
|
25
|
-
# @raise [IControl::Common::
|
|
27
|
+
# @rspec_example
|
|
28
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
29
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
30
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
26
31
|
# @param [Hash] opts
|
|
27
32
|
# @option opts [String[]] :member_vlans The lists of child VLANs .
|
|
28
33
|
def add_member(opts)
|
|
@@ -32,9 +37,10 @@ module IControl::Networking
|
|
|
32
37
|
|
|
33
38
|
##
|
|
34
39
|
# Adds this IP addresses to the proxy ARP exclusion lists of this VLAN groups.
|
|
35
|
-
# @
|
|
36
|
-
# @raise [IControl::Common::
|
|
37
|
-
# @raise [IControl::Common::
|
|
40
|
+
# @rspec_example
|
|
41
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
42
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
43
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
38
44
|
# @param [Hash] opts
|
|
39
45
|
# @option opts [String[]] :addresses The lists of IP addresses.
|
|
40
46
|
def add_proxy_exclusion(opts)
|
|
@@ -44,9 +50,10 @@ module IControl::Networking
|
|
|
44
50
|
|
|
45
51
|
##
|
|
46
52
|
# This method has been deprecated; please use create_v2 instead. Creates a VLAN group.
|
|
47
|
-
# @
|
|
48
|
-
# @raise [IControl::Common::
|
|
49
|
-
# @raise [IControl::Common::
|
|
53
|
+
# @rspec_example
|
|
54
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
55
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
56
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
50
57
|
# @param [Hash] opts
|
|
51
58
|
# @option opts [long] :vlan_ids The VLAN tag numbers or IDs (valid range is 1-4095).
|
|
52
59
|
# @option opts [String[]] :member_vlans The lists of member VLANs .
|
|
@@ -57,9 +64,10 @@ module IControl::Networking
|
|
|
57
64
|
|
|
58
65
|
##
|
|
59
66
|
# Creates a VLAN group.
|
|
60
|
-
# @
|
|
61
|
-
# @raise [IControl::Common::
|
|
62
|
-
# @raise [IControl::Common::
|
|
67
|
+
# @rspec_example
|
|
68
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
69
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
70
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
63
71
|
# @param [Hash] opts
|
|
64
72
|
# @option opts [String[]] :member_vlans The lists of member VLANs .
|
|
65
73
|
def create_v2(opts)
|
|
@@ -69,171 +77,195 @@ module IControl::Networking
|
|
|
69
77
|
|
|
70
78
|
##
|
|
71
79
|
# Deletes all VLAN groups.
|
|
72
|
-
# @
|
|
73
|
-
# @raise [IControl::Common::
|
|
74
|
-
# @raise [IControl::Common::
|
|
80
|
+
# @rspec_example
|
|
81
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
82
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
83
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
75
84
|
def delete_all_vlan_groups
|
|
76
85
|
super
|
|
77
86
|
end
|
|
78
87
|
|
|
79
88
|
##
|
|
80
89
|
# Deletes this VLAN groups.
|
|
81
|
-
# @
|
|
82
|
-
# @raise [IControl::Common::
|
|
83
|
-
# @raise [IControl::Common::
|
|
90
|
+
# @rspec_example
|
|
91
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
92
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
93
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
84
94
|
def delete_vlan_group
|
|
85
95
|
super
|
|
86
96
|
end
|
|
87
97
|
|
|
88
98
|
##
|
|
89
|
-
# Gets the states to indicate whether to bridge non-IP traffic as well as IP traffic
|
|
99
|
+
# Gets the states to indicate whether to bridge non-IP traffic as well as IP traffic
|
|
100
|
+
# for this VLAN groups.
|
|
101
|
+
# @rspec_example
|
|
90
102
|
# @return [EnabledState]
|
|
91
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
92
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
93
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
103
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
104
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
105
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
94
106
|
def bridge_all_traffic_state
|
|
95
107
|
super
|
|
96
108
|
end
|
|
97
109
|
|
|
98
110
|
##
|
|
99
|
-
# Gets the states to indicate whether to bridge while unit is in standby mode for this
|
|
111
|
+
# Gets the states to indicate whether to bridge while unit is in standby mode for this
|
|
112
|
+
# VLAN groups.
|
|
113
|
+
# @rspec_example
|
|
100
114
|
# @return [EnabledState]
|
|
101
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
102
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
103
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
115
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
116
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
117
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
104
118
|
def bridge_in_standby_state
|
|
105
119
|
super
|
|
106
120
|
end
|
|
107
121
|
|
|
108
122
|
##
|
|
109
|
-
# Gets the states to indicate whether to bridge multicast/broadcast traffic for this
|
|
123
|
+
# Gets the states to indicate whether to bridge multicast/broadcast traffic for this
|
|
124
|
+
# VLAN groups.
|
|
125
|
+
# @rspec_example
|
|
110
126
|
# @return [EnabledState]
|
|
111
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
112
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
113
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
127
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
128
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
129
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
114
130
|
def bridge_multicast_state
|
|
115
131
|
super
|
|
116
132
|
end
|
|
117
133
|
|
|
118
134
|
##
|
|
119
135
|
# Gets the global lists of IP addresses that proxy ARP will ignore for all VLAN groups.
|
|
136
|
+
# @rspec_example
|
|
120
137
|
# @return [String]
|
|
121
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
122
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
123
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
138
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
139
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
140
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
124
141
|
def global_proxy_exclusion
|
|
125
142
|
super
|
|
126
143
|
end
|
|
127
144
|
|
|
128
145
|
##
|
|
129
146
|
# Gets a list of all VLAN groups on this device.
|
|
147
|
+
# @rspec_example
|
|
130
148
|
# @return [String]
|
|
131
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
132
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
133
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
149
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
150
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
151
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
134
152
|
def list
|
|
135
153
|
super
|
|
136
154
|
end
|
|
137
155
|
|
|
138
156
|
##
|
|
139
157
|
# Gets the MAC masquerade addresses for this VLAN groups.
|
|
158
|
+
# @rspec_example
|
|
140
159
|
# @return [String]
|
|
141
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
142
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
143
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
160
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
161
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
162
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
144
163
|
def mac_masquerade_address
|
|
145
164
|
super
|
|
146
165
|
end
|
|
147
166
|
|
|
148
167
|
##
|
|
149
168
|
# Gets the lists of children VLANs of this VLAN groups.
|
|
169
|
+
# @rspec_example
|
|
150
170
|
# @return [String[]]
|
|
151
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
152
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
153
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
171
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
172
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
173
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
154
174
|
def member
|
|
155
175
|
super
|
|
156
176
|
end
|
|
157
177
|
|
|
158
178
|
##
|
|
159
179
|
# Gets the lists of IP addresses that proxy ARP will ignore for this VLAN groups.
|
|
180
|
+
# @rspec_example
|
|
160
181
|
# @return [String[]]
|
|
161
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
162
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
163
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
182
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
183
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
184
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
164
185
|
def proxy_exclusion
|
|
165
186
|
super
|
|
166
187
|
end
|
|
167
188
|
|
|
168
189
|
##
|
|
169
190
|
# Gets the transparency modes for this VLAN groups.
|
|
191
|
+
# @rspec_example
|
|
170
192
|
# @return [VLANGroupTransparency]
|
|
171
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
172
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
173
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
193
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
194
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
195
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
174
196
|
def transparency_mode
|
|
175
197
|
super
|
|
176
198
|
end
|
|
177
199
|
|
|
178
200
|
##
|
|
179
201
|
# Gets the true MAC addresses used by this VLAN groups.
|
|
202
|
+
# @rspec_example
|
|
180
203
|
# @return [String]
|
|
181
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
182
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
183
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
204
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
205
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
206
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
184
207
|
def true_mac_address
|
|
185
208
|
super
|
|
186
209
|
end
|
|
187
210
|
|
|
188
211
|
##
|
|
189
212
|
# Gets the version information for this interface.
|
|
213
|
+
# @rspec_example
|
|
190
214
|
# @return [String]
|
|
191
215
|
def version
|
|
192
216
|
super
|
|
193
217
|
end
|
|
194
218
|
|
|
195
219
|
##
|
|
196
|
-
# This method has been deprecated; accessing VLAN id for a VLAN group was unnecessary
|
|
220
|
+
# This method has been deprecated; accessing VLAN id for a VLAN group was unnecessary
|
|
221
|
+
# and misleading. The method now returns 0s. Please don't use in the future. Gets the
|
|
222
|
+
# ids for this VLAN groups.
|
|
223
|
+
# @rspec_example
|
|
197
224
|
# @return [long]
|
|
198
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
199
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
200
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
225
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
226
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
227
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
201
228
|
def vlan_id
|
|
202
229
|
super
|
|
203
230
|
end
|
|
204
231
|
|
|
205
232
|
##
|
|
206
233
|
# Removes all IP addresses from the global proxy ARP exclusion list for all VLAN groups.
|
|
207
|
-
# @
|
|
208
|
-
# @raise [IControl::Common::
|
|
209
|
-
# @raise [IControl::Common::
|
|
234
|
+
# @rspec_example
|
|
235
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
236
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
237
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
210
238
|
def remove_all_global_proxy_exclusions
|
|
211
239
|
super
|
|
212
240
|
end
|
|
213
241
|
|
|
214
242
|
##
|
|
215
243
|
# Removes all children VLANs from this VLAN groups.
|
|
216
|
-
# @
|
|
217
|
-
# @raise [IControl::Common::
|
|
218
|
-
# @raise [IControl::Common::
|
|
244
|
+
# @rspec_example
|
|
245
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
246
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
247
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
219
248
|
def remove_all_members
|
|
220
249
|
super
|
|
221
250
|
end
|
|
222
251
|
|
|
223
252
|
##
|
|
224
253
|
# Removes all IP addresses from the proxy ARP exclusion lists of this VLAN groups.
|
|
225
|
-
# @
|
|
226
|
-
# @raise [IControl::Common::
|
|
227
|
-
# @raise [IControl::Common::
|
|
254
|
+
# @rspec_example
|
|
255
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
256
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
257
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
228
258
|
def remove_all_proxy_exclusions
|
|
229
259
|
super
|
|
230
260
|
end
|
|
231
261
|
|
|
232
262
|
##
|
|
233
|
-
# Removes this IP addresses from the global proxy ARP exclusion list that applies to
|
|
234
|
-
#
|
|
235
|
-
# @
|
|
236
|
-
# @raise [IControl::Common::
|
|
263
|
+
# Removes this IP addresses from the global proxy ARP exclusion list that applies to
|
|
264
|
+
# all VLAN groups.
|
|
265
|
+
# @rspec_example
|
|
266
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
267
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
268
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
237
269
|
# @param [Hash] opts
|
|
238
270
|
# @option opts [String] :addresses The lists of IP addresses.
|
|
239
271
|
def remove_global_proxy_exclusion(opts)
|
|
@@ -243,9 +275,10 @@ module IControl::Networking
|
|
|
243
275
|
|
|
244
276
|
##
|
|
245
277
|
# Removes this children VLANs from this VLAN groups.
|
|
246
|
-
# @
|
|
247
|
-
# @raise [IControl::Common::
|
|
248
|
-
# @raise [IControl::Common::
|
|
278
|
+
# @rspec_example
|
|
279
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
280
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
281
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
249
282
|
# @param [Hash] opts
|
|
250
283
|
# @option opts [String[]] :member_vlans The lists of child VLANs .
|
|
251
284
|
def remove_member(opts)
|
|
@@ -255,9 +288,10 @@ module IControl::Networking
|
|
|
255
288
|
|
|
256
289
|
##
|
|
257
290
|
# Removes this IP addresses from the proxy ARP exclusion lists of this VLAN groups.
|
|
258
|
-
# @
|
|
259
|
-
# @raise [IControl::Common::
|
|
260
|
-
# @raise [IControl::Common::
|
|
291
|
+
# @rspec_example
|
|
292
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
293
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
294
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
261
295
|
# @param [Hash] opts
|
|
262
296
|
# @option opts [String[]] :addresses The lists of IP addresses.
|
|
263
297
|
def remove_proxy_exclusion(opts)
|
|
@@ -266,10 +300,12 @@ module IControl::Networking
|
|
|
266
300
|
end
|
|
267
301
|
|
|
268
302
|
##
|
|
269
|
-
# Sets the states to indicate whether to bridge non-IP traffic as well as IP traffic
|
|
270
|
-
#
|
|
271
|
-
# @
|
|
272
|
-
# @raise [IControl::Common::
|
|
303
|
+
# Sets the states to indicate whether to bridge non-IP traffic as well as IP traffic
|
|
304
|
+
# for this VLAN groups.
|
|
305
|
+
# @rspec_example
|
|
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.
|
|
273
309
|
# @param [Hash] opts
|
|
274
310
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
|
275
311
|
def set_bridge_all_traffic_state(opts)
|
|
@@ -278,10 +314,12 @@ module IControl::Networking
|
|
|
278
314
|
end
|
|
279
315
|
|
|
280
316
|
##
|
|
281
|
-
# Sets the states to indicate whether to bridge while unit is in standby mode for this
|
|
282
|
-
#
|
|
283
|
-
# @
|
|
284
|
-
# @raise [IControl::Common::
|
|
317
|
+
# Sets the states to indicate whether to bridge while unit is in standby mode for this
|
|
318
|
+
# VLAN groups.
|
|
319
|
+
# @rspec_example
|
|
320
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
321
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
322
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
285
323
|
# @param [Hash] opts
|
|
286
324
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
|
287
325
|
def set_bridge_in_standby_state(opts)
|
|
@@ -290,10 +328,12 @@ module IControl::Networking
|
|
|
290
328
|
end
|
|
291
329
|
|
|
292
330
|
##
|
|
293
|
-
# Sets the states to indicate whether to bridge multicast/broadcast traffic for this
|
|
294
|
-
#
|
|
295
|
-
# @
|
|
296
|
-
# @raise [IControl::Common::
|
|
331
|
+
# Sets the states to indicate whether to bridge multicast/broadcast traffic for this
|
|
332
|
+
# VLAN groups.
|
|
333
|
+
# @rspec_example
|
|
334
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
335
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
336
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
297
337
|
# @param [Hash] opts
|
|
298
338
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
|
299
339
|
def set_bridge_multicast_state(opts)
|
|
@@ -303,9 +343,10 @@ module IControl::Networking
|
|
|
303
343
|
|
|
304
344
|
##
|
|
305
345
|
# Sets the MAC masquerade addresses for this VLAN groups.
|
|
306
|
-
# @
|
|
307
|
-
# @raise [IControl::Common::
|
|
308
|
-
# @raise [IControl::Common::
|
|
346
|
+
# @rspec_example
|
|
347
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
348
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
349
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
309
350
|
# @param [Hash] opts
|
|
310
351
|
# @option opts [String] :mac_masquerade_addresses The MAC masquerade addresses to set for the specified VLAN groups.
|
|
311
352
|
def set_mac_masquerade_address(opts)
|
|
@@ -315,9 +356,10 @@ module IControl::Networking
|
|
|
315
356
|
|
|
316
357
|
##
|
|
317
358
|
# Sets the transparency modes for this VLAN groups.
|
|
318
|
-
# @
|
|
319
|
-
# @raise [IControl::Common::
|
|
320
|
-
# @raise [IControl::Common::
|
|
359
|
+
# @rspec_example
|
|
360
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
361
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
362
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
321
363
|
# @param [Hash] opts
|
|
322
364
|
# @option opts [IControl::Networking::VLANGroup::VLANGroupTransparency] :modes The transparency modes for the specified VLAN groups.
|
|
323
365
|
def set_transparency_mode(opts)
|
|
@@ -326,10 +368,12 @@ module IControl::Networking
|
|
|
326
368
|
end
|
|
327
369
|
|
|
328
370
|
##
|
|
329
|
-
# This method has been deprecated; setting VLAN id for a VLAN group had and will have
|
|
330
|
-
#
|
|
331
|
-
# @
|
|
332
|
-
# @raise [IControl::Common::
|
|
371
|
+
# This method has been deprecated; setting VLAN id for a VLAN group had and will have
|
|
372
|
+
# no effect. Please don't use in the future. Sets the tag ids for this VLAN groups.
|
|
373
|
+
# @rspec_example
|
|
374
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
375
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
376
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
333
377
|
# @param [Hash] opts
|
|
334
378
|
# @option opts [long] :vlan_ids The VLAN ID/tag numbers (valid range is 1-4095).
|
|
335
379
|
def set_vlan_id(opts)
|
data/lib/icontrol/system.rb
CHANGED
|
@@ -24,6 +24,23 @@ module IControl::System
|
|
|
24
24
|
class SystemInformation < IControl::Base::Struct; end
|
|
25
25
|
class TemperatureMetric < IControl::Base::Struct; end
|
|
26
26
|
class VersionInformation < IControl::Base::Struct; end
|
|
27
|
+
class BladeTemperatureSequence < IControl::Base::Sequence ; end
|
|
28
|
+
class CPUMetricSequence < IControl::Base::Sequence ; end
|
|
29
|
+
class CPUUsageExtendedSequence < IControl::Base::Sequence ; end
|
|
30
|
+
class CPUUsageSequence < IControl::Base::Sequence ; end
|
|
31
|
+
class DiskUsageSequence < IControl::Base::Sequence ; end
|
|
32
|
+
class FanMetricSequence < IControl::Base::Sequence ; end
|
|
33
|
+
class HardwareInformationSequence < IControl::Base::Sequence ; end
|
|
34
|
+
class HardwareTypeSequence < IControl::Base::Sequence ; end
|
|
35
|
+
class LockStatusSequence < IControl::Base::Sequence ; end
|
|
36
|
+
class PSMetricSequence < IControl::Base::Sequence ; end
|
|
37
|
+
class PlatformCPUSequence < IControl::Base::Sequence ; end
|
|
38
|
+
class PlatformFanSequence < IControl::Base::Sequence ; end
|
|
39
|
+
class PlatformPSSequence < IControl::Base::Sequence ; end
|
|
40
|
+
class PlatformTemperatureSequence < IControl::Base::Sequence ; end
|
|
41
|
+
class SubsystemMemoryUsageSequence < IControl::Base::Sequence ; end
|
|
42
|
+
class TemperatureMetricSequence < IControl::Base::Sequence ; end
|
|
43
|
+
class VersionInformationSequence < IControl::Base::Sequence ; end
|
|
27
44
|
class Cluster < IControl::Base; end
|
|
28
45
|
class ConfigSync < IControl::Base; end
|
|
29
46
|
class Connections < IControl::Base; end
|
|
@@ -46,7 +63,8 @@ module IControl::System
|
|
|
46
63
|
class PSMetricType < IControl::Base::Enumeration; end
|
|
47
64
|
# An enumeration for different types of chassis temperature metrics.
|
|
48
65
|
class TemperatureMetricType < IControl::Base::Enumeration; end##
|
|
49
|
-
# Blade temperature information structure The blades hold a number of temperature sensors,
|
|
66
|
+
# Blade temperature information structure The blades hold a number of temperature sensors,
|
|
67
|
+
# keyed by their slot (i.e., blade) and sensor identifiers.
|
|
50
68
|
# @attr [Numeric] slot Slot/blade identifier
|
|
51
69
|
# @attr [Numeric] sensor
|
|
52
70
|
# @attr [String] location Sensor location
|
|
@@ -68,7 +86,8 @@ module IControl::System
|
|
|
68
86
|
end
|
|
69
87
|
|
|
70
88
|
##
|
|
71
|
-
# This structure has been deprecated; use CPUUsageExtendedInformation and related structures
|
|
89
|
+
# This structure has been deprecated; use CPUUsageExtendedInformation and related structures
|
|
90
|
+
# instead. A struct that contains the CPU usage for each CPU.
|
|
72
91
|
# @attr [Numeric] cpu_id The numeric ID of the processor, i.e. 1, 2, 3, 4 ....
|
|
73
92
|
# @attr [IControl::Common::ULong64] user The time spent by the processor in user context.
|
|
74
93
|
# @attr [IControl::Common::ULong64] niced The time spent by the processor running niced processes.
|
|
@@ -89,34 +108,45 @@ module IControl::System
|
|
|
89
108
|
end
|
|
90
109
|
|
|
91
110
|
##
|
|
92
|
-
# A struct that contains extended CPU usage, per CPU, for a host. The extended CPU
|
|
111
|
+
# A struct that contains extended CPU usage, per CPU, for a host. The extended CPU
|
|
112
|
+
# usage goes beyond the basic material available in CPUUsage. This structure represents
|
|
113
|
+
# the extended CPU usage as a sequence of sequences of statistics. For a host, there
|
|
114
|
+
# is a sequence of statistics per CPU, and the statistics for a CPU are a sequence.
|
|
93
115
|
# @attr [String] host_id The host id.
|
|
94
|
-
# @attr [IControl::Common::
|
|
116
|
+
# @attr [IControl::Common::StatisticSequenceSequence] statistics The statistics for the host (one sequence for each CPU).
|
|
95
117
|
class CPUUsageExtended < IControl::Base::Struct
|
|
96
118
|
icontrol_attribute :host_id, String
|
|
97
|
-
icontrol_attribute :statistics, IControl::Common::
|
|
119
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequenceSequence
|
|
98
120
|
end
|
|
99
121
|
|
|
100
122
|
##
|
|
101
123
|
# A struct that contains the extended CPU usage information for a sequence of hosts.
|
|
102
|
-
# @attr [IControl::System::
|
|
124
|
+
# @attr [IControl::System::CPUUsageExtendedSequence] hosts The statistics for a sequence of hosts.
|
|
103
125
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
104
126
|
class CPUUsageExtendedInformation < IControl::Base::Struct
|
|
105
|
-
icontrol_attribute :hosts, IControl::System::
|
|
127
|
+
icontrol_attribute :hosts, IControl::System::CPUUsageExtendedSequence
|
|
106
128
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
107
129
|
end
|
|
108
130
|
|
|
109
131
|
##
|
|
110
|
-
# This structure has been deprecated; use CPUUsageExtendedInformation and related structures
|
|
111
|
-
#
|
|
132
|
+
# This structure has been deprecated; use CPUUsageExtendedInformation and related structures
|
|
133
|
+
# instead. A struct that contains the CPU usage information.
|
|
134
|
+
# @attr [IControl::System::CPUUsageSequence] usages The list of CPU usage patterns.
|
|
112
135
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
113
136
|
class CPUUsageInformation < IControl::Base::Struct
|
|
114
|
-
icontrol_attribute :usages, IControl::System::
|
|
137
|
+
icontrol_attribute :usages, IControl::System::CPUUsageSequence
|
|
115
138
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
116
139
|
end
|
|
117
140
|
|
|
118
141
|
##
|
|
119
|
-
# Connection information for the system. This contains the local and remote addresses
|
|
142
|
+
# Connection information for the system. This contains the local and remote addresses
|
|
143
|
+
# used to connect to the system when using a method that returns this structure. Normally
|
|
144
|
+
# a client would know the &quot;local" address on which it connected to the system,
|
|
145
|
+
# but if network translation changes the destination address of the system, this method
|
|
146
|
+
# can inform the client of the translation without the client having to code the mapping.
|
|
147
|
+
# This is designed to address the scenario in which the system is behind a virtual
|
|
148
|
+
# address or similar and the client needs to learn, for example, whether an address
|
|
149
|
+
# matches the cluster address.
|
|
120
150
|
# @attr [IControl::Common::IPPortDefinition] local The address and port on which the system was contacted.
|
|
121
151
|
# @attr [IControl::Common::IPPortDefinition] remote The address and port of the client.
|
|
122
152
|
class ConnectionInformation < IControl::Base::Struct
|
|
@@ -143,10 +173,10 @@ module IControl::System
|
|
|
143
173
|
|
|
144
174
|
##
|
|
145
175
|
# A struct that contains the disk usage information.
|
|
146
|
-
# @attr [IControl::System::
|
|
176
|
+
# @attr [IControl::System::DiskUsageSequence] usages The list of disk usage patterns.
|
|
147
177
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
148
178
|
class DiskUsageInformation < IControl::Base::Struct
|
|
149
|
-
icontrol_attribute :usages, IControl::System::
|
|
179
|
+
icontrol_attribute :usages, IControl::System::DiskUsageSequence
|
|
150
180
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
151
181
|
end
|
|
152
182
|
|
|
@@ -160,11 +190,12 @@ module IControl::System
|
|
|
160
190
|
end
|
|
161
191
|
|
|
162
192
|
##
|
|
163
|
-
# A struct that contains the global CPU usage information. This is one set of combined
|
|
164
|
-
#
|
|
193
|
+
# A struct that contains the global CPU usage information. This is one set of combined
|
|
194
|
+
# ("rolled up") statistics for all hosts.
|
|
195
|
+
# @attr [IControl::Common::StatisticSequence] statistics The global CPU usage statistics.
|
|
165
196
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
166
197
|
class GlobalCPUUsageExtendedInformation < IControl::Base::Struct
|
|
167
|
-
icontrol_attribute :statistics, IControl::Common::
|
|
198
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
|
168
199
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
169
200
|
end
|
|
170
201
|
|
|
@@ -174,13 +205,13 @@ module IControl::System
|
|
|
174
205
|
# @attr [IControl::System::HardwareType] type General hardware type
|
|
175
206
|
# @attr [Numeric] slot Identifier for the blade holding the hardware (zero for non-blade systems)
|
|
176
207
|
# @attr [String] model Model information
|
|
177
|
-
# @attr [IControl::System::
|
|
208
|
+
# @attr [IControl::System::VersionInformationSequence] versions Miscellaneous information - an array of name/value pairs holding specific nuggets
|
|
178
209
|
class HardwareInformation < IControl::Base::Struct
|
|
179
210
|
icontrol_attribute :name, String
|
|
180
211
|
icontrol_attribute :type, IControl::System::HardwareType
|
|
181
212
|
icontrol_attribute :slot, Numeric
|
|
182
213
|
icontrol_attribute :model, String
|
|
183
|
-
icontrol_attribute :versions, IControl::System::
|
|
214
|
+
icontrol_attribute :versions, IControl::System::VersionInformationSequence
|
|
184
215
|
end
|
|
185
216
|
|
|
186
217
|
##
|
|
@@ -195,15 +226,18 @@ module IControl::System
|
|
|
195
226
|
end
|
|
196
227
|
|
|
197
228
|
##
|
|
198
|
-
# This structure has been deprecated; use get_host_statistics and related methods and
|
|
229
|
+
# This structure has been deprecated; use get_host_statistics and related methods and
|
|
230
|
+
# data instead. (As of 9.4.0, the system supports retrieving the overall memory attributes
|
|
231
|
+
# by host; retrieving the detailed subsystem attributes by host is not supported).
|
|
232
|
+
# A struct that contains the memory usage information.
|
|
199
233
|
# @attr [IControl::Common::ULong64] total_memory The total amount of physical memory (bytes) in the host system.
|
|
200
234
|
# @attr [IControl::Common::ULong64] used_memory The total amount of memory currently in use (bytes) by the host system.
|
|
201
|
-
# @attr [IControl::System::
|
|
235
|
+
# @attr [IControl::System::SubsystemMemoryUsageSequence] usages The list of subsystem memory usage patterns.
|
|
202
236
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
203
237
|
class MemoryUsageInformation < IControl::Base::Struct
|
|
204
238
|
icontrol_attribute :total_memory, IControl::Common::ULong64
|
|
205
239
|
icontrol_attribute :used_memory, IControl::Common::ULong64
|
|
206
|
-
icontrol_attribute :usages, IControl::System::
|
|
240
|
+
icontrol_attribute :usages, IControl::System::SubsystemMemoryUsageSequence
|
|
207
241
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
208
242
|
end
|
|
209
243
|
|
|
@@ -218,37 +252,37 @@ module IControl::System
|
|
|
218
252
|
|
|
219
253
|
##
|
|
220
254
|
# A structure that contains the platform CPU information and timestamp.
|
|
221
|
-
# @attr [IControl::System::
|
|
255
|
+
# @attr [IControl::System::CPUMetricSequenceSequence] cpus The platform CPU information.
|
|
222
256
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
223
257
|
class PlatformCPUs < IControl::Base::Struct
|
|
224
|
-
icontrol_attribute :cpus, IControl::System::
|
|
258
|
+
icontrol_attribute :cpus, IControl::System::CPUMetricSequenceSequence
|
|
225
259
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
226
260
|
end
|
|
227
261
|
|
|
228
262
|
##
|
|
229
263
|
# A structure that contains the platform fan information and timestamp.
|
|
230
|
-
# @attr [IControl::System::
|
|
264
|
+
# @attr [IControl::System::FanMetricSequenceSequence] fans The platform fan information.
|
|
231
265
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
232
266
|
class PlatformFans < IControl::Base::Struct
|
|
233
|
-
icontrol_attribute :fans, IControl::System::
|
|
267
|
+
icontrol_attribute :fans, IControl::System::FanMetricSequenceSequence
|
|
234
268
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
235
269
|
end
|
|
236
270
|
|
|
237
271
|
##
|
|
238
272
|
# A structure that contains the platform power supply information and timestamp.
|
|
239
|
-
# @attr [IControl::System::
|
|
273
|
+
# @attr [IControl::System::PSMetricSequenceSequence] power_supplies The platform power supply information.
|
|
240
274
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
241
275
|
class PlatformPowerSupplies < IControl::Base::Struct
|
|
242
|
-
icontrol_attribute :power_supplies, IControl::System::
|
|
276
|
+
icontrol_attribute :power_supplies, IControl::System::PSMetricSequenceSequence
|
|
243
277
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
244
278
|
end
|
|
245
279
|
|
|
246
280
|
##
|
|
247
281
|
# A structure that contains the platform temperatures and timestamp.
|
|
248
|
-
# @attr [IControl::System::
|
|
282
|
+
# @attr [IControl::System::TemperatureMetricSequenceSequence] temperatures The platform temperatures.
|
|
249
283
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at which the statistics are gathered.
|
|
250
284
|
class PlatformTemperatures < IControl::Base::Struct
|
|
251
|
-
icontrol_attribute :temperatures, IControl::System::
|
|
285
|
+
icontrol_attribute :temperatures, IControl::System::TemperatureMetricSequenceSequence
|
|
252
286
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
253
287
|
end
|
|
254
288
|
|
|
@@ -258,17 +292,18 @@ module IControl::System
|
|
|
258
292
|
# @attr [String] product_version The version of the installed product.
|
|
259
293
|
# @attr [String] package_version The package version of the installed product.
|
|
260
294
|
# @attr [String] package_edition The package edition of the installed product.
|
|
261
|
-
# @attr [
|
|
295
|
+
# @attr [StringSequence] product_features A list of feature names available in the installed product.
|
|
262
296
|
class ProductInformation < IControl::Base::Struct
|
|
263
297
|
icontrol_attribute :product_code, String
|
|
264
298
|
icontrol_attribute :product_version, String
|
|
265
299
|
icontrol_attribute :package_version, String
|
|
266
300
|
icontrol_attribute :package_edition, String
|
|
267
|
-
icontrol_attribute :product_features,
|
|
301
|
+
icontrol_attribute :product_features, StringSequence
|
|
268
302
|
end
|
|
269
303
|
|
|
270
304
|
##
|
|
271
|
-
# This structure has been deprecated; use get_host_statistics and related methods and
|
|
305
|
+
# This structure has been deprecated; use get_host_statistics and related methods and
|
|
306
|
+
# data instead. A struct that contains the memory usage for each subsystem.
|
|
272
307
|
# @attr [String] subsystem_name The name of the subsystem using this memory.
|
|
273
308
|
# @attr [IControl::Common::ULong64] current_allocated The number of bytes currently allocated for this subsystem.
|
|
274
309
|
# @attr [IControl::Common::ULong64] maximum_allocated The maximum number of bytes allocated for this subsystem.
|
|
@@ -323,7 +358,9 @@ module IControl::System
|
|
|
323
358
|
end
|
|
324
359
|
|
|
325
360
|
##
|
|
326
|
-
# This structure holds a name/value pair describing a characteristic of a piece of
|
|
361
|
+
# This structure holds a name/value pair describing a characteristic of a piece of
|
|
362
|
+
# hardware, especially items specific to the hardware. Examples include version information
|
|
363
|
+
# and CPU speed.
|
|
327
364
|
# @attr [String] name Name of the characteristic
|
|
328
365
|
# @attr [String] value Value of the characteristic
|
|
329
366
|
class VersionInformation < IControl::Base::Struct
|