summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoromnom62 <omnom62@outlook.com>2026-06-02 21:36:02 +1000
committeromnom62 <omnom62@outlook.com>2026-06-02 21:36:02 +1000
commitb5e17eb5e9239cf45a51d39f2a7a9726aa8f4fbb (patch)
tree7257199ec240eadfff27bb5e8a5d00fa0aed9747 /tests
parent066ab3c5795cfc30337831708da1a73a449f404f (diff)
downloadrest.vyos-b5e17eb5e9239cf45a51d39f2a7a9726aa8f4fbb.tar.gz
rest.vyos-b5e17eb5e9239cf45a51d39f2a7a9726aa8f4fbb.zip
lldp_global module
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/targets/vyos_lldp_global/tests/httpapi/_populate_config.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/integration/targets/vyos_lldp_global/tests/httpapi/_populate_config.yaml b/tests/integration/targets/vyos_lldp_global/tests/httpapi/_populate_config.yaml
index 3bf4fb0..6c3acf4 100644
--- a/tests/integration/targets/vyos_lldp_global/tests/httpapi/_populate_config.yaml
+++ b/tests/integration/targets/vyos_lldp_global/tests/httpapi/_populate_config.yaml
@@ -1,4 +1,12 @@
---
+- name: Configure SNMP first (required for LLDP snmp)
+ vyos.rest.vyos_snmp_server:
+ config:
+ communities:
+ - name: lldp-test
+ authorization_type: ro
+ state: merged
+
- name: Populate lldp_global config for testing
vyos.rest.vyos_lldp_global:
config:
@@ -10,4 +18,3 @@
- cdp
- sonmp
state: merged
- ignore_errors: true