Page MenuHomeVyOS Platform

nhrp.xml.in
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

nhrp.xml.in

<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
<node name="reset">
<children>
<node name="nhrp">
<properties>
<help>Clear/Purge NHRP entries</help>
</properties>
<children>
<node name="flush">
<properties>
<help>Clear all non-permanent entries</help>
</properties>
<children>
<tagNode name="tunnel">
<properties>
<help>Clear all non-permanent entries</help>
</properties>
<command>sudo opennhrpctl flush dev $5 || echo OpenNHRP is not running.</command>
</tagNode>
</children>
<command>sudo opennhrpctl flush || echo OpenNHRP is not running.</command>
</node>
<node name="purge">
<properties>
<help>Purge entries from NHRP cache</help>
</properties>
<children>
<tagNode name="tunnel">
<properties>
<help>Purge all entries from NHRP cache</help>
</properties>
<command>sudo opennhrpctl purge dev $5 || echo OpenNHRP is not running.</command>
</tagNode>
</children>
<command>sudo opennhrpctl purge || echo OpenNHRP is not running.</command>
</node>
</children>
</node>
</children>
</node>
<node name="show">
<children>
<node name="nhrp">
<properties>
<help>Show NHRP info</help>
</properties>
<children>
<leafNode name="interface">
<properties>
<help>Show NHRP interface connection information</help>
</properties>
<command>if pgrep opennhrp >/dev/null; then sudo opennhrpctl interface show; else echo OpenNHRP is not running; fi</command>
</leafNode>
<leafNode name="tunnel">
<properties>
<help>Show NHRP tunnel connection information</help>
</properties>
<command>if pgrep opennhrp >/dev/null; then sudo opennhrpctl show ; else echo OpenNHRP is not running; fi</command>
</leafNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>

File Metadata

Mime Type
text/xml
Expires
Thu, Nov 26, 6:48 PM (6 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4942776
Default Alt Text
nhrp.xml.in (2 KB)

Event Timeline