You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net, BGP: adjust BGP environment to use localnet NAD (#3132)
The current implementation of BGP testing is based on some knowledge
about the infrastructure: it is expected that the cluster has several
NICs, we should know the vlan of the main traffic on the cluster, as
well as for the static assignment of IP to an external router, we expect
a predefined environment variables. This PR gets rid of these
dependencies and allows us to run BGP tests without additional knowledge
about the cluster.
Main changes:
1) the usage of the NNCP and NAD localnet, the env
no longer dependent on secondary NICs.
2) dynamic receiving of IP address for an external router
from the main cluster network via DHCP.
3) a condition under which the external router and the UDN VM
are guaranteed to live on different cluster nodes, which is vital
with the current localnet configuration.
Along the way, as necessary:
1) adding `dhcp-client` to net-tools infra image
2) libs: add `namespaces` to anti-affinity and related calls
3) removing BGP sanity check as useless with the current implementation
4) de-quarantining BGP tests
5) doc fixes
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Utility container now includes a DHCP client.
* **Tests**
* Re-enabled BGP connectivity tests and refactored BGP test infra to use
explicit external FRR pod state, module-scoped fixtures, and a localnet
network attachment.
* Removed legacy NIC-selection fixture and node-network-state helper
modules.
* **Behavior Changes**
* Tier2 tagging now considers BGP-marked tests when no other exclusions
apply.
* VM anti-affinity can target specific namespaces.
* **Documentation**
* Simplified BGP test README by removing cluster requirements and env
setup.
* **Chores**
* Removed BGP environment-variable verification from network sanity
checks.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments