Class: Dcmgr::VNet::Netfilter::NetfilterTaskManager

Inherits:
TaskManager
  • Object
show all
Defined in:
lib/dcmgr/vnet/netfilter/task_manager.rb

Overview

Abstract class for task managers that apply netfilter to extend. These have extra methods to create custom chains depending on vnic. Tasks can then be applied to these custom chains.

Direct Known Subclasses

VNicProtocolTaskManager

Instance Method Summary collapse

Methods inherited from TaskManager

#apply_task, #apply_tasks, #remove_task, #remove_tasks

Instance Method Details

#apply_vnic_chains(vnic_map) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/dcmgr/vnet/netfilter/task_manager.rb', line 12

def apply_vnic_chains(vnic_map)
  raise NotImplementedError
end

#apply_vnic_tasks(vnic_map, tasks) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/dcmgr/vnet/netfilter/task_manager.rb', line 16

def apply_vnic_tasks(vnic_map,tasks)
  raise NotImplementedError
end

#remove_vnic_chains(vnic_map) ⇒ Object

Raises:

  • (NotImplementedError)


25
26
27
# File 'lib/dcmgr/vnet/netfilter/task_manager.rb', line 25

def remove_vnic_chains(vnic_map)
  raise NotImplementedError
end

#remove_vnic_tasks(vnic_map, tasks = nil) ⇒ Object

Should remove tasks for this specific vnic if they are applied

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/dcmgr/vnet/netfilter/task_manager.rb', line 21

def remove_vnic_tasks(vnic_map,tasks = nil)
  raise NotImplementedError
end