diff options
author | John Estabrook <jestabro@vyos.io> | 2022-12-12 15:06:08 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-12-14 08:59:34 -0600 |
commit | f0bc6c62016d285f0645c4b3ba8b1451c40c637f (patch) | |
tree | fc00f4a3ad5fdd1b30f62c3af58f5445d8c0184d /interface-definitions/include/bgp | |
parent | 0c5416e9e629a6f9028c85fe5313f43d3484860a (diff) | |
download | vyos-1x-f0bc6c62016d285f0645c4b3ba8b1451c40c637f.tar.gz vyos-1x-f0bc6c62016d285f0645c4b3ba8b1451c40c637f.zip |
validators: T4875: use file-path to replace validator 'interface-name'
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/neighbor-update-source.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/neighbor-update-source.xml.i b/interface-definitions/include/bgp/neighbor-update-source.xml.i index 37faf2cce..60c127e8f 100644 --- a/interface-definitions/include/bgp/neighbor-update-source.xml.i +++ b/interface-definitions/include/bgp/neighbor-update-source.xml.i @@ -22,7 +22,7 @@ <constraint> <validator name="ipv4-address"/> <validator name="ipv6-address"/> - <validator name="interface-name"/> + #include <include/constraint/interface-name.xml.in> </constraint> </properties> </leafNode> diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index fe192434d..366630f78 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -926,7 +926,7 @@ <constraint> <validator name="ipv4-address"/> <validator name="ipv6-address"/> - <validator name="interface-name"/> + #include <include/constraint/interface-name.xml.in> </constraint> </properties> <children> |