summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-10 20:07:57 +0200
committerGitHub <noreply@github.com>2022-06-10 20:07:57 +0200
commit299e16aae6d2b1038be5b3d492000c590050b4c9 (patch)
tree100cd850c2d3564cb8f335f0c67efb9bcfe78059 /op-mode-definitions
parent18b303734d84c0c5677ea4d872ec068ffcab4cad (diff)
parenta03b89039266b8e2a9cf95eef026365a863a8431 (diff)
downloadvyos-1x-299e16aae6d2b1038be5b3d492000c590050b4c9.tar.gz
vyos-1x-299e16aae6d2b1038be5b3d492000c590050b4c9.zip
Merge pull request #1326 from sever-sever/T4429
op-mode: T4429: Ability to detect external IP address
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip.xml.in b/op-mode-definitions/show-ip.xml.in
index d342ac192..d21c38ccc 100644
--- a/op-mode-definitions/show-ip.xml.in
+++ b/op-mode-definitions/show-ip.xml.in
@@ -7,6 +7,12 @@
<help>Show IPv4 networking information</help>
</properties>
<children>
+ <node name="external">
+ <properties>
+ <help>Show IPv4 external address</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_ip_external.sh</command>
+ </node>
<node name="neighbors">
<properties>
<help>Show IPv4 neighbor (ARP) table</help>