diff options
author | sever-sever <v.gletenko@vyos.io> | 2020-11-02 10:55:08 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2020-11-02 10:55:08 +0000 |
commit | bcfd427dd415cde6fdce170f3abc2fb6c6b340fa (patch) | |
tree | a79bb45de3c028839578d3c7da8a212721bb60e8 /interface-definitions | |
parent | 0bb7a7d32b6182064acf3203050464f22815ef5d (diff) | |
download | vyos-1x-bcfd427dd415cde6fdce170f3abc2fb6c6b340fa.tar.gz vyos-1x-bcfd427dd415cde6fdce170f3abc2fb6c6b340fa.zip |
bgp-xml: T2387: Fix validators and add capability for new format bgp
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i | 7 | ||||
-rw-r--r-- | interface-definitions/protocols-bgp.xml.in | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i index dcdc0eb66..63bf582db 100644 --- a/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i +++ b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i @@ -59,6 +59,13 @@ <help>Advertise capabilities to this neighbor (IPv6)</help> </properties> <children> + <!-- Capability dynamic in the afi ipv6 does nothing T3037 --> + <leafNode name="dynamic"> + <properties> + <help>Advertise dynamic capability to this neighbor</help> + <valueless/> + </properties> + </leafNode> <node name="orf"> <properties> <help>Advertise ORF capability to this neighbor</help> diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in index e1469d6ad..f2cc01301 100644 --- a/interface-definitions/protocols-bgp.xml.in +++ b/interface-definitions/protocols-bgp.xml.in @@ -282,7 +282,7 @@ <constraint> <validator name="ipv4-address"/> <validator name="ipv6-address"/> - <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex> + <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex> </constraint> </properties> <children> @@ -636,7 +636,7 @@ </valueHelp> <constraint> <validator name="ipv4-address"/> - <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex> + <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex> </constraint> </properties> </leafNode> @@ -1142,7 +1142,7 @@ </valueHelp> <constraint> <validator name="ipv4-address"/> - <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex> + <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex> </constraint> </properties> </leafNode> |