-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
39 lines (30 loc) · 1.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
###########################################
# Run AVD with various tags #
# #########################################
.PHONY: help
help: ## Display help message
@grep -E '^[0-9a-zA-Z_-]+\.*[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: deploy_dc1_dci
deploy_dc1_dci: ## Deploy DC1 DCI configs to non-avd devices
ansible-playbook playbooks/deploy_dc1_dci_eapi.yml -i sites/dc1/inventory.yml
.PHONY: deploy_dc2_dci
deploy_dc2_dci: ## Deploy DC1 DCI configs to non-avd devices
ansible-playbook playbooks/deploy_dc2_dci_eapi.yml -i sites/dc2/inventory.yml
.PHONY: build_dc1
build_dc1: ## Build AVD Configs for DC1
ansible-playbook playbooks/build_dc1.yml -i sites/dc1/inventory.yml
.PHONY: build_dc2
build_dc2: ## Build AVD Configs for DC2
ansible-playbook playbooks/build_dc2.yml -i sites/dc2/inventory.yml
.PHONY: deploy_dc1_cvp
deploy_dc1_cvp: ## Deploy DC1 AVD Configs Through CVP
ansible-playbook playbooks/deploy_dc1_cvp.yml -i sites/dc1/inventory.yml
.PHONY: deploy_dc2_cvp
deploy_dc2_cvp: ## Deploy DC2 AVD Configs Through CVP
ansible-playbook playbooks/deploy_dc2_cvp.yml -i sites/dc2/inventory.yml
.PHONY: deploy_dc1_eapi
deploy_dc1_eapi: ## Deploy DC1 Spine/Leaf AVD generated configs via eAPI
ansible-playbook playbooks/deploy_dc1_eapi.yml -i sites/dc1/inventory.yml
.PHONY: deploy_dc2_eapi
deploy_dc2_eapi: ## Deploy DC1 Spine/Leaf AVD generated configs via eAPI
ansible-playbook playbooks/deploy_dc2_eapi.yml -i sites/dc2/inventory.yml