summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-31 17:35:01 +0200
committerGitHub <noreply@github.com>2023-08-31 17:35:01 +0200
commitcfb75337c242301a2f4bbeeb9e8106c01fee235c (patch)
tree9395f103758bd6357193dc974da5b341be01262a /interface-definitions
parent8e9709002abf2ba5784153025511e296724ff128 (diff)
parent0bf8c55386f0c3d684089c8bdc93e762fe7f7122 (diff)
downloadvyos-1x-cfb75337c242301a2f4bbeeb9e8106c01fee235c.tar.gz
vyos-1x-cfb75337c242301a2f4bbeeb9e8106c01fee235c.zip
Merge pull request #2168 from sever-sever/T3546
T3546: PPPoE-server add extended scripts for RADIUS attributes
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_pppoe-server.xml.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in
index 65868226b..876aadcf7 100644
--- a/interface-definitions/service_pppoe-server.xml.in
+++ b/interface-definitions/service_pppoe-server.xml.in
@@ -340,6 +340,45 @@
</leafNode>
</children>
</node>
+ <node name="extended-scripts">
+ <properties>
+ <help>Extended script execution</help>
+ </properties>
+ <children>
+ <leafNode name="on-pre-up">
+ <properties>
+ <help>Script to run before PPPoE session interface comes up</help>
+ <constraint>
+ <validator name="script"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="on-up">
+ <properties>
+ <help>Script to run when PPPoE session interface is completely configured and started</help>
+ <constraint>
+ <validator name="script"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="on-down">
+ <properties>
+ <help>Script to run when PPPoE session interface going to terminate</help>
+ <constraint>
+ <validator name="script"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="on-change">
+ <properties>
+ <help>Script to run when PPPoE session interface changed by RADIUS CoA handling</help>
+ <constraint>
+ <validator name="script"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>