summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-06-01 16:42:53 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-06-02 08:08:49 +0000
commitb8671b56c153055a2906af14f63b5818b189d808 (patch)
tree416246b95f828be5404f1ed3ebbacf409c5c42ba /op-mode-definitions
parentc4d824d57d696bcf0e2a1e8e0fd87078e6eaadd3 (diff)
downloadvyos-1x-b8671b56c153055a2906af14f63b5818b189d808.tar.gz
vyos-1x-b8671b56c153055a2906af14f63b5818b189d808.zip
sla: T4222: Add OWAMP and TWAMP for service sla
OWAMP is a command line client application and a policy daemon used to determine one way latencies between hosts. OWAMP session control uses traditional client-server communication between a control-client and a server, TWAMP (two-way active measurement protocol) Add configuration and operation modes set service sla owamp-server set service sla twamp-server run force owping 192.0.2.120 run force twping 192.0.2.190
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/force-wamp.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/op-mode-definitions/force-wamp.xml.in b/op-mode-definitions/force-wamp.xml.in
new file mode 100644
index 000000000..dbb205c6b
--- /dev/null
+++ b/op-mode-definitions/force-wamp.xml.in
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="force">
+ <children>
+ <tagNode name="owping">
+ <properties>
+ <help>IP address of the remote OWAMP server</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>owping $3</command>
+ </tagNode>
+ <tagNode name="twping">
+ <properties>
+ <help>IP address of the remote TWAMP server</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>twping $3</command>
+ </tagNode>
+ </children>
+ </node>
+</interfaceDefinition>