summaryrefslogtreecommitdiff
path: root/interface-definitions/service_dns_dynamic.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-01 21:21:17 +0100
committerGitHub <noreply@github.com>2024-02-01 21:21:17 +0100
commit176a79420c5bf676b0f857a169a9b9c3906ee0c0 (patch)
tree4dd9eb9f5322f7e8bb0ae970e0ace6dab7b0880e /interface-definitions/service_dns_dynamic.xml.in
parenta93491acfca90ac910a235d03ca8e93830c98c12 (diff)
parent323994ed0fc40b67a0aa7c839229864ccb6b0e33 (diff)
downloadvyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.tar.gz
vyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.zip
Merge pull request #2860 from indrajitr/ddclient-update-20240119
ddclient: T5966: Adjust dynamic dns config address subpath
Diffstat (limited to 'interface-definitions/service_dns_dynamic.xml.in')
-rw-r--r--interface-definitions/service_dns_dynamic.xml.in47
1 files changed, 17 insertions, 30 deletions
diff --git a/interface-definitions/service_dns_dynamic.xml.in b/interface-definitions/service_dns_dynamic.xml.in
index d1b0e90bb..75e5520b7 100644
--- a/interface-definitions/service_dns_dynamic.xml.in
+++ b/interface-definitions/service_dns_dynamic.xml.in
@@ -38,42 +38,29 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="address">
+ <node name="address">
<properties>
<help>Obtain IP address to send Dynamic DNS update for</help>
- <valueHelp>
- <format>txt</format>
- <description>Use interface to obtain the IP address</description>
- </valueHelp>
- <valueHelp>
- <format>web</format>
- <description>Use HTTP(S) web request to obtain the IP address</description>
- </valueHelp>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces</script>
- <list>web</list>
- </completionHelp>
- <constraint>
- #include <include/constraint/interface-name.xml.i>
- <regex>web</regex>
- </constraint>
- </properties>
- </leafNode>
- <node name="web-options">
- <properties>
- <help>Options when using HTTP(S) web request to obtain the IP address</help>
</properties>
<children>
- #include <include/url-http-https.xml.i>
- <leafNode name="skip">
+ #include <include/generic-interface.xml.i>
+ <node name="web">
<properties>
- <help>Pattern to skip from the HTTP(S) respose</help>
- <valueHelp>
- <format>txt</format>
- <description>Pattern to skip from the HTTP(S) respose to extract the external IP address</description>
- </valueHelp>
+ <help>HTTP(S) web request to use</help>
</properties>
- </leafNode>
+ <children>
+ #include <include/url-http-https.xml.i>
+ <leafNode name="skip">
+ <properties>
+ <help>Pattern to skip from the HTTP(S) respose</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Pattern to skip from the HTTP(S) respose to extract the external IP address</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
<leafNode name="ip-version">