Skip to content

Commit

Permalink
openvswitch: Allow external IPsec tunnel management.
Browse files Browse the repository at this point in the history
OVS GRE IPsec tunnel support has multiple issues, Therefore
it was deprecated in OVS 2.6.

Following patch removes support for GRE IPsec and allows external
IPsec tunnel management for any type of tunnel not just GRE.
e.g. user can encrypt Geneve or VxLan traffic.

It can be done by using openflow pipeline to set skb-mark
and using IPsec keying daemons to implement IPsec tunnels.
This packet can be matched for the skb-mark to encrypt
selective tunnel traffic.

VMware-BZ: 1710701
Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: Ansis Atteka <[email protected]>
  • Loading branch information
pshelar committed Sep 27, 2016
1 parent 5e8bc3c commit 2b02d77
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 1,305 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Post-v2.6.0
* TLV mappings for protocols such as Geneve are now segregated on
a per-OpenFlow bridge basis rather than globally. (The interface
has not changed.)
* Removed support for IPsec tunnels.

v2.6.0 - xx xxx xxxx
---------------------
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ vSwitch supports the following features:
* NIC bonding with or without LACP on upstream switch
* NetFlow, sFlow(R), and mirroring for increased visibility
* QoS (Quality of Service) configuration, plus policing
* Geneve, GRE, GRE over IPSEC, VXLAN, and LISP tunneling
* Geneve, GRE, VXLAN, STT, and LISP tunneling
* 802.1ag connectivity fault management
* OpenFlow 1.0 plus numerous extensions
* Transactional configuration database with C and Python bindings
Expand Down
7 changes: 0 additions & 7 deletions debian/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ EXTRA_DIST += \
debian/openvswitch-datapath-source.dirs \
debian/openvswitch-datapath-source.install \
debian/openvswitch-dev.install \
debian/openvswitch-ipsec.dirs \
debian/openvswitch-ipsec.init \
debian/openvswitch-ipsec.install \
debian/openvswitch-pki.dirs \
debian/openvswitch-pki.postinst \
debian/openvswitch-pki.postrm \
Expand Down Expand Up @@ -71,17 +68,13 @@ EXTRA_DIST += \
debian/ovn-host.postinst \
debian/ovn-host.postrm \
debian/ovn-host.template \
debian/ovs-monitor-ipsec \
debian/python-openvswitch.dirs \
debian/python-openvswitch.install \
debian/rules \
debian/rules.modules \
debian/ifupdown.sh \
debian/source/format

FLAKE8_PYFILES += \
debian/ovs-monitor-ipsec

check-debian-changelog-version:
@DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`; \
if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
Expand Down
24 changes: 0 additions & 24 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -178,30 +178,6 @@ Description: OVN Docker drivers
.
ovn-docker provides the docker drivers for OVN.

Package: openvswitch-ipsec
Architecture: linux-any
Depends: ipsec-tools (>=0.8~alpha20101208),
iproute2,
openvswitch-common (= ${binary:Version}),
openvswitch-switch (= ${binary:Version}),
python,
python-openvswitch (= ${source:Version}),
racoon (>=0.8~alpha20101208),
${misc:Depends},
${shlibs:Depends}
Description: Open vSwitch GRE-over-IPsec support
Open vSwitch is a production quality, multilayer, software-based,
Ethernet virtual switch. It is designed to enable massive network
automation through programmatic extension, while still supporting
standard management interfaces and protocols (e.g. NetFlow, IPFIX,
sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
to support distribution across multiple physical servers similar to
VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
.
The ovs-monitor-ipsec script provides support for encrypting GRE
tunnels with IPsec.
IPsec tunnels support is deprecated.

Package: openvswitch-pki
Architecture: all
Depends: openvswitch-common (<< ${source:Version}.1~),
Expand Down
1 change: 0 additions & 1 deletion debian/openvswitch-ipsec.dirs

This file was deleted.

203 changes: 0 additions & 203 deletions debian/openvswitch-ipsec.init

This file was deleted.

1 change: 0 additions & 1 deletion debian/openvswitch-ipsec.install

This file was deleted.

Loading

0 comments on commit 2b02d77

Please sign in to comment.