Class: Dcmgr::VNet::Tasks::ExcludeFromNatIpSet
- Inherits:
-
Dcmgr::VNet::Task
- Object
- Dcmgr::VNet::Task
- Dcmgr::VNet::Tasks::ExcludeFromNatIpSet
- Includes:
- Netfilter
- Defined in:
- lib/dcmgr/vnet/tasks/exclude_from_nat.rb
Overview
Contains specific rules for ip addresses to which connections should not be natted. Depends on the netfilter IpSet module
Instance Attribute Summary collapse
-
#excluded_ips ⇒ Object
Returns the value of attribute excluded_ips.
Attributes inherited from Dcmgr::VNet::Task
Instance Method Summary collapse
-
#initialize(ips, self_ip) ⇒ ExcludeFromNatIpSet
constructor
A new instance of ExcludeFromNatIpSet.
Constructor Details
#initialize(ips, self_ip) ⇒ ExcludeFromNatIpSet
Returns a new instance of ExcludeFromNatIpSet.
39 40 41 |
# File 'lib/dcmgr/vnet/tasks/exclude_from_nat.rb', line 39 def initialize(ips,self_ip) raise NotImplementedError end |
Instance Attribute Details
#excluded_ips ⇒ Object
Returns the value of attribute excluded_ips.
37 38 39 |
# File 'lib/dcmgr/vnet/tasks/exclude_from_nat.rb', line 37 def excluded_ips @excluded_ips end |