summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-01 16:39:47 +0200
committerGitHub <noreply@github.com>2024-04-01 16:39:47 +0200
commitae96118ec38c4064552889aea5e50023a66aac1e (patch)
treeca81032cfa054a2b26d198ce2a5ce5b5a761f399 /interface-definitions
parent4999f605b024d041cdc18e69ea6cef48403a924e (diff)
parent9d34c488251c0d5111b4a3c880f2291548645db3 (diff)
downloadvyos-1x-ae96118ec38c4064552889aea5e50023a66aac1e.tar.gz
vyos-1x-ae96118ec38c4064552889aea5e50023a66aac1e.zip
Merge pull request #3167 from aapostoliuk/T6150-equuleus
T6150: Fixed setting a static IP address by Radius in IPoE
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-ppp/gateway-address-multi.xml.i17
-rw-r--r--interface-definitions/service_ipoe-server.xml.in1
2 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/gateway-address-multi.xml.i b/interface-definitions/include/accel-ppp/gateway-address-multi.xml.i
new file mode 100644
index 000000000..dcc58b97a
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/gateway-address-multi.xml.i
@@ -0,0 +1,17 @@
+<!-- include start from accel-ppp/gateway-address-multi.xml.i -->
+<leafNode name="gateway-address">
+ <properties>
+ <help>Gateway IP address</help>
+ <constraintErrorMessage>invalid IPv4 address</constraintErrorMessage>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>Default Gateway, mask send to the client</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ <validator name="ipv4-host"/>
+ </constraint>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- include end -->
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in
index d81ec99f9..a084d8c07 100644
--- a/interface-definitions/service_ipoe-server.xml.in
+++ b/interface-definitions/service_ipoe-server.xml.in
@@ -121,6 +121,7 @@
</children>
</node>
#include <include/accel-ppp/client-ipv6-pool.xml.i>
+ #include <include/accel-ppp/gateway-address-multi.xml.i>
<node name="authentication">
<properties>
<help>Client authentication methods</help>