# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# Author: Alina Quereilhac <alina.quereilhac@inria.fr>
-# Alexandros Kouvakas <alexandros.kouvakas@gmail.com>
+# Authors : Julien Tribino <julien.tribino@inria.fr>
+# Alina Quereilhac <alina.quereilhac@inria.fr>
#
-# Switch1 ------- Switch2
+# Topology :
+#
+# Switch1 -------- Switch2
# / \
# / \
# / \
return node
def add_ovs(ec, bridge_name, virtual_ip_pref, controller_ip, controller_port, node):
- ovs = ec.register_resource("OVSWitch")
+ ovs = ec.register_resource("OVSSwitch")
ec.set(ovs, "bridge_name", bridge_name)
ec.set(ovs, "virtual_ip_pref", virtual_ip_pref)
ec.set(ovs, "controller_ip", controller_ip)
# Create the EC
ec = ExperimentController(exp_id = "test")
+#XXX : Need to put 4 working nodes or to let Nepi find for you
switch1 = "planetlab2.virtues.fi"
switch2 = "planetlab2.upc.es"
host1 = "planetlab2.ionio.gr"
host2 = "iraplab2.iralab.uni-karlsruhe.de"
-ip_controller = "194.254.215.12"
+ip_controller = "xxx.yyy.zzz.ttt"
+
+#XXX : Depends on the Vsys_tag of your slice
network = "192.168.3.0"
+#XXX : Name of your slice
slicename = "inria_nepi"
pl_user = os.environ.get("PL_USER")