diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-01-18 15:09:32 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-01-18 15:16:05 +0000 |
commit | 1ce8e672b57e03e144998cb0a56ad1622c667a1d (patch) | |
tree | 31486b895818c63f4041350a445f511288b37a9c /interface-definitions | |
parent | 2dc1cbc82dd26390615ca7f26878176891a5b12d (diff) | |
download | vyos-1x-1ce8e672b57e03e144998cb0a56ad1622c667a1d.tar.gz vyos-1x-1ce8e672b57e03e144998cb0a56ad1622c667a1d.zip |
T4857: Cleaning pr
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/snmp.xml.in | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 7ec60b2e7..bb6e91167 100644 --- a/interface-definitions/snmp.xml.in +++ b/interface-definitions/snmp.xml.in @@ -123,18 +123,31 @@ </leafNode> <leafNode name="oid-enable"> <properties> - <help>Enable specific OIDs</help> + <help>Enable specific OIDs that by default are disable</help> <completionHelp> - <list>route-table</list> + <list>ip-forward ip-route-table ip-net-to-media-table ip-net-to-physical-phys-address</list> </completionHelp> <valueHelp> - <format>route-table</format> - <description>Enable routing table OIDs (ipCidrRouteTable inetCidrRouteTable)</description> + <format>ip-forward</format> + <description>Enable oid .1.3.6.1.2.1.4.24</description> + </valueHelp> + <valueHelp> + <format>ip-route-table</format> + <description>Enable oid .1.3.6.1.2.1.4.21</description> + </valueHelp> + <valueHelp> + <format>ip-net-to-media-table</format> + <description>Enable oid .1.3.6.1.2.1.4.22</description> + </valueHelp> + <valueHelp> + <format>ip-net-to-physical-phys-address</format> + <description>Enable oid .1.3.6.1.2.1.4.35</description> </valueHelp> <constraint> - <regex>(route-table)</regex> + <regex>(ip-forward|ip-route-table|ip-net-to-media-table|ip-net-to-physical-phys-address)</regex> </constraint> - <constraintErrorMessage>OID must be 'route-table'</constraintErrorMessage> + <constraintErrorMessage>OID must be one of the liste options</constraintErrorMessage> + <multi/> </properties> </leafNode> #include <include/snmp/protocol.xml.i> |