summaryrefslogtreecommitdiff
path: root/interface-definitions/service_sla.xml.in
blob: 2cd68195aea9f5a78afd7d8ec8d211f92662ea6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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>
          <priority>2</priority>
        </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>