Skip to content
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,eos_cli_config_gen): Support for ipv6 addressing on network services VRFs #4222

Draft
wants to merge 34 commits into
base: devel
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
22a9889
Feat(eos_designs, eos_cli_config_gen): Implement ipv6 virtual source …
Vibhu-gslab Jul 17, 2024
82eb509
fixing molecule
Vibhu-gslab Jul 17, 2024
04cc077
editing description
Vibhu-gslab Jul 17, 2024
38aa0d3
fixing code
Vibhu-gslab Jul 17, 2024
21b2519
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Jul 19, 2024
f704b8a
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Jul 19, 2024
44a77d9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 19, 2024
bc55140
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 22, 2024
e1e3309
addressing comments
Vibhu-gslab Jul 25, 2024
4b8b8c8
fixing template
Vibhu-gslab Jul 30, 2024
f4d4b8c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 1, 2024
f846558
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 5, 2024
74f4886
fixing CI
Vibhu-gslab Aug 5, 2024
5dae822
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 6, 2024
eccf675
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 6, 2024
4c6e871
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 7, 2024
9ae451a
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 7, 2024
5c95e20
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 7, 2024
0b98268
Delete python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen…
ClausHolbechArista Aug 8, 2024
d11a834
Delete python-avd/pyavd/_eos_designs/schema/eos_designs.jsonschema.json
ClausHolbechArista Aug 8, 2024
43d74b7
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Aug 9, 2024
1ba507d
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Aug 9, 2024
54eaee9
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Aug 9, 2024
01cb2d8
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Aug 9, 2024
eaccf8d
Update python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_net…
Vibhu-gslab Aug 9, 2024
51bbdc0
Update python-avd/pyavd/_eos_designs/structured_config/network_servic…
Vibhu-gslab Aug 9, 2024
f8b5b73
Update python-avd/pyavd/_eos_designs/structured_config/network_servic…
Vibhu-gslab Aug 9, 2024
1cd7c61
fixing Ci after addressing comments
Vibhu-gslab Aug 9, 2024
a26db62
Merge branch 'devel' into vtep_diagnostic_eos_designs
Vibhu-gslab Aug 9, 2024
6e26693
Merge branch 'devel' into vtep_diagnostic_eos_designs
ClausHolbechArista Aug 12, 2024
5e7e189
resolving conflicts
Vibhu-gslab Aug 19, 2024
8891414
Merge branch 'devel' into vtep_diagnostic_eos_designs
MaheshGSLAB Aug 19, 2024
8d30078
Merge branch 'devel' into vtep_diagnostic_eos_designs
ClausHolbechArista Aug 20, 2024
2b2bc32
Merge branch 'devel' into vtep_diagnostic_eos_designs
Shivani-gslab Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.3 |
| VRF11 | 10.255.11.3 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.3 | - |
| VRF11 | 10.255.11.3 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.4 |
| VRF11 | 10.255.11.4 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.4 | - |
| VRF11 | 10.255.11.4 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.5 |
| VRF11 | 10.255.11.5 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.5 | - |
| VRF11 | 10.255.11.5 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.6 |
| VRF11 | 10.255.11.6 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.6 | - |
| VRF11 | 10.255.11.6 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.13 |
| VRF11 | 10.255.11.13 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.13 | - |
| VRF11 | 10.255.11.13 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.14 |
| VRF11 | 10.255.11.14 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.14 | - |
| VRF11 | 10.255.11.14 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.15 |
| VRF11 | 10.255.11.15 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.15 | - |
| VRF11 | 10.255.11.15 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.16 |
| VRF11 | 10.255.11.16 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.16 | - |
| VRF11 | 10.255.11.16 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.3 |
| VRF11 | 10.255.11.3 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.3 | - |
| VRF11 | 10.255.11.3 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.4 |
| VRF11 | 10.255.11.4 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.4 | - |
| VRF11 | 10.255.11.4 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.5 |
| VRF11 | 10.255.11.5 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.5 | - |
| VRF11 | 10.255.11.5 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,10 @@ vrf instance VRF11

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| VRF10 | 10.255.10.6 |
| VRF11 | 10.255.11.6 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| VRF10 | 10.255.10.6 | - |
| VRF11 | 10.255.11.6 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@ interface Management1

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| TEST_01 | 1.1.1.1 |
| TEST_02 | 1.1.1.2 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| TEST_01 | 1.1.1.1 | - |
| TEST_02 | 1.1.1.2 | - |
| TEST_03 | - | 2001:db8:85a3::8a2e:370:7334 |
| TEST_04 | 1.1.1.3 | 2001:db8:85a3::8a2e:370:7335 |

### Virtual Source NAT Configuration

```eos
!
ip address virtual source-nat vrf TEST_01 address 1.1.1.1
ip address virtual source-nat vrf TEST_02 address 1.1.1.2
ip address virtual source-nat vrf TEST_04 address 1.1.1.3
ipv6 address virtual source-nat vrf TEST_03 address 2001:db8:85a3::8a2e:370:7334
ipv6 address virtual source-nat vrf TEST_04 address 2001:db8:85a3::8a2e:370:7335
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ interface Management1
!
ip address virtual source-nat vrf TEST_01 address 1.1.1.1
ip address virtual source-nat vrf TEST_02 address 1.1.1.2
ip address virtual source-nat vrf TEST_04 address 1.1.1.3
ipv6 address virtual source-nat vrf TEST_03 address 2001:db8:85a3::8a2e:370:7334
ipv6 address virtual source-nat vrf TEST_04 address 2001:db8:85a3::8a2e:370:7335
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ virtual_source_nat_vrfs:
ip_address: 1.1.1.1
- name: TEST_02
ip_address: 1.1.1.2
- name: TEST_03
ipv6_address: 2001:db8:85a3::8a2e:370:7334
MaheshGSLAB marked this conversation as resolved.
Show resolved Hide resolved
- name: TEST_04
ipv6_address: 2001:db8:85a3::8a2e:370:7335
ip_address: 1.1.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -1237,9 +1237,9 @@ vrf instance Tenant_C_OP_Zone

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| Tenant_A_OP_Zone | 10.255.1.6 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| Tenant_A_OP_Zone | 10.255.1.6 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1237,9 +1237,9 @@ vrf instance Tenant_C_OP_Zone

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| Tenant_A_OP_Zone | 10.255.1.7 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| Tenant_A_OP_Zone | 10.255.1.7 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1419,9 +1419,9 @@ vrf instance Tenant_C_WAN_Zone

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| Tenant_A_OP_Zone | 10.255.1.8 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| Tenant_A_OP_Zone | 10.255.1.8 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1393,9 +1393,9 @@ vrf instance Tenant_C_WAN_Zone

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| Tenant_A_OP_Zone | 10.255.1.9 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| Tenant_A_OP_Zone | 10.255.1.9 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ interface Port-Channel19
| Loopback0 | EVPN_Overlay_Peering | default | - |
| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - |
| Loopback100 | vrf_with_loopbacks_from_overlapping_pool_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_overlapping_pool | - |
| Loopback101 | vrf_with_loopbacks_from_pod_pools_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_pod_pools | - |
| Loopback101 | vrf_with_loopbacks_from_pod_pools_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_pod_pools | 2001:db8:1::3/128 |
| Loopback102 | vrf_with_loopbacks_dc1_pod1_only_VTEP_DIAGNOSTICS | vrf_with_loopbacks_dc1_pod1_only | - |

#### Loopback Interfaces Device Configuration
Expand Down Expand Up @@ -542,6 +542,7 @@ interface Loopback101
no shutdown
vrf vrf_with_loopbacks_from_pod_pools
ip address 10.101.101.5/32
ipv6 address 2001:db8:1::3/128
!
interface Loopback102
description vrf_with_loopbacks_dc1_pod1_only_VTEP_DIAGNOSTICS
Expand Down Expand Up @@ -1184,11 +1185,11 @@ vrf instance vrf_with_loopbacks_from_pod_pools

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| vrf_with_loopbacks_dc1_pod1_only | 10.102.101.5 |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.5 |
| vrf_with_loopbacks_from_pod_pools | 10.101.101.5 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| vrf_with_loopbacks_dc1_pod1_only | 10.102.101.5 | - |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.5 | - |
| vrf_with_loopbacks_from_pod_pools | 10.101.101.5 | 2001:db8:1::3 |

### Virtual Source NAT Configuration

Expand All @@ -1197,6 +1198,7 @@ vrf instance vrf_with_loopbacks_from_pod_pools
ip address virtual source-nat vrf vrf_with_loopbacks_dc1_pod1_only address 10.102.101.5
ip address virtual source-nat vrf vrf_with_loopbacks_from_overlapping_pool address 10.100.0.5
ip address virtual source-nat vrf vrf_with_loopbacks_from_pod_pools address 10.101.101.5
ipv6 address virtual source-nat vrf vrf_with_loopbacks_from_pod_pools address 2001:db8:1::3
```

## EOS CLI Device Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,10 @@ vrf instance vrf_with_loopbacks_from_pod_pools

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.3 |
| vrf_with_loopbacks_from_pod_pools | 10.101.102.3 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.3 | - |
| vrf_with_loopbacks_from_pod_pools | 10.101.102.3 | - |

### Virtual Source NAT Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ interface Port-Channel19
| Loopback0 | EVPN_Overlay_Peering | default | - |
| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - |
| Loopback100 | vrf_with_loopbacks_from_overlapping_pool_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_overlapping_pool | - |
| Loopback101 | vrf_with_loopbacks_from_pod_pools_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_pod_pools | - |
| Loopback101 | vrf_with_loopbacks_from_pod_pools_VTEP_DIAGNOSTICS | vrf_with_loopbacks_from_pod_pools | 2001:db8:1::2/128 |
| Loopback102 | vrf_with_loopbacks_dc1_pod1_only_VTEP_DIAGNOSTICS | vrf_with_loopbacks_dc1_pod1_only | - |

#### Loopback Interfaces Device Configuration
Expand Down Expand Up @@ -517,6 +517,7 @@ interface Loopback101
no shutdown
vrf vrf_with_loopbacks_from_pod_pools
ip address 10.101.101.4/32
ipv6 address 2001:db8:1::2/128
!
interface Loopback102
description vrf_with_loopbacks_dc1_pod1_only_VTEP_DIAGNOSTICS
Expand Down Expand Up @@ -1148,11 +1149,11 @@ vrf instance vrf_with_loopbacks_from_pod_pools

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| vrf_with_loopbacks_dc1_pod1_only | 10.102.101.4 |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.4 |
| vrf_with_loopbacks_from_pod_pools | 10.101.101.4 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| vrf_with_loopbacks_dc1_pod1_only | 10.102.101.4 | - |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.4 | - |
| vrf_with_loopbacks_from_pod_pools | 10.101.101.4 | 2001:db8:1::2 |

### Virtual Source NAT Configuration

Expand All @@ -1161,6 +1162,7 @@ vrf instance vrf_with_loopbacks_from_pod_pools
ip address virtual source-nat vrf vrf_with_loopbacks_dc1_pod1_only address 10.102.101.4
ip address virtual source-nat vrf vrf_with_loopbacks_from_overlapping_pool address 10.100.0.4
ip address virtual source-nat vrf vrf_with_loopbacks_from_pod_pools address 10.101.101.4
ipv6 address virtual source-nat vrf vrf_with_loopbacks_from_pod_pools address 2001:db8:1::2
```

## EOS CLI Device Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,10 @@ vrf instance vrf_with_loopbacks_from_pod_pools

### Virtual Source NAT Summary

| Source NAT VRF | Source NAT IP Address |
| -------------- | --------------------- |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.3 |
| vrf_with_loopbacks_from_pod_pools | 10.101.201.3 |
| Source NAT VRF | Source NAT IPv4 Address | Source NAT IPv6 Address |
| -------------- | ----------------------- | ----------------------- |
| vrf_with_loopbacks_from_overlapping_pool | 10.100.0.3 | - |
| vrf_with_loopbacks_from_pod_pools | 10.101.201.3 | - |

### Virtual Source NAT Configuration

Expand Down
Loading
Loading