summaryrefslogtreecommitdiff
path: root/test/integration/targets/vyos_lldp_global/vars/main.yaml
blob: f091f2c7a2f773af60181bdecc7eb678bf4524c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
merged:
  before:
    address: '192.0.2.17'
    enable: true
    legacy_protocols:
        - 'cdp'

  commands:
    - "set service lldp management-address '192.0.2.11'"
    - "set service lldp legacy-protocols 'fdp'"

  after:
    address: '192.0.2.11'
    enable: true
    legacy_protocols:
      - 'cdp'
      - 'fdp'

populate:
  address: '192.0.2.17'
  enable: true
  legacy_protocols:
    - 'cdp'

replaced:
  commands:
    - "set service lldp legacy-protocols 'edp'"
    - "set service lldp legacy-protocols 'sonmp'"
    - "set service lldp management-address '192.0.2.14'"

  after:
    address: '192.0.2.14'
    enable: true
    legacy_protocols:
      - 'cdp'
      - 'edp'
      - 'sonmp'

deleted:
  commands:
    - "delete service lldp management-address"
    - "delete service lldp legacy-protocols"

  after:
    "enable": true

round_trip:
  after:
    address: '192.0.2.14'
    enable: true
    legacy_protocols:
      - 'cdp'
      - 'edp'
      - 'fdp'
      - 'sonmp'