diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-14 11:26:36 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-05-22 10:17:05 -0700 |
commit | 53cf9963ccc60b443d738b31fbb446bc79170693 (patch) | |
tree | 948358ebf45f0c5babefa010977a7c4e27c98fa6 /tests/unixctl-py.at | |
parent | 7b7e43f55981246cd2b4983460c5382baa94390e (diff) | |
download | openvswitch-53cf9963ccc60b443d738b31fbb446bc79170693.tar.gz |
python: Break unixctl implementation into registry, client, and server.
I wish to add some unixctl commands to the Python vlog module. However,
importing ovs.unixctl in ovs.vlog creates a circular dependency, because
ovs.unixctl imports ovs.vlog already. The solution, in this commit, is to
break the unixctl module into three parts: a register (ovs.unixctl) that
does not depend on ovs.vlog, and client (ovs.unixctl.client) and server
(ovs.unixctl.server) modules that do. This breaks the circular dependency.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/unixctl-py.at')
0 files changed, 0 insertions, 0 deletions