summaryrefslogtreecommitdiff
path: root/interface-definitions/service_sla.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-02 12:21:49 +0200
committerGitHub <noreply@github.com>2022-06-02 12:21:49 +0200
commitb9a26085b49397eb73e7110872b5c07015c911b4 (patch)
tree416246b95f828be5404f1ed3ebbacf409c5c42ba /interface-definitions/service_sla.xml.in
parentc4d824d57d696bcf0e2a1e8e0fd87078e6eaadd3 (diff)
parentb8671b56c153055a2906af14f63b5818b189d808 (diff)
downloadvyos-1x-b9a26085b49397eb73e7110872b5c07015c911b4.tar.gz
vyos-1x-b9a26085b49397eb73e7110872b5c07015c911b4.zip
Merge pull request #1345 from sever-sever/T4222
sla: T4222: Add OWAMP and TWAMP for service sla
Diffstat (limited to 'interface-definitions/service_sla.xml.in')
-rw-r--r--interface-definitions/service_sla.xml.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/interface-definitions/service_sla.xml.in b/interface-definitions/service_sla.xml.in
new file mode 100644
index 000000000..0c4f8a591
--- /dev/null
+++ b/interface-definitions/service_sla.xml.in
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="service">
+ <children>
+ <node name="sla" owner="${vyos_conf_scripts_dir}/service_sla.py">
+ <properties>
+ <help>Service level agreement (SLA)</help>
+ </properties>
+ <children>
+ <node name="owamp-server">
+ <properties>
+ <help>One-way active measurement protocol (OWAMP) server</help>
+ </properties>
+ <children>
+ #include <include/port-number.xml.i>
+ <leafNode name="port">
+ <defaultValue>861</defaultValue>
+ </leafNode>
+ </children>
+ </node>
+ <node name="twamp-server">
+ <properties>
+ <help>Two-way active measurement protocol (TWAMP) server</help>
+ </properties>
+ <children>
+ #include <include/port-number.xml.i>
+ <leafNode name="port">
+ <defaultValue>862</defaultValue>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>