projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Only consider the host we are running on in interface-reconfigure.
[openvswitch]
/
vswitchd
/
ovs-vswitchd.c
diff --git
a/vswitchd/ovs-vswitchd.c
b/vswitchd/ovs-vswitchd.c
index 4352f5f743af394d3324af99c6a619e2b44c9fd9..a7b43f7b4f34535e3ce429e0f416bb579c8e5a20 100644
(file)
--- a/
vswitchd/ovs-vswitchd.c
+++ b/
vswitchd/ovs-vswitchd.c
@@
-32,9
+32,9
@@
#include "fault.h"
#include "leak-checker.h"
#include "mgmt.h"
#include "fault.h"
#include "leak-checker.h"
#include "mgmt.h"
+#include "netdev.h"
#include "ovs-vswitchd.h"
#include "poll-loop.h"
#include "ovs-vswitchd.h"
#include "poll-loop.h"
-#include "port.h"
#include "proc-net-compat.h"
#include "process.h"
#include "signals.h"
#include "proc-net-compat.h"
#include "process.h"
#include "signals.h"
@@
-84,7
+84,6
@@
main(int argc, char *argv[])
cfg_read();
mgmt_init();
bridge_init();
cfg_read();
mgmt_init();
bridge_init();
- port_init();
mgmt_reconfigure();
need_reconfigure = false;
mgmt_reconfigure();
need_reconfigure = false;
@@
-102,6
+101,7
@@
main(int argc, char *argv[])
}
unixctl_server_run(unixctl);
dp_run();
}
unixctl_server_run(unixctl);
dp_run();
+ netdev_run();
if (need_reconfigure) {
poll_immediate_wake();
if (need_reconfigure) {
poll_immediate_wake();
@@
-111,6
+111,7
@@
main(int argc, char *argv[])
bridge_wait();
unixctl_server_wait(unixctl);
dp_wait();
bridge_wait();
unixctl_server_wait(unixctl);
dp_wait();
+ netdev_wait();
poll_block();
}
poll_block();
}
@@
-133,7
+134,6
@@
reconfigure(void)
cfg_read();
bridge_reconfigure();
mgmt_reconfigure();
cfg_read();
bridge_reconfigure();
mgmt_reconfigure();
- port_reconfigure();
for (i = 0; i < n_conns; i++) {
unixctl_command_reply(conns[i], 202, NULL);
for (i = 0; i < n_conns; i++) {
unixctl_command_reply(conns[i], 202, NULL);