-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(eos_designs): Fixing template errors and invalid config when conf…
…iguring cloudvision as a service (#1470) Co-authored-by: Claus Holbech <holbech@arista.com>
- Loading branch information
1 parent
e7b0d33
commit 93556ef
Showing
10 changed files
with
521 additions
and
11 deletions.
There are no files selected for viewing
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
335 changes: 335 additions & 0 deletions
335
...molecule/eos_designs_unit_tests/documentation/devices/cvp-instance-ips-cvaas.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,335 @@ | ||
# cvp-instance-ips-cvaas | ||
# Table of Contents | ||
|
||
- [Management](#management) | ||
- [Management API HTTP](#management-api-http) | ||
- [Authentication](#authentication) | ||
- [Monitoring](#monitoring) | ||
- [TerminAttr Daemon](#terminattr-daemon) | ||
- [Spanning Tree](#spanning-tree) | ||
- [Spanning Tree Summary](#spanning-tree-summary) | ||
- [Spanning Tree Device Configuration](#spanning-tree-device-configuration) | ||
- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) | ||
- [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) | ||
- [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) | ||
- [Interfaces](#interfaces) | ||
- [Loopback Interfaces](#loopback-interfaces) | ||
- [Routing](#routing) | ||
- [Service Routing Protocols Model](#service-routing-protocols-model) | ||
- [IP Routing](#ip-routing) | ||
- [IPv6 Routing](#ipv6-routing) | ||
- [Static Routes](#static-routes) | ||
- [Router BGP](#router-bgp) | ||
- [BFD](#bfd) | ||
- [Router BFD](#router-bfd) | ||
- [Multicast](#multicast) | ||
- [Filters](#filters) | ||
- [Prefix-lists](#prefix-lists) | ||
- [Route-maps](#route-maps) | ||
- [ACL](#acl) | ||
- [VRF Instances](#vrf-instances) | ||
- [VRF Instances Summary](#vrf-instances-summary) | ||
- [VRF Instances Device Configuration](#vrf-instances-device-configuration) | ||
- [Quality Of Service](#quality-of-service) | ||
|
||
# Management | ||
|
||
## Management API HTTP | ||
|
||
### Management API HTTP Summary | ||
|
||
| HTTP | HTTPS | | ||
| ---- | ----- | | ||
| False | True | | ||
|
||
### Management API VRF Access | ||
|
||
| VRF Name | IPv4 ACL | IPv6 ACL | | ||
| -------- | -------- | -------- | | ||
| MGMT | - | - | | ||
|
||
### Management API HTTP Configuration | ||
|
||
```eos | ||
! | ||
management api http-commands | ||
protocol https | ||
no shutdown | ||
! | ||
vrf MGMT | ||
no shutdown | ||
``` | ||
|
||
# Authentication | ||
|
||
# Monitoring | ||
|
||
## TerminAttr Daemon | ||
|
||
### TerminAttr Daemon Summary | ||
|
||
| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | | ||
| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | | ||
| gzip | cv-staging.corp.arista.io:443 | MGMT | token-secure,/tmp/cv-onboarding-token | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | | ||
|
||
### TerminAttr Daemon Device Configuration | ||
|
||
```eos | ||
! | ||
daemon TerminAttr | ||
exec /usr/bin/TerminAttr -cvaddr=cv-staging.corp.arista.io:443 -cvauth=token-secure,/tmp/cv-onboarding-token -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs | ||
no shutdown | ||
``` | ||
|
||
# Spanning Tree | ||
|
||
## Spanning Tree Summary | ||
|
||
STP mode: **none** | ||
|
||
## Spanning Tree Device Configuration | ||
|
||
```eos | ||
! | ||
spanning-tree mode none | ||
``` | ||
|
||
# Internal VLAN Allocation Policy | ||
|
||
## Internal VLAN Allocation Policy Summary | ||
|
||
| Policy Allocation | Range Beginning | Range Ending | | ||
| ------------------| --------------- | ------------ | | ||
| ascending | 1006 | 1199 | | ||
|
||
## Internal VLAN Allocation Policy Configuration | ||
|
||
```eos | ||
! | ||
vlan internal order ascending range 1006 1199 | ||
``` | ||
|
||
# Interfaces | ||
|
||
## Loopback Interfaces | ||
|
||
### Loopback Interfaces Summary | ||
|
||
#### IPv4 | ||
|
||
| Interface | Description | VRF | IP Address | | ||
| --------- | ----------- | --- | ---------- | | ||
| Loopback0 | EVPN_Overlay_Peering | default | 1.2.3.1/32 | | ||
|
||
#### IPv6 | ||
|
||
| Interface | Description | VRF | IPv6 Address | | ||
| --------- | ----------- | --- | ------------ | | ||
| Loopback0 | EVPN_Overlay_Peering | default | - | | ||
|
||
|
||
### Loopback Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Loopback0 | ||
description EVPN_Overlay_Peering | ||
no shutdown | ||
ip address 1.2.3.1/32 | ||
``` | ||
|
||
# Routing | ||
## Service Routing Protocols Model | ||
|
||
Multi agent routing protocol model enabled | ||
|
||
```eos | ||
! | ||
service routing protocols model multi-agent | ||
``` | ||
|
||
## IP Routing | ||
|
||
### IP Routing Summary | ||
|
||
| VRF | Routing Enabled | | ||
| --- | --------------- | | ||
| default | true | | ||
| MGMT | false | | ||
|
||
### IP Routing Device Configuration | ||
|
||
```eos | ||
! | ||
ip routing | ||
no ip routing vrf MGMT | ||
``` | ||
## IPv6 Routing | ||
|
||
### IPv6 Routing Summary | ||
|
||
| VRF | Routing Enabled | | ||
| --- | --------------- | | ||
| default | false | | ||
| MGMT | false | | ||
|
||
## Static Routes | ||
|
||
### Static Routes Summary | ||
|
||
| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | | ||
| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | | ||
| MGMT | 0.0.0.0/0 | 192.168.0.1 | - | 1 | - | - | - | | ||
|
||
### Static Routes Device Configuration | ||
|
||
```eos | ||
! | ||
ip route vrf MGMT 0.0.0.0/0 192.168.0.1 | ||
``` | ||
|
||
## Router BGP | ||
|
||
### Router BGP Summary | ||
|
||
| BGP AS | Router ID | | ||
| ------ | --------- | | ||
| 1234| 1.2.3.1 | | ||
|
||
| BGP Tuning | | ||
| ---------- | | ||
| maximum-paths 4 ecmp 4 | | ||
|
||
### Router BGP Peer Groups | ||
|
||
#### EVPN-OVERLAY-PEERS | ||
|
||
| Settings | Value | | ||
| -------- | ----- | | ||
| Address Family | evpn | | ||
| Next-hop unchanged | True | | ||
| Source | Loopback0 | | ||
| BFD | true | | ||
| Ebgp multihop | 3 | | ||
| Send community | all | | ||
| Maximum routes | 0 (no limit) | | ||
|
||
#### IPv4-UNDERLAY-PEERS | ||
|
||
| Settings | Value | | ||
| -------- | ----- | | ||
| Address Family | ipv4 | | ||
| Send community | all | | ||
| Maximum routes | 12000 | | ||
|
||
### Router BGP EVPN Address Family | ||
|
||
#### EVPN Peer Groups | ||
|
||
| Peer Group | Activate | | ||
| ---------- | -------- | | ||
| EVPN-OVERLAY-PEERS | True | | ||
|
||
### Router BGP Device Configuration | ||
|
||
```eos | ||
! | ||
router bgp 1234 | ||
router-id 1.2.3.1 | ||
maximum-paths 4 ecmp 4 | ||
neighbor EVPN-OVERLAY-PEERS peer group | ||
neighbor EVPN-OVERLAY-PEERS next-hop-unchanged | ||
neighbor EVPN-OVERLAY-PEERS update-source Loopback0 | ||
neighbor EVPN-OVERLAY-PEERS bfd | ||
neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 | ||
neighbor EVPN-OVERLAY-PEERS send-community | ||
neighbor EVPN-OVERLAY-PEERS maximum-routes 0 | ||
neighbor IPv4-UNDERLAY-PEERS peer group | ||
neighbor IPv4-UNDERLAY-PEERS send-community | ||
neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 | ||
redistribute connected route-map RM-CONN-2-BGP | ||
! | ||
address-family evpn | ||
neighbor EVPN-OVERLAY-PEERS activate | ||
! | ||
address-family ipv4 | ||
no neighbor EVPN-OVERLAY-PEERS activate | ||
neighbor IPv4-UNDERLAY-PEERS activate | ||
``` | ||
|
||
# BFD | ||
|
||
## Router BFD | ||
|
||
### Router BFD Multihop Summary | ||
|
||
| Interval | Minimum RX | Multiplier | | ||
| -------- | ---------- | ---------- | | ||
| 300 | 300 | 3 | | ||
|
||
### Router BFD Device Configuration | ||
|
||
```eos | ||
! | ||
router bfd | ||
multihop interval 300 min-rx 300 multiplier 3 | ||
``` | ||
|
||
# Multicast | ||
|
||
# Filters | ||
|
||
## Prefix-lists | ||
|
||
### Prefix-lists Summary | ||
|
||
#### PL-LOOPBACKS-EVPN-OVERLAY | ||
|
||
| Sequence | Action | | ||
| -------- | ------ | | ||
| 10 | permit 1.2.3.4/24 eq 32 | | ||
|
||
### Prefix-lists Device Configuration | ||
|
||
```eos | ||
! | ||
ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY | ||
seq 10 permit 1.2.3.4/24 eq 32 | ||
``` | ||
|
||
## Route-maps | ||
|
||
### Route-maps Summary | ||
|
||
#### RM-CONN-2-BGP | ||
|
||
| Sequence | Type | Match and/or Set | | ||
| -------- | ---- | ---------------- | | ||
| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | | ||
|
||
### Route-maps Device Configuration | ||
|
||
```eos | ||
! | ||
route-map RM-CONN-2-BGP permit 10 | ||
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | ||
``` | ||
|
||
# ACL | ||
|
||
# VRF Instances | ||
|
||
## VRF Instances Summary | ||
|
||
| VRF Name | IP Routing | | ||
| -------- | ---------- | | ||
| MGMT | disabled | | ||
|
||
## VRF Instances Device Configuration | ||
|
||
```eos | ||
! | ||
vrf instance MGMT | ||
``` | ||
|
||
# Quality Of Service |
Oops, something went wrong.