summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-dial-on-demand.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-20 13:53:55 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-20 14:46:26 +0200
commit993f6873c02f3f79013acedfe61ce705bdb3a4d0 (patch)
treeac1b93a2eada6091b9274cdd934aa35baac0a61f /interface-definitions/include/interface-dial-on-demand.xml.i
parent0a21905786d31e759416dd335d87726f9ed46ffa (diff)
downloadvyos-1x-993f6873c02f3f79013acedfe61ce705bdb3a4d0.tar.gz
vyos-1x-993f6873c02f3f79013acedfe61ce705bdb3a4d0.zip
wwan: ifconfig: T2905: sync CLI nodes in dialup interfaces
Both PPPoE and WWAN interfaces are dialer interfaces handled by ppp, but use different CLI nodes for the same functionality. PPPoE has "connect-on-demand" to initiate an "on-demand" dialing and WWAN uses "ondemand" for this purpose. Rename WWAN "ondemand" node to "connect-on-demand".
Diffstat (limited to 'interface-definitions/include/interface-dial-on-demand.xml.i')
-rw-r--r--interface-definitions/include/interface-dial-on-demand.xml.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-dial-on-demand.xml.i b/interface-definitions/include/interface-dial-on-demand.xml.i
new file mode 100644
index 000000000..c14ddf6f5
--- /dev/null
+++ b/interface-definitions/include/interface-dial-on-demand.xml.i
@@ -0,0 +1,6 @@
+<leafNode name="connect-on-demand">
+ <properties>
+ <help>Establishment connection automatically when traffic is sent</help>
+ <valueless/>
+ </properties>
+</leafNode>