projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packet: Add additional TCP flags extraction on IPv6.
[openvswitch]
/
tests
/
test-unixctl.py
diff --git
a/tests/test-unixctl.py
b/tests/test-unixctl.py
index cb9fed226d373b202dc1507e8bb790e0b794105a..c262a958da9ca92104afe99fb5bef4fcf5586348 100644
(file)
--- a/
tests/test-unixctl.py
+++ b/
tests/test-unixctl.py
@@
-39,6
+39,10
@@
def unixctl_echo_error(conn, argv, aux):
conn.reply_error(str(argv))
conn.reply_error(str(argv))
+def unixctl_block(conn, unused_argv, unused_aux):
+ pass
+
+
def main():
parser = argparse.ArgumentParser(
description="Open vSwitch unixctl test program for Python")
def main():
parser = argparse.ArgumentParser(
description="Open vSwitch unixctl test program for Python")
@@
-61,6
+65,7
@@
def main():
"aux_echo")
ovs.unixctl.command_register("echo_error", "[arg ...]", 1, 2,
unixctl_echo_error, "aux_echo_error")
"aux_echo")
ovs.unixctl.command_register("echo_error", "[arg ...]", 1, 2,
unixctl_echo_error, "aux_echo_error")
+ ovs.unixctl.command_register("block", "", 0, 0, unixctl_block, None)
ovs.daemon.daemonize_complete()
vlog.info("Entering run loop.")
ovs.daemon.daemonize_complete()
vlog.info("Entering run loop.")