X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fopenvswitch%2Fovs_ping_2switches.py;h=7fbb74b4709c4a4726aa88d811ea6fb9cb448a35;hb=7a40d6db82dc5fd7de026b39fdc2bc35887c4e07;hp=a7110e67cec62c119ef7928dd007564f789d178a;hpb=158b2a8a8aede8c4f383fafe2371be7d8b517f07;p=nepi.git diff --git a/examples/openvswitch/ovs_ping_2switches.py b/examples/openvswitch/ovs_ping_2switches.py index a7110e67..7fbb74b4 100644 --- a/examples/openvswitch/ovs_ping_2switches.py +++ b/examples/openvswitch/ovs_ping_2switches.py @@ -47,7 +47,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)