diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-07-29 21:36:16 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-07-29 21:36:16 +0200 |
commit | 5dd7958c616f186f878bf759ee61cbd6e2eabb06 (patch) | |
tree | 429554a3aba2a7a7641b09e3cfc3dee76da87b7f /op-mode-definitions | |
parent | c9eb5229e2bc1e4a74b4256c26932723b7c26986 (diff) | |
download | vyos-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.xml | 25 |
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> |