X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fappctl.py;h=e5bcf2c03a397711d0e406783421f80fc3caf77f;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=4a2865e1369bbd73fd137bb594b2a61acb5316d8;hpb=f4ec6ff479ace8f9b893f883557235f2ea6bab8f;p=sliver-openvswitch.git diff --git a/tests/appctl.py b/tests/appctl.py index 4a2865e13..e5bcf2c03 100644 --- a/tests/appctl.py +++ b/tests/appctl.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012 Nicira Networks. +# Copyright (c) 2012 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ import sys import ovs.daemon import ovs.unixctl +import ovs.unixctl.client import ovs.util import ovs.vlog @@ -29,7 +30,7 @@ def connect_to_target(target): else: socket_name = str_result - error, client = ovs.unixctl.UnixctlClient.create(socket_name) + error, client = ovs.unixctl.client.UnixctlClient.create(socket_name) if error: ovs.util.ovs_fatal(error, "cannot connect to \"%s\"" % socket_name)