Class: Dcmgr::VNet::Tasks::ExcludeFromNatIpSet

Inherits:
Dcmgr::VNet::Task show all
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

Attributes inherited from Dcmgr::VNet::Task

#rules

Instance Method Summary collapse

Constructor Details

#initialize(ips, self_ip) ⇒ ExcludeFromNatIpSet

Returns a new instance of ExcludeFromNatIpSet.

Raises:

  • (NotImplementedError)


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_ipsObject

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