osp.edpm.jump_chain_targets filter – Retrieve existing jump chain targets

New in osp.edpm 2.9

Synopsis

  • Filters valid chain target rules satisfying conditions based on `table`, `family` and `chain` attributes. Used by the osp.edpm.nftables role.

Examples

'{{ edpm_nftables_chains_prefix }}_'~rule.get('chain', 'INPUT')
not in ( existing | osp.edpm.jump_chain_targets(rule=rule) )

Return Value

Key

Description

Return value

list / elements=string

list of jump chain targets

Returned: success

Authors

  • EDPM team

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.