Skip to content

Commit

Permalink
add cvaas evpn aa demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed May 2, 2024
1 parent f5fc83b commit 0327a59
Show file tree
Hide file tree
Showing 41 changed files with 1,875 additions and 508 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/cvaas-cvaas-and-avd-demo--evpn-aa/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"image": "ghcr.io/arista-netdevops-community/one-click-se-demos/cvaas:cvaas-and-avd-demo--evpn-aa",
// containerEnv set the variables applied to entire container
"containerEnv": {
"ARISTA_TOKEN": "${localEnv:ARTOKEN}",
"CV_API_TOKEN": "${localEnv:CV_API_TOKEN}",
"CONTAINERWSF": "${containerWorkspaceFolder}"
},
"secrets": {
"CV_API_TOKEN": {
"description": "CVaaS service account token."
// "documentationUrl": "https://example.com/link/to/info"
},
"ARTOKEN": {
"description": "token to auto-download EOS images from arista.com."
// "documentationUrl": "https://example.com/link/to/info"
}
},
"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
},
"postCreateCommand": "postCreate.sh",
"workspaceMount": "source=${localWorkspaceFolder}/demos/${containerWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/cvaas-cvaas-and-avd-demo--evpn-aa"
}
25 changes: 25 additions & 0 deletions .github/workflows/cvaas-cvaas-and-avd-demo--evpn-aa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: build container for CVaaS and AVD Demo, EVPN AA

on:
push:
branches: [main]
paths:
- .github/workflows/cvaas-cvaas-and-avd-demo--evpn-aa.yml
- .github/workflows/container-build-child-workflow.yml
- containers/cvaas-cvaas-and-avd-demo--evpn-aa/**
workflow_dispatch:
branches: [main]

jobs:
build-demo-container:
uses: ./.github/workflows/container-build-child-workflow.yml
with:
container_name: "cvaas"
image_tags: "cvaas-and-avd-demo--evpn-aa"
from_image: "ghcr.io/aristanetworks/avd/universal"
from_variant: "python3.11-avd-v4.7.1"
username: "avd"
clab_version: "0.54.2"
ceos_lab_version: "4.30.6M"
git_init: True
Loading

0 comments on commit 0327a59

Please sign in to comment.