summaryrefslogtreecommitdiff
path: root/interface-definitions/lldp.xml
blob: 90bf80e19f8586ee689c2d7ada1915ca5c3d0698 (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?xml version="1.0"?>

<interfaceDefinition>
  <node name="service">
    <children>
      <node name="lldp" owner="${vyos_sbindir}/vyos-update-lldp.py">
        <properties>
          <help>LLDP settings</help>
          <priority>985</priority>
        </properties>
        <children>
          <tagNode name="interface">
            <properties>
              <help>Location data for interface</help>
              <valueHelp>
                <format>all</format>
                <description>Location data all interfaces</description>
              </valueHelp>
              <valueHelp>
                <format>&lt;intf&gt;</format>
                <description>Location data for a specific interface</description>
              </valueHelp>
              <completionHelp>
                <script> ${vyatta_sbindir}/vyatta-interfaces.pl --show all </script>
              </completionHelp>
            </properties>
            <children>
              <leafNode name="disable">
                <properties>
                  <help>Disable lldp on this interface</help>
                </properties>
              </leafNode>
              <node name="location">
                <properties>
                  <help>LLDP-MED location data [REQUIRED]</help>
                </properties>
                <children>
                  <node name="civic-based">
                    <properties>
                      <help>Civic-based location data</help>
                    </properties>
                    <children>
                      <TagNode name="ca-type">
                        <properties>
                          <help>LLDP-MED Civic Address type [REQUIRED]</help>
                          <valueHelp>
                            <format>0</format>
                            <description>Language</description>
                          </valueHelp>
                          <valueHelp>
                            <format>1</format>
                            <description>National subdivisions</description>
                          </valueHelp>
                          <valueHelp>
                            <format>2</format>
                            <description>County, parish, district</description>
                          </valueHelp>
                          <valueHelp>
                            <format>3</format>
                            <description>City, township</description>
                          </valueHelp>
                          <valueHelp>
                            <format>4</format>
                            <description>City division, borough, ward</description>
                          </valueHelp>
                          <valueHelp>
                            <format>5</format>
                            <description>Neighborhood, block</description>
                          </valueHelp>
                          <valueHelp>
                            <format>6</format>
                            <description>Street</description>
                          </valueHelp>
                          <valueHelp>
                            <format>16</format>
                            <description>Leading street direction</description>
                          </valueHelp>
                          <valueHelp>
                            <format>17</format>
                            <description>Trailing street suffix</description>
                          </valueHelp>
                          <valueHelp>
                            <format>18</format>
                            <description>Street suffix</description>
                          </valueHelp>
                          <valueHelp>
                            <format>19</format>
                            <description>House number</description>
                          </valueHelp>
                          <valueHelp>
                            <format>20</format>
                            <description>House number suffix</description>
                          </valueHelp>
                          <valueHelp>
                            <format>21</format>
                            <description>Landmark or vanity address</description>
                          </valueHelp>
                          <valueHelp>
                            <format>22</format>
                            <description>Additional location info</description>
                          </valueHelp>
                          <valueHelp>
                            <format>23</format>
                            <description>Name</description>
                          </valueHelp>
                          <valueHelp>
                            <format>24</format>
                            <description>Postal/ZIP code</description>
                          </valueHelp>
                          <valueHelp>
                            <format>25</format>
                            <description>Building</description>
                          </valueHelp>
                          <valueHelp>
                            <format>26</format>
                            <description>Unit</description>
                          </valueHelp>
                          <valueHelp>
                            <format>27</format>
                            <description>Floor</description>
                          </valueHelp>
                          <valueHelp>
                            <format>28</format>
                            <description>Room number</description>
                          </valueHelp>
                          <valueHelp>
                            <format>29</format>
                            <description>Place type</description>
                          </valueHelp>
                          <valueHelp>
                            <format>128</format>
                            <description>Script</description>
                          </valueHelp>
                        </properties>
                        <children>
                          <leafNode name="ca-value">
                            <properties>
                              <help>Civic address value for ca-type [REQUIRED]</help>
                            </properties>
                          </leafNode>
                        </children>
                      </TagNode>
                      <leafNode name="country-code">
                        <properties>
                          <help>Country code [REQUIRED]</help>
                          <valueHelp>
                            <format>&lt;AA&gt;</format>
                            <description>Two letter ISO 3166 country code</description>
                          </valueHelp>
                        </properties>
                      </leafNode>
                    </children>
                  </node>
                  <node name="coordinate-based">
                    <properties>
                      <help>Coordinate based location</help>
                    </properties>
                    <children>
                      <leafNode name="altitude">
                        <properties>
                          <help>Altitude in meters</help>
                          <valueHelp>
                            <format>[+-]&lt;meters&gt;</format>
                            <description>Altitude in meters</description>
                          </valueHelp>
                        </properties>
                      </leafNode>
                      <leafNode name="datum">
                        <properties>
                          <help>Coordinate datum type</help>
                          <valueHelp>
                            <format>WGS84</format>
                            <description>WGS84 (default)</description>
                          </valueHelp>
                          <valueHelp>
                            <format>NAD83</format>
                            <description>NAD83</description>
                          </valueHelp>
                          <valueHelp>
                            <format>MLLW</format>
                            <description>NAD83/MLLW</description>
                          </valueHelp>
                        </properties>
                      </leafNode>
                      <leafNode name="latitude">
                        <properties>
                          <help>Latitude [REQUIRED]</help>
                          <valueHelp>
                            <format>&lt;latitude&gt;</format>
                            <description>Latitude (example "37.524449N")</description>
                          </valueHelp>
                        </properties>
                      </leafNode>
                      <leafNode name="longitude">
                        <properties>
                          <help>Longitude [REQUIRED]</help>
                          <valueHelp>
                            <format>&lt;longitude&gt;</format>
                            <description>Longitude (example "122.267255W")</description>
                          </valueHelp>
                        </properties>
                      </leafNode>
                    </children>
                  </node>
                </children>
              </node>
            </children>
          </tagNode>
          <node name="legacy-protocols">
            <properties>
              <help>Legacy (vendor specific) protocols</help>
            </properties>
            <children>
              <leafNode name="cdp">
                <properties>
                  <help>Listen for CDP for Cisco routers/switches</help>
                </properties>
              </leafNode>
              <leafNode name="edp">
                <properties>
                  <help>Listen for EDP for Extreme routers/switches</help>
                </properties>
              </leafNode>
              <leafNode name="fdp">
                <properties>
                  <help>Listen for FDP for Foundry routers/switches</help>
                </properties>
              </leafNode>
              <leafNode name="sonmp">
                <properties>
                  <help>Listen for SONMP for Nortel routers/switches</help>
                </properties>
              </leafNode>
            </children>
          </node>
          <leafNode name="management-address">
            <properties>
              <help>IPv4 management address</help>
            </properties>
          </leafNode>
          <node name="snmp">
            <properties>
              <help>SNMP parameters for LLDP</help>
            </properties>
            <children>
              <leafNode name="enable">
                <properties>
                  <help>Enable SNMP queries of the LLDP database</help>
                </properties>
              </leafNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>