summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-12-16 11:42:47 +0000
committerGitHub <noreply@github.com>2024-12-16 11:42:47 +0000
commitd08a51ab1011f926f897e288d6d8946a8ff72674 (patch)
tree853ff9b3f56d9a58b17e0a1ab9a93337783b9ffe /interface-definitions
parent221b384ff0096f07b96f13d1a5433e0b49c15846 (diff)
parenta4bf498d77b5cd2db00aae226b10a60d9b1fba23 (diff)
downloadvyos-1x-d08a51ab1011f926f897e288d6d8946a8ff72674.tar.gz
vyos-1x-d08a51ab1011f926f897e288d6d8946a8ff72674.zip
Merge pull request #4219 from natali-rs1985/T6628
ipoe_server: T6628: Add option to assign static IP address to end users with local auth
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>