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/interfaces_loopback.xml.in | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 interface-definitions/interfaces_loopback.xml.in (limited to 'interface-definitions/interfaces_loopback.xml.in') diff --git a/interface-definitions/interfaces_loopback.xml.in b/interface-definitions/interfaces_loopback.xml.in new file mode 100644 index 000000000..09b4a00cf --- /dev/null +++ b/interface-definitions/interfaces_loopback.xml.in @@ -0,0 +1,35 @@ + + + + + + + Loopback Interface + 300 + + lo + + Loopback interface must be named lo + + lo + Loopback interface + + + + #include + #include + + + IPv4 routing parameters + + + #include + + + #include + #include + + + + + -- cgit v1.2.3