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