summaryrefslogtreecommitdiff
path: root/data/templates/lldp/lldpd.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 18:51:22 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 18:51:22 +0200
commitf0a13824f39f9da95c77234ad000ce66c3c3b04e (patch)
treeadcda4832b61674a70f4e0f3ac62407dea5e9bcf /data/templates/lldp/lldpd.j2
parent92f266b733a552b33ebadc6df3328d2c43c351cb (diff)
downloadvyos-1x-f0a13824f39f9da95c77234ad000ce66c3c3b04e.tar.gz
vyos-1x-f0a13824f39f9da95c77234ad000ce66c3c3b04e.zip
lldp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/lldp/lldpd.j2')
-rw-r--r--data/templates/lldp/lldpd.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/lldp/lldpd.j2 b/data/templates/lldp/lldpd.j2
new file mode 100644
index 000000000..3c499197d
--- /dev/null
+++ b/data/templates/lldp/lldpd.j2
@@ -0,0 +1,2 @@
+### Autogenerated by lldp.py ###
+DAEMON_ARGS="-M 4 {{ '-x' if snmp.enable is vyos_defined }} {{ '-c' if legacy_protocols.cdp is vyos_defined }} {{ '-e' if legacy_protocols.edp is vyos_defined }} {{ '-f' if legacy_protocols.fdp is vyos_defined }} {{ '-s' if legacy_protocols.sonmp is vyos_defined }}"