From dddacd5fa7865384bf8e77c5db9e02105d8e23ac Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 22 Dec 2019 13:28:26 +0100 Subject: lldp: T393: rename XML interface definition to xml.in --- interface-definitions/lldp.xml | 288 -------------------------------------- interface-definitions/lldp.xml.in | 287 +++++++++++++++++++++++++++++++++++++ 2 files changed, 287 insertions(+), 288 deletions(-) delete mode 100644 interface-definitions/lldp.xml create mode 100644 interface-definitions/lldp.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/lldp.xml b/interface-definitions/lldp.xml deleted file mode 100644 index a0c610dfa..000000000 --- a/interface-definitions/lldp.xml +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - - - LLDP settings - 985 - - - - - Location data for interface - - all - Location data all interfaces - - - <intf> - Location data for a specific interface - - - - - - - - - Disable lldp on this interface - - - - - LLDP-MED location data [REQUIRED] - - - - - Civic-based location data - - - - - LLDP-MED Civic Address type [REQUIRED] - - 0 - Language - - - 1 - National subdivisions - - - 2 - County, parish, district - - - 3 - City, township - - - 4 - City division, borough, ward - - - 5 - Neighborhood, block - - - 6 - Street - - - 16 - Leading street direction - - - 17 - Trailing street suffix - - - 18 - Street suffix - - - 19 - House number - - - 20 - House number suffix - - - 21 - Landmark or vanity address - - - 22 - Additional location info - - - 23 - Name - - - 24 - Postal/ZIP code - - - 25 - Building - - - 26 - Unit - - - 27 - Floor - - - 28 - Room number - - - 29 - Place type - - - 128 - Script - - ca-type must between 0-128 - - - - - - - - Civic address value for ca-type [REQUIRED] - ca-value must be less than 256 characters - - ^[A-Za-z0-9\ \-\_\.\,]{0,255}$ - - - - - - - - Country code [REQUIRED] - - <AA> - Two letter ISO 3166 country code - - country-code must be 2 characters - - ^[a-zA-Z]{2}$ - - - - - - - - Coordinate based location - - - - - Altitude in meters - - [+-]<meters> - Altitude in meters - - Altitude should be a positive or negative number - - - - - - - - Coordinate datum type - - WGS84 - WGS84 (default) - - - NAD83 - NAD83 - - - MLLW - NAD83/MLLW - - - WGS84 NAD83 MLLW - - Datum should be WGS84, NAD83, or MLLW - - ^(WGS84|NAD83|MLLW)$ - - - - - - Latitude [REQUIRED] - - <latitude> - Latitude (example "37.524449N") - - Latitude should be a number followed by S or N - - ^(\d+)(\.\d+)?[nNsS]$ - - - - - - Longitude [REQUIRED] - - <longitude> - Longitude (example "122.267255W") - - Longiture should be a number followed by E or W - - ^(\d+)(\.\d+)?[eEwW]$ - - - - - - - - - - - - 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 - - - - - - - IPv4 management address - - - - - SNMP parameters for LLDP - - - - - Enable SNMP queries of the LLDP database - - - - - - - - - diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in new file mode 100644 index 000000000..f04994607 --- /dev/null +++ b/interface-definitions/lldp.xml.in @@ -0,0 +1,287 @@ + + + + + + + LLDP settings + 985 + + + + + Location data for interface + + all + Location data all interfaces + + + <intf> + Location data for a specific interface + + + + + + + + + Disable lldp on this interface + + + + + LLDP-MED location data [REQUIRED] + + + + + Civic-based location data + + + + + LLDP-MED Civic Address type [REQUIRED] + + 0 + Language + + + 1 + National subdivisions + + + 2 + County, parish, district + + + 3 + City, township + + + 4 + City division, borough, ward + + + 5 + Neighborhood, block + + + 6 + Street + + + 16 + Leading street direction + + + 17 + Trailing street suffix + + + 18 + Street suffix + + + 19 + House number + + + 20 + House number suffix + + + 21 + Landmark or vanity address + + + 22 + Additional location info + + + 23 + Name + + + 24 + Postal/ZIP code + + + 25 + Building + + + 26 + Unit + + + 27 + Floor + + + 28 + Room number + + + 29 + Place type + + + 128 + Script + + ca-type must between 0-128 + + + + + + + + Civic address value for ca-type [REQUIRED] + ca-value must be less than 256 characters + + ^[A-Za-z0-9\ \-\_\.\,]{0,255}$ + + + + + + + + Country code [REQUIRED] + + <AA> + Two letter ISO 3166 country code + + country-code must be 2 characters + + ^[a-zA-Z]{2}$ + + + + + + + + Coordinate based location + + + + + Altitude in meters + + [+-]<meters> + Altitude in meters + + Altitude should be a positive or negative number + + + + + + + + Coordinate datum type + + WGS84 + WGS84 (default) + + + NAD83 + NAD83 + + + MLLW + NAD83/MLLW + + + WGS84 NAD83 MLLW + + Datum should be WGS84, NAD83, or MLLW + + ^(WGS84|NAD83|MLLW)$ + + + + + + Latitude [REQUIRED] + + <latitude> + Latitude (example "37.524449N") + + Latitude should be a number followed by S or N + + ^(\d+)(\.\d+)?[nNsS]$ + + + + + + Longitude [REQUIRED] + + <longitude> + Longitude (example "122.267255W") + + Longiture should be a number followed by E or W + + ^(\d+)(\.\d+)?[eEwW]$ + + + + + + + + + + + + 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 + + + + + + + IPv4 management address + + + + + SNMP parameters for LLDP + + + + + Enable SNMP queries of the LLDP database + + + + + + + + + -- cgit v1.2.3