Class: IControl::GlobalLB::Topology
- Inherits:
-
Base
- Object
- Base
- IControl::GlobalLB::Topology
- Defined in:
- lib/icontrol/global_lb/topology.rb,
lib/icontrol/global_lb.rb
Overview
The Topology interface enables you to work with topology attributes. For example, you can create and delete a topology. You can also use the Topology interface to add virtual server entries to, or remove virtual server entries from, a topology.
Defined Under Namespace
Classes: TopologyEndpoint, TopologyEndpointSequence, TopologyRecord, TopologyRecordSequence
Instance Method Summary collapse
-
#create(opts) ⇒ Object
Adds or creates this topology record.
-
#delete_all_topology_records ⇒ Object
Deletes all topology record.
-
#delete_topology_record ⇒ Object
Deletes this topology record.
-
#list ⇒ TopologyRecord
Gets a list of of topology record.
-
#order ⇒ long
Gets the sort orders for this topology record.
-
#set_order(opts) ⇒ Object
Sets the sort orders used when longest match sorting is not available for this topology record.
-
#set_weight(opts) ⇒ Object
Sets the weights for this topology record.
-
#version ⇒ String
Gets the version information for this interface.
-
#weight ⇒ long
Gets the weights for this links.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#create(opts) ⇒ Object
Adds or creates this topology record.
22 23 24 25 |
# File 'lib/icontrol/global_lb/topology.rb', line 22 def create(opts) opts = check_params(opts,[:weights,:orders]) super(opts) end |
#delete_all_topology_records ⇒ Object
Deletes all topology record.
33 34 35 |
# File 'lib/icontrol/global_lb/topology.rb', line 33 def delete_all_topology_records super end |
#delete_topology_record ⇒ Object
Deletes this topology record.
43 44 45 |
# File 'lib/icontrol/global_lb/topology.rb', line 43 def delete_topology_record super end |
#list ⇒ TopologyRecord
Gets a list of of topology record.
54 55 56 |
# File 'lib/icontrol/global_lb/topology.rb', line 54 def list super end |
#order ⇒ long
Gets the sort orders for this topology record.
65 66 67 |
# File 'lib/icontrol/global_lb/topology.rb', line 65 def order super end |
#set_order(opts) ⇒ Object
Sets the sort orders used when longest match sorting is not available for this topology record.
97 98 99 100 |
# File 'lib/icontrol/global_lb/topology.rb', line 97 def set_order(opts) opts = check_params(opts,[:orders]) super(opts) end |
#set_weight(opts) ⇒ Object
Sets the weights for this topology record.
110 111 112 113 |
# File 'lib/icontrol/global_lb/topology.rb', line 110 def set_weight(opts) opts = check_params(opts,[:weights]) super(opts) end |
#version ⇒ String
Gets the version information for this interface.
73 74 75 |
# File 'lib/icontrol/global_lb/topology.rb', line 73 def version super end |
#weight ⇒ long
Gets the weights for this links.
84 85 86 |
# File 'lib/icontrol/global_lb/topology.rb', line 84 def weight super end |