summaryrefslogtreecommitdiff
path: root/interface-definitions/include/snmp/access-mode.xml.i
blob: 71c766774919513885af022200be9f6ca8c8339a (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</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 -->