-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from JulioPDX/cicd-ff
AVD lab guide steps for CICD
- Loading branch information
Showing
48 changed files
with
9,992 additions
and
106 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
86 changes: 86 additions & 0 deletions
86
sites/site_1/documentation/fabric/SITE1_FABRIC-documentation.md
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,86 @@ | ||
# SITE1_FABRIC | ||
|
||
## Table of Contents | ||
|
||
- [Fabric Switches and Management IP](#fabric-switches-and-management-ip) | ||
- [Fabric Switches with inband Management IP](#fabric-switches-with-inband-management-ip) | ||
- [Fabric Topology](#fabric-topology) | ||
- [Fabric IP Allocation](#fabric-ip-allocation) | ||
- [Fabric Point-To-Point Links](#fabric-point-to-point-links) | ||
- [Point-To-Point Links Node Allocation](#point-to-point-links-node-allocation) | ||
- [Loopback Interfaces (BGP EVPN Peering)](#loopback-interfaces-bgp-evpn-peering) | ||
- [Loopback0 Interfaces Node Allocation](#loopback0-interfaces-node-allocation) | ||
- [VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only)](#vtep-loopback-vxlan-tunnel-source-interfaces-vteps-only) | ||
- [VTEP Loopback Node allocation](#vtep-loopback-node-allocation) | ||
|
||
## Fabric Switches and Management IP | ||
|
||
| POD | Type | Node | Management IP | Platform | Provisioned in CloudVision | Serial Number | | ||
| --- | ---- | ---- | ------------- | -------- | -------------------------- | ------------- | | ||
| SITE1_FABRIC | leaf | s1-leaf1 | 192.168.0.12/24 | cEOS | Provisioned | - | | ||
| SITE1_FABRIC | leaf | s1-leaf2 | 192.168.0.13/24 | cEOS | Provisioned | - | | ||
| SITE1_FABRIC | leaf | s1-leaf3 | 192.168.0.14/24 | cEOS | Provisioned | - | | ||
| SITE1_FABRIC | leaf | s1-leaf4 | 192.168.0.15/24 | cEOS | Provisioned | - | | ||
| SITE1_FABRIC | l3spine | s1-spine1 | 192.168.0.10/24 | cEOS | Provisioned | - | | ||
| SITE1_FABRIC | l3spine | s1-spine2 | 192.168.0.11/24 | cEOS | Provisioned | - | | ||
|
||
> Provision status is based on Ansible inventory declaration and do not represent real status from CloudVision. | ||
### Fabric Switches with inband Management IP | ||
|
||
| POD | Type | Node | Management IP | Inband Interface | | ||
| --- | ---- | ---- | ------------- | ---------------- | | ||
|
||
## Fabric Topology | ||
|
||
| Type | Node | Node Interface | Peer Type | Peer Node | Peer Interface | | ||
| ---- | ---- | -------------- | --------- | ----------| -------------- | | ||
| leaf | s1-leaf1 | Ethernet1 | mlag_peer | s1-leaf2 | Ethernet1 | | ||
| leaf | s1-leaf1 | Ethernet2 | l3spine | s1-spine1 | Ethernet2 | | ||
| leaf | s1-leaf1 | Ethernet3 | l3spine | s1-spine2 | Ethernet2 | | ||
| leaf | s1-leaf1 | Ethernet6 | mlag_peer | s1-leaf2 | Ethernet6 | | ||
| leaf | s1-leaf2 | Ethernet2 | l3spine | s1-spine1 | Ethernet3 | | ||
| leaf | s1-leaf2 | Ethernet3 | l3spine | s1-spine2 | Ethernet3 | | ||
| leaf | s1-leaf3 | Ethernet1 | mlag_peer | s1-leaf4 | Ethernet1 | | ||
| leaf | s1-leaf3 | Ethernet2 | l3spine | s1-spine1 | Ethernet4 | | ||
| leaf | s1-leaf3 | Ethernet3 | l3spine | s1-spine2 | Ethernet4 | | ||
| leaf | s1-leaf3 | Ethernet6 | mlag_peer | s1-leaf4 | Ethernet6 | | ||
| leaf | s1-leaf4 | Ethernet2 | l3spine | s1-spine1 | Ethernet5 | | ||
| leaf | s1-leaf4 | Ethernet3 | l3spine | s1-spine2 | Ethernet5 | | ||
| l3spine | s1-spine1 | Ethernet1 | mlag_peer | s1-spine2 | Ethernet1 | | ||
| l3spine | s1-spine1 | Ethernet6 | mlag_peer | s1-spine2 | Ethernet6 | | ||
|
||
## Fabric IP Allocation | ||
|
||
### Fabric Point-To-Point Links | ||
|
||
| Uplink IPv4 Pool | Available Addresses | Assigned addresses | Assigned Address % | | ||
| ---------------- | ------------------- | ------------------ | ------------------ | | ||
|
||
### Point-To-Point Links Node Allocation | ||
|
||
| Node | Node Interface | Node IP Address | Peer Node | Peer Interface | Peer IP Address | | ||
| ---- | -------------- | --------------- | --------- | -------------- | --------------- | | ||
|
||
### Loopback Interfaces (BGP EVPN Peering) | ||
|
||
| Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % | | ||
| ------------- | ------------------- | ------------------ | ------------------ | | ||
| 10.1.252.0/24 | 256 | 2 | 0.79 % | | ||
|
||
### Loopback0 Interfaces Node Allocation | ||
|
||
| POD | Node | Loopback0 | | ||
| --- | ---- | --------- | | ||
| SITE1_FABRIC | s1-spine1 | 10.1.252.1/32 | | ||
| SITE1_FABRIC | s1-spine2 | 10.1.252.2/32 | | ||
|
||
### VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only) | ||
|
||
| VTEP Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % | | ||
| --------------------- | ------------------- | ------------------ | ------------------ | | ||
|
||
### VTEP Loopback Node allocation | ||
|
||
| POD | Node | Loopback1 | | ||
| --- | ---- | --------- | |
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 @@ | ||
Type,Node,Node Interface,Leaf IP Address,Peer Type,Peer Node,Peer Interface,Peer IP Address |
37 changes: 37 additions & 0 deletions
37
sites/site_1/documentation/fabric/SITE1_FABRIC-topology.csv
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 @@ | ||
Node Type,Node,Node Interface,Peer Type,Peer Node,Peer Interface,Node Interface Enabled | ||
leaf,s1-leaf1,Ethernet1,mlag_peer,s1-leaf2,Ethernet1,True | ||
leaf,s1-leaf1,Ethernet2,l3spine,s1-spine1,Ethernet2,True | ||
leaf,s1-leaf1,Ethernet3,l3spine,s1-spine2,Ethernet2,True | ||
leaf,s1-leaf1,Ethernet4,server,s1-host1,eth1,True | ||
leaf,s1-leaf1,Ethernet6,mlag_peer,s1-leaf2,Ethernet6,True | ||
leaf,s1-leaf2,Ethernet1,mlag_peer,s1-leaf1,Ethernet1,True | ||
leaf,s1-leaf2,Ethernet2,l3spine,s1-spine1,Ethernet3,True | ||
leaf,s1-leaf2,Ethernet3,l3spine,s1-spine2,Ethernet3,True | ||
leaf,s1-leaf2,Ethernet4,server,s1-host1,eth2,True | ||
leaf,s1-leaf2,Ethernet6,mlag_peer,s1-leaf1,Ethernet6,True | ||
leaf,s1-leaf3,Ethernet1,mlag_peer,s1-leaf4,Ethernet1,True | ||
leaf,s1-leaf3,Ethernet2,l3spine,s1-spine1,Ethernet4,True | ||
leaf,s1-leaf3,Ethernet3,l3spine,s1-spine2,Ethernet4,True | ||
leaf,s1-leaf3,Ethernet4,server,s1-host2,eth1,True | ||
leaf,s1-leaf3,Ethernet6,mlag_peer,s1-leaf4,Ethernet6,True | ||
leaf,s1-leaf4,Ethernet1,mlag_peer,s1-leaf3,Ethernet1,True | ||
leaf,s1-leaf4,Ethernet2,l3spine,s1-spine1,Ethernet5,True | ||
leaf,s1-leaf4,Ethernet3,l3spine,s1-spine2,Ethernet5,True | ||
leaf,s1-leaf4,Ethernet4,server,s1-host2,eth2,True | ||
leaf,s1-leaf4,Ethernet6,mlag_peer,s1-leaf3,Ethernet6,True | ||
l3spine,s1-spine1,Ethernet1,mlag_peer,s1-spine2,Ethernet1,True | ||
l3spine,s1-spine1,Ethernet2,leaf,s1-leaf1,Ethernet2,True | ||
l3spine,s1-spine1,Ethernet3,leaf,s1-leaf2,Ethernet2,True | ||
l3spine,s1-spine1,Ethernet4,leaf,s1-leaf3,Ethernet2,True | ||
l3spine,s1-spine1,Ethernet5,leaf,s1-leaf4,Ethernet2,True | ||
l3spine,s1-spine1,Ethernet6,mlag_peer,s1-spine2,Ethernet6,True | ||
l3spine,s1-spine1,Ethernet7,other,WANCORE,Ethernet2,True | ||
l3spine,s1-spine1,Ethernet8,other,WANCORE,Ethernet2,True | ||
l3spine,s1-spine2,Ethernet1,mlag_peer,s1-spine1,Ethernet1,True | ||
l3spine,s1-spine2,Ethernet2,leaf,s1-leaf1,Ethernet3,True | ||
l3spine,s1-spine2,Ethernet3,leaf,s1-leaf2,Ethernet3,True | ||
l3spine,s1-spine2,Ethernet4,leaf,s1-leaf3,Ethernet3,True | ||
l3spine,s1-spine2,Ethernet5,leaf,s1-leaf4,Ethernet3,True | ||
l3spine,s1-spine2,Ethernet6,mlag_peer,s1-spine1,Ethernet6,True | ||
l3spine,s1-spine2,Ethernet7,other,WANCORE,Ethernet2,True | ||
l3spine,s1-spine2,Ethernet8,other,WANCORE,Ethernet2,True |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# --- | ||
# tenants: | ||
# - name: MY_FABRIC | ||
# vrfs: | ||
# - name: default | ||
# svis: | ||
# - id: 10 | ||
# name: 'Ten' | ||
# tags: [ "Web" ] | ||
# enabled: true | ||
# ip_virtual_router_addresses: | ||
# - 10.10.10.1 | ||
# nodes: | ||
# - node: s1-spine1 | ||
# ip_address: 10.10.10.2/24 | ||
# - node: s1-spine2 | ||
# ip_address: 10.10.10.3/24 | ||
# - id: 20 | ||
# name: 'Twenty' | ||
# tags: [ "App" ] | ||
# enabled: true | ||
# ip_virtual_router_addresses: | ||
# - 10.20.20.1 | ||
# nodes: | ||
# - node: s1-spine1 | ||
# ip_address: 10.20.20.2/24 | ||
# - node: s1-spine2 | ||
# ip_address: 10.20.20.3/24 | ||
--- | ||
tenants: | ||
- name: MY_FABRIC | ||
vrfs: | ||
- name: default | ||
svis: | ||
- id: 10 | ||
name: 'Ten' | ||
tags: [ "Web" ] | ||
enabled: true | ||
ip_virtual_router_addresses: | ||
- 10.10.10.1 | ||
nodes: | ||
- node: s1-spine1 | ||
ip_address: 10.10.10.2/24 | ||
- node: s1-spine2 | ||
ip_address: 10.10.10.3/24 | ||
- id: 20 | ||
name: 'Twenty' | ||
tags: [ "App" ] | ||
enabled: true | ||
ip_virtual_router_addresses: | ||
- 10.20.20.1 | ||
nodes: | ||
- node: s1-spine1 | ||
ip_address: 10.20.20.2/24 | ||
- node: s1-spine2 | ||
ip_address: 10.20.20.3/24 |
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,113 @@ | ||
!RANCID-CONTENT-TYPE: arista | ||
! | ||
daemon TerminAttr | ||
exec /usr/bin/TerminAttr -cvaddr=192.168.0.5:9910 -cvauth=token,/tmp/token -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs | ||
no shutdown | ||
! | ||
vlan internal order ascending range 1006 1199 | ||
! | ||
transceiver qsfp default-mode 4x10G | ||
! | ||
service routing protocols model multi-agent | ||
! | ||
hostname s1-leaf1 | ||
dns domain atd.lab | ||
! | ||
ntp server 192.168.0.1 iburst local-interface Management0 | ||
! | ||
spanning-tree mode mstp | ||
no spanning-tree vlan-id 4094 | ||
spanning-tree mst 0 priority 16384 | ||
! | ||
aaa authorization exec default local | ||
! | ||
no enable password | ||
no aaa root | ||
! | ||
username arista privilege 15 role network-admin secret sha512 $6$workshop$5Llb6kE2/P4Zx.1yLwkd9QfMtazdVEPYmJG3pfgrhT2dhka.5odGw6xS19uMSerZIhi.q2krArh9Dl8qMi2B60 | ||
! | ||
vlan 10 | ||
name Ten | ||
! | ||
vlan 4094 | ||
name MLAG_PEER | ||
trunk group MLAG | ||
! | ||
interface Port-Channel1 | ||
description MLAG_PEER_s1-leaf2_Po1 | ||
no shutdown | ||
switchport | ||
switchport mode trunk | ||
switchport trunk group MLAG | ||
! | ||
interface Port-Channel2 | ||
description SPINES_Po2 | ||
no shutdown | ||
switchport | ||
switchport trunk allowed vlan 10 | ||
switchport mode trunk | ||
mlag 2 | ||
! | ||
interface Port-Channel4 | ||
description s1-host1 | ||
no shutdown | ||
switchport | ||
switchport access vlan 10 | ||
mlag 4 | ||
spanning-tree portfast | ||
! | ||
interface Ethernet1 | ||
description MLAG_PEER_s1-leaf2_Ethernet1 | ||
no shutdown | ||
channel-group 1 mode active | ||
! | ||
interface Ethernet2 | ||
description S1-SPINE1_Ethernet2 | ||
no shutdown | ||
channel-group 2 mode active | ||
! | ||
interface Ethernet3 | ||
description S1-SPINE2_Ethernet2 | ||
no shutdown | ||
channel-group 2 mode active | ||
! | ||
interface Ethernet4 | ||
description s1-host1_eth1 | ||
no shutdown | ||
channel-group 4 mode active | ||
! | ||
interface Ethernet6 | ||
description MLAG_PEER_s1-leaf2_Ethernet6 | ||
no shutdown | ||
channel-group 1 mode active | ||
! | ||
interface Management0 | ||
description oob_management | ||
no shutdown | ||
ip address 192.168.0.12/24 | ||
! | ||
interface Vlan4094 | ||
description MLAG_PEER | ||
no shutdown | ||
mtu 1500 | ||
no autostate | ||
ip address 10.1.253.4/31 | ||
! | ||
mlag configuration | ||
domain-id RACK1 | ||
local-interface Vlan4094 | ||
peer-address 10.1.253.5 | ||
peer-link Port-Channel1 | ||
reload-delay mlag 300 | ||
reload-delay non-mlag 330 | ||
! | ||
ip route 0.0.0.0/0 192.168.0.1 | ||
! | ||
management api http-commands | ||
protocol https | ||
no shutdown | ||
! | ||
vrf default | ||
no shutdown | ||
! | ||
end |
Oops, something went wrong.