Install OpenvSwitch and Build a SDN lab environment.
- Install OpenvSwitch
- Build VXLAN Tunnel
- Install OpenDayLight
Hotsname | System | ens33 | ens36 |
---|---|---|---|
ovs-server01 | CentOS7 | 10.0.0.61 | - |
ovs-server02 | CentOS7 | 10.0.0.62 | |
sdn-controller | CentOS7 | 10.0.0.63 |
ansible-playbook -i hosts site.yml
ansible -i hosts ovs -a "virsh destroy {{ vm_name }}" --become
ansible -i hosts ovs -a "virsh start {{ vm_name }}" --become
If you have a host with ip 10.0.0.62, you can connect cloud-vm using like 10.0.0.62::5900
, the port is defined in cloud_vm.xml