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
|
@@ -6,145 +6,167 @@ module IControl::LocalLB
|
|
|
6
6
|
set_id_name "profile_names"
|
|
7
7
|
|
|
8
8
|
class ProfileSIPStatisticEntry < IControl::Base::Struct; end
|
|
9
|
-
class ProfileSIPStatistics < IControl::Base::Struct; end
|
|
9
|
+
class ProfileSIPStatistics < IControl::Base::Struct; end
|
|
10
|
+
class ProfileSIPStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
|
10
11
|
# Creates this SIP 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 SIP 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 SIP 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 SIP profile.
|
|
42
|
+
# @rspec_example
|
|
38
43
|
# @return [ProfileSIPStatistics]
|
|
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
64
|
# Gets whether this SIP profile are dialog aware.
|
|
65
|
+
# @rspec_example
|
|
58
66
|
# @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.
|
|
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 dialog_aware_state
|
|
63
71
|
super
|
|
64
72
|
end
|
|
65
73
|
|
|
66
74
|
##
|
|
67
|
-
# Gets the insert Record-Route states for this SIP profile. If true, insert a Record-Route
|
|
75
|
+
# Gets the insert Record-Route states for this SIP profile. If true, insert a Record-Route
|
|
76
|
+
# header field value into the SIP message.
|
|
77
|
+
# @rspec_example
|
|
68
78
|
# @return [ProfileEnabledState]
|
|
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 insert_record_route_state
|
|
73
83
|
super
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
##
|
|
77
|
-
# Gets the insert Via header states for this SIP profile. If true, insert a Via header
|
|
87
|
+
# Gets the insert Via header states for this SIP profile. If true, insert a Via header
|
|
88
|
+
# into the SIP message.
|
|
89
|
+
# @rspec_example
|
|
78
90
|
# @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.
|
|
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.
|
|
82
94
|
def insert_via_state
|
|
83
95
|
super
|
|
84
96
|
end
|
|
85
97
|
|
|
86
98
|
##
|
|
87
99
|
# Gets a list of all SIP profile.
|
|
100
|
+
# @rspec_example
|
|
88
101
|
# @return [String]
|
|
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.
|
|
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.
|
|
92
105
|
def list
|
|
93
106
|
super
|
|
94
107
|
end
|
|
95
108
|
|
|
96
109
|
##
|
|
97
|
-
# Gets the maximum SIP message sizes for this SIP profile. This indicates the maximum
|
|
110
|
+
# Gets the maximum SIP message sizes for this SIP profile. This indicates the maximum
|
|
111
|
+
# SIP header size the BIG-IP will accept.
|
|
112
|
+
# @rspec_example
|
|
98
113
|
# @return [ProfileULong]
|
|
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.
|
|
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.
|
|
102
117
|
def max_message_size
|
|
103
118
|
super
|
|
104
119
|
end
|
|
105
120
|
|
|
106
121
|
##
|
|
107
|
-
# Gets the secure Via states for this SIP profile. If true, use &quot;TLS" in the
|
|
122
|
+
# Gets the secure Via states for this SIP profile. If true, use &quot;TLS" in the
|
|
123
|
+
# sent-protocol portion of an inserted Via header.
|
|
124
|
+
# @rspec_example
|
|
108
125
|
# @return [ProfileEnabledState]
|
|
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.
|
|
126
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
127
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
128
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
112
129
|
def secure_via_state
|
|
113
130
|
super
|
|
114
131
|
end
|
|
115
132
|
|
|
116
133
|
##
|
|
117
134
|
# Gets the community name for this SIP profile.
|
|
135
|
+
# @rspec_example
|
|
118
136
|
# @return [ProfileString]
|
|
119
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
120
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
121
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
137
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
138
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
139
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
122
140
|
def sip_community
|
|
123
141
|
super
|
|
124
142
|
end
|
|
125
143
|
|
|
126
144
|
##
|
|
127
145
|
# Gets the statistics for this SIP profile.
|
|
146
|
+
# @rspec_example
|
|
128
147
|
# @return [ProfileSIPStatistics]
|
|
129
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
130
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
131
|
-
# @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.
|
|
132
151
|
def statistics
|
|
133
152
|
super
|
|
134
153
|
end
|
|
135
154
|
|
|
136
155
|
##
|
|
137
|
-
# Gets the terminate connection after bye states for this SIP profile. If true, terminate
|
|
156
|
+
# Gets the terminate connection after bye states for this SIP profile. If true, terminate
|
|
157
|
+
# a connection after a (200 BYE) message.
|
|
158
|
+
# @rspec_example
|
|
138
159
|
# @return [ProfileEnabledState]
|
|
139
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
140
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
141
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
160
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
161
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
162
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
142
163
|
def terminate_connection_after_bye_state
|
|
143
164
|
super
|
|
144
165
|
end
|
|
145
166
|
|
|
146
167
|
##
|
|
147
168
|
# Gets the version information for this interface.
|
|
169
|
+
# @rspec_example
|
|
148
170
|
# @return [String]
|
|
149
171
|
def version
|
|
150
172
|
super
|
|
@@ -152,38 +174,44 @@ module IControl::LocalLB
|
|
|
152
174
|
|
|
153
175
|
##
|
|
154
176
|
# Gets the via userdata for this SIP profile.
|
|
177
|
+
# @rspec_example
|
|
155
178
|
# @return [ProfileString]
|
|
156
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
157
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
158
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
179
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
180
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
181
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
159
182
|
def via_userdata
|
|
160
183
|
super
|
|
161
184
|
end
|
|
162
185
|
|
|
163
186
|
##
|
|
164
|
-
# Determines whether this profile are base/pre-configured profile, or user-defined
|
|
187
|
+
# Determines whether this profile are base/pre-configured profile, or user-defined
|
|
188
|
+
# profile.
|
|
189
|
+
# @rspec_example
|
|
165
190
|
# @return [boolean]
|
|
166
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
167
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
168
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
191
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
192
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
193
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
169
194
|
def is_base_profile
|
|
170
195
|
super
|
|
171
196
|
end
|
|
172
197
|
|
|
173
198
|
##
|
|
174
199
|
# Resets the statistics for this SIP profile.
|
|
175
|
-
# @
|
|
176
|
-
# @raise [IControl::Common::
|
|
177
|
-
# @raise [IControl::Common::
|
|
200
|
+
# @rspec_example
|
|
201
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
202
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
203
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
178
204
|
def reset_statistics
|
|
179
205
|
super
|
|
180
206
|
end
|
|
181
207
|
|
|
182
208
|
##
|
|
183
|
-
# Sets the names of the default profile from which this profile will derive default
|
|
184
|
-
#
|
|
185
|
-
# @
|
|
186
|
-
# @raise [IControl::Common::
|
|
209
|
+
# Sets the names of the default profile from which this profile will derive default
|
|
210
|
+
# values for its attributes.
|
|
211
|
+
# @rspec_example
|
|
212
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
213
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
214
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
187
215
|
# @param [Hash] opts
|
|
188
216
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
|
189
217
|
def set_default_profile(opts)
|
|
@@ -192,10 +220,12 @@ module IControl::LocalLB
|
|
|
192
220
|
end
|
|
193
221
|
|
|
194
222
|
##
|
|
195
|
-
# Sets whether this SIP profile should gather SIP dialog information and automatically
|
|
196
|
-
#
|
|
197
|
-
# @
|
|
198
|
-
# @raise [IControl::Common::
|
|
223
|
+
# Sets whether this SIP profile should gather SIP dialog information and automatically
|
|
224
|
+
# forward SIP messages belonging to known SIP dialogs.
|
|
225
|
+
# @rspec_example
|
|
226
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
227
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
228
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
199
229
|
# @param [Hash] opts
|
|
200
230
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The SIP dialog aware state for the specified profiles
|
|
201
231
|
def set_dialog_aware_state(opts)
|
|
@@ -204,10 +234,12 @@ module IControl::LocalLB
|
|
|
204
234
|
end
|
|
205
235
|
|
|
206
236
|
##
|
|
207
|
-
# Sets the insert Record-Route states for this SIP profile. If true, insert a Record-Route
|
|
208
|
-
#
|
|
209
|
-
# @
|
|
210
|
-
# @raise [IControl::Common::
|
|
237
|
+
# Sets the insert Record-Route states for this SIP profile. If true, insert a Record-Route
|
|
238
|
+
# header field value into the SIP message.
|
|
239
|
+
# @rspec_example
|
|
240
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
241
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
242
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
211
243
|
# @param [Hash] opts
|
|
212
244
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The insert Record-Route states for the specified profiles.
|
|
213
245
|
def set_insert_record_route_state(opts)
|
|
@@ -216,10 +248,12 @@ module IControl::LocalLB
|
|
|
216
248
|
end
|
|
217
249
|
|
|
218
250
|
##
|
|
219
|
-
# Sets the insert Via header states for this SIP profile. If true, insert a Via header
|
|
220
|
-
#
|
|
221
|
-
# @
|
|
222
|
-
# @raise [IControl::Common::
|
|
251
|
+
# Sets the insert Via header states for this SIP profile. If true, insert a Via header
|
|
252
|
+
# into the SIP message.
|
|
253
|
+
# @rspec_example
|
|
254
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
255
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
256
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
223
257
|
# @param [Hash] opts
|
|
224
258
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The insert Via header states for the specified profiles.
|
|
225
259
|
def set_insert_via_state(opts)
|
|
@@ -228,10 +262,12 @@ module IControl::LocalLB
|
|
|
228
262
|
end
|
|
229
263
|
|
|
230
264
|
##
|
|
231
|
-
# Sets the maximum SIP message sizes for this SIP profile. This indicates the maximum
|
|
232
|
-
#
|
|
233
|
-
# @
|
|
234
|
-
# @raise [IControl::Common::
|
|
265
|
+
# Sets the maximum SIP message sizes for this SIP profile. This indicates the maximum
|
|
266
|
+
# SIP header size the BIG-IP will accept.
|
|
267
|
+
# @rspec_example
|
|
268
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
269
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
270
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
235
271
|
# @param [Hash] opts
|
|
236
272
|
# @option opts [IControl::LocalLB::ProfileULong] :max_message_sizes The maximum SIP message sizes for the specified SIP profiles.
|
|
237
273
|
def set_max_message_size(opts)
|
|
@@ -240,10 +276,12 @@ module IControl::LocalLB
|
|
|
240
276
|
end
|
|
241
277
|
|
|
242
278
|
##
|
|
243
|
-
# Sets the secure Via states for this SIP profile. If true, use &quot;TLS" in the
|
|
244
|
-
#
|
|
245
|
-
# @
|
|
246
|
-
# @raise [IControl::Common::
|
|
279
|
+
# Sets the secure Via states for this SIP profile. If true, use &quot;TLS" in the
|
|
280
|
+
# sent-protocol portion of an inserted Via header.
|
|
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.
|
|
247
285
|
# @param [Hash] opts
|
|
248
286
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The secure Via header states for the specified profiles.
|
|
249
287
|
def set_secure_via_state(opts)
|
|
@@ -252,10 +290,13 @@ module IControl::LocalLB
|
|
|
252
290
|
end
|
|
253
291
|
|
|
254
292
|
##
|
|
255
|
-
# Sets a community name for this SIP profile. For &quot;dialog aware" SIP profile
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
# @
|
|
293
|
+
# Sets a community name for this SIP profile. For &quot;dialog aware" SIP profile
|
|
294
|
+
# with multiple SIP virtual server/profile pairings, this name groups the SIP profile
|
|
295
|
+
# in the same SIP proxy functional group.
|
|
296
|
+
# @rspec_example
|
|
297
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
298
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
299
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
259
300
|
# @param [Hash] opts
|
|
260
301
|
# @option opts [IControl::LocalLB::ProfileString] :community The community names for the profiles
|
|
261
302
|
def set_sip_community(opts)
|
|
@@ -264,10 +305,12 @@ module IControl::LocalLB
|
|
|
264
305
|
end
|
|
265
306
|
|
|
266
307
|
##
|
|
267
|
-
# Sets the terminate connection after bye states for this SIP profile. If true, terminate
|
|
268
|
-
#
|
|
269
|
-
# @
|
|
270
|
-
# @raise [IControl::Common::
|
|
308
|
+
# Sets the terminate connection after bye states for this SIP profile. If true, terminate
|
|
309
|
+
# a connection after a (200 BYE) message.
|
|
310
|
+
# @rspec_example
|
|
311
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
312
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
313
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
271
314
|
# @param [Hash] opts
|
|
272
315
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The terminate connection after bye states for the specified profiles.
|
|
273
316
|
def set_terminate_connection_after_bye_state(opts)
|
|
@@ -276,10 +319,13 @@ module IControl::LocalLB
|
|
|
276
319
|
end
|
|
277
320
|
|
|
278
321
|
##
|
|
279
|
-
# Sets the via userdata for this SIP profile. If insert via is enabled and this string
|
|
280
|
-
#
|
|
281
|
-
#
|
|
282
|
-
# @
|
|
322
|
+
# Sets the via userdata for this SIP profile. If insert via is enabled and this string
|
|
323
|
+
# is not empty, for a SIP request message the via header will be compiled using this
|
|
324
|
+
# string.
|
|
325
|
+
# @rspec_example
|
|
326
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
327
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
328
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
283
329
|
# @param [Hash] opts
|
|
284
330
|
# @option opts [IControl::LocalLB::ProfileString] :via_userdata The via userdata for the specified profiles.
|
|
285
331
|
def set_via_userdata(opts)
|
|
@@ -290,18 +336,18 @@ module IControl::LocalLB
|
|
|
290
336
|
##
|
|
291
337
|
# A struct that describes statistics for a particular SIP profile.
|
|
292
338
|
# @attr [String] profile_name The profile name.
|
|
293
|
-
# @attr [IControl::Common::
|
|
339
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
|
|
294
340
|
class ProfileSIPStatisticEntry < IControl::Base::Struct
|
|
295
341
|
icontrol_attribute :profile_name, String
|
|
296
|
-
icontrol_attribute :statistics, IControl::Common::
|
|
342
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
|
297
343
|
end
|
|
298
344
|
|
|
299
345
|
##
|
|
300
346
|
# A struct that describes profile statistics and timestamp.
|
|
301
|
-
# @attr [IControl::LocalLB::ProfileSIP::
|
|
347
|
+
# @attr [IControl::LocalLB::ProfileSIP::ProfileSIPStatisticEntrySequence] statistics The statistics for a sequence of profiles.
|
|
302
348
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
303
349
|
class ProfileSIPStatistics < IControl::Base::Struct
|
|
304
|
-
icontrol_attribute :statistics, IControl::LocalLB::ProfileSIP::
|
|
350
|
+
icontrol_attribute :statistics, IControl::LocalLB::ProfileSIP::ProfileSIPStatisticEntrySequence
|
|
305
351
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
306
352
|
end
|
|
307
353
|
|
|
@@ -1,129 +1,147 @@
|
|
|
1
1
|
module IControl::LocalLB
|
|
2
2
|
##
|
|
3
|
-
# The ProfileStream interface enables you to manipulate a local load balancer's stream
|
|
3
|
+
# The ProfileStream interface enables you to manipulate a local load balancer's stream
|
|
4
|
+
# profile.
|
|
4
5
|
class ProfileStream < IControl::Base
|
|
5
6
|
|
|
6
7
|
set_id_name "profile_names"
|
|
7
8
|
|
|
8
9
|
class ProfileStreamStatisticEntry < IControl::Base::Struct; end
|
|
9
|
-
class ProfileStreamStatistics < IControl::Base::Struct; end
|
|
10
|
+
class ProfileStreamStatistics < IControl::Base::Struct; end
|
|
11
|
+
class ProfileStreamStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
|
10
12
|
# Creates this stream 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 stream 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 stream 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 stream profile.
|
|
43
|
+
# @rspec_example
|
|
38
44
|
# @return [ProfileStreamStatistics]
|
|
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
65
|
# Gets a list of all stream profile.
|
|
66
|
+
# @rspec_example
|
|
58
67
|
# @return [String]
|
|
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 list
|
|
63
72
|
super
|
|
64
73
|
end
|
|
65
74
|
|
|
66
75
|
##
|
|
67
76
|
# Gets the source strings to search for in this profile.
|
|
77
|
+
# @rspec_example
|
|
68
78
|
# @return [ProfileString]
|
|
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 source_string
|
|
73
83
|
super
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
##
|
|
77
87
|
# Gets the statistics for this stream profile.
|
|
88
|
+
# @rspec_example
|
|
78
89
|
# @return [ProfileStreamStatistics]
|
|
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 target strings to replace with in this profile.
|
|
99
|
+
# @rspec_example
|
|
88
100
|
# @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.
|
|
101
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
102
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
103
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
92
104
|
def tarstring
|
|
93
105
|
super
|
|
94
106
|
end
|
|
95
107
|
|
|
96
108
|
##
|
|
97
109
|
# Gets the version information for this interface.
|
|
110
|
+
# @rspec_example
|
|
98
111
|
# @return [String]
|
|
99
112
|
def version
|
|
100
113
|
super
|
|
101
114
|
end
|
|
102
115
|
|
|
103
116
|
##
|
|
104
|
-
# Determines whether this profile are base/pre-configured profile, or user-defined
|
|
117
|
+
# Determines whether this profile are base/pre-configured profile, or user-defined
|
|
118
|
+
# profile.
|
|
119
|
+
# @rspec_example
|
|
105
120
|
# @return [boolean]
|
|
106
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
107
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
108
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
121
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
122
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
123
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
109
124
|
def is_base_profile
|
|
110
125
|
super
|
|
111
126
|
end
|
|
112
127
|
|
|
113
128
|
##
|
|
114
129
|
# Resets the statistics for this stream profile.
|
|
115
|
-
# @
|
|
116
|
-
# @raise [IControl::Common::
|
|
117
|
-
# @raise [IControl::Common::
|
|
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.
|
|
118
134
|
def reset_statistics
|
|
119
135
|
super
|
|
120
136
|
end
|
|
121
137
|
|
|
122
138
|
##
|
|
123
|
-
# Sets the names of the default profile from which this profile will derive default
|
|
124
|
-
#
|
|
125
|
-
# @
|
|
126
|
-
# @raise [IControl::Common::
|
|
139
|
+
# Sets the names of the default profile from which this profile will derive default
|
|
140
|
+
# values for its attributes.
|
|
141
|
+
# @rspec_example
|
|
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.
|
|
127
145
|
# @param [Hash] opts
|
|
128
146
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
|
129
147
|
def set_default_profile(opts)
|
|
@@ -133,9 +151,10 @@ module IControl::LocalLB
|
|
|
133
151
|
|
|
134
152
|
##
|
|
135
153
|
# Sets the source strings to search for in this profile.
|
|
136
|
-
# @
|
|
137
|
-
# @raise [IControl::Common::
|
|
138
|
-
# @raise [IControl::Common::
|
|
154
|
+
# @rspec_example
|
|
155
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
156
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
157
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
139
158
|
# @param [Hash] opts
|
|
140
159
|
# @option opts [IControl::LocalLB::ProfileString] :sources The source strings to search for in the specified profiles.
|
|
141
160
|
def set_source_string(opts)
|
|
@@ -145,9 +164,10 @@ module IControl::LocalLB
|
|
|
145
164
|
|
|
146
165
|
##
|
|
147
166
|
# Sets the target strings to replace with in this profile.
|
|
148
|
-
# @
|
|
149
|
-
# @raise [IControl::Common::
|
|
150
|
-
# @raise [IControl::Common::
|
|
167
|
+
# @rspec_example
|
|
168
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
169
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
170
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
151
171
|
# @param [Hash] opts
|
|
152
172
|
# @option opts [IControl::LocalLB::ProfileString] :targets The target strings to replace with in the specified profiles.
|
|
153
173
|
def set_tarstring(opts)
|
|
@@ -158,18 +178,18 @@ module IControl::LocalLB
|
|
|
158
178
|
##
|
|
159
179
|
# A struct that describes statistics for a particular stream profile.
|
|
160
180
|
# @attr [String] profile_name The profile name.
|
|
161
|
-
# @attr [IControl::Common::
|
|
181
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
|
|
162
182
|
class ProfileStreamStatisticEntry < IControl::Base::Struct
|
|
163
183
|
icontrol_attribute :profile_name, String
|
|
164
|
-
icontrol_attribute :statistics, IControl::Common::
|
|
184
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
|
165
185
|
end
|
|
166
186
|
|
|
167
187
|
##
|
|
168
188
|
# A struct that describes profile statistics and timestamp.
|
|
169
|
-
# @attr [IControl::LocalLB::ProfileStream::
|
|
189
|
+
# @attr [IControl::LocalLB::ProfileStream::ProfileStreamStatisticEntrySequence] statistics The statistics for a sequence of profiles.
|
|
170
190
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
171
191
|
class ProfileStreamStatistics < IControl::Base::Struct
|
|
172
|
-
icontrol_attribute :statistics, IControl::LocalLB::ProfileStream::
|
|
192
|
+
icontrol_attribute :statistics, IControl::LocalLB::ProfileStream::ProfileStreamStatisticEntrySequence
|
|
173
193
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
174
194
|
end
|
|
175
195
|
|