Yi Tseng | caf91d7 | 2018-02-11 14:48:31 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | MWC_HEAD_IP="10.128.13.3" |
| 4 | |
| 5 | set -ex |
| 6 | |
| 7 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/tofino-leaf1-netcfg.json |
| 8 | sleep 5 |
| 9 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/tofino-leaf2-netcfg.json |
| 10 | sleep 5 |
| 11 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/mellanox-spine2.json |
| 12 | sleep 5 |
| 13 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/cavium-spine1.json |
Carmelo Cascone | e6bd494 | 2018-02-15 14:35:16 -0800 | [diff] [blame] | 14 | sleep 5 |
Yi Tseng | caf91d7 | 2018-02-11 14:48:31 -0800 | [diff] [blame] | 15 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/mwc-demo.json |
| 16 | sleep 10 |
Yi Tseng | 5ba756c | 2018-02-16 14:41:16 -0800 | [diff] [blame] | 17 | onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/hosts.json |
| 18 | sleep 5 |
Yi Tseng | caf91d7 | 2018-02-11 14:48:31 -0800 | [diff] [blame] | 19 | bash fpcagent/scripts/addP4DPN.sh ${MWC_HEAD_IP} device:tofino:leaf2 |