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,15 +1,17 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
##
|
3
|
-
# The PortMirror interface enables you to work with the definitions and attributes
|
3
|
+
# The PortMirror interface enables you to work with the definitions and attributes
|
4
|
+
# of port mirroring.
|
4
5
|
class PortMirror < IControl::Base
|
5
6
|
|
6
7
|
set_id_name "pmirrors"
|
7
8
|
|
8
9
|
##
|
9
10
|
# Adds the lists of mirrored-from interfaces to this port mirrors (mirrored-to interfaces).
|
10
|
-
# @
|
11
|
-
# @raise [IControl::Common::
|
12
|
-
# @raise [IControl::Common::
|
11
|
+
# @rspec_example
|
12
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
13
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
14
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
13
15
|
# @param [Hash] opts
|
14
16
|
# @option opts [String[]] :interfaces The lists of mirrored-from interfaces.
|
15
17
|
def add_interface(opts)
|
@@ -18,10 +20,12 @@ module IControl::Networking
|
|
18
20
|
end
|
19
21
|
|
20
22
|
##
|
21
|
-
# Creates this port mirrors (mirrored-to interfaces) from the list of specified interfaces
|
22
|
-
#
|
23
|
-
# @
|
24
|
-
# @raise [IControl::Common::
|
23
|
+
# Creates this port mirrors (mirrored-to interfaces) from the list of specified interfaces
|
24
|
+
# (mirrored-from interfaces).
|
25
|
+
# @rspec_example
|
26
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
27
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
28
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
25
29
|
# @param [Hash] opts
|
26
30
|
# @option opts [String[]] :interfaces The lists of interfaces from which mirroring will take place.
|
27
31
|
def create(opts)
|
@@ -31,44 +35,49 @@ module IControl::Networking
|
|
31
35
|
|
32
36
|
##
|
33
37
|
# Deletes all port mirrors (mirrored-to interfaces).
|
34
|
-
# @
|
35
|
-
# @raise [IControl::Common::
|
36
|
-
# @raise [IControl::Common::
|
38
|
+
# @rspec_example
|
39
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
40
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
41
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
37
42
|
def delete_all_port_mirrors
|
38
43
|
super
|
39
44
|
end
|
40
45
|
|
41
46
|
##
|
42
47
|
# Deletes this port mirrors (mirrored-to interfaces).
|
43
|
-
# @
|
44
|
-
# @raise [IControl::Common::
|
45
|
-
# @raise [IControl::Common::
|
48
|
+
# @rspec_example
|
49
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
50
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
51
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
46
52
|
def delete_port_mirror
|
47
53
|
super
|
48
54
|
end
|
49
55
|
|
50
56
|
##
|
51
57
|
# Gets the lists of mirrored-from interfaces associated with this port mirrors.
|
58
|
+
# @rspec_example
|
52
59
|
# @return [String[]]
|
53
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
54
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
55
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
60
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
61
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
62
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
56
63
|
def interface
|
57
64
|
super
|
58
65
|
end
|
59
66
|
|
60
67
|
##
|
61
68
|
# Gets a list of all port mirrors (mirrored-to interfaces) on this device.
|
69
|
+
# @rspec_example
|
62
70
|
# @return [String]
|
63
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
64
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
65
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
71
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
72
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
73
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
66
74
|
def list
|
67
75
|
super
|
68
76
|
end
|
69
77
|
|
70
78
|
##
|
71
79
|
# Gets the version information for this interface.
|
80
|
+
# @rspec_example
|
72
81
|
# @return [String]
|
73
82
|
def version
|
74
83
|
super
|
@@ -76,18 +85,21 @@ module IControl::Networking
|
|
76
85
|
|
77
86
|
##
|
78
87
|
# Removes all mirrored-from interfaces from this port mirrors (mirrored-to interfaces).
|
79
|
-
# @
|
80
|
-
# @raise [IControl::Common::
|
81
|
-
# @raise [IControl::Common::
|
88
|
+
# @rspec_example
|
89
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
90
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
91
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
82
92
|
def remove_all_interfaces
|
83
93
|
super
|
84
94
|
end
|
85
95
|
|
86
96
|
##
|
87
|
-
# Removes the lists of mirrored-from interfaces from this port mirrors (mirrored-to
|
88
|
-
#
|
89
|
-
# @
|
90
|
-
# @raise [IControl::Common::
|
97
|
+
# Removes the lists of mirrored-from interfaces from this port mirrors (mirrored-to
|
98
|
+
# interfaces).
|
99
|
+
# @rspec_example
|
100
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
101
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
102
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
91
103
|
# @param [Hash] opts
|
92
104
|
# @option opts [String[]] :interfaces The lists of mirrored-from interfaces.
|
93
105
|
def remove_interface(opts)
|
@@ -1,99 +1,117 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
##
|
3
|
-
# The ProfileGRE interface allows you to manipulate a GRE tunnel profile to configure
|
3
|
+
# The ProfileGRE interface allows you to manipulate a GRE tunnel profile to configure
|
4
|
+
# the General Routing Encapsulation tunneling protocol. The General Routing Encapsulation
|
5
|
+
# supports RFC2784, allowing the packets of any L3 protocol to be carried inside encapsulating
|
6
|
+
# IP packets.
|
4
7
|
class ProfileGRE < IControl::Base
|
5
8
|
|
6
9
|
set_id_name "profile_names"
|
7
10
|
|
8
11
|
##
|
9
12
|
# Creates a set of GRE tunnel profile.
|
10
|
-
# @
|
11
|
-
# @raise [IControl::Common::
|
12
|
-
# @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.
|
13
17
|
def create
|
14
18
|
super
|
15
19
|
end
|
16
20
|
|
17
21
|
##
|
18
22
|
# Deletes all non-system GRE tunnel profile.
|
19
|
-
# @
|
20
|
-
# @raise [IControl::Common::
|
21
|
-
# @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.
|
22
27
|
def delete_all_profiles
|
23
28
|
super
|
24
29
|
end
|
25
30
|
|
26
31
|
##
|
27
32
|
# Deletes a set of GRE tunnel profile.
|
28
|
-
# @
|
29
|
-
# @raise [IControl::Common::
|
30
|
-
# @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.
|
31
37
|
def delete_profile
|
32
38
|
super
|
33
39
|
end
|
34
40
|
|
35
41
|
##
|
36
|
-
# Gets the existing GRE tunnel profile from which this set of GRE profile inherits
|
42
|
+
# Gets the existing GRE tunnel profile from which this set of GRE profile inherits
|
43
|
+
# its unspecified attribute values.
|
44
|
+
# @rspec_example
|
37
45
|
# @return [String]
|
38
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
39
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
40
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
46
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
47
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
48
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
41
49
|
def default_profile
|
42
50
|
super
|
43
51
|
end
|
44
52
|
|
45
53
|
##
|
46
|
-
# Gets whether the checksum should be included in the transmitted packets for a set
|
54
|
+
# Gets whether the checksum should be included in the transmitted packets for a set
|
55
|
+
# of GRE tunnel profile.
|
56
|
+
# @rspec_example
|
47
57
|
# @return [ProfileEnabledState]
|
48
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
49
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
50
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
58
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
59
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
60
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
51
61
|
def include_checksum_state
|
52
62
|
super
|
53
63
|
end
|
54
64
|
|
55
65
|
##
|
56
66
|
# Gets the names for all GRE tunnel profile.
|
67
|
+
# @rspec_example
|
57
68
|
# @return [String]
|
58
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
59
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
60
|
-
# @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.
|
61
72
|
def list
|
62
73
|
super
|
63
74
|
end
|
64
75
|
|
65
76
|
##
|
66
|
-
# Gets whether the checksum should be validated on the received packets for a set of
|
77
|
+
# Gets whether the checksum should be validated on the received packets for a set of
|
78
|
+
# GRE tunnel profile.
|
79
|
+
# @rspec_example
|
67
80
|
# @return [ProfileEnabledState]
|
68
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
69
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
70
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
81
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
82
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
83
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
71
84
|
def validate_checksum_state
|
72
85
|
super
|
73
86
|
end
|
74
87
|
|
75
88
|
##
|
76
89
|
# Gets the version information for this interface.
|
90
|
+
# @rspec_example
|
77
91
|
# @return [String]
|
78
92
|
def version
|
79
93
|
super
|
80
94
|
end
|
81
95
|
|
82
96
|
##
|
83
|
-
# Determines whether a set of GRE tunnel profile are base/pre-configured (vs user-defined)
|
97
|
+
# Determines whether a set of GRE tunnel profile are base/pre-configured (vs user-defined)
|
98
|
+
# profile.
|
99
|
+
# @rspec_example
|
84
100
|
# @return [boolean]
|
85
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
86
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
87
|
-
# @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.
|
88
104
|
def is_base_profile
|
89
105
|
super
|
90
106
|
end
|
91
107
|
|
92
108
|
##
|
93
|
-
# Sets the existing GRE tunnel profile from which this set of GRE tunnel profile inherits
|
94
|
-
#
|
95
|
-
# @
|
96
|
-
# @raise [IControl::Common::
|
109
|
+
# Sets the existing GRE tunnel profile from which this set of GRE tunnel profile inherits
|
110
|
+
# their unspecified attribute values.
|
111
|
+
# @rspec_example
|
112
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
113
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
114
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
97
115
|
# @param [Hash] opts
|
98
116
|
# @option opts [String] :defaults GRE tunnel profile from which each specified GRE tunnel profile inherits its unspecified attribute values (default: gre)
|
99
117
|
def set_default_profile(opts)
|
@@ -102,10 +120,12 @@ module IControl::Networking
|
|
102
120
|
end
|
103
121
|
|
104
122
|
##
|
105
|
-
# Sets whether the checksum should be included in the transmitted packets for a set
|
106
|
-
#
|
107
|
-
# @
|
108
|
-
# @raise [IControl::Common::
|
123
|
+
# Sets whether the checksum should be included in the transmitted packets for a set
|
124
|
+
# of GRE tunnel profile.
|
125
|
+
# @rspec_example
|
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.
|
109
129
|
# @param [Hash] opts
|
110
130
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for including the checksum in the transmitted packets for each specified GRE tunnel profile (default: disabled)
|
111
131
|
def set_include_checksum_state(opts)
|
@@ -114,10 +134,12 @@ module IControl::Networking
|
|
114
134
|
end
|
115
135
|
|
116
136
|
##
|
117
|
-
# Sets whether the checksum should be validated on the received packets for a set of
|
118
|
-
#
|
119
|
-
# @
|
120
|
-
# @raise [IControl::Common::
|
137
|
+
# Sets whether the checksum should be validated on the received packets for a set of
|
138
|
+
# GRE tunnel profile.
|
139
|
+
# @rspec_example
|
140
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
141
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
142
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
121
143
|
# @param [Hash] opts
|
122
144
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for validating the checksum on the received packets for each specified GRE tunnel profile
|
123
145
|
def set_validate_checksum_state(opts)
|
@@ -1,79 +1,92 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
##
|
3
|
-
# The ProfileIPIP interface enables you to manipulate an IP-IP tunnel profile to configure
|
3
|
+
# The ProfileIPIP interface enables you to manipulate an IP-IP tunnel profile to configure
|
4
|
+
# the IP-within-IP tunneling protocol. The IP-within-IP protocol (RFC2003) specifies
|
5
|
+
# how to encapsulate an IP packet within another IP packet.
|
4
6
|
class ProfileIPIP < IControl::Base
|
5
7
|
|
6
8
|
set_id_name "profile_names"
|
7
9
|
|
8
10
|
##
|
9
11
|
# Creates a set of IP-IP tunnel profile.
|
10
|
-
# @
|
11
|
-
# @raise [IControl::Common::
|
12
|
-
# @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.
|
13
16
|
def create
|
14
17
|
super
|
15
18
|
end
|
16
19
|
|
17
20
|
##
|
18
21
|
# Deletes all non-system IP-IP tunnel profile.
|
19
|
-
# @
|
20
|
-
# @raise [IControl::Common::
|
21
|
-
# @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.
|
22
26
|
def delete_all_profiles
|
23
27
|
super
|
24
28
|
end
|
25
29
|
|
26
30
|
##
|
27
31
|
# Deletes a set of IP-IP tunnel profile.
|
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_profile
|
32
37
|
super
|
33
38
|
end
|
34
39
|
|
35
40
|
##
|
36
|
-
# Gets the existing IP-IP tunnel profile from which this set of IP-IP profile inherits
|
41
|
+
# Gets the existing IP-IP tunnel profile from which this set of IP-IP profile inherits
|
42
|
+
# its unspecified attribute values.
|
43
|
+
# @rspec_example
|
37
44
|
# @return [String]
|
38
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
39
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
40
|
-
# @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.
|
41
48
|
def default_profile
|
42
49
|
super
|
43
50
|
end
|
44
51
|
|
45
52
|
##
|
46
53
|
# Gets the names for all IP-IP tunnel profile.
|
54
|
+
# @rspec_example
|
47
55
|
# @return [String]
|
48
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
49
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
50
|
-
# @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.
|
51
59
|
def list
|
52
60
|
super
|
53
61
|
end
|
54
62
|
|
55
63
|
##
|
56
64
|
# Gets the version information for this interface.
|
65
|
+
# @rspec_example
|
57
66
|
# @return [String]
|
58
67
|
def version
|
59
68
|
super
|
60
69
|
end
|
61
70
|
|
62
71
|
##
|
63
|
-
# Determines whether a set of IP-IP tunnel profile are base/pre-configured (vs user-defined)
|
72
|
+
# Determines whether a set of IP-IP tunnel profile are base/pre-configured (vs user-defined)
|
73
|
+
# profile.
|
74
|
+
# @rspec_example
|
64
75
|
# @return [boolean]
|
65
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
66
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
67
|
-
# @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.
|
68
79
|
def is_base_profile
|
69
80
|
super
|
70
81
|
end
|
71
82
|
|
72
83
|
##
|
73
|
-
# Sets the existing IP-IP tunnel profile from which this set of IP-IP tunnel profile
|
74
|
-
#
|
75
|
-
# @
|
76
|
-
# @raise [IControl::Common::
|
84
|
+
# Sets the existing IP-IP tunnel profile from which this set of IP-IP tunnel profile
|
85
|
+
# inherits their unspecified attribute values.
|
86
|
+
# @rspec_example
|
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.
|
77
90
|
# @param [Hash] opts
|
78
91
|
# @option opts [String] :defaults IP-IP tunnel profile from which each specified IP-IP tunnel profile inherits its unspecified attribute values (default: ipip)
|
79
92
|
def set_default_profile(opts)
|
@@ -1,91 +1,109 @@
|
|
1
1
|
module IControl::Networking
|
2
2
|
##
|
3
|
-
# The ProfileWCCPGRE interface allows you to manipulate a WCCP-GRE tunnel profile to
|
3
|
+
# The ProfileWCCPGRE interface allows you to manipulate a WCCP-GRE tunnel profile to
|
4
|
+
# configure the General Routing Encapsulation (GRE - RFC2784) tunnel protocol in conjunction
|
5
|
+
# with the Web-Cache Communication Protocol (WCCP). See the Networking/ProfileGRE interface
|
6
|
+
# for additional information.
|
4
7
|
class ProfileWCCPGRE < IControl::Base
|
5
8
|
|
6
9
|
set_id_name "profile_names"
|
7
10
|
|
8
11
|
class ProfileWCCPGREForwarding < IControl::Base::Struct; end
|
12
|
+
class ProfileWCCPGREForwardingSequence < IControl::Base::Sequence ; end
|
13
|
+
class WCCPGREForwardingSequence < IControl::Base::Sequence ; end
|
9
14
|
# Forwarding options for packets leaving a WCCP-GRE tunnel
|
10
15
|
class WCCPGREForwarding < IControl::Base::Enumeration; end ##
|
11
16
|
# Creates a set of WCCP-GRE tunnel profile.
|
12
|
-
# @
|
13
|
-
# @raise [IControl::Common::
|
14
|
-
# @raise [IControl::Common::
|
17
|
+
# @rspec_example
|
18
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
19
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
20
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
15
21
|
def create
|
16
22
|
super
|
17
23
|
end
|
18
24
|
|
19
25
|
##
|
20
26
|
# Deletes all non-system WCCP-GRE tunnel profile.
|
21
|
-
# @
|
22
|
-
# @raise [IControl::Common::
|
23
|
-
# @raise [IControl::Common::
|
27
|
+
# @rspec_example
|
28
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
29
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
30
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
24
31
|
def delete_all_profiles
|
25
32
|
super
|
26
33
|
end
|
27
34
|
|
28
35
|
##
|
29
36
|
# Deletes a set of WCCP-GRE tunnel profile.
|
30
|
-
# @
|
31
|
-
# @raise [IControl::Common::
|
32
|
-
# @raise [IControl::Common::
|
37
|
+
# @rspec_example
|
38
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
39
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
40
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
33
41
|
def delete_profile
|
34
42
|
super
|
35
43
|
end
|
36
44
|
|
37
45
|
##
|
38
|
-
# Gets the existing WCCP-GRE tunnel profile from which this set of WCCP-GRE profile
|
46
|
+
# Gets the existing WCCP-GRE tunnel profile from which this set of WCCP-GRE profile
|
47
|
+
# inherits its unspecified attribute values.
|
48
|
+
# @rspec_example
|
39
49
|
# @return [String]
|
40
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
41
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
42
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
50
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
51
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
52
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
43
53
|
def default_profile
|
44
54
|
super
|
45
55
|
end
|
46
56
|
|
47
57
|
##
|
48
|
-
# Gets the forwarding specification for packets leaving a WCCP-GRE tunnel for a set
|
58
|
+
# Gets the forwarding specification for packets leaving a WCCP-GRE tunnel for a set
|
59
|
+
# of WCCP-GRE tunnel profile.
|
60
|
+
# @rspec_example
|
49
61
|
# @return [ProfileWCCPGREForwarding]
|
50
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
51
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
52
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
62
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
63
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
64
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
53
65
|
def egress_forwarding
|
54
66
|
super
|
55
67
|
end
|
56
68
|
|
57
69
|
##
|
58
|
-
# Gets whether the checksum should be included in the transmitted packets for a set
|
70
|
+
# Gets whether the checksum should be included in the transmitted packets for a set
|
71
|
+
# of WCCP-GRE tunnel profile.
|
72
|
+
# @rspec_example
|
59
73
|
# @return [ProfileEnabledState]
|
60
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
61
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
62
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
74
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
75
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
76
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
63
77
|
def include_checksum_state
|
64
78
|
super
|
65
79
|
end
|
66
80
|
|
67
81
|
##
|
68
82
|
# Gets the names for all WCCP-GRE tunnel profile.
|
83
|
+
# @rspec_example
|
69
84
|
# @return [String]
|
70
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
71
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
72
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
85
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
86
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
87
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
73
88
|
def list
|
74
89
|
super
|
75
90
|
end
|
76
91
|
|
77
92
|
##
|
78
|
-
# Gets whether the checksum should be validated on the received packets for a set of
|
93
|
+
# Gets whether the checksum should be validated on the received packets for a set of
|
94
|
+
# WCCP-GRE tunnel profile.
|
95
|
+
# @rspec_example
|
79
96
|
# @return [ProfileEnabledState]
|
80
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
81
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
82
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
97
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
98
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
99
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
83
100
|
def validate_checksum_state
|
84
101
|
super
|
85
102
|
end
|
86
103
|
|
87
104
|
##
|
88
105
|
# Gets the version information for this interface.
|
106
|
+
# @rspec_example
|
89
107
|
# @return [String]
|
90
108
|
def version
|
91
109
|
super
|
@@ -93,29 +111,34 @@ module IControl::Networking
|
|
93
111
|
|
94
112
|
##
|
95
113
|
# Gets the WCCP version currently in use for a set of WCCP-GRE tunnel profile.
|
114
|
+
# @rspec_example
|
96
115
|
# @return [ProfileULong]
|
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.
|
116
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
117
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
118
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
100
119
|
def wccp_version
|
101
120
|
super
|
102
121
|
end
|
103
122
|
|
104
123
|
##
|
105
|
-
# Determines whether a set of WCCP-GRE tunnel profile are base/pre-configured (vs user-defined)
|
124
|
+
# Determines whether a set of WCCP-GRE tunnel profile are base/pre-configured (vs user-defined)
|
125
|
+
# profile.
|
126
|
+
# @rspec_example
|
106
127
|
# @return [boolean]
|
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.
|
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.
|
110
131
|
def is_base_profile
|
111
132
|
super
|
112
133
|
end
|
113
134
|
|
114
135
|
##
|
115
|
-
# Sets the existing WCCP-GRE tunnel profile from which this set of WCCP-GRE tunnel
|
116
|
-
#
|
117
|
-
# @
|
118
|
-
# @raise [IControl::Common::
|
136
|
+
# Sets the existing WCCP-GRE tunnel profile from which this set of WCCP-GRE tunnel
|
137
|
+
# profile inherits their unspecified attribute values.
|
138
|
+
# @rspec_example
|
139
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
140
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
141
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
119
142
|
# @param [Hash] opts
|
120
143
|
# @option opts [String] :defaults WCCP-GRE tunnel profile from which each specified WCCP-GRE tunnel profile inherits its unspecified attribute values (default: wccpgre)
|
121
144
|
def set_default_profile(opts)
|
@@ -124,10 +147,12 @@ module IControl::Networking
|
|
124
147
|
end
|
125
148
|
|
126
149
|
##
|
127
|
-
# Sets the forwarding specification for packets leaving a WCCP-GRE tunnel for a set
|
128
|
-
#
|
129
|
-
# @
|
130
|
-
# @raise [IControl::Common::
|
150
|
+
# Sets the forwarding specification for packets leaving a WCCP-GRE tunnel for a set
|
151
|
+
# of WCCP-GRE tunnel profile.
|
152
|
+
# @rspec_example
|
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.
|
131
156
|
# @param [Hash] opts
|
132
157
|
# @option opts [IControl::Networking::ProfileWCCPGRE::ProfileWCCPGREForwarding] :modes Forwarding specification for packets leaving a WCCP-GRE tunnel for each specified WCCP-GRE tunnel profile (default: WCCP_GRE_FORWARD_NORMAL)
|
133
158
|
def set_egress_forwarding(opts)
|
@@ -136,10 +161,12 @@ module IControl::Networking
|
|
136
161
|
end
|
137
162
|
|
138
163
|
##
|
139
|
-
# Sets whether the checksum should be included in the transmitted packets for a set
|
140
|
-
#
|
141
|
-
# @
|
142
|
-
# @raise [IControl::Common::
|
164
|
+
# Sets whether the checksum should be included in the transmitted packets for a set
|
165
|
+
# of WCCP-GRE tunnel profile.
|
166
|
+
# @rspec_example
|
167
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
168
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
169
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
143
170
|
# @param [Hash] opts
|
144
171
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for including the checksum in the transmitted packets for each specified WCCP-GRE tunnel profile (default: disabled)
|
145
172
|
def set_include_checksum_state(opts)
|
@@ -148,10 +175,12 @@ module IControl::Networking
|
|
148
175
|
end
|
149
176
|
|
150
177
|
##
|
151
|
-
# Sets whether the checksum should be validated on the received packets for a set of
|
152
|
-
#
|
153
|
-
# @
|
154
|
-
# @raise [IControl::Common::
|
178
|
+
# Sets whether the checksum should be validated on the received packets for a set of
|
179
|
+
# WCCP-GRE tunnel profile.
|
180
|
+
# @rspec_example
|
181
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
182
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
183
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
155
184
|
# @param [Hash] opts
|
156
185
|
# @option opts [IControl::Common::ProfileEnabledState] :states Enabled state for validating the checksum on the received packets for each specified WCCP-GRE tunnel profile
|
157
186
|
def set_validate_checksum_state(opts)
|
@@ -161,9 +190,10 @@ module IControl::Networking
|
|
161
190
|
|
162
191
|
##
|
163
192
|
# Sets the WCCP version currently in use for a set of WCCP-GRE tunnel profile.
|
164
|
-
# @
|
165
|
-
# @raise [IControl::Common::
|
166
|
-
# @raise [IControl::Common::
|
193
|
+
# @rspec_example
|
194
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
195
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
196
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
167
197
|
# @param [Hash] opts
|
168
198
|
# @option opts [IControl::Common::ProfileULong] :versions WCCP version currently in use for each specified WCCP-GRE tunnel profiles
|
169
199
|
def set_wccp_version(opts)
|