aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/sfc_server.bash
blob: 57e1ca0c6cf73ded818bf9570a85a0b1a3a42f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

#service iptables stop
python -m SimpleHTTPServer 80 > /dev/null 2>&1 &
touch index.html
echo "WORKED" >> index.html