forked from aristanetworks/avd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(eos_designs): Allow reuse of cross-device BGP peer ip (aristanet…
- Loading branch information
1 parent
76713ba
commit 6d09d8b
Showing
9 changed files
with
69 additions
and
3 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...ns_negative_unit_tests/inventory/host_vars/duplicate-peer-ip-address-network-services.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
type: l3leaf | ||
l3leaf: | ||
defaults: | ||
loopback_ipv4_pool: 10.42.0.0/24 | ||
vtep_loopback_ipv4_pool: 10.43.0.0/24 | ||
bgp_as: 42 | ||
nodes: | ||
- name: duplicate-peer-ip-address-network-services | ||
id: 42 | ||
|
||
tenants: | ||
- name: Tenant_C | ||
mac_vrf_vni_base: 30000 | ||
evpn_l2_multi_domain: false | ||
bgp_peer_groups: | ||
- name: Tenant_C_BGP_PEER_GROUP | ||
remote_as: "666" | ||
- name: Tenant_C_BGP_PEER_GROUP2 | ||
remote_as: "667" | ||
vrfs: | ||
- name: Tenant_C_WAN_Zone | ||
vrf_vni: 31 | ||
svis: | ||
- id: 350 | ||
name: Tenant_C_WAN_Zone_1 | ||
tags: ['wan'] | ||
enabled: True | ||
bgp_peers: | ||
- ip_address: 2.2.2.2 | ||
peer_group: Tenant_C_BGP_PEER_GROUP | ||
nodes: [ duplicate-peer-ip-address-network-services ] | ||
- ip_address: 2.2.2.2 | ||
peer_group: Tenant_C_BGP_PEER_GROUP2 | ||
nodes: [ duplicate-peer-ip-address-network-services ] | ||
|
||
expected_error_message: |- | ||
Found duplicate objects with conflicting data while generating configuration for BGP peer defined under VRFs. {'ip_address': '2.2.2.2', 'peer_group': 'Tenant_C_BGP_PEER_GROUP2'} conflicts with {'ip_address': '2.2.2.2', 'peer_group': 'Tenant_C_BGP_PEER_GROUP'}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ansible_collections/arista/avd/roles/eos_designs/schemas/eos_designs.schema.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters