blob: f8a2e26ad301a10fab568342659a28185e64a5b1 [file] [log] [blame]
Carmelo Cascone54984222018-02-02 20:28:50 -08001#!/usr/bin/env bash
2
3MWC_HEAD_IP="10.128.13.3"
4
5set -ex
6
7onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/mwc-pod/tofino-leaf1-netcfg.json
8sleep 5
9onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/mwc-pod/tofino-leaf2-netcfg.json
10sleep 5
11onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/mwc-pod/mellanox-spine2.json
12sleep 5
13onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/mwc-pod/cavium-spine1.json
14sleep 10
15onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/mwc-pod/mwc-demo.json
16sleep 10
17bash fpcagent/scripts/addP4DPN.sh ${MWC_HEAD_IP} device:tofino:leaf2