Class: IControl::Networking::ISessionAdvertisedRoute
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::ISessionAdvertisedRoute
- Defined in:
- lib/icontrol/networking/i_session_advertised_route.rb,
lib/icontrol/networking.rb
Overview
The iSession AdvertisedRoute interface enables you to work with the definitions and attributes contained in a device's optimized endpoint subnets.
Defined Under Namespace
Classes: ISessionAdvertisedRouteStruct, ISessionAdvertisedRouteStructSequence, SubnetOptKey, SubnetOptKeySequence, SubnetOptKeySequenceSequence
Instance Method Summary (collapse)
-
- (Object) create(opts)
Creates a specified subnet object with all its attributes.
-
- (Object) delete_all_subnets
Deletes all exisiting subnet objects.
-
- (Object) delete_subnets
Deletes this subnet via its IP address and netmask.
-
- (EnabledState) enabled_state
Gets the enabled flag on the target subnet.
-
- (String) label
Gets the label string on the target subnet.
-
- (SubnetOptKey) list
Get a list of all subnet interfaces and their netmasks.
-
- (long) metric
Gets the metric with which this subnet IPs are associated.
-
- (Object) set_enabled_state(opts)
Sets/Resets the enabled flag on the target subnet.
-
- (Object) set_label(opts)
Sets/Resets the label string on the target subnet.
-
- (Object) set_metric(opts)
Sets the metric with which this subnet IPs are associated.
-
- (String) version
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
- (Object) create(opts)
Creates a specified subnet object with all its attributes.
21 22 23 24 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 21 def create(opts) check_params(opts,[:subnet]) super end |
- (Object) delete_all_subnets
Deletes all exisiting subnet objects.
32 33 34 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 32 def delete_all_subnets super end |
- (Object) delete_subnets
Deletes this subnet via its IP address and netmask.
42 43 44 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 42 def delete_subnets super end |
- (EnabledState) enabled_state
Gets the enabled flag on the target subnet.
53 54 55 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 53 def enabled_state super end |
- (String) label
Gets the label string on the target subnet.
64 65 66 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 64 def label super end |
- (SubnetOptKey) list
Get a list of all subnet interfaces and their netmasks.
75 76 77 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 75 def list super end |
- (long) metric
Gets the metric with which this subnet IPs are associated.
86 87 88 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 86 def metric super end |
- (Object) set_enabled_state(opts)
Sets/Resets the enabled flag on the target subnet.
107 108 109 110 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 107 def set_enabled_state(opts) check_params(opts,[:ip,:included]) super end |
- (Object) set_label(opts)
Sets/Resets the label string on the target subnet.
121 122 123 124 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 121 def set_label(opts) check_params(opts,[:ip,:labels]) super end |
- (Object) set_metric(opts)
Sets the metric with which this subnet IPs are associated.
135 136 137 138 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 135 def set_metric(opts) check_params(opts,[:subnet,:metric]) super end |
- (String) version
Gets the version information for this interface.
94 95 96 |
# File 'lib/icontrol/networking/i_session_advertised_route.rb', line 94 def version super end |