ofproto: Move bond files to ofproto
authorAndy Zhou <azhou@nicira.com>
Fri, 6 Dec 2013 21:27:26 +0000 (13:27 -0800)
committerAndy Zhou <azhou@nicira.com>
Fri, 6 Dec 2013 23:04:14 +0000 (15:04 -0800)
Relocating bond.[ch] to allow bond.c to make ofproto calls.
This is needed for upcoming patches that enable megaflow support
for bond ports.

Signed-off-by: Andy Zhou <azhou@nicira.com>
PORTING
lib/automake.mk
ofproto/automake.mk
ofproto/bond.c [moved from lib/bond.c with 100% similarity]
ofproto/bond.h [moved from lib/bond.h with 100% similarity]
vswitchd/bridge.c

diff --git a/PORTING b/PORTING
index 53c19d3..88694a4 100644 (file)
--- a/PORTING
+++ b/PORTING
@@ -18,7 +18,7 @@ is a concordance, indexed by the area of the source tree:
         datapath/       vport           ---
         vswitchd/       iface           port
         ofproto/        port            bundle
-        lib/bond.c      slave           bond
+        ofproto/bond.c  slave           bond
         lib/lacp.c      slave           lacp
         lib/netdev.c    netdev          ---
         database        Interface       Port
index 8fdc162..fadc4be 100644 (file)
@@ -17,8 +17,6 @@ lib_libopenvswitch_a_SOURCES = \
        lib/bfd.h \
        lib/bitmap.c \
        lib/bitmap.h \
-       lib/bond.c \
-       lib/bond.h \
        lib/bundle.c \
        lib/bundle.h \
        lib/byte-order.h \
index 432f083..218a5b1 100644 (file)
@@ -7,6 +7,8 @@
 
 noinst_LIBRARIES += ofproto/libofproto.a
 ofproto_libofproto_a_SOURCES = \
+       ofproto/bond.c \
+       ofproto/bond.h \
        ofproto/collectors.c \
        ofproto/collectors.h \
        ofproto/connmgr.c \
similarity index 100%
rename from lib/bond.c
rename to ofproto/bond.c
similarity index 100%
rename from lib/bond.h
rename to ofproto/bond.h
index 0f4cf2c..c2307be 100644 (file)
@@ -21,7 +21,6 @@
 #include "async-append.h"
 #include "bfd.h"
 #include "bitmap.h"
-#include "bond.h"
 #include "cfm.h"
 #include "coverage.h"
 #include "daemon.h"
@@ -39,6 +38,7 @@
 #include "ofp-print.h"
 #include "ofp-util.h"
 #include "ofpbuf.h"
+#include "ofproto/bond.h"
 #include "ofproto/ofproto.h"
 #include "poll-loop.h"
 #include "sha1.h"