summaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/sfc_compute.bash
blob: 09c2f22c4a06a9fa69f0785d0f4543a35b1b2ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
##############################################################################
# Copyright (c) 2017 Ericsson AB and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

set -e

sudo ifconfig br-int up
sudo ip route add 11.0.0.0/24 dev br-int