diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:58:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:58:28 +0200 |
commit | c24cecc325defc87973b28d288b23eca8368927d (patch) | |
tree | 051a18b72a40bc9405235c8487157493e3b83fbb /interface-definitions/system-options.xml.in | |
parent | 2dd1392cfe28518658604c88e606c7aec03936a7 (diff) | |
parent | 63052b8906871dc314945922e7f27ef24e114a45 (diff) | |
download | vyos-1x-c24cecc325defc87973b28d288b23eca8368927d.tar.gz vyos-1x-c24cecc325defc87973b28d288b23eca8368927d.zip |
Merge branch 'curlrc' of github.com:c-po/vyos-1x into current
* 'curlrc' of github.com:c-po/vyos-1x:
http-client: T2651: support specifying source-interface/address for curl
xml: T2651: provide general source-interface include file
Diffstat (limited to 'interface-definitions/system-options.xml.in')
-rw-r--r-- | interface-definitions/system-options.xml.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/interface-definitions/system-options.xml.in b/interface-definitions/system-options.xml.in index 48bc353ab..194773329 100644 --- a/interface-definitions/system-options.xml.in +++ b/interface-definitions/system-options.xml.in @@ -33,7 +33,7 @@ <description>Poweroff VyOS</description> </valueHelp> <constraint> - <regex>(ignore|reboot|poweroff)</regex> + <regex>^(ignore|reboot|poweroff)$</regex> </constraint> <constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage> </properties> @@ -44,6 +44,15 @@ <valueless/> </properties> </leafNode> + <node name="http-client"> + <properties> + <help>Global options used for HTTP based commands</help> + </properties> + <children> + #include <include/source-interface.xml.i> + #include <include/source-address-ipv4-ipv6.xml.i> + </children> + </node> </children> </node> </children> |