summaryrefslogtreecommitdiff
path: root/interface-definitions/include/protocol-tcp-udp.xml.i
blob: d7e6752adda6b679dcdbecf3841ef8d022cfc009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- include start from snmp/protocol.xml.i -->
<leafNode name="protocol">
  <properties>
    <help>Protocol to be used (TCP/UDP)</help>
    <completionHelp>
      <list>udp tcp</list>
    </completionHelp>
    <valueHelp>
      <format>udp</format>
      <description>Listen protocol UDP</description>
    </valueHelp>
    <valueHelp>
      <format>tcp</format>
      <description>Listen protocol TCP</description>
    </valueHelp>
    <constraint>
      <regex>(udp|tcp)</regex>
    </constraint>
  </properties>
  <defaultValue>udp</defaultValue>
</leafNode>
<!-- include end -->