diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-09 17:05:11 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-09 17:05:11 +0000 |
commit | 59b2b2055f553e5a227d644ca0fc779d004f7d67 (patch) | |
tree | 3ebbeb0c785a755eb61cfccc1e80411cd31d8490 /interface-definitions | |
parent | f69b3041b9994c50ca2d4b137af2a23a354ceb01 (diff) | |
download | vyos-1x-59b2b2055f553e5a227d644ca0fc779d004f7d67.tar.gz vyos-1x-59b2b2055f553e5a227d644ca0fc779d004f7d67.zip |
bgp: xml: T2174: add valueHelp and containts to AFI route-map include
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/bgp/afi-route-map.xml.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-route-map.xml.i b/interface-definitions/include/bgp/afi-route-map.xml.i index 5716668be..24a5ddd12 100644 --- a/interface-definitions/include/bgp/afi-route-map.xml.i +++ b/interface-definitions/include/bgp/afi-route-map.xml.i @@ -10,6 +10,14 @@ <completionHelp> <path>policy route-map</path> </completionHelp> + <valueHelp> + <format>txt</format> + <description>Route map name</description> + </valueHelp> + <constraint> + <regex>^[-_a-zA-Z0-9.]+$</regex> + </constraint> + <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage> </properties> </leafNode> <leafNode name="import"> @@ -18,6 +26,14 @@ <completionHelp> <path>policy route-map</path> </completionHelp> + <valueHelp> + <format>txt</format> + <description>Route map name</description> + </valueHelp> + <constraint> + <regex>^[-_a-zA-Z0-9.]+$</regex> + </constraint> + <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage> </properties> </leafNode> </children> |