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
@@ -1,149 +1,174 @@
|
|
1
1
|
module IControl::LocalLB
|
2
2
|
##
|
3
|
-
# The ProfileDiameter interface enables you to manipulate a local load balancer's Diameter
|
3
|
+
# The ProfileDiameter interface enables you to manipulate a local load balancer's Diameter
|
4
|
+
# profile.
|
4
5
|
class ProfileDiameter < IControl::Base
|
5
6
|
|
6
7
|
set_id_name "profile_names"
|
7
8
|
|
8
9
|
class ProfileDiameterStatisticEntry < IControl::Base::Struct; end
|
9
|
-
class ProfileDiameterStatistics < IControl::Base::Struct; end
|
10
|
+
class ProfileDiameterStatistics < IControl::Base::Struct; end
|
11
|
+
class ProfileDiameterStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
10
12
|
# Creates this Diameter profile.
|
11
|
-
# @
|
12
|
-
# @raise [IControl::Common::
|
13
|
-
# @raise [IControl::Common::
|
13
|
+
# @rspec_example
|
14
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
15
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
16
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
14
17
|
def create
|
15
18
|
super
|
16
19
|
end
|
17
20
|
|
18
21
|
##
|
19
22
|
# Deletes all Diameter profile.
|
20
|
-
# @
|
21
|
-
# @raise [IControl::Common::
|
22
|
-
# @raise [IControl::Common::
|
23
|
+
# @rspec_example
|
24
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
25
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
26
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
23
27
|
def delete_all_profiles
|
24
28
|
super
|
25
29
|
end
|
26
30
|
|
27
31
|
##
|
28
32
|
# Deletes this Diameter profile.
|
29
|
-
# @
|
30
|
-
# @raise [IControl::Common::
|
31
|
-
# @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.
|
32
37
|
def delete_profile
|
33
38
|
super
|
34
39
|
end
|
35
40
|
|
36
41
|
##
|
37
42
|
# Gets the statistics for all the Diameter profile.
|
43
|
+
# @rspec_example
|
38
44
|
# @return [ProfileDiameterStatistics]
|
39
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
40
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
41
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
45
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
46
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
47
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
42
48
|
def all_statistics
|
43
49
|
super
|
44
50
|
end
|
45
51
|
|
46
52
|
##
|
47
|
-
# Gets the names of the default profile from which this profile will derive default
|
53
|
+
# Gets the names of the default profile from which this profile will derive default
|
54
|
+
# values for its attributes.
|
55
|
+
# @rspec_example
|
48
56
|
# @return [String]
|
49
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
50
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
51
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
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.
|
52
60
|
def default_profile
|
53
61
|
super
|
54
62
|
end
|
55
63
|
|
56
64
|
##
|
57
|
-
# Gets the realm to which a Diameter message is to be routed, overriding a destination
|
65
|
+
# Gets the realm to which a Diameter message is to be routed, overriding a destination
|
66
|
+
# realm present in the message. See set_destination_realm for more information.
|
67
|
+
# @rspec_example
|
58
68
|
# @return [ProfileString]
|
59
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
60
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
61
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
69
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
70
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
71
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
62
72
|
def destination_realm
|
63
73
|
super
|
64
74
|
end
|
65
75
|
|
66
76
|
##
|
67
77
|
# Gets a list of all Diameter profile.
|
78
|
+
# @rspec_example
|
68
79
|
# @return [String]
|
69
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
70
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
71
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
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.
|
72
83
|
def list
|
73
84
|
super
|
74
85
|
end
|
75
86
|
|
76
87
|
##
|
77
|
-
# Gets the states to indicate whether overwrite destination host is enabled. See set_overwrite_destination_host_state
|
88
|
+
# Gets the states to indicate whether overwrite destination host is enabled. See set_overwrite_destination_host_state
|
89
|
+
# for more information.
|
90
|
+
# @rspec_example
|
78
91
|
# @return [ProfileEnabledState]
|
79
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
80
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
81
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
92
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
93
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
94
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
82
95
|
def overwrite_destination_host_state
|
83
96
|
super
|
84
97
|
end
|
85
98
|
|
86
99
|
##
|
87
|
-
# Gets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
|
100
|
+
# Gets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
|
101
|
+
# the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information
|
102
|
+
# on the AVP specification.
|
103
|
+
# @rspec_example
|
88
104
|
# @return [ProfileString]
|
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.
|
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.
|
92
108
|
def parent_avp
|
93
109
|
super
|
94
110
|
end
|
95
111
|
|
96
112
|
##
|
97
|
-
# Gets the the Diameter Attribute Value Pair (AVP) on which to persist for each of
|
113
|
+
# Gets the the Diameter Attribute Value Pair (AVP) on which to persist for each of
|
114
|
+
# the profile given. See set_persist_avp for more information on the AVP specification.
|
115
|
+
# @rspec_example
|
98
116
|
# @return [ProfileString]
|
99
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
100
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
101
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
117
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
118
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
119
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
102
120
|
def persist_avp
|
103
121
|
super
|
104
122
|
end
|
105
123
|
|
106
124
|
##
|
107
125
|
# Gets the statistics for this Diameter profile.
|
126
|
+
# @rspec_example
|
108
127
|
# @return [ProfileDiameterStatistics]
|
109
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
110
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
111
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
128
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
129
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
130
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
112
131
|
def statistics
|
113
132
|
super
|
114
133
|
end
|
115
134
|
|
116
135
|
##
|
117
136
|
# Gets the version information for this interface.
|
137
|
+
# @rspec_example
|
118
138
|
# @return [String]
|
119
139
|
def version
|
120
140
|
super
|
121
141
|
end
|
122
142
|
|
123
143
|
##
|
124
|
-
# Determines whether this profile are base/pre-configured profile, or user-defined
|
144
|
+
# Determines whether this profile are base/pre-configured profile, or user-defined
|
145
|
+
# profile.
|
146
|
+
# @rspec_example
|
125
147
|
# @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.
|
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.
|
129
151
|
def is_base_profile
|
130
152
|
super
|
131
153
|
end
|
132
154
|
|
133
155
|
##
|
134
156
|
# Resets the statistics for this Diameter profile.
|
135
|
-
# @
|
136
|
-
# @raise [IControl::Common::
|
137
|
-
# @raise [IControl::Common::
|
157
|
+
# @rspec_example
|
158
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
159
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
160
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
138
161
|
def reset_statistics
|
139
162
|
super
|
140
163
|
end
|
141
164
|
|
142
165
|
##
|
143
|
-
# Sets the names of the default profile from which this profile will derive default
|
144
|
-
#
|
145
|
-
# @
|
146
|
-
# @raise [IControl::Common::
|
166
|
+
# Sets the names of the default profile from which this profile will derive default
|
167
|
+
# values for its attributes.
|
168
|
+
# @rspec_example
|
169
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
170
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
171
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
147
172
|
# @param [Hash] opts
|
148
173
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
149
174
|
def set_default_profile(opts)
|
@@ -152,10 +177,13 @@ module IControl::LocalLB
|
|
152
177
|
end
|
153
178
|
|
154
179
|
##
|
155
|
-
# Sets the realm to which a Diameter message is to be routed, overriding a destination
|
156
|
-
#
|
157
|
-
#
|
158
|
-
# @
|
180
|
+
# Sets the realm to which a Diameter message is to be routed, overriding a destination
|
181
|
+
# realm present in the message. If a message does not have a destination realm, then
|
182
|
+
# this setting has no effect.
|
183
|
+
# @rspec_example
|
184
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
185
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
186
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
159
187
|
# @param [Hash] opts
|
160
188
|
# @option opts [IControl::LocalLB::ProfileString] :realms The destination realms for the specified profiles.
|
161
189
|
def set_destination_realm(opts)
|
@@ -164,10 +192,13 @@ module IControl::LocalLB
|
|
164
192
|
end
|
165
193
|
|
166
194
|
##
|
167
|
-
# Sets the states to indicate whether overwrite destination host is enabled. If it
|
168
|
-
#
|
169
|
-
#
|
170
|
-
# @
|
195
|
+
# Sets the states to indicate whether overwrite destination host is enabled. If it
|
196
|
+
# is enabled, the system will overwrite the Destination-Host AVP (in a request) with
|
197
|
+
# the pool member's address.
|
198
|
+
# @rspec_example
|
199
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
200
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
201
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
171
202
|
# @param [Hash] opts
|
172
203
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states to set.
|
173
204
|
def set_overwrite_destination_host_state(opts)
|
@@ -176,10 +207,13 @@ module IControl::LocalLB
|
|
176
207
|
end
|
177
208
|
|
178
209
|
##
|
179
|
-
# Sets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# @
|
210
|
+
# Sets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
|
211
|
+
# the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information
|
212
|
+
# on the AVP specification.
|
213
|
+
# @rspec_example
|
214
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
215
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
216
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
183
217
|
# @param [Hash] opts
|
184
218
|
# @option opts [IControl::LocalLB::ProfileString] :avps The attribute value pair acting as parent for the persist AVP for the specified profiles.
|
185
219
|
def set_parent_avp(opts)
|
@@ -188,10 +222,18 @@ module IControl::LocalLB
|
|
188
222
|
end
|
189
223
|
|
190
224
|
##
|
191
|
-
# Sets the Diameter Attribute Value Pair (AVP) on which to persist for each of the
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
225
|
+
# Sets the Diameter Attribute Value Pair (AVP) on which to persist for each of the
|
226
|
+
# profile given. The AVP specification can be a string or a numeric code (1-4294967295),
|
227
|
+
# encoded as string. If the string is empty, or the code does not exist in the traffic
|
228
|
+
# coming to the system, then persist is disabled (if the name is not recognized, this
|
229
|
+
# method will produce an error). See RFC 3588, section 4.5, for valid base numeric
|
230
|
+
# codes. Valid names are as follows, in any mix of upper and lower case: &quot;auth-application-id",
|
231
|
+
# &quot;destination-host", &quot;destination-realm", &quot;origin-host",
|
232
|
+
# &quot;origin-realm", &quot;session-id", &quot;subscription-id", &quot;subscription-id-data".
|
233
|
+
# @rspec_example
|
234
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
235
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
236
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
195
237
|
# @param [Hash] opts
|
196
238
|
# @option opts [IControl::LocalLB::ProfileString] :avps The attribute value pair on which to persist for the specified profiles.
|
197
239
|
def set_persist_avp(opts)
|
@@ -202,18 +244,18 @@ module IControl::LocalLB
|
|
202
244
|
##
|
203
245
|
# A struct that describes statistics for a particular Diameter profile.
|
204
246
|
# @attr [String] profile_name The profile name.
|
205
|
-
# @attr [IControl::Common::
|
247
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
|
206
248
|
class ProfileDiameterStatisticEntry < IControl::Base::Struct
|
207
249
|
icontrol_attribute :profile_name, String
|
208
|
-
icontrol_attribute :statistics, IControl::Common::
|
250
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
209
251
|
end
|
210
252
|
|
211
253
|
##
|
212
254
|
# A struct that describes profile statistics and timestamp.
|
213
|
-
# @attr [IControl::LocalLB::ProfileDiameter::
|
255
|
+
# @attr [IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntrySequence] statistics The statistics for a sequence of profiles.
|
214
256
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
215
257
|
class ProfileDiameterStatistics < IControl::Base::Struct
|
216
|
-
icontrol_attribute :statistics, IControl::LocalLB::ProfileDiameter::
|
258
|
+
icontrol_attribute :statistics, IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntrySequence
|
217
259
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
218
260
|
end
|
219
261
|
|
@@ -6,114 +6,131 @@ module IControl::LocalLB
|
|
6
6
|
set_id_name "profile_names"
|
7
7
|
|
8
8
|
class ProfileDNSStatisticEntry < IControl::Base::Struct; end
|
9
|
-
class ProfileDNSStatistics < IControl::Base::Struct; end
|
9
|
+
class ProfileDNSStatistics < IControl::Base::Struct; end
|
10
|
+
class ProfileDNSStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
10
11
|
# Creates this DNS profile.
|
11
|
-
# @
|
12
|
-
# @raise [IControl::Common::
|
13
|
-
# @raise [IControl::Common::
|
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.
|
14
16
|
def create
|
15
17
|
super
|
16
18
|
end
|
17
19
|
|
18
20
|
##
|
19
21
|
# Deletes all DNS profile.
|
20
|
-
# @
|
21
|
-
# @raise [IControl::Common::
|
22
|
-
# @raise [IControl::Common::
|
22
|
+
# @rspec_example
|
23
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
24
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
25
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
23
26
|
def delete_all_profiles
|
24
27
|
super
|
25
28
|
end
|
26
29
|
|
27
30
|
##
|
28
31
|
# Deletes this DNS profile.
|
29
|
-
# @
|
30
|
-
# @raise [IControl::Common::
|
31
|
-
# @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.
|
32
36
|
def delete_profile
|
33
37
|
super
|
34
38
|
end
|
35
39
|
|
36
40
|
##
|
37
41
|
# Gets the statistics for all the DNS profile.
|
42
|
+
# @rspec_example
|
38
43
|
# @return [ProfileDNSStatistics]
|
39
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
40
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
41
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
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.
|
42
47
|
def all_statistics
|
43
48
|
super
|
44
49
|
end
|
45
50
|
|
46
51
|
##
|
47
|
-
# Gets the names of the default profile from which this profile will derive default
|
52
|
+
# Gets the names of the default profile from which this profile will derive default
|
53
|
+
# values for its attributes.
|
54
|
+
# @rspec_example
|
48
55
|
# @return [String]
|
49
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
50
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
51
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
56
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
57
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
58
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
52
59
|
def default_profile
|
53
60
|
super
|
54
61
|
end
|
55
62
|
|
56
63
|
##
|
57
|
-
# Gets the state that if true, allows GTM to handle DNS resolution for DNS queries
|
64
|
+
# Gets the state that if true, allows GTM to handle DNS resolution for DNS queries
|
65
|
+
# and responses that contain wide IP names.
|
66
|
+
# @rspec_example
|
58
67
|
# @return [ProfileEnabledState]
|
59
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
60
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
61
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
68
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
69
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
70
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
62
71
|
def gtm_enabled_state
|
63
72
|
super
|
64
73
|
end
|
65
74
|
|
66
75
|
##
|
67
76
|
# Gets a list of all DNS profile.
|
77
|
+
# @rspec_example
|
68
78
|
# @return [String]
|
69
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
70
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
71
|
-
# @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.
|
72
82
|
def list
|
73
83
|
super
|
74
84
|
end
|
75
85
|
|
76
86
|
##
|
77
87
|
# Gets the statistics for this DNS profile.
|
88
|
+
# @rspec_example
|
78
89
|
# @return [ProfileDNSStatistics]
|
79
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
80
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
81
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
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.
|
82
93
|
def statistics
|
83
94
|
super
|
84
95
|
end
|
85
96
|
|
86
97
|
##
|
87
98
|
# Gets the version information for this interface.
|
99
|
+
# @rspec_example
|
88
100
|
# @return [String]
|
89
101
|
def version
|
90
102
|
super
|
91
103
|
end
|
92
104
|
|
93
105
|
##
|
94
|
-
# Determines whether this profile are base/pre-configured profile, or user-defined
|
106
|
+
# Determines whether this profile are base/pre-configured profile, or user-defined
|
107
|
+
# profile.
|
108
|
+
# @rspec_example
|
95
109
|
# @return [boolean]
|
96
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
97
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
98
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
110
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
111
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
112
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
99
113
|
def is_base_profile
|
100
114
|
super
|
101
115
|
end
|
102
116
|
|
103
117
|
##
|
104
118
|
# Resets the statistics for this DNS profile.
|
105
|
-
# @
|
106
|
-
# @raise [IControl::Common::
|
107
|
-
# @raise [IControl::Common::
|
119
|
+
# @rspec_example
|
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.
|
108
123
|
def reset_statistics
|
109
124
|
super
|
110
125
|
end
|
111
126
|
|
112
127
|
##
|
113
|
-
# Sets the names of the default profile from which this profile will derive default
|
114
|
-
#
|
115
|
-
# @
|
116
|
-
# @raise [IControl::Common::
|
128
|
+
# Sets the names of the default profile from which this profile will derive default
|
129
|
+
# values for its attributes.
|
130
|
+
# @rspec_example
|
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.
|
117
134
|
# @param [Hash] opts
|
118
135
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
119
136
|
def set_default_profile(opts)
|
@@ -122,10 +139,12 @@ module IControl::LocalLB
|
|
122
139
|
end
|
123
140
|
|
124
141
|
##
|
125
|
-
# Sets the state that if true, allows GTM to handle DNS resolution for DNS queries
|
126
|
-
#
|
127
|
-
# @
|
128
|
-
# @raise [IControl::Common::
|
142
|
+
# Sets the state that if true, allows GTM to handle DNS resolution for DNS queries
|
143
|
+
# and responses that contain wide IP names.
|
144
|
+
# @rspec_example
|
145
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
146
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
147
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
129
148
|
# @param [Hash] opts
|
130
149
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
|
131
150
|
def set_gtm_enabled_state(opts)
|
@@ -136,18 +155,18 @@ module IControl::LocalLB
|
|
136
155
|
##
|
137
156
|
# A struct that describes statistics for a particular DNS profile.
|
138
157
|
# @attr [String] profile_name The profile name.
|
139
|
-
# @attr [IControl::Common::
|
158
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
|
140
159
|
class ProfileDNSStatisticEntry < IControl::Base::Struct
|
141
160
|
icontrol_attribute :profile_name, String
|
142
|
-
icontrol_attribute :statistics, IControl::Common::
|
161
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
143
162
|
end
|
144
163
|
|
145
164
|
##
|
146
165
|
# A struct that describes profile statistics and timestamp.
|
147
|
-
# @attr [IControl::LocalLB::ProfileDNS::
|
166
|
+
# @attr [IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntrySequence] statistics The statistics for a sequence of profiles.
|
148
167
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
149
168
|
class ProfileDNSStatistics < IControl::Base::Struct
|
150
|
-
icontrol_attribute :statistics, IControl::LocalLB::ProfileDNS::
|
169
|
+
icontrol_attribute :statistics, IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntrySequence
|
151
170
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
152
171
|
end
|
153
172
|
|