Class: Dcmgr::VNet::Netfilter::NetfilterTaskManager
- Inherits:
-
TaskManager
- Object
- TaskManager
- Dcmgr::VNet::Netfilter::NetfilterTaskManager
- 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
Instance Method Summary collapse
- #apply_vnic_chains(vnic_map) ⇒ Object
- #apply_vnic_tasks(vnic_map, tasks) ⇒ Object
- #remove_vnic_chains(vnic_map) ⇒ Object
-
#remove_vnic_tasks(vnic_map, tasks = nil) ⇒ Object
Should remove tasks for this specific vnic if they are applied.
Methods inherited from TaskManager
#apply_task, #apply_tasks, #remove_task, #remove_tasks
Instance Method Details
#apply_vnic_chains(vnic_map) ⇒ Object
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
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
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
21 22 23 |
# File 'lib/dcmgr/vnet/netfilter/task_manager.rb', line 21 def remove_vnic_tasks(vnic_map,tasks = nil) raise NotImplementedError end |