projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Add support for OF1.3 port description multipart message.
[openvswitch]
/
tests
/
test-unixctl.py
diff --git
a/tests/test-unixctl.py
b/tests/test-unixctl.py
index cb9fed226d373b202dc1507e8bb790e0b794105a..038c1bd684f19c92acd4c987451d86a64a5899b2 100644
(file)
--- a/
tests/test-unixctl.py
+++ b/
tests/test-unixctl.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.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-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.")