diff options
| author | l0crian1 <143656816+l0crian1@users.noreply.github.com> | 2025-09-14 04:34:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-14 10:34:25 +0200 |
| commit | ad686a956cc8f6f14452798f3d77da2320956b54 (patch) | |
| tree | 528207e15c583718c6afd7f602b0464381bec55b /interface-definitions/include | |
| parent | 04d106a5e6cbe0c42adef3adddeed6ce2f1d0eee (diff) | |
| download | vyos-1x-ad686a956cc8f6f14452798f3d77da2320956b54.tar.gz vyos-1x-ad686a956cc8f6f14452798f3d77da2320956b54.zip | |
bgp: T6438: add solo option to peer-group config (#4706)
- Added solo leafNode to peer-group config
- Added solo.xml.i to reduce code duplication
- Added solo option to peer-group smoketests
Diffstat (limited to 'interface-definitions/include')
| -rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 8 | ||||
| -rw-r--r-- | interface-definitions/include/bgp/solo.xml.i | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index ab016884e..e859fe804 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1103,12 +1103,7 @@ #include <include/bgp/peer-group.xml.i> #include <include/bgp/remote-as.xml.i> #include <include/bgp/neighbor-shutdown.xml.i> - <leafNode name="solo"> - <properties> - <help>Do not send back prefixes learned from the neighbor</help> - <valueless/> - </properties> - </leafNode> + #include <include/bgp/solo.xml.i> <leafNode name="enforce-first-as"> <properties> <help>Ensure the first AS in the AS path matches the peer AS</help> @@ -1713,6 +1708,7 @@ #include <include/bgp/neighbor-update-source.xml.i> #include <include/bgp/remote-as.xml.i> #include <include/port-number.xml.i> + #include <include/bgp/solo.xml.i> </children> </tagNode> <node name="srv6"> diff --git a/interface-definitions/include/bgp/solo.xml.i b/interface-definitions/include/bgp/solo.xml.i new file mode 100644 index 000000000..2b26b5af3 --- /dev/null +++ b/interface-definitions/include/bgp/solo.xml.i @@ -0,0 +1,8 @@ +<!-- include start from bgp/solo.xml.i --> +<leafNode name="solo"> + <properties> + <help>Do not send back prefixes learned from the neighbor</help> + <valueless/> + </properties> +</leafNode> +<!-- include end --> |
