- Put the tarball in ctl node.
- Run 'tar -zxvf la1.tar.gz'
- Run 'cd la1'
- Replace your key pair in the la1.
- Run 'cp id_rsa id_rsa.pub ../.ssh/'
- Run 'sudo cp /root/setup/admin-openrc.sh .'
- Run 'source admin-openrc.sh'
- Run 'python3 orchestrator.py'
- Type 'step1', and wait for 10 seconds, then step1 is done.
- Type 'step2', and wait for 2 minutes, then step2 is done.
- Press Ctrl+c to leave orchestrator.
- Type 'neutron floatingip-list -c floating_ip_address', you would get a list of IPs.
- Type 'openstack ip floating add <one_of_IPs> host-a
- Type 'ssh ubuntu@<one_of_IPs>', the same IP at 6. Then type 'yes'. Then 'exit'. This step is to make sure nova and neutron is working well.
- Do the similar 6. 7. step for [host-b, r1, r2, r3]. Each floating IP should be different.
- If something in 6. 7. 8. went wrong, say, r2 can not connect: Type 'nova delete r2' Then look into step2.sh to run same command to reboot one, And still do 6. 7. Be careful the key pair value, it should be -<your email with .@ = X>
- If you do many time and still not work, restart an experiment and do these again.
- Type 'vim orchestrator.py' Modify the value in 'fip' to those IPs you just set in 6. step. You can leave r4 to blank here.
- Run 'python3 orchestrator.py'
- Type 'step3', wait for 3 minutes, then step3 is done.
- Type 'step4', wait for 3 seconds, then step4 is done. You may test Ping now or from any step after.
- Type 'step5', wait for 3 seconds, then step5 is done.
- Type Ctrl+c to leave orchestrator.
- Do the similar 6. 7. to r4.
- Type 'vim orchestrator.py' Modify the value in 'fip' to IP for r4.
- Run 'python3 orchestrator.py'
- Type 'step6', wait for 1 minute, then step6 is done.
- Type 'step7', wait for 1 second, then step7 is done.
- OSPF done.