summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_lldp_interfaces/vars/main.yaml
blob: 092f653c8a94763f1f876e8d1a871c83541b2545 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
merged:
  before: []
  commands:
    - set service lldp interface eth1 location civic-based country-code 'US'
    - set service lldp interface eth1 location civic-based ca-type 0 ca-value 'ENGLISH'
    - set service lldp interface eth1
    - set service lldp interface eth2 location coordinate-based latitude '33.524449N'
    - set service lldp interface eth2 location coordinate-based altitude '2200'
    - set service lldp interface eth2 location coordinate-based datum 'WGS84'
    - set service lldp interface eth2 location coordinate-based longitude '222.267255W'
    - set service lldp interface eth2
  after:
    - name: eth1
      location:
        civic_based:
          country_code: US
          ca_info:
            - ca_type: 0
              ca_value: ENGLISH
    - name: eth2
      location:
        coordinate_based:
          altitude: 2200
          datum: WGS84
          longitude: 222.267255W
          latitude: 33.524449N
populate:
  - name: eth1
    location:
      civic_based:
        country_code: US
        ca_info:
          - ca_type: 0
            ca_value: ENGLISH
  - name: eth2
    location:
      coordinate_based:
        altitude: 2200
        datum: WGS84
        longitude: 222.267255W
        latitude: 33.524449N
rendered:
  commands:
    - set service lldp interface eth1 location civic-based country-code 'US'
    - set service lldp interface eth1 location civic-based ca-type 0 ca-value 'ENGLISH'
    - set service lldp interface eth1
    - set service lldp interface eth2 location coordinate-based latitude '33.524449N'
    - set service lldp interface eth2 location coordinate-based altitude '2200'
    - set service lldp interface eth2 location coordinate-based datum 'WGS84'
    - set service lldp interface eth2 location coordinate-based longitude '222.267255W'
    - set service lldp interface eth2
replaced:
  commands:
    - delete service lldp interface eth2 location
    - set service lldp interface eth2 'disable'
    - set service lldp interface eth2 location civic-based country-code 'US'
    - set service lldp interface eth2 location civic-based ca-type 0 ca-value 'ENGLISH'
    - delete service lldp interface eth1 location
    - set service lldp interface eth1 'disable'
    - set service lldp interface eth1 location coordinate-based latitude '33.524449N'
    - set service lldp interface eth1 location coordinate-based altitude '2200'
    - set service lldp interface eth1 location coordinate-based datum 'WGS84'
    - set service lldp interface eth1 location coordinate-based longitude '222.267255W'
  after:
    - name: eth2
      enable: false
      location:
        civic_based:
          country_code: US
          ca_info:
            - ca_type: 0
              ca_value: ENGLISH
    - name: eth1
      enable: false
      location:
        coordinate_based:
          altitude: 2200
          datum: WGS84
          longitude: 222.267255W
          latitude: 33.524449N
populate_intf:
  - name: eth2
    enable: false
    location:
      civic_based:
        country_code: US
        ca_info:
          - ca_type: 0
            ca_value: ENGLISH
overridden:
  commands:
    - delete service lldp interface eth2 location
    - delete service lldp interface eth2 'disable'
    - set service lldp interface eth2 location elin '0000000911'
  after:
    - name: eth2
      location:
        elin: 0000000911
parsed:
  after:
    - name: eth1
      location:
        civic_based:
          country_code: US
          ca_info:
            - ca_type: 0
              ca_value: ENGLISH
    - name: eth2
      location:
        coordinate_based:
          altitude: 2200
          datum: WGS84
          longitude: 222.267255W
          latitude: 33.524449N
deleted:
  commands:
    - delete service lldp interface eth1
    - delete service lldp interface eth2
  after: []
round_trip:
  after:
    - name: eth1
      location:
        civic_based:
          country_code: US
          ca_info:
            - ca_type: 0
              ca_value: ENGLISH
    - name: eth2
      location:
        coordinate_based:
          altitude: 2200
          datum: WGS84
          longitude: 222.267255W
          latitude: 33.524449N