This is Simulation compentent of the Public Sector Cloud Read Network DevOps bundle. It consists of a dynamically generated VIRL topology and the automation tooling to completely configre it.
The default username/password for network devices is
admin/admin
The default username/password for the control and test nodes is
virl/admin
See the requirements for running these playbooks first!
Run the build
playbook to the build the topology:
ansible-playbook build.yml
This playbook will:
- Launch the topology file
- Wait until they show as reachable in VIRL
Extra Vars
virl_tag
: Set the tag used for the topology (Default: username)ansible-playbook build.yml -e virl_tag=test1
ansible-playbook configure-licensing.yml
ansible-playbook configure.yml
Extra Vars
CA
: only create the private CAcontrol
: only provision the Viptela control planevedge
: only provision the Viptela vEdgescheck_control
: check connectivity of the control planecheck_edge
: check connectivity of the edgecheck_all
: check full connectivity of the overlay
ansible-playbook waitfor-sync.yml
ansible-playbook import-templates.yml
Extra Vars
vmanage_ip
To specify the IP address of the vManage server into which to import the templates:
ansible-playbook import-templates.yml -e vmanage_ip=1.2.3.4
ansible-playbook attach_templates.yml
To attach a template to a limited set of devices:
ansible-playbook attach_templates.yml --limit=east-rtr1,west-rtr1
ansible-playbook import-policy.yml
Extra Vars
vmanage_ip
To specify the IP address of the vManage server into which to import the templates:
ansible-playbook import-policy.yml -e vmanage_ip=1.2.3.4
ansible-playbook activate-central-policy.yml
ansible-playbook export-templates.yml
Extra Vars
vmanage_ip
To specify the IP address of the vManage server from which to export the templates:
ansible-playbook export-temapltes.yml -e vmanage_ip=1.2.3.4
ansible-playbook detach_templates.yml
ansible-playbook clean.yml