summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-03-22 16:10:59 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2024-03-26 17:48:07 +0200
commit9d34c488251c0d5111b4a3c880f2291548645db3 (patch)
treede8affb4a205ae68a217dfe50abbd0e586e40f41 /interface-definitions
parent713b2f3702134abd9a34c539019a83d0e354eb22 (diff)
downloadvyos-1x-9d34c488251c0d5111b4a3c880f2291548645db3.tar.gz
vyos-1x-9d34c488251c0d5111b4a3c880f2291548645db3.zip
T6150: Fixed setting a static IP address by Radius in IPoE
Fixed setting a static IP address by Radius in IPoE Allowing using named pools by default Allowed adding 'gateway-address' without named pool.
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>