icontrol 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -7,18 +7,20 @@ module IControl::Management
|
|
7
7
|
|
8
8
|
##
|
9
9
|
# Adds this Views to the server.
|
10
|
-
# @
|
11
|
-
# @raise [IControl::Common::
|
12
|
-
# @raise [IControl::Common::
|
10
|
+
# @rspec_example
|
11
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
12
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
13
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
13
14
|
def add_view
|
14
15
|
super
|
15
16
|
end
|
16
17
|
|
17
18
|
##
|
18
19
|
# Adds new options to the view.
|
19
|
-
# @
|
20
|
-
# @raise [IControl::Common::
|
21
|
-
# @raise [IControl::Common::
|
20
|
+
# @rspec_example
|
21
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
22
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
23
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
22
24
|
# @param [Hash] opts
|
23
25
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to add.
|
24
26
|
def add_view_option(opts)
|
@@ -28,18 +30,20 @@ module IControl::Management
|
|
28
30
|
|
29
31
|
##
|
30
32
|
# Delete this view (and all their zones) from a server.
|
31
|
-
# @
|
32
|
-
# @raise [IControl::Common::
|
33
|
-
# @raise [IControl::Common::
|
33
|
+
# @rspec_example
|
34
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
35
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
36
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
34
37
|
def delete_view
|
35
38
|
super
|
36
39
|
end
|
37
40
|
|
38
41
|
##
|
39
42
|
# Deletes the options from the view.
|
40
|
-
# @
|
41
|
-
# @raise [IControl::Common::
|
42
|
-
# @raise [IControl::Common::
|
43
|
+
# @rspec_example
|
44
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
45
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
46
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
43
47
|
# @param [Hash] opts
|
44
48
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to delete
|
45
49
|
def delete_view_option(opts)
|
@@ -49,16 +53,18 @@ module IControl::Management
|
|
49
53
|
|
50
54
|
##
|
51
55
|
# Get a sequence of ViewInfo structs from the server
|
56
|
+
# @rspec_example
|
52
57
|
# @return [ViewInfo]
|
53
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
54
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
55
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
58
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
59
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
60
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
56
61
|
def list
|
57
62
|
super
|
58
63
|
end
|
59
64
|
|
60
65
|
##
|
61
66
|
# Gets the version information for this interface.
|
67
|
+
# @rspec_example
|
62
68
|
# @return [String]
|
63
69
|
def version
|
64
70
|
super
|
@@ -66,10 +72,11 @@ module IControl::Management
|
|
66
72
|
|
67
73
|
##
|
68
74
|
# Get the ViewInfo structs from the server for this view.
|
75
|
+
# @rspec_example
|
69
76
|
# @return [ViewInfo]
|
70
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
71
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
72
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
77
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
78
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
79
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
73
80
|
# @param [Hash] opts
|
74
81
|
# @option opts [String] :view_names The names of the views to retrieve.
|
75
82
|
def view(opts)
|
@@ -79,18 +86,20 @@ module IControl::Management
|
|
79
86
|
|
80
87
|
##
|
81
88
|
# Moves this Views to the spot indicated in the named.conf
|
82
|
-
# @
|
83
|
-
# @raise [IControl::Common::
|
84
|
-
# @raise [IControl::Common::
|
89
|
+
# @rspec_example
|
90
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
91
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
92
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
85
93
|
def move_view
|
86
94
|
super
|
87
95
|
end
|
88
96
|
|
89
97
|
##
|
90
98
|
# Sets (changes) the values of existing options of the view specified.
|
91
|
-
# @
|
92
|
-
# @raise [IControl::Common::
|
93
|
-
# @raise [IControl::Common::
|
99
|
+
# @rspec_example
|
100
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
101
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
102
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
94
103
|
# @param [Hash] opts
|
95
104
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to set.
|
96
105
|
def set_view_option(opts)
|
@@ -1,15 +1,18 @@
|
|
1
1
|
module IControl::Management
|
2
2
|
##
|
3
|
-
# The Zone interface enables the user to perform "zone" operations on a dns
|
3
|
+
# The Zone interface enables the user to perform "zone" operations on a dns
|
4
|
+
# database
|
4
5
|
class Zone < IControl::Base
|
5
6
|
|
6
7
|
set_id_name "zones"
|
7
8
|
|
8
9
|
##
|
9
|
-
# Adds the Zones in this views, using the file names specified as the contents of the
|
10
|
-
#
|
11
|
-
# @
|
12
|
-
# @raise [IControl::Common::
|
10
|
+
# Adds the Zones in this views, using the file names specified as the contents of the
|
11
|
+
# zone files. Files must be local to target machine.
|
12
|
+
# @rspec_example
|
13
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
14
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
15
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
13
16
|
# @param [Hash] opts
|
14
17
|
# @option opts [IControl::Management::ZoneInfo] :zone_records The ZoneInfo struct containing information about the zone to be added
|
15
18
|
# @option opts [String] :src_file_names The files containing the zone's resource records.
|
@@ -21,18 +24,21 @@ module IControl::Management
|
|
21
24
|
|
22
25
|
##
|
23
26
|
# Adds new options to this zone.
|
24
|
-
# @
|
25
|
-
# @raise [IControl::Common::
|
26
|
-
# @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.
|
27
31
|
def add_zone_option
|
28
32
|
super
|
29
33
|
end
|
30
34
|
|
31
35
|
##
|
32
|
-
# Adds the Zones in this views, using the texts specified as the contents of the zone
|
33
|
-
#
|
34
|
-
# @
|
35
|
-
# @raise [IControl::Common::
|
36
|
+
# Adds the Zones in this views, using the texts specified as the contents of the zone
|
37
|
+
# files.
|
38
|
+
# @rspec_example
|
39
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
40
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
41
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
36
42
|
# @param [Hash] opts
|
37
43
|
# @option opts [IControl::Management::ZoneInfo] :zone_records The ZoneInfo structs containing information about the zones to be added.
|
38
44
|
# @option opts [String[]] :text The list of sequence of strings containing the resource records to create in the zones (SOA, NS, etc)
|
@@ -44,9 +50,10 @@ module IControl::Management
|
|
44
50
|
|
45
51
|
##
|
46
52
|
# Deletes this Zones in this views.
|
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 [IControl::Management::ViewZone] :view_zones The view/zone information.
|
52
59
|
def delete_zone(opts)
|
@@ -56,15 +63,17 @@ module IControl::Management
|
|
56
63
|
|
57
64
|
##
|
58
65
|
# Deletes existing options of this zone
|
59
|
-
# @
|
60
|
-
# @raise [IControl::Common::
|
61
|
-
# @raise [IControl::Common::
|
66
|
+
# @rspec_example
|
67
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
68
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
69
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
62
70
|
def delete_zone_option
|
63
71
|
super
|
64
72
|
end
|
65
73
|
|
66
74
|
##
|
67
75
|
# Gets the version information for this interface.
|
76
|
+
# @rspec_example
|
68
77
|
# @return [String]
|
69
78
|
def version
|
70
79
|
super
|
@@ -72,10 +81,11 @@ module IControl::Management
|
|
72
81
|
|
73
82
|
##
|
74
83
|
# Gets the ZoneInfo structs for this zone in this views.
|
84
|
+
# @rspec_example
|
75
85
|
# @return [ZoneInfo]
|
76
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
77
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
78
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
86
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
87
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
88
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
79
89
|
# @param [Hash] opts
|
80
90
|
# @option opts [IControl::Management::ViewZone] :view_zones The view/zone information.
|
81
91
|
def zone(opts)
|
@@ -85,10 +95,11 @@ module IControl::Management
|
|
85
95
|
|
86
96
|
##
|
87
97
|
# Gets the list of zone names for this views.
|
98
|
+
# @rspec_example
|
88
99
|
# @return [ViewZone]
|
89
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
90
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
91
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
100
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
101
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
102
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
92
103
|
# @param [Hash] opts
|
93
104
|
# @option opts [String] :view_names The names of the views.
|
94
105
|
def zone_name(opts)
|
@@ -98,18 +109,21 @@ module IControl::Management
|
|
98
109
|
|
99
110
|
##
|
100
111
|
# Sets existing options of this zone to new values.
|
101
|
-
# @
|
102
|
-
# @raise [IControl::Common::
|
103
|
-
# @raise [IControl::Common::
|
112
|
+
# @rspec_example
|
113
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
114
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
115
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
104
116
|
def set_zone_option
|
105
117
|
super
|
106
118
|
end
|
107
119
|
|
108
120
|
##
|
109
|
-
# Transfers the Zones from this remote named servers, creating them on the local zrd
|
110
|
-
#
|
111
|
-
# @
|
112
|
-
# @raise [IControl::Common::
|
121
|
+
# Transfers the Zones from this remote named servers, creating them on the local zrd
|
122
|
+
# server, using this views and zone info (type, file name, etc )
|
123
|
+
# @rspec_example
|
124
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
125
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
126
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
113
127
|
# @param [Hash] opts
|
114
128
|
# @option opts [String] :server_names The names of the servers to request the zones from.
|
115
129
|
# @option opts [String] :src_zone_names The names of the zones on the source servers.
|
@@ -122,10 +136,11 @@ module IControl::Management
|
|
122
136
|
|
123
137
|
##
|
124
138
|
# Tests whether this zone exists
|
139
|
+
# @rspec_example
|
125
140
|
# @return [boolean]
|
126
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
127
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
128
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
141
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
142
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
143
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
129
144
|
# @param [Hash] opts
|
130
145
|
# @option opts [IControl::Management::ViewZone] :view_zones The view/zone information.
|
131
146
|
def zone_exist(opts)
|
@@ -7,25 +7,29 @@ module IControl::Management
|
|
7
7
|
|
8
8
|
##
|
9
9
|
# Gets the version information for this interface.
|
10
|
+
# @rspec_example
|
10
11
|
# @return [String]
|
11
12
|
def version
|
12
13
|
super
|
13
14
|
end
|
14
15
|
|
15
16
|
##
|
16
|
-
# (re)init ZoneRunner instructs ZoneRunner to re-read named.conf and rebuild its internal
|
17
|
-
#
|
18
|
-
# @
|
19
|
-
# @raise [IControl::Common::
|
17
|
+
# (re)init ZoneRunner instructs ZoneRunner to re-read named.conf and rebuild its internal
|
18
|
+
# data structures based on contents
|
19
|
+
# @rspec_example
|
20
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
21
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
22
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
20
23
|
def init
|
21
24
|
super
|
22
25
|
end
|
23
26
|
|
24
27
|
##
|
25
28
|
# Set the logging leve for messages
|
26
|
-
# @
|
27
|
-
# @raise [IControl::Common::
|
28
|
-
# @raise [IControl::Common::
|
29
|
+
# @rspec_example
|
30
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
31
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
32
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
29
33
|
def set_loglevel
|
30
34
|
super
|
31
35
|
end
|
data/lib/icontrol/networking.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
|
3
3
|
class Uuid_128 < IControl::Base::Struct; end
|
4
|
+
class FilterActionSequence < IControl::Base::Sequence ; end
|
5
|
+
class FlowControlTypeSequence < IControl::Base::Sequence ; end
|
6
|
+
class LearningModeSequence < IControl::Base::Sequence ; end
|
7
|
+
class MediaStatusSequence < IControl::Base::Sequence ; end
|
8
|
+
class MemberTagTypeSequence < IControl::Base::Sequence ; end
|
9
|
+
class MemberTypeSequence < IControl::Base::Sequence ; end
|
10
|
+
class PhyMasterSlaveModeSequence < IControl::Base::Sequence ; end
|
11
|
+
class RouteEntryTypeSequence < IControl::Base::Sequence ; end
|
12
|
+
class STPLinkTypeSequence < IControl::Base::Sequence ; end
|
13
|
+
class STPModeTypeSequence < IControl::Base::Sequence ; end
|
14
|
+
class STPRoleTypeSequence < IControl::Base::Sequence ; end
|
15
|
+
class STPStateTypeSequence < IControl::Base::Sequence ; end
|
16
|
+
class Uuid_128Sequence < IControl::Base::Sequence ; end
|
4
17
|
class ARP < IControl::Base; end
|
5
18
|
class AdminIP < IControl::Base; end
|
6
19
|
class Interfaces < IControl::Base; end
|
@@ -40,9 +53,16 @@ module IControl::Networking
|
|
40
53
|
class PhyMasterSlaveMode < IControl::Base::Enumeration; end
|
41
54
|
# A list of route entry types.
|
42
55
|
class RouteEntryType < IControl::Base::Enumeration; end
|
43
|
-
# A list of Spanning Tree Protocol link types. The spanning tree algorithms include
|
56
|
+
# A list of Spanning Tree Protocol link types. The spanning tree algorithms include
|
57
|
+
# important optimizations that can only be used on point-to-point links, that is, on
|
58
|
+
# links which connect just two bridges. If these optimizations are used on shared links,
|
59
|
+
# incorrect or unstable behavior may result. By default, the implementation assumes
|
60
|
+
# that full-duplex links are point-to-point and that half-duplex links are shared.
|
44
61
|
class STPLinkType < IControl::Base::Enumeration; end
|
45
|
-
# A list of Spanning Tree Protocol modes. The difference between STP_MODE_TYPE_DISABLED
|
62
|
+
# A list of Spanning Tree Protocol modes. The difference between STP_MODE_TYPE_DISABLED
|
63
|
+
# and STP_MODE_TYPE_PASSTHROUGH is that the pass-through mode forwards spanning tree
|
64
|
+
# bridge protocol data units (BPDUs) received on any interface to all other interfaces,
|
65
|
+
# whereas the disabled mode discards them.
|
46
66
|
class STPModeType < IControl::Base::Enumeration; end
|
47
67
|
# A list of Spanning Tree Protocol role types.
|
48
68
|
class STPRoleType < IControl::Base::Enumeration; end
|
@@ -196,7 +216,11 @@ module IControl::Networking
|
|
196
216
|
end
|
197
217
|
|
198
218
|
|
199
|
-
# A list of Spanning Tree Protocol link types. The spanning tree algorithms include
|
219
|
+
# A list of Spanning Tree Protocol link types. The spanning tree algorithms include
|
220
|
+
# important optimizations that can only be used on point-to-point links, that is, on
|
221
|
+
# links which connect just two bridges. If these optimizations are used on shared links,
|
222
|
+
# incorrect or unstable behavior may result. By default, the implementation assumes
|
223
|
+
# that full-duplex links are point-to-point and that half-duplex links are shared.
|
200
224
|
class STPLinkType < IControl::Base::Enumeration
|
201
225
|
# Point-To-Point links.
|
202
226
|
STP_LINK_TYPE_P2P = :STP_LINK_TYPE_P2P
|
@@ -207,7 +231,10 @@ module IControl::Networking
|
|
207
231
|
end
|
208
232
|
|
209
233
|
|
210
|
-
# A list of Spanning Tree Protocol modes. The difference between STP_MODE_TYPE_DISABLED
|
234
|
+
# A list of Spanning Tree Protocol modes. The difference between STP_MODE_TYPE_DISABLED
|
235
|
+
# and STP_MODE_TYPE_PASSTHROUGH is that the pass-through mode forwards spanning tree
|
236
|
+
# bridge protocol data units (BPDUs) received on any interface to all other interfaces,
|
237
|
+
# whereas the disabled mode discards them.
|
211
238
|
class STPModeType < IControl::Base::Enumeration
|
212
239
|
# Disables Spanning Tree Protocol entirely.
|
213
240
|
STP_MODE_TYPE_DISABLED = :STP_MODE_TYPE_DISABLED
|
@@ -1,15 +1,17 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
##
|
3
|
-
# The AdminIP interface enables you to work with the definitions and attributes contained
|
3
|
+
# The AdminIP interface enables you to work with the definitions and attributes contained
|
4
|
+
# in a device's administrative IP.
|
4
5
|
class AdminIP < IControl::Base
|
5
6
|
|
6
7
|
set_id_name "cluster_names"
|
7
8
|
|
8
9
|
##
|
9
10
|
# Creates this admin IP addresses with extended attributes.
|
10
|
-
# @
|
11
|
-
# @raise [IControl::Common::
|
12
|
-
# @raise [IControl::Common::
|
11
|
+
# @rspec_example
|
12
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
13
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
14
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
13
15
|
# @param [Hash] opts
|
14
16
|
# @option opts [String] :admin_ips The list of admin IPs to create.
|
15
17
|
# @option opts [String] :netmasks The list of netmasks for the admin IPs .
|
@@ -20,10 +22,11 @@ module IControl::Networking
|
|
20
22
|
|
21
23
|
##
|
22
24
|
# Creates this cluster name& IP addresses.
|
23
|
-
# @
|
24
|
-
# @raise [IControl::Common::
|
25
|
-
# @raise [IControl::Common::
|
26
|
-
# @raise [IControl::Common::
|
25
|
+
# @rspec_example
|
26
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
27
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
28
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
29
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
27
30
|
# @param [Hash] opts
|
28
31
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs to create.
|
29
32
|
# @option opts [String[]] :netmasks The list of lists of netmasks for the cluster IPs .
|
@@ -34,10 +37,11 @@ module IControl::Networking
|
|
34
37
|
|
35
38
|
##
|
36
39
|
# Creates this admin IP addresses on the designated slots.
|
37
|
-
# @
|
38
|
-
# @raise [IControl::Common::
|
39
|
-
# @raise [IControl::Common::
|
40
|
-
# @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.
|
44
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
41
45
|
# @param [Hash] opts
|
42
46
|
# @option opts [String] :cluster_name The cluster name.
|
43
47
|
# @option opts [long] :slot_ids
|
@@ -49,9 +53,10 @@ module IControl::Networking
|
|
49
53
|
|
50
54
|
##
|
51
55
|
# Deletes this admin IP addresses.
|
52
|
-
# @
|
53
|
-
# @raise [IControl::Common::
|
54
|
-
# @raise [IControl::Common::
|
56
|
+
# @rspec_example
|
57
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
58
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
59
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
55
60
|
# @param [Hash] opts
|
56
61
|
# @option opts [String] :admin_ips The list of admin IPs to delete.
|
57
62
|
def delete_administrative_ip(opts)
|
@@ -61,29 +66,32 @@ module IControl::Networking
|
|
61
66
|
|
62
67
|
##
|
63
68
|
# Deletes all admin IP addresses.
|
64
|
-
# @
|
65
|
-
# @raise [IControl::Common::
|
66
|
-
# @raise [IControl::Common::
|
69
|
+
# @rspec_example
|
70
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
71
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
72
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
67
73
|
def delete_all_administrative_ips
|
68
74
|
super
|
69
75
|
end
|
70
76
|
|
71
77
|
##
|
72
78
|
# Deletes all cluster admin IP addresses.
|
73
|
-
# @
|
74
|
-
# @raise [IControl::Common::
|
75
|
-
# @raise [IControl::Common::
|
76
|
-
# @raise [IControl::Common::
|
79
|
+
# @rspec_example
|
80
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
81
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
82
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
83
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
77
84
|
def delete_all_cluster_ips
|
78
85
|
super
|
79
86
|
end
|
80
87
|
|
81
88
|
##
|
82
89
|
# Deletes all admin IP addresses on the designated slots.
|
83
|
-
# @
|
84
|
-
# @raise [IControl::Common::
|
85
|
-
# @raise [IControl::Common::
|
86
|
-
# @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.
|
94
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
87
95
|
# @param [Hash] opts
|
88
96
|
# @option opts [long[]] :slot_ids
|
89
97
|
def delete_all_slot_ips(opts)
|
@@ -93,10 +101,11 @@ module IControl::Networking
|
|
93
101
|
|
94
102
|
##
|
95
103
|
# Deletes this cluster admin IP addresses.
|
96
|
-
# @
|
97
|
-
# @raise [IControl::Common::
|
98
|
-
# @raise [IControl::Common::
|
99
|
-
# @raise [IControl::Common::
|
104
|
+
# @rspec_example
|
105
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
106
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
107
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
108
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
100
109
|
# @param [Hash] opts
|
101
110
|
# @option opts [String[]] :cluster_ips
|
102
111
|
def delete_cluster_ip(opts)
|
@@ -106,10 +115,11 @@ module IControl::Networking
|
|
106
115
|
|
107
116
|
##
|
108
117
|
# Deletes this admin IP addresses on the designated slots.
|
109
|
-
# @
|
110
|
-
# @raise [IControl::Common::
|
111
|
-
# @raise [IControl::Common::
|
112
|
-
# @raise [IControl::Common::
|
118
|
+
# @rspec_example
|
119
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
120
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
121
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
122
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
113
123
|
# @param [Hash] opts
|
114
124
|
# @option opts [String] :cluster_name The cluster name.
|
115
125
|
# @option opts [long] :slot_ids
|
@@ -121,22 +131,24 @@ module IControl::Networking
|
|
121
131
|
|
122
132
|
##
|
123
133
|
# Gets a list of all cluster admin IPs on this cluster.
|
134
|
+
# @rspec_example
|
124
135
|
# @return [String[]]
|
125
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
126
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
127
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
128
|
-
# @raise [IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
136
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
137
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
138
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
139
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
129
140
|
def cluster_list
|
130
141
|
super
|
131
142
|
end
|
132
143
|
|
133
144
|
##
|
134
145
|
# Gets the netmasks of this cluster admin IPs.
|
146
|
+
# @rspec_example
|
135
147
|
# @return [String[]]
|
136
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
137
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
138
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
139
|
-
# @raise [IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
148
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
149
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
150
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
151
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
140
152
|
# @param [Hash] opts
|
141
153
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs .
|
142
154
|
def cluster_netmask(opts)
|
@@ -146,20 +158,22 @@ module IControl::Networking
|
|
146
158
|
|
147
159
|
##
|
148
160
|
# Gets a list of all admin IPs on this device.
|
161
|
+
# @rspec_example
|
149
162
|
# @return [String]
|
150
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
151
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
152
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
163
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
164
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
165
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
153
166
|
def list
|
154
167
|
super
|
155
168
|
end
|
156
169
|
|
157
170
|
##
|
158
171
|
# Gets the netmasks of this admin IPs.
|
172
|
+
# @rspec_example
|
159
173
|
# @return [String]
|
160
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
161
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
162
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
174
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
175
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
176
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
163
177
|
# @param [Hash] opts
|
164
178
|
# @option opts [String] :admin_ips The list of admin IPs .
|
165
179
|
def netmask(opts)
|
@@ -169,11 +183,12 @@ module IControl::Networking
|
|
169
183
|
|
170
184
|
##
|
171
185
|
# Gets a list of all admin IPs on the designated slots.
|
186
|
+
# @rspec_example
|
172
187
|
# @return [String[]]
|
173
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
174
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
175
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
176
|
-
# @raise [IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
188
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
189
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
190
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
191
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
177
192
|
# @param [Hash] opts
|
178
193
|
# @option opts [String] :cluster_name The cluster name.
|
179
194
|
# @option opts [long] :slot_ids
|
@@ -184,6 +199,7 @@ module IControl::Networking
|
|
184
199
|
|
185
200
|
##
|
186
201
|
# Gets the version information for this interface.
|
202
|
+
# @rspec_example
|
187
203
|
# @return [String]
|
188
204
|
def version
|
189
205
|
super
|
@@ -191,10 +207,11 @@ module IControl::Networking
|
|
191
207
|
|
192
208
|
##
|
193
209
|
# Replaces this admin IP addresses with extended attributes.
|
194
|
-
# @
|
195
|
-
# @raise [IControl::Common::
|
196
|
-
# @raise [IControl::Common::
|
197
|
-
# @raise [IControl::Common::
|
210
|
+
# @rspec_example
|
211
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
212
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
213
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
214
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
198
215
|
# @param [Hash] opts
|
199
216
|
# @option opts [String] :old_ips The list of current admin IPs to be replaced.
|
200
217
|
# @option opts [String] :new_ips The list of new admin IPs to replace the old values.
|
@@ -206,10 +223,11 @@ module IControl::Networking
|
|
206
223
|
|
207
224
|
##
|
208
225
|
# Replaces this cluster name with new admin IP addresses.
|
209
|
-
# @
|
210
|
-
# @raise [IControl::Common::
|
211
|
-
# @raise [IControl::Common::
|
212
|
-
# @raise [IControl::Common::
|
226
|
+
# @rspec_example
|
227
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
228
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
229
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
230
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
213
231
|
# @param [Hash] opts
|
214
232
|
# @option opts [String[]] :old_ips The list of lists of cluster admin IPs to be replaced.
|
215
233
|
# @option opts [String[]] :new_ips The list of lists of cluster admin IPs to replace the old values.
|
@@ -221,10 +239,11 @@ module IControl::Networking
|
|
221
239
|
|
222
240
|
##
|
223
241
|
# Replaces this admin IP addresses on the designated slots.
|
224
|
-
# @
|
225
|
-
# @raise [IControl::Common::
|
226
|
-
# @raise [IControl::Common::
|
227
|
-
# @raise [IControl::Common::
|
242
|
+
# @rspec_example
|
243
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
244
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
245
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
246
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
228
247
|
# @param [Hash] opts
|
229
248
|
# @option opts [String] :cluster_name The cluster name.
|
230
249
|
# @option opts [long] :slot_ids
|
@@ -237,10 +256,11 @@ module IControl::Networking
|
|
237
256
|
|
238
257
|
##
|
239
258
|
# Sets the netmasks of this cluster admin IPs.
|
240
|
-
# @
|
241
|
-
# @raise [IControl::Common::
|
242
|
-
# @raise [IControl::Common::
|
243
|
-
# @raise [IControl::Common::
|
259
|
+
# @rspec_example
|
260
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
261
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
262
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
263
|
+
# @raise [IControl::IControl::Common::NotImplemented] raised if the method is not supported or implemented.
|
244
264
|
# @param [Hash] opts
|
245
265
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs .
|
246
266
|
# @option opts [String[]] :netmasks The list of lists of netmasks for the cluster IPs .
|
@@ -251,9 +271,10 @@ module IControl::Networking
|
|
251
271
|
|
252
272
|
##
|
253
273
|
# Sets the netmasks of this admin IPs.
|
254
|
-
# @
|
255
|
-
# @raise [IControl::Common::
|
256
|
-
# @raise [IControl::Common::
|
274
|
+
# @rspec_example
|
275
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
276
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
277
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
257
278
|
# @param [Hash] opts
|
258
279
|
# @option opts [String] :admin_ips The list of admin IPs .
|
259
280
|
# @option opts [String] :netmasks The list of netmasks of the specified admin IPs .
|