Class: IControl::LocalLB::NAT
- Inherits:
-
Base
- Object
- Base
- IControl::LocalLB::NAT
- Defined in:
- lib/icontrol/local_lb/nat.rb,
lib/icontrol/local_lb.rb
Overview
The NAT interface enables you to work with the statistics and definitions contained in a local load balancer's network address translations (NAT). For example, use the NAT interface to both get and set the NAT statistics and attributes of a local load balancer.
Defined Under Namespace
Classes: NATDefinition, NATDefinitionSequence, NATStatisticEntry, NATStatisticEntrySequence, NATStatistics
Instance Method Summary (collapse)
-
- (NATStatistics) all_statistics
Gets statistics for all NATs.
-
- (EnabledState) arp_state
Gets the ARP states for this NATs.
-
- (Object) create(opts)
Creates this NATs.
-
- (Object) delete_all_nats
Deletes all NATs.
-
- (Object) delete_nat
Deletes this NATs.
-
- (EnabledState) enabled_state
Gets the states of this NAT addresses.
-
- (NATDefinition) list
Gets a sequence of all NAT definitions.
-
- (Object) reset_statistics
Resets statistics for a NAT.
-
- (Object) set_arp_state(opts)
Sets the ARP states for this NATs.
-
- (Object) set_enabled_state(opts)
Sets the state for a list of NAT addresses.
-
- (Object) set_unit_id(opts)
Sets the Unit IDs for this NATs.
-
- (Object) set_vlan(opts)
Adds VLANSs to the list of VLANs on which access to this NATs is disabled.
-
- (NATStatistics) statistics
Gets statistics for a sequence of NATs.
-
- (long) unit_id
Gets the controller to which this NATs apply in an active-active, redundant load balancer configuration.
-
- (String) version
Gets the version information for this interface.
-
- (VLANFilterList) vlan
Gets the lists of VLANs on which access to this NATs is disabled.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
- (NATStatistics) all_statistics
Gets statistics for all NATs.
56 57 58 |
# File 'lib/icontrol/local_lb/nat.rb', line 56 def all_statistics super end |
- (EnabledState) arp_state
Gets the ARP states for this NATs.
67 68 69 |
# File 'lib/icontrol/local_lb/nat.rb', line 67 def arp_state super end |
- (Object) create(opts)
Creates this NATs.
24 25 26 27 |
# File 'lib/icontrol/local_lb/nat.rb', line 24 def create(opts) check_params(opts,[:unit_ids,:vlans]) super end |
- (Object) delete_all_nats
Deletes all NATs.
35 36 37 |
# File 'lib/icontrol/local_lb/nat.rb', line 35 def delete_all_nats super end |
- (Object) delete_nat
Deletes this NATs.
45 46 47 |
# File 'lib/icontrol/local_lb/nat.rb', line 45 def delete_nat super end |
- (EnabledState) enabled_state
Gets the states of this NAT addresses.
78 79 80 |
# File 'lib/icontrol/local_lb/nat.rb', line 78 def enabled_state super end |
- (NATDefinition) list
Gets a sequence of all NAT definitions.
89 90 91 |
# File 'lib/icontrol/local_lb/nat.rb', line 89 def list super end |
- (Object) reset_statistics
Resets statistics for a NAT.
141 142 143 |
# File 'lib/icontrol/local_lb/nat.rb', line 141 def reset_statistics super end |
- (Object) set_arp_state(opts)
Sets the ARP states for this NATs.
153 154 155 156 |
# File 'lib/icontrol/local_lb/nat.rb', line 153 def set_arp_state(opts) check_params(opts,[:states]) super end |
- (Object) set_enabled_state(opts)
Sets the state for a list of NAT addresses.
166 167 168 169 |
# File 'lib/icontrol/local_lb/nat.rb', line 166 def set_enabled_state(opts) check_params(opts,[:states]) super end |
- (Object) set_unit_id(opts)
Sets the Unit IDs for this NATs.
179 180 181 182 |
# File 'lib/icontrol/local_lb/nat.rb', line 179 def set_unit_id(opts) check_params(opts,[:unit_ids]) super end |
- (Object) set_vlan(opts)
Adds VLANSs to the list of VLANs on which access to this NATs is disabled.
192 193 194 195 |
# File 'lib/icontrol/local_lb/nat.rb', line 192 def set_vlan(opts) check_params(opts,[:vlans]) super end |
- (NATStatistics) statistics
Gets statistics for a sequence of NATs.
100 101 102 |
# File 'lib/icontrol/local_lb/nat.rb', line 100 def statistics super end |
- (long) unit_id
Gets the controller to which this NATs apply in an active-active, redundant load balancer configuration.
112 113 114 |
# File 'lib/icontrol/local_lb/nat.rb', line 112 def unit_id super end |
- (String) version
Gets the version information for this interface.
120 121 122 |
# File 'lib/icontrol/local_lb/nat.rb', line 120 def version super end |
- (VLANFilterList) vlan
Gets the lists of VLANs on which access to this NATs is disabled.
131 132 133 |
# File 'lib/icontrol/local_lb/nat.rb', line 131 def vlan super end |