[ovs-git] Open vSwitch: netdev-tunnel: Add CAPWAP userspace interface. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 24 21:19:26 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  a28716da6f6043ede3c1550906b9d8cd0f1d1b32 (commit)
       via  cc485f5d1a4e09a608312d6e4a0ada4d627f01bc (commit)
       via  e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32 (commit)
       via  5214f5c4e95b843b47b047139764d6f4af524785 (commit)
       via  17dcd764543b3f31cfa795ddce4bbf56f0038cb0 (commit)
       via  d1eb60ccff0c2dbef2300cdfc5fead3c2d394beb (commit)
      from  e97f8ca76dfcc88d3ea20efe55969391252f83f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a28716da6f6043ede3c1550906b9d8cd0f1d1b32
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a28716da6f6043ede3c1550906b9d8cd0f1d1b32
Author: Jesse Gross <jesse at nicira.com>
		
netdev-tunnel: Add CAPWAP userspace interface.
		
Provide a userspace interface to the CAPWAP UDP transport
tunneling mechanism in the kernel.

Signed-off-by: Jesse Gross <jesse at nicira.com>


commit cc485f5d1a4e09a608312d6e4a0ada4d627f01bc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cc485f5d1a4e09a608312d6e4a0ada4d627f01bc
Author: Jesse Gross <jesse at nicira.com>
		
netdev: Don't assume all netdevs are available at runtime.
		
Currently we print a warning if a user tries to configure a
netdev that is not in the list that userspace knows about.
However, it is possible that a given netdev maybe be enabled but
when it tries to create a device it finds out that it can't
(not supported by kernel module, hardware not present, etc.).
This makes the behavior the same in both cases.

Signed-off-by: Jesse Gross <jesse at nicira.com>


commit e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Add support for CAPWAP UDP transport.
		
Add support for the transport portion of the CAPWAP protocol as
an alternative to GRE for L2 over L3 tunneling.  This is not
full support for the CAPWAP protocol.  CAPWAP covers management
of wireless access points and describes a control protocol for
setting those devices up.  It also describes a data plane protocol
that allows packets to be tunneled to a controller for inspection.
This data plane protocol is the only component covered by this
commit.

Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 5214f5c4e95b843b47b047139764d6f4af524785
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5214f5c4e95b843b47b047139764d6f4af524785
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Add support for tunnel fragmentation.
		
Up until now it was assumed that encapsulated packets larger than
the MTU would be fragmented by the IP stack.  However, some
tunneling protocols provide their own fragmentation mechanism.  This
adds the necessary support to the generic tunnel code to support
fragmentation.

Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 17dcd764543b3f31cfa795ddce4bbf56f0038cb0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=17dcd764543b3f31cfa795ddce4bbf56f0038cb0
Author: Jesse Gross <jesse at nicira.com>
		
netdev-gre: Genericize GRE netdev.
		
Since the GRE netdev doesn't actually implement any of the GRE
protocol, none of the code is really specific to GRE.  This commit
makes the netdev a little more generic so that additional tunnel
types can easily piggyback on it in the future.

Signed-off-by: Jesse Gross <jesse at nicira.com>


commit d1eb60ccff0c2dbef2300cdfc5fead3c2d394beb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d1eb60ccff0c2dbef2300cdfc5fead3c2d394beb
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Abstract tunneling implementation from GRE.
		
Much of the code in the GRE implementation is not specific to the
GRE protocol but is actually common to all types of tunnels.  In
order to support future types of tunnels, move this code into a
common library.

Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/Modules.mk                     |    3 +
 datapath/linux-2.6/.gitignore           |    3 +-
 datapath/{vport-gre.c => tunnel.c}      |  741 ++++++-------------
 datapath/tunnel.h                       |  113 +++
 datapath/vport-capwap.c                 |  655 ++++++++++++++++
 datapath/vport-gre.c                    | 1258 +++----------------------------
 datapath/vport.c                        |    4 +
 datapath/vport.h                        |    1 +
 include/openvswitch/automake.mk         |    4 +-
 include/openvswitch/{gre.h => tunnel.h} |   20 +-
 lib/automake.mk                         |    2 +-
 lib/netdev-linux.c                      |    1 -
 lib/netdev-provider.h                   |    1 +
 lib/{netdev-gre.c => netdev-tunnel.c}   |  174 +++--
 lib/netdev.c                            |    7 +-
 lib/vlog-modules.def                    |    2 +-
 vswitchd/vswitch.xml                    |   55 ++
 17 files changed, 1319 insertions(+), 1725 deletions(-)
 copy datapath/{vport-gre.c => tunnel.c} (54%)
 create mode 100644 datapath/tunnel.h
 create mode 100644 datapath/vport-capwap.c
 rename include/openvswitch/{gre.h => tunnel.h} (81%)
 rename lib/{netdev-gre.c => netdev-tunnel.c} (52%)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list