Generate and Deploy Configuration¶
Multiple topologies are available as part of this project. - Sample Topology - Vagrant - Ravello (in progress)
Sample Topology¶
The main benefit of the sample-topology is that you can generate configuration even without devices. The generate configuration, you need to excute the following command
ansible-playbook -i sample-topology.yaml pb.conf.all.yaml
Vagrant¶
To be able to generate and deploy all configurations on Vagrant, you need first to start all VMs in vagrant.
vagrant up
Once all VMs are up and running, it’s possible to use ansible directly without vagrant.
ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory pb.conf.all.commit.yaml
Ravello¶
- Install the ravello-ansible roles
- Make sure you have the right images in your Ravello library
- Create a local credential file for Ravello.
Create the tolopogy on Ravello
ansible-playbook -i ravello-inventory.ini pb.rav.create.yaml --forks=1
Deploy the application and start VMs
ansible-playbook -i ravello-inventory.ini pb.rav.deplay.yaml --forks=1
Auto-generate Vlans and IRB Ip addresses¶
ansible-playbook pb.gen.vlans.yaml