X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fopenvswitch%2Fovs_ping_3switches_loop.py;h=54b2083db93072bd7372239ee55311dc920f32fd;hb=7a40d6db82dc5fd7de026b39fdc2bc35887c4e07;hp=9465f0823dda52178c9a0bb0eb3a1dfaf27efa82;hpb=c2acc774e82685942698b64e8ca7b4a27200e5dc;p=nepi.git diff --git a/examples/openvswitch/ovs_ping_3switches_loop.py b/examples/openvswitch/ovs_ping_3switches_loop.py index 9465f082..54b2083d 100644 --- a/examples/openvswitch/ovs_ping_3switches_loop.py +++ b/examples/openvswitch/ovs_ping_3switches_loop.py @@ -16,14 +16,25 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -# Author: Alina Quereilhac -# Alexandros Kouvakas +# Authors : Julien Tribino +# Alina Quereilhac # -# Switch1 ------- Switch2 -# / \ -# / \ -# / \ -# Host1 Host2 +# Topology : +# +# Host3 +# | +# | +# | +# Switch3 +# / \ +# / \ +# / \ +# / \ +# Switch1 ----- Switch2 +# / \ +# / \ +# / \ +# Host1 Host2 @@ -44,7 +55,7 @@ def add_node(ec, host, user, pl_user, pl_password): 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)