summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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