Skip to content

Latest commit

 

History

History
143 lines (105 loc) · 2.73 KB

simulation.md

File metadata and controls

143 lines (105 loc) · 2.73 KB

PS-CRN Simulation

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.

Topology

Alt Text

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!

Bringing up the Simulation

Deploy the topology

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

License the VNFs in the environment

ansible-playbook configure-licensing.yml

Configure the SD-WAN fabric

ansible-playbook configure.yml

Extra Vars

  • CA: only create the private CA
  • control: only provision the Viptela control plane
  • vedge: only provision the Viptela vEdges
  • check_control: check connectivity of the control plane
  • check_edge: check connectivity of the edge
  • check_all: check full connectivity of the overlay

Wait for the vEdges to sync:

ansible-playbook waitfor-sync.yml

Import templates

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

Attach templates to devices

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

Import Policy

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

Activate Central Policy

ansible-playbook activate-central-policy.yml

Other Operations

Export templates

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

Detach templates from devices

ansible-playbook detach_templates.yml

Clean the topology

ansible-playbook clean.yml