From 4ef110fd2c501b718344c72d495ad7e16d2bd465 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in --- interface-definitions/service_lldp.xml.in | 188 ++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 interface-definitions/service_lldp.xml.in (limited to 'interface-definitions/service_lldp.xml.in') diff --git a/interface-definitions/service_lldp.xml.in b/interface-definitions/service_lldp.xml.in new file mode 100644 index 000000000..1a06e0cb3 --- /dev/null +++ b/interface-definitions/service_lldp.xml.in @@ -0,0 +1,188 @@ + + + + + + + LLDP settings + 985 + + + + + Location data for interface + + all + Location data all interfaces + + + txt + Location data for a specific interface + + + + all + + + + #include + + + LLDP-MED location data + + + + + Coordinate based location + + + + + Altitude in meters + + 0 + No altitude + + + [+-]<meters> + Altitude in meters + + Altitude should be a positive or negative number + + + + + 0 + + + + Coordinate datum type + + WGS84 + WGS84 + + + NAD83 + NAD83 + + + MLLW + NAD83/MLLW + + + WGS84 NAD83 MLLW + + Datum should be WGS84, NAD83, or MLLW + + (WGS84|NAD83|MLLW) + + + WGS84 + + + + Latitude + + <latitude> + Latitude (example "37.524449N") + + Latitude should be a number followed by S or N + + (\d+)(\.\d+)?[nNsS] + + + + + + Longitude + + <longitude> + Longitude (example "122.267255W") + + Longiture should be a number followed by E or W + + (\d+)(\.\d+)?[eEwW] + + + + + + + + ECS ELIN (Emergency location identifier number) + + u32:0-9999999999 + Emergency Call Service ELIN number (between 10-25 numbers) + + + [0-9]{10,25} + + ELIN number must be between 10-25 numbers + + + + + + + + + Legacy (vendor specific) protocols + + + + + Listen for CDP for Cisco routers/switches + + + + + + Listen for EDP for Extreme routers/switches + + + + + + Listen for FDP for Foundry routers/switches + + + + + + Listen for SONMP for Nortel routers/switches + + + + + + + + Management IP Address + + + + + ipv4 + IPv4 Management Address + + + ipv6 + IPv6 Management Address + + + + + + + + + + Enable SNMP queries of the LLDP database + + + + + + + + -- cgit v1.2.3