summaryrefslogtreecommitdiff
path: root/data/templates/conntrackd/conntrackd.op-mode.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-13 11:11:32 +0200
committerGitHub <noreply@github.com>2024-06-13 11:11:32 +0200
commit31f8e5ec6a75c7b385d14595c43a2ee46275c00f (patch)
tree6f1ff7c351cc8d2bb14dcd10fd0692996d05f0c1 /data/templates/conntrackd/conntrackd.op-mode.j2
parenta01eaf1d59ad386c48d948a13287df7e7a0c2c3b (diff)
parent6a00d7fcaab120912963059bb36513fc82322c0a (diff)
downloadvyos-1x-31f8e5ec6a75c7b385d14595c43a2ee46275c00f.tar.gz
vyos-1x-31f8e5ec6a75c7b385d14595c43a2ee46275c00f.zip
Merge pull request #3644 from natali-rs1985/T6227-current
op_mode: T6227: Rewrite show conntrack-sync cache internal to use tabulate output
Diffstat (limited to 'data/templates/conntrackd/conntrackd.op-mode.j2')
-rw-r--r--data/templates/conntrackd/conntrackd.op-mode.j213
1 files changed, 0 insertions, 13 deletions
diff --git a/data/templates/conntrackd/conntrackd.op-mode.j2 b/data/templates/conntrackd/conntrackd.op-mode.j2
deleted file mode 100644
index 82f7e2859..000000000
--- a/data/templates/conntrackd/conntrackd.op-mode.j2
+++ /dev/null
@@ -1,13 +0,0 @@
-Source Destination Protocol
-{% for parsed in data if parsed.flow.meta is vyos_defined %}
-{% for key in parsed.flow.meta %}
-{% if key['@direction'] == 'original' %}
-{% set saddr = key.layer3.src | bracketize_ipv6 %}
-{% set sport = key.layer4.sport %}
-{% set daddr = key.layer3.dst | bracketize_ipv6 %}
-{% set dport = key.layer4.dport %}
-{% set protocol = key.layer4['@protoname'] %}
-{{ "%-48s" | format(saddr ~ ':' ~ sport) }} {{ "%-48s" | format(daddr ~ ':' ~ dport) }} {{ protocol }}
-{% endif %}
-{% endfor %}
-{% endfor %}