diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-09-28 07:41:19 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-09-28 07:41:19 +0000 |
commit | fed3245aef5333e535d10cca976a3d09a8760446 (patch) | |
tree | 3f3bd339cbc14062c1705e850754fd317a5eee95 /interface-definitions | |
parent | 41ff73882fb6dad2484d841ed59494f0c963bf5e (diff) | |
download | vyos-1x-fed3245aef5333e535d10cca976a3d09a8760446.tar.gz vyos-1x-fed3245aef5333e535d10cca976a3d09a8760446.zip |
pppoe-server: T2919: Add possibility change Called-Station-Id format
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/service_pppoe-server.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index 64fd6e4ef..eaaac0d4c 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -135,6 +135,26 @@ </leafNode> </children> </node> + <leafNode name="called-sid-format"> + <properties> + <help>Format of Called-Station-Id attribute</help> + <completionHelp> + <list>ifname ifname:mac</list> + </completionHelp> + <constraint> + <regex>(ifname|ifname:mac)</regex> + </constraint> + <constraintErrorMessage>Invalid Called-Station-Id format</constraintErrorMessage> + <valueHelp> + <format>ifname</format> + <description>NAS-Port-Id - should contain root interface name (NAS-Port-Id=eth1)</description> + </valueHelp> + <valueHelp> + <format>ifname:mac</format> + <description>NAS-Port-Id - should contain root interface name and mac address (NAS-Port-Id=eth1:00:00:00:00:00:00)</description> + </valueHelp> + </properties> + </leafNode> </children> </node> <leafNode name="protocols"> |