1 GroupBasedPolicy Proof Of Concept Scripts
5 This instance of GroupBasedPolicy "Proof of Concept" or Demo utilizes:
6 - Two Ubuntu 14.04 LTS VMs on a host-net (using VirtualBox)
7 - Docker 1.0.1 (for guests)
8 - OpenVSwitch 2.3.0 (running natively on Ubuntu 14.04LTS)
10 It mimics the same policy as the mininet example, that is:
11 - Two EndPointGroups (EPG)
15 - Contract allowing HTTP Client -> WebServers and PING Client <-> WebServers but
16 HTTP WebServers -//-> Client (ie disallowed)
19 - infrastructure_config:
20 Contains configuration of OVS and docker guests. There is a default image, but this can be over-ridden.
22 The policy is set here. It is important to note that this file needs to be on both VMs
23 - infrastructure_launch:
24 Launches the docker containers and configures switches
26 Library of functions for performing operations on GBP policy entities
28 Processes policy and guests. It is important that one of the VMs launches this script with "--policy" much like the mininet POC
30 Cleans up any existing docker and OVS instances (using "mn -c" for quick OVS clean up. If this is not an option on your VM then pursue stopping OVS, removing conf.db, starting OVS)
33 - Always run from root. ie sudo bash
34 - Edit infrastructure_config.py with the IP address of the VM for each switch, edit start-poc.sh with your ODL controller IP.