summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-07-29 21:36:16 +0200
committerChristian Poessinger <christian@poessinger.com>2018-07-29 21:36:16 +0200
commit5dd7958c616f186f878bf759ee61cbd6e2eabb06 (patch)
tree429554a3aba2a7a7641b09e3cfc3dee76da87b7f /op-mode-definitions
parentc9eb5229e2bc1e4a74b4256c26932723b7c26986 (diff)
downloadvyos-1x-5dd7958c616f186f878bf759ee61cbd6e2eabb06.tar.gz
vyos-1x-5dd7958c616f186f878bf759ee61cbd6e2eabb06.zip
T758: add 'show dns dynamic status' op mode command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/dynamic-dns.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/op-mode-definitions/dynamic-dns.xml b/op-mode-definitions/dynamic-dns.xml
new file mode 100644
index 000000000..c67769a83
--- /dev/null
+++ b/op-mode-definitions/dynamic-dns.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="dns">
+ <children>
+ <node name="dynamic">
+ <properties>
+ <help>Show Dynamic DNS information</help>
+ </properties>
+ <children>
+ <leafNode name="status">
+ <properties>
+ <help>Show Dynamic DNS status</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/dynamic_dns_status.py</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>