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,115 +1,138 @@
|
|
|
1
1
|
module IControl::Networking
|
|
2
2
|
##
|
|
3
|
-
# The Dynamic Peer Discovery interface enables you to work with the definitions and
|
|
3
|
+
# The Dynamic Peer Discovery interface enables you to work with the definitions and
|
|
4
|
+
# attributes contained in a device's peer discovery objects.
|
|
4
5
|
class ISessionPeerDiscovery < IControl::Base
|
|
5
6
|
|
|
6
7
|
set_id_name "dynpeerlist"
|
|
7
8
|
|
|
9
|
+
class DiscoveryModeSequence < IControl::Base::Sequence ; end
|
|
10
|
+
class FilterModeSequence < IControl::Base::Sequence ; end
|
|
8
11
|
# An enumeration of discovery mode states.
|
|
9
12
|
class DiscoveryMode < IControl::Base::Enumeration; end
|
|
10
13
|
# An enumeration of discovery filter mode states.
|
|
11
14
|
class FilterMode < IControl::Base::Enumeration; end ##
|
|
12
|
-
# Gets the setting allows other remote endpoints to discover this local endpoint and
|
|
15
|
+
# Gets the setting allows other remote endpoints to discover this local endpoint and
|
|
16
|
+
# advertises the local ability to connect.
|
|
17
|
+
# @rspec_example
|
|
13
18
|
# @return [EnabledState]
|
|
14
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
15
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
16
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
19
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
20
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
21
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
17
22
|
def discoverable_peer_enabled_state
|
|
18
23
|
super
|
|
19
24
|
end
|
|
20
25
|
|
|
21
26
|
##
|
|
22
|
-
# Gets the current setting allows other remote endpoints to discover this local endpoint
|
|
27
|
+
# Gets the current setting allows other remote endpoints to discover this local endpoint
|
|
28
|
+
# and enables and disables the logic that detects this condition.
|
|
29
|
+
# @rspec_example
|
|
23
30
|
# @return [EnabledState]
|
|
24
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
25
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
26
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
31
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
32
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
33
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
27
34
|
def discovered_peer_enabled_state
|
|
28
35
|
super
|
|
29
36
|
end
|
|
30
37
|
|
|
31
38
|
##
|
|
32
|
-
# Gets the modes that allows other remote endpoints to enable automatic discovery of
|
|
39
|
+
# Gets the modes that allows other remote endpoints to enable automatic discovery of
|
|
40
|
+
# this local iSession endpoint
|
|
41
|
+
# @rspec_example
|
|
33
42
|
# @return [DiscoveryMode]
|
|
34
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
35
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
36
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
43
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
44
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
45
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
37
46
|
def discovery_mode
|
|
38
47
|
super
|
|
39
48
|
end
|
|
40
49
|
|
|
41
50
|
##
|
|
42
|
-
# Gets the setting that allows other remote endpoints to enable automatic discovery
|
|
51
|
+
# Gets the setting that allows other remote endpoints to enable automatic discovery
|
|
52
|
+
# of this local iSession endpoint
|
|
53
|
+
# @rspec_example
|
|
43
54
|
# @return [FilterMode]
|
|
44
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
45
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
46
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
55
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
56
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
57
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
47
58
|
def discovery_mode_enabled_state
|
|
48
59
|
super
|
|
49
60
|
end
|
|
50
61
|
|
|
51
62
|
##
|
|
52
|
-
# Gets the setting that controls the time we allow for ICMP retries for other remote
|
|
63
|
+
# Gets the setting that controls the time we allow for ICMP retries for other remote
|
|
64
|
+
# endpoints to discover this local endpoint
|
|
65
|
+
# @rspec_example
|
|
53
66
|
# @return [short]
|
|
54
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
55
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
56
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
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.
|
|
57
70
|
def icmp_backoff_time
|
|
58
71
|
super
|
|
59
72
|
end
|
|
60
73
|
|
|
61
74
|
##
|
|
62
|
-
# Gets the setting that controls the number of ICMP requests that we alow for other
|
|
75
|
+
# Gets the setting that controls the number of ICMP requests that we alow for other
|
|
76
|
+
# remote endpoints to discover this local endpoint
|
|
77
|
+
# @rspec_example
|
|
63
78
|
# @return [short]
|
|
64
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
65
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
66
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
79
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
80
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
81
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
67
82
|
def icmp_max_requests
|
|
68
83
|
super
|
|
69
84
|
end
|
|
70
85
|
|
|
71
86
|
##
|
|
72
|
-
# Gets the setting that controls the number of ICMP retries that we allow for other
|
|
87
|
+
# Gets the setting that controls the number of ICMP retries that we allow for other
|
|
88
|
+
# remote endpoints to discover this local endpoint
|
|
89
|
+
# @rspec_example
|
|
73
90
|
# @return [short]
|
|
74
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
75
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
76
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
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.
|
|
77
94
|
def icmp_max_retries
|
|
78
95
|
super
|
|
79
96
|
end
|
|
80
97
|
|
|
81
98
|
##
|
|
82
99
|
# Gets a list of all Dynamic Peer Discovery objects on this device.
|
|
100
|
+
# @rspec_example
|
|
83
101
|
# @return [long]
|
|
84
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
85
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
86
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
102
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
103
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
104
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
87
105
|
def list
|
|
88
106
|
super
|
|
89
107
|
end
|
|
90
108
|
|
|
91
109
|
##
|
|
92
|
-
# Gets the setting that controls the number of ICMP requests that we alow for other
|
|
110
|
+
# Gets the setting that controls the number of ICMP requests that we alow for other
|
|
111
|
+
# remote endpoints to discover this local endpoint
|
|
112
|
+
# @rspec_example
|
|
93
113
|
# @return [short]
|
|
94
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
95
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
96
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
114
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
115
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
116
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
97
117
|
def max_peer_count
|
|
98
118
|
super
|
|
99
119
|
end
|
|
100
120
|
|
|
101
121
|
##
|
|
102
122
|
# Gets the version information for this interface.
|
|
123
|
+
# @rspec_example
|
|
103
124
|
# @return [String]
|
|
104
125
|
def version
|
|
105
126
|
super
|
|
106
127
|
end
|
|
107
128
|
|
|
108
129
|
##
|
|
109
|
-
# Sets the setting allows other remote endpoints to discover this local endpoint and
|
|
110
|
-
#
|
|
111
|
-
# @
|
|
112
|
-
# @raise [IControl::Common::
|
|
130
|
+
# Sets the setting allows other remote endpoints to discover this local endpoint and
|
|
131
|
+
# advertises the local ability to connect.
|
|
132
|
+
# @rspec_example
|
|
133
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
134
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
135
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
113
136
|
# @param [Hash] opts
|
|
114
137
|
# @option opts [IControl::Common::EnabledState] :discoverable_peer The peer discoverable setting.
|
|
115
138
|
def set_discoverable_peer_enabled_state(opts)
|
|
@@ -118,10 +141,12 @@ module IControl::Networking
|
|
|
118
141
|
end
|
|
119
142
|
|
|
120
143
|
##
|
|
121
|
-
# Resets the current setting that allows other remote endpoints to discover this local
|
|
122
|
-
#
|
|
123
|
-
# @
|
|
124
|
-
# @raise [IControl::Common::
|
|
144
|
+
# Resets the current setting that allows other remote endpoints to discover this local
|
|
145
|
+
# endpoint and enables and disables the logic that detects this condition.
|
|
146
|
+
# @rspec_example
|
|
147
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
148
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
149
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
125
150
|
# @param [Hash] opts
|
|
126
151
|
# @option opts [IControl::Common::EnabledState] :discover_peer The discover peer setting
|
|
127
152
|
def set_discovered_peer_enabled_state(opts)
|
|
@@ -130,10 +155,12 @@ module IControl::Networking
|
|
|
130
155
|
end
|
|
131
156
|
|
|
132
157
|
##
|
|
133
|
-
# Sets the modes that allows other remote endpoints to enable automatic discovery of
|
|
134
|
-
#
|
|
135
|
-
# @
|
|
136
|
-
# @raise [IControl::Common::
|
|
158
|
+
# Sets the modes that allows other remote endpoints to enable automatic discovery of
|
|
159
|
+
# this local iSession endpoint
|
|
160
|
+
# @rspec_example
|
|
161
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
162
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
163
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
137
164
|
# @param [Hash] opts
|
|
138
165
|
# @option opts [IControl::Networking::iSessionPeerDiscovery::DiscoveryMode] :discovery_modes The discovery mode setting.
|
|
139
166
|
def set_discovery_mode(opts)
|
|
@@ -142,10 +169,12 @@ module IControl::Networking
|
|
|
142
169
|
end
|
|
143
170
|
|
|
144
171
|
##
|
|
145
|
-
# Sets the setting that allows other remote endpoints to enable automatic discovery
|
|
146
|
-
#
|
|
147
|
-
# @
|
|
148
|
-
# @raise [IControl::Common::
|
|
172
|
+
# Sets the setting that allows other remote endpoints to enable automatic discovery
|
|
173
|
+
# of this local iSession endpoint
|
|
174
|
+
# @rspec_example
|
|
175
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
176
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
177
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
149
178
|
# @param [Hash] opts
|
|
150
179
|
# @option opts [IControl::Networking::iSessionPeerDiscovery::FilterMode] :discovery_mode The discovery mode setting.
|
|
151
180
|
def set_discovery_mode_enabled_state(opts)
|
|
@@ -154,10 +183,12 @@ module IControl::Networking
|
|
|
154
183
|
end
|
|
155
184
|
|
|
156
185
|
##
|
|
157
|
-
# Sets the setting that controls the time we allow for ICMP retries for other remote
|
|
158
|
-
#
|
|
159
|
-
# @
|
|
160
|
-
# @raise [IControl::Common::
|
|
186
|
+
# Sets the setting that controls the time we allow for ICMP retries for other remote
|
|
187
|
+
# endpoints to discover this local endpoint
|
|
188
|
+
# @rspec_example
|
|
189
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
190
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
191
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
161
192
|
# @param [Hash] opts
|
|
162
193
|
# @option opts [short] :max_backoff_time The max icmp backoff time of the Dynamic Peer Discovery objects.
|
|
163
194
|
def set_icmp_backoff_time(opts)
|
|
@@ -166,10 +197,12 @@ module IControl::Networking
|
|
|
166
197
|
end
|
|
167
198
|
|
|
168
199
|
##
|
|
169
|
-
# Sets the setting that controls the number of ICMP requests that we alow for other
|
|
170
|
-
#
|
|
171
|
-
# @
|
|
172
|
-
# @raise [IControl::Common::
|
|
200
|
+
# Sets the setting that controls the number of ICMP requests that we alow for other
|
|
201
|
+
# remote endpoints to discover this local endpoint
|
|
202
|
+
# @rspec_example
|
|
203
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
204
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
205
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
173
206
|
# @param [Hash] opts
|
|
174
207
|
# @option opts [short] :max_requests The max number of requests.
|
|
175
208
|
def set_icmp_max_requests(opts)
|
|
@@ -178,10 +211,12 @@ module IControl::Networking
|
|
|
178
211
|
end
|
|
179
212
|
|
|
180
213
|
##
|
|
181
|
-
# Sets the setting that controls the number of ICMP retries that we allow for other
|
|
182
|
-
#
|
|
183
|
-
# @
|
|
184
|
-
# @raise [IControl::Common::
|
|
214
|
+
# Sets the setting that controls the number of ICMP retries that we allow for other
|
|
215
|
+
# remote endpoints to discover this local endpoint
|
|
216
|
+
# @rspec_example
|
|
217
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
218
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
219
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
185
220
|
# @param [Hash] opts
|
|
186
221
|
# @option opts [short] :max_retries The number of retries.
|
|
187
222
|
def set_icmp_max_retries(opts)
|
|
@@ -190,10 +225,12 @@ module IControl::Networking
|
|
|
190
225
|
end
|
|
191
226
|
|
|
192
227
|
##
|
|
193
|
-
# Sets the setting that controls the number of ICMP requests that we alow for other
|
|
194
|
-
#
|
|
195
|
-
# @
|
|
196
|
-
# @raise [IControl::Common::
|
|
228
|
+
# Sets the setting that controls the number of ICMP requests that we alow for other
|
|
229
|
+
# remote endpoints to discover this local endpoint
|
|
230
|
+
# @rspec_example
|
|
231
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
232
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
233
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
197
234
|
# @param [Hash] opts
|
|
198
235
|
# @option opts [short] :max_peers The max number of peers.
|
|
199
236
|
def set_max_peer_count(opts)
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
module IControl::Networking
|
|
2
2
|
##
|
|
3
|
-
# The iSession RemoteInterface interface enables you to work with the definitions and
|
|
3
|
+
# The iSession RemoteInterface interface enables you to work with the definitions and
|
|
4
|
+
# attributes contained in a device's peer iSession Remote Endpoint objects.
|
|
4
5
|
class ISessionRemoteInterface < IControl::Base
|
|
5
6
|
|
|
6
7
|
set_id_name "peers"
|
|
7
8
|
|
|
9
|
+
class NatSourceAddressSequence < IControl::Base::Sequence ; end
|
|
10
|
+
class OriginStateSequence < IControl::Base::Sequence ; end
|
|
8
11
|
# An enumeration of nat address states.
|
|
9
12
|
class NatSourceAddress < IControl::Base::Enumeration; end
|
|
10
13
|
# An enumeration of origin states.
|
|
11
14
|
class OriginState < IControl::Base::Enumeration; end ##
|
|
12
15
|
# Create a peer Remote Endpoint object.
|
|
13
|
-
# @
|
|
14
|
-
# @raise [IControl::Common::
|
|
15
|
-
# @raise [IControl::Common::
|
|
16
|
+
# @rspec_example
|
|
17
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
18
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
19
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
16
20
|
# @param [Hash] opts
|
|
17
21
|
# @option opts [String] :peer_names The peer names.
|
|
18
22
|
# @option opts [String] :serverssls The serverssl identifiers.
|
|
@@ -25,154 +29,170 @@ module IControl::Networking
|
|
|
25
29
|
|
|
26
30
|
##
|
|
27
31
|
# Deletes all peer remote endpoint objects.
|
|
28
|
-
# @
|
|
29
|
-
# @raise [IControl::Common::
|
|
30
|
-
# @raise [IControl::Common::
|
|
32
|
+
# @rspec_example
|
|
33
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
34
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
35
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
31
36
|
def delete_all_peers
|
|
32
37
|
super
|
|
33
38
|
end
|
|
34
39
|
|
|
35
40
|
##
|
|
36
41
|
# Delete the peer Remote Endpoint object.
|
|
37
|
-
# @
|
|
38
|
-
# @raise [IControl::Common::
|
|
39
|
-
# @raise [IControl::Common::
|
|
42
|
+
# @rspec_example
|
|
43
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
44
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
45
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
40
46
|
def delete_peer
|
|
41
47
|
super
|
|
42
48
|
end
|
|
43
49
|
|
|
44
50
|
##
|
|
45
51
|
# Get UUID
|
|
52
|
+
# @rspec_example
|
|
46
53
|
# @return [Uuid_128]
|
|
47
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
48
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
49
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
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
|
def UUID
|
|
51
58
|
super
|
|
52
59
|
end
|
|
53
60
|
|
|
54
61
|
##
|
|
55
62
|
# Get the nat attribute from the peer WOC object.
|
|
63
|
+
# @rspec_example
|
|
56
64
|
# @return [EnabledState]
|
|
57
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
58
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
59
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
65
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
66
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
67
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
60
68
|
def behind_nat
|
|
61
69
|
super
|
|
62
70
|
end
|
|
63
71
|
|
|
64
72
|
##
|
|
65
73
|
# Get dedup_cache
|
|
74
|
+
# @rspec_example
|
|
66
75
|
# @return [long]
|
|
67
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
68
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
69
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
76
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
77
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
78
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
70
79
|
def dedup_cache
|
|
71
80
|
super
|
|
72
81
|
end
|
|
73
82
|
|
|
74
83
|
##
|
|
75
84
|
# Get a list of the current iSession peer objects.
|
|
85
|
+
# @rspec_example
|
|
76
86
|
# @return [String]
|
|
77
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
78
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
79
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
87
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
88
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
89
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
80
90
|
def list
|
|
81
91
|
super
|
|
82
92
|
end
|
|
83
93
|
|
|
84
94
|
##
|
|
85
95
|
# Get Management address
|
|
96
|
+
# @rspec_example
|
|
86
97
|
# @return [String]
|
|
87
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
88
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
89
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
98
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
99
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
100
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
90
101
|
def management_address
|
|
91
102
|
super
|
|
92
103
|
end
|
|
93
104
|
|
|
94
105
|
##
|
|
95
106
|
# Get config_status
|
|
107
|
+
# @rspec_example
|
|
96
108
|
# @return [String]
|
|
97
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
98
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
99
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
109
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
110
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
111
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
100
112
|
def nat_config_status
|
|
101
113
|
super
|
|
102
114
|
end
|
|
103
115
|
|
|
104
116
|
##
|
|
105
117
|
# Get the nat address attribute in the peer WOC object.
|
|
118
|
+
# @rspec_example
|
|
106
119
|
# @return [NatSourceAddress]
|
|
107
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
108
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
109
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
120
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
121
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
122
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
110
123
|
def nat_source_address
|
|
111
124
|
super
|
|
112
125
|
end
|
|
113
126
|
|
|
114
127
|
##
|
|
115
128
|
# Get origin
|
|
129
|
+
# @rspec_example
|
|
116
130
|
# @return [OriginState]
|
|
117
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
118
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
119
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
131
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
132
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
133
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
120
134
|
def origin
|
|
121
135
|
super
|
|
122
136
|
end
|
|
123
137
|
|
|
124
138
|
##
|
|
125
139
|
# Get enable setting in the peer object.
|
|
140
|
+
# @rspec_example
|
|
126
141
|
# @return [EnabledState]
|
|
127
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
128
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
129
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
142
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
143
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
144
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
130
145
|
def peer_enabled_state
|
|
131
146
|
super
|
|
132
147
|
end
|
|
133
148
|
|
|
134
149
|
##
|
|
135
150
|
# Get a list of the current iSession peer object ips.
|
|
151
|
+
# @rspec_example
|
|
136
152
|
# @return [String[]]
|
|
137
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
138
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
139
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
153
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
154
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
155
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
140
156
|
def peer_ip_list
|
|
141
157
|
super
|
|
142
158
|
end
|
|
143
159
|
|
|
144
160
|
##
|
|
145
161
|
# Get enabled flag in the peer routing attribute.
|
|
162
|
+
# @rspec_example
|
|
146
163
|
# @return [EnabledState]
|
|
147
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
148
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
149
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
164
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
165
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
166
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
150
167
|
def peer_routing_state
|
|
151
168
|
super
|
|
152
169
|
end
|
|
153
170
|
|
|
154
171
|
##
|
|
155
172
|
# Get serverssl
|
|
173
|
+
# @rspec_example
|
|
156
174
|
# @return [String]
|
|
157
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
158
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
159
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
175
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
176
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
177
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
160
178
|
def profile_serverssl
|
|
161
179
|
super
|
|
162
180
|
end
|
|
163
181
|
|
|
164
182
|
##
|
|
165
183
|
# Get tunnel_port
|
|
184
|
+
# @rspec_example
|
|
166
185
|
# @return [short]
|
|
167
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
168
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
169
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
186
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
187
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
188
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
170
189
|
def tunnel_port
|
|
171
190
|
super
|
|
172
191
|
end
|
|
173
192
|
|
|
174
193
|
##
|
|
175
194
|
# Gets the version information for this interface.
|
|
195
|
+
# @rspec_example
|
|
176
196
|
# @return [String]
|
|
177
197
|
def version
|
|
178
198
|
super
|
|
@@ -180,9 +200,10 @@ module IControl::Networking
|
|
|
180
200
|
|
|
181
201
|
##
|
|
182
202
|
# Set the nat attribute in the peer WOC object.
|
|
183
|
-
# @
|
|
184
|
-
# @raise [IControl::Common::
|
|
185
|
-
# @raise [IControl::Common::
|
|
203
|
+
# @rspec_example
|
|
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.
|
|
186
207
|
# @param [Hash] opts
|
|
187
208
|
# @option opts [IControl::Common::EnabledState] :nat_states The new nat states.
|
|
188
209
|
def set_behind_nat(opts)
|
|
@@ -192,9 +213,10 @@ module IControl::Networking
|
|
|
192
213
|
|
|
193
214
|
##
|
|
194
215
|
# Set Management address
|
|
195
|
-
# @
|
|
196
|
-
# @raise [IControl::Common::
|
|
197
|
-
# @raise [IControl::Common::
|
|
216
|
+
# @rspec_example
|
|
217
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
218
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
219
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
198
220
|
# @param [Hash] opts
|
|
199
221
|
# @option opts [String] :ips The new mgmt addresses to use.
|
|
200
222
|
def set_management_address(opts)
|
|
@@ -204,9 +226,10 @@ module IControl::Networking
|
|
|
204
226
|
|
|
205
227
|
##
|
|
206
228
|
# Set config_status
|
|
207
|
-
# @
|
|
208
|
-
# @raise [IControl::Common::
|
|
209
|
-
# @raise [IControl::Common::
|
|
229
|
+
# @rspec_example
|
|
230
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
231
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
232
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
210
233
|
# @param [Hash] opts
|
|
211
234
|
# @option opts [String] :nat_configs The new nat configs.
|
|
212
235
|
def set_nat_config_status(opts)
|
|
@@ -216,9 +239,10 @@ module IControl::Networking
|
|
|
216
239
|
|
|
217
240
|
##
|
|
218
241
|
# Set the nat address attribute in the peer WOC object.
|
|
219
|
-
# @
|
|
220
|
-
# @raise [IControl::Common::
|
|
221
|
-
# @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.
|
|
222
246
|
# @param [Hash] opts
|
|
223
247
|
# @option opts [IControl::Networking::iSessionRemoteInterface::NatSourceAddress] :nat_states The new nat states.
|
|
224
248
|
def set_nat_source_address(opts)
|
|
@@ -228,9 +252,10 @@ module IControl::Networking
|
|
|
228
252
|
|
|
229
253
|
##
|
|
230
254
|
# Set origin
|
|
231
|
-
# @
|
|
232
|
-
# @raise [IControl::Common::
|
|
233
|
-
# @raise [IControl::Common::
|
|
255
|
+
# @rspec_example
|
|
256
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
257
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
258
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
234
259
|
# @param [Hash] opts
|
|
235
260
|
# @option opts [IControl::Networking::iSessionRemoteInterface::OriginState] :origins The new peer origin states.
|
|
236
261
|
def set_origin(opts)
|
|
@@ -240,9 +265,10 @@ module IControl::Networking
|
|
|
240
265
|
|
|
241
266
|
##
|
|
242
267
|
# Set enable in the peer object.
|
|
243
|
-
# @
|
|
244
|
-
# @raise [IControl::Common::
|
|
245
|
-
# @raise [IControl::Common::
|
|
268
|
+
# @rspec_example
|
|
269
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
270
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
271
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
246
272
|
# @param [Hash] opts
|
|
247
273
|
# @option opts [IControl::Common::EnabledState] :enabled The enabled flag.
|
|
248
274
|
def set_peer_enabled_state(opts)
|
|
@@ -252,9 +278,10 @@ module IControl::Networking
|
|
|
252
278
|
|
|
253
279
|
##
|
|
254
280
|
# Set enabled flag in the peer routing attribute.
|
|
255
|
-
# @
|
|
256
|
-
# @raise [IControl::Common::
|
|
257
|
-
# @raise [IControl::Common::
|
|
281
|
+
# @rspec_example
|
|
282
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
283
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
284
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
258
285
|
# @param [Hash] opts
|
|
259
286
|
# @option opts [IControl::Common::EnabledState] :routing
|
|
260
287
|
def set_peer_routing_state(opts)
|
|
@@ -264,9 +291,10 @@ module IControl::Networking
|
|
|
264
291
|
|
|
265
292
|
##
|
|
266
293
|
# Set serverssl
|
|
267
|
-
# @
|
|
268
|
-
# @raise [IControl::Common::
|
|
269
|
-
# @raise [IControl::Common::
|
|
294
|
+
# @rspec_example
|
|
295
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
296
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
297
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
270
298
|
# @param [Hash] opts
|
|
271
299
|
# @option opts [String] :serverssl The server ssl name.
|
|
272
300
|
def set_profile_serverssl(opts)
|
|
@@ -276,9 +304,10 @@ module IControl::Networking
|
|
|
276
304
|
|
|
277
305
|
##
|
|
278
306
|
# Set tunnel_port
|
|
279
|
-
# @
|
|
280
|
-
# @raise [IControl::Common::
|
|
281
|
-
# @raise [IControl::Common::
|
|
307
|
+
# @rspec_example
|
|
308
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
309
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
310
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
282
311
|
# @param [Hash] opts
|
|
283
312
|
# @option opts [short] :tunnel_ports The tunnel port number.
|
|
284
313
|
def set_tunnel_port(opts)
|