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_ipoe-server.xml.in | 190 +++++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 interface-definitions/service_ipoe-server.xml.in (limited to 'interface-definitions/service_ipoe-server.xml.in') diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in new file mode 100644 index 000000000..edfe6a34c --- /dev/null +++ b/interface-definitions/service_ipoe-server.xml.in @@ -0,0 +1,190 @@ + + + + + + + Internet Protocol over Ethernet (IPoE) Server + 900 + + + + + Interface to listen dhcp or unclassified packets + + + + + + + + Client connectivity mode + + l2 l3 + + + l2 + Client located on same interface as server + + + l3 + Client located behind a router + + + (l2|l3) + + + l2 + + + + Enables clients to share the same network or each client has its own vlan + + shared vlan + + + (shared|vlan) + + + shared + Multiple clients share the same network + + + vlan + One VLAN per client + + + shared + + + + Client address pool + + ipv4net + IPv4 address and prefix length + + + + + + + + + DHCP requests will be forwarded + + + + + DHCP Server the request will be redirected to. + + ipv4 + IPv4 address of the DHCP Server + + + + + + + + + Relay Agent IPv4 Address + + ipv4 + Gateway IP address + + + + + + + + + #include + + + #include + #include + #include + #include + #include + + + Client authentication methods + + + #include + + + Network interface for client MAC addresses + + + + + + + + Media Access Control (MAC) address + + macaddr + Hardware (MAC) address + + + + + + + + + Upload/Download speed limits + + + + + Upload bandwidth limit in kbits/sec + + + + + + + + Download bandwidth limit in kbits/sec + + + + + + + + + + VLAN monitor for automatic creation of VLAN interfaces + + u32:1-4094 + Client VLAN id + + + + + VLAN IDs need to be in range 1-4094 + + + + + + + + + #include + + + #include + #include + + + #include + + + + + -- cgit v1.2.3