neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.legacy_conntrack module¶
- class neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.legacy_conntrack.ConntrackLegacy¶
Bases:
ConntrackDriverBase
- delete_entries(rules, namespace)¶
Delete conntrack entries specified by list of rules
- flush_entries(namespace)¶
Delete all conntrack entries within namespace
- initialize(execute=None)¶
Initialize the driver
- list_entries(namespace)¶
List and parse all conntrack entries
- Parameters:
namespace – namespace to get conntrack entries
- Returns:
sorted list of conntrack entries in Python tuple for example: [(4, ‘icmp’, 8, 0, ‘1.1.1.1’, ‘2.2.2.2’, 1234), (4, ‘tcp’, 1, 2, ‘1.1.1.1’, ‘2.2.2.2’)]
- neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.legacy_conntrack.normalize_filters_tuple(rule_tuple)¶