-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(eos_designs): Added support for use different router IDs per VRF defined in network services #4775
Open
MaheshGSLAB
wants to merge
14
commits into
aristanetworks:devel
Choose a base branch
from
MaheshGSLAB:issue-2643
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat(eos_designs): Added support for use different router IDs per VRF defined in network services #4775
Changes from 6 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5431378
added router_id support with vtep_diagnostic under netwrok services
ee397c1
added negative tests
ee91e83
updated error message
220e6f3
updated the ip address collection method
4434094
updated the code logic plus documentation_options for router id
b48dede
Merge branch 'devel' into issue-2643
gmuloc d8b4dd1
Update python-avd/pyavd/_eos_designs/structured_config/network_servic…
gmuloc c086768
Merge branch 'devel' into issue-2643
gmuloc e3e77a2
Merge branch 'devel' into issue-2643
ac84508
upgraded anta and run molecule
49cdb13
Merge branch 'devel' into issue-2643
6334a01
Merge branch 'devel' into issue-2643
MaheshGSLAB 3c87c89
updated the description for diagnostic_loopback
3e94978
updated the error message for diagnostic_loopback
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
.../molecule/eos_designs_negative_unit_tests/inventory/group_vars/VRF_BGP_VTEP_ROUTER_ID.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,36 @@ | ||
l3leaf: | ||
defaults: | ||
loopback_ipv4_pool: 10.42.0.0/24 | ||
vtep_loopback_ipv4_pool: 10.43.0.0/24 | ||
mlag_interfaces: [ Ethernet5, Ethernet6 ] | ||
mlag_peer_ipv4_pool: 10.255.252.0/24 | ||
mlag_peer_l3_ipv4_pool: 10.255.251.0/24 | ||
|
||
node_groups: | ||
- group: vrf-router-id | ||
nodes: | ||
- name: vrf-bgp-vtep-router-id | ||
bgp_as: 42 | ||
id: 42 | ||
|
||
type: l3leaf | ||
|
||
tenants: | ||
# Tenant A Specific Information - VRFs / VLANs | ||
- name: Tenant_X | ||
mac_vrf_vni_base: 11000 | ||
vrfs: | ||
- name: Tenant_X_OP_Zone | ||
vrf_id: 20 | ||
svis: | ||
- id: 310 | ||
name: Tenant_X_OP_Zone_1 | ||
tags: [opzone] | ||
enabled: true | ||
bgp: | ||
router_id: vtep_diagnostic | ||
|
||
expected_error_message: >- | ||
Invalid configuration on VRF 'Tenant_X_OP_Zone' in Tenant 'Tenant_X'. | ||
'vtep_diagnostic.loopback' along with either 'vtep_diagnostic.loopback_ip_pools' or 'vtep_diagnostic.loopback_ip_range' must be defined | ||
when 'router_id' is set to 'vtep_diagnostic' on the VRF. |
37 changes: 37 additions & 0 deletions
37
...molecule/eos_designs_negative_unit_tests/inventory/group_vars/VRF_OSPF_VTEP_ROUTER_ID.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 @@ | ||
l3leaf: | ||
defaults: | ||
loopback_ipv4_pool: 10.42.0.0/24 | ||
vtep_loopback_ipv4_pool: 10.43.0.0/24 | ||
mlag_interfaces: [ Ethernet5, Ethernet6 ] | ||
mlag_peer_ipv4_pool: 10.255.252.0/24 | ||
mlag_peer_l3_ipv4_pool: 10.255.251.0/24 | ||
|
||
node_groups: | ||
- group: vrf-router-id | ||
nodes: | ||
- name: vrf-ospf-vtep-router-id | ||
bgp_as: 42 | ||
id: 42 | ||
|
||
type: l3leaf | ||
|
||
tenants: | ||
# Tenant A Specific Information - VRFs / VLANs | ||
- name: Tenant_X | ||
mac_vrf_vni_base: 11000 | ||
vrfs: | ||
- name: Tenant_X_OP_Zone | ||
vrf_id: 20 | ||
svis: | ||
- id: 310 | ||
name: Tenant_X_OP_Zone_1 | ||
tags: [opzone] | ||
enabled: true | ||
ospf: | ||
enabled: true | ||
router_id: vtep_diagnostic | ||
|
||
expected_error_message: >- | ||
Invalid configuration on VRF 'Tenant_X_OP_Zone' in Tenant 'Tenant_X'. | ||
'vtep_diagnostic.loopback' along with either 'vtep_diagnostic.loopback_ip_pools' or 'vtep_diagnostic.loopback_ip_range' must be defined | ||
when 'router_id' is set to 'vtep_diagnostic' on the VRF. | ||
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error message also needs to be updated with the new wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated