summaryrefslogtreecommitdiff
path: root/interface-definitions/service-sla.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-29 19:16:53 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-29 19:18:21 +0200
commit6b64f2eeb192ee1133d3f90be2ae2854a0c00ddc (patch)
tree2a7934510cce1883d1f6c221bec1657824571ff2 /interface-definitions/service-sla.xml.in
parentfba14cd5f49802f70bcfaf93aaa25d4440e2f836 (diff)
downloadvyos-1x-6b64f2eeb192ee1133d3f90be2ae2854a0c00ddc.tar.gz
vyos-1x-6b64f2eeb192ee1133d3f90be2ae2854a0c00ddc.zip
xml: streamline interface definition filenames, drop _
Some files that described the CLI used underscores to split CLI levels, some others did not. This commit removes all underscores from the filename and only makes use of a hyphen.
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>