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 --- .../system_static-host-mapping.xml.in | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 interface-definitions/system_static-host-mapping.xml.in (limited to 'interface-definitions/system_static-host-mapping.xml.in') diff --git a/interface-definitions/system_static-host-mapping.xml.in b/interface-definitions/system_static-host-mapping.xml.in new file mode 100644 index 000000000..492741f11 --- /dev/null +++ b/interface-definitions/system_static-host-mapping.xml.in @@ -0,0 +1,53 @@ + + + + + + + Map host names to addresses + 400 + + + + + Host name for static address mapping + + #include + + Host-name must be alphanumeric and can contain hyphens + + + + + Alias for this address + + .{1,63} + + invalid alias hostname, needs to be between 1 and 63 charactes + + + + + + IP Address + + ipv4 + IPv4 address + + + ipv6 + IPv6 address + + + + + + + + + + + + + + -- cgit v1.2.3