summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-12-03 15:45:21 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2024-12-04 11:06:32 +0200
commita4bf498d77b5cd2db00aae226b10a60d9b1fba23 (patch)
treed2a64974c975f8bd0cff1dd7188419ea07747e01 /interface-definitions
parent29cc3d790fa690356016a7df21ec75b12b84cb3c (diff)
downloadvyos-1x-a4bf498d77b5cd2db00aae226b10a60d9b1fba23.tar.gz
vyos-1x-a4bf498d77b5cd2db00aae226b10a60d9b1fba23.zip
ipoe_server: T6628: Add option to assign static IP address to end users
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_ipoe-server.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in
index 39cfb7889..6cc4471af 100644
--- a/interface-definitions/service_ipoe-server.xml.in
+++ b/interface-definitions/service_ipoe-server.xml.in
@@ -70,6 +70,18 @@
<constraintErrorMessage>VLAN IDs need to be in range 1-4094</constraintErrorMessage>
</properties>
</leafNode>
+ <leafNode name="static-ip">
+ <properties>
+ <help>Static client IP address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</tagNode>
</children>