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_l2tpv3.xml.in | 131 +++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 interface-definitions/interfaces_l2tpv3.xml.in (limited to 'interface-definitions/interfaces_l2tpv3.xml.in') diff --git a/interface-definitions/interfaces_l2tpv3.xml.in b/interface-definitions/interfaces_l2tpv3.xml.in new file mode 100644 index 000000000..5f816c956 --- /dev/null +++ b/interface-definitions/interfaces_l2tpv3.xml.in @@ -0,0 +1,131 @@ + + + + + + + Layer 2 Tunnel Protocol Version 3 (L2TPv3) Interface + 485 + + l2tpeth[0-9]+ + + L2TPv3 interface must be named l2tpethN + + l2tpethN + L2TPv3 interface name + + + + #include + #include + + + UDP destination port for L2TPv3 tunnel + + u32:1-65535 + Numeric IP port + + + + + + 5000 + + #include + + + Encapsulation type + + udp ip + + + udp + UDP encapsulation + + + ip + IP encapsulation + + + (udp|ip) + + Encapsulation must be UDP or IP + + udp + + #include + #include + #include + #include + #include + + 1488 + + + + Peer session identifier + + u32:1-429496729 + L2TPv3 peer session identifier + + + + + + + + + Peer tunnel identifier + + u32:1-429496729 + L2TPv3 peer tunnel identifier + + + + + + + #include + + + Session identifier + + u32:1-429496729 + L2TPv3 session identifier + + + + + + + + + UDP source port for L2TPv3 tunnel + + u32:1-65535 + Numeric IP port + + + + + + 5000 + + + + Local tunnel identifier + + u32:1-429496729 + L2TPv3 local tunnel identifier + + + + + + + #include + + + + + -- cgit v1.2.3