https://github.com/netascode/brkdcn-2673-demo
Cisco Live US 2025 BRKDCN-2673 Demo
https://github.com/netascode/brkdcn-2673-demo
brkdcn ciscolive demo iac nac nexus-as-code terraform
Last synced: 11 months ago
JSON representation
Cisco Live US 2025 BRKDCN-2673 Demo
- Host: GitHub
- URL: https://github.com/netascode/brkdcn-2673-demo
- Owner: netascode
- Created: 2023-02-06T12:30:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-10T22:27:04.000Z (12 months ago)
- Last Synced: 2025-06-10T23:29:09.693Z (12 months ago)
- Topics: brkdcn, ciscolive, demo, iac, nac, nexus-as-code, terraform
- Language: Python
- Homepage:
- Size: 329 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cisco Live US 2025 BRKDCN-2673 Demo
## Setup
Install [Terraform](https://www.terraform.io/downloads), and the following two Python tools:
- [nac-validate](https://github.com/netascode/nac-validate)
- [nac-test](https://github.com/netascode/nac-test)
```shell
pip install -r requirements.txt
```
Set environment variables pointing to APIC:
```shell
export ACI_USERNAME=admin
export ACI_PASSWORD=Cisco123
export ACI_URL=https://10.1.1.1
```
Update the `cloud` block within the `terraform` configuration in `main.tf` to point to your Terraform Cloud Organization and Workspace:
```terraform
terraform {
cloud {
organization = "CiscoLive"
workspaces {
name = "BRKDCN-2673-Demo"
}
}
}
```
Or remove the `cloud` block completely to revert to local state storage.
## Initialization
```shell
terraform init
```
## Pre-Change Validation
```shell
nac-validate ./data/
```
## Terraform Plan/Apply
```shell
terraform apply
```
## Testing
```shell
nac-test --data ./data --data ./defaults.yaml --templates ./tests/templates --output ./tests/results/aci
```