+++ /dev/null
-#!/usr/bin/env bash
-
-# build
-cd firewall; docker build -t mpeuster/firewall-vnf .
-cd ..
-cd iperf; docker build -t mpeuster/iperf-vnf .
-cd ..
-cd tcpdump; docker build -t mpeuster/tcpdump-vnf .
-cd ..
-
-# push
-docker push mpeuster/firewall-vnf
-docker push mpeuster/iperf-vnf
-docker push mpeuster/tcpdump-vnf
\ No newline at end of file
+++ /dev/null
-FROM ubuntu
-MAINTAINER iMinds
-
-RUN apt-get update && apt-get install -y \
- iptables \
- arptables \
- ebtables \
- bridge-utils \
- tcpdump \
- openvswitch-switch \
- openvswitch-common
-
-RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
-
-ADD start.sh start.sh
-RUN chmod +x start.sh
-
-# emulator specific entrypoint
-ENV SON_EMU_CMD ./start.sh
-
-# always use bash as defauld command
-CMD /bin/bash
\ No newline at end of file
+++ /dev/null
-#! /bin/bash
-
-#This gives time to the Dockernet to configure the network namespace of the container
-sleep 3
-
-echo "Ubuntu started"
-echo "start ovs"
-service openvswitch-switch start
-
-NAME='fw'
-
-#echo "setup ovs bridge"
-ovs-vsctl add-br $NAME
-#ovs-vsctl set bridge $NAME datapath_type=netdev
-ovs-vsctl set bridge $NAME protocols=OpenFlow10,OpenFlow12,OpenFlow13
-#ovs-vsctl set-fail-mode $NAME secure
-#ovs-vsctl set bridge $NAME other_config:disable-in-band=true
-
-ovs-vsctl add-port $NAME ${NAME}-eth0
-
-#send out through same interface, on single port
-ovs-ofctl add-flow $NAME 'in_port=1,action=in_port'
-
-# iptables -I FORWARD -m physdev --physdev-in eth0 --physdev-out eth1 -d 8.8.8.8 -j DROP
-
-echo "Firewall started"
+++ /dev/null
-FROM ubuntu
-MAINTAINER iMinds
-
-RUN apt-get update && apt-get install -y \
- mz \
- iperf
-
-
-ADD start.sh start.sh
-RUN chmod +x start.sh
-
-# emulator specific entrypoint
-ENV SON_EMU_CMD ./start.sh
-
-# always use bash as defauld command
-CMD /bin/bash
\ No newline at end of file
+++ /dev/null
-#! /bin/bash
-
-#This gives time to the Dockernet to configure the network namespace of the container
-sleep 3
-
-echo "Traffic sink started"
+++ /dev/null
-FROM ubuntu
-MAINTAINER iMinds
-
-RUN apt-get update && apt-get install -y \
- tcpdump
-
-RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
-
-ADD start.sh start.sh
-RUN chmod +x start.sh
-
-# emulator specific entrypoint
-ENV SON_EMU_CMD ./start.sh
-
-# always use bash as defauld command
-CMD /bin/bash
\ No newline at end of file
+++ /dev/null
-#! /bin/bash
-
-#This gives time to the Dockernet to configure the network namespace of the container
-sleep 3
-
-
-echo "Traffic sink started"
\ No newline at end of file
+++ /dev/null
-[aliases]
-test=pytest
\ No newline at end of file
from setuptools import setup, find_packages
setup(name='emuvim',
- version='0.0.1',
+ version='0.9',
license='Apache 2.0',
description='emuvim is a VIM for the SONATA platform',
url='http://github.com/sonata-emu',
+++ /dev/null
-#!/bin/bash
-
-
-# deploy VNFs
-son-emu-cli compute start -d datacenter1 -n tsrc -i traffic_source -c ./start.sh
-son-emu-cli compute start -d datacenter2 -n fw -i firewall -c ./start.sh
-son-emu-cli compute start -d long_data_center_name3 -n tsink -i traffic_sink -c ./start.sh
-
-# setup links in the chain
-son-emu-cli network add -src tsrc -dst fw
-son-emu-cli network add -src fw -dst tsink
-son-emu-cli network add -src tsink -dst tsrc
-
-
-
+++ /dev/null
-#!/bin/bash
-
-# start DC Network
-python ../src/emuvim/examples/simple_topology.py
-
-
-
** - sudo python sonata_y1_demo_topology_1.py **
** **
** The emulator will be started and the fake-gatekeeper **
-** API will be accessible on port 5000 from both, the **
+** API will be accessible on port 5000 from both the **
** VM and your host machine. **
************************************************************
\ No newline at end of file