summaryrefslogtreecommitdiff
path: root/interface-definitions/include/snmp/access-mode.xml.i
blob: 1fce2364ef9d9c287aed2da308684985fe66112c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- include start from snmp/access-mode.xml.i -->
<leafNode name="mode">
  <properties>
    <help>Define access permission</help>
    <completionHelp>
      <list>ro rw</list>
    </completionHelp>
    <valueHelp>
      <format>ro</format>
      <description>Read-Only (default)</description>
    </valueHelp>
    <valueHelp>
      <format>rw</format>
      <description>read write</description>
    </valueHelp>
    <constraint>
      <regex>^(ro|rw)$</regex>
    </constraint>
    <constraintErrorMessage>Authorization type must be either 'rw' or 'ro'</constraintErrorMessage>
  </properties>
  <defaultValue>ro</defaultValue>
</leafNode>
<!-- include end -->