diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-15 17:07:34 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-15 17:07:34 +0000 |
commit | a5580f2fc6f76026a0e72561bf797d03fee40a8c (patch) | |
tree | faf138d5b17030f695ce43157d36f07776e56613 /interface-definitions | |
parent | 9810898b2a16c9f2fce1810c8c2f6b62095d4aba (diff) | |
download | vyos-1x-a5580f2fc6f76026a0e72561bf797d03fee40a8c.tar.gz vyos-1x-a5580f2fc6f76026a0e72561bf797d03fee40a8c.zip |
snmp: T2763: Add protocol TCP for service SNMP
Ability to listen TCP port for service SNMP
set service snmp protocol tcp
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/snmp.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 3cb736bf7..1efe5e726 100644 --- a/interface-definitions/snmp.xml.in +++ b/interface-definitions/snmp.xml.in @@ -129,6 +129,26 @@ <constraintErrorMessage>Location is limited to 255 characters or less</constraintErrorMessage> </properties> </leafNode> + <leafNode name="protocol"> + <properties> + <help>Listen protocol for SNMP</help> + <completionHelp> + <list>udp tcp</list> + </completionHelp> + <valueHelp> + <format>udp</format> + <description>Listen protocol UDP (default)</description> + </valueHelp> + <valueHelp> + <format>tcp</format> + <description>Listen protocol TCP</description> + </valueHelp> + <constraint> + <regex>^(udp|tcp)$</regex> + </constraint> + </properties> + <defaultValue>udp</defaultValue> + </leafNode> <leafNode name="smux-peer"> <properties> <help>Register a subtree for SMUX-based processing</help> |