mirror of
https://github.com/openvswitch/ovs
synced 2025-08-29 05:18:13 +00:00
This patch adds system tests for OVS IPsec using Libreswan. If Libreswan is not present on the system, the tests will be skipped. These tests set up an underlay switch with bridge 'br0' to carry encrypted traffic between two emulated "nodes". Each "node" is a separate network namespace ('left' and 'right') and runs an instance of the Libreswan "pluto" daemon, ovs-monitor-ipsec, ovs-vswitch and ovsdb-server. Each test sets up IPsec between the two emulated "nodes" using various configurations (currently tunnel type, IPv6/IPv6, authentication method, local_ip). After configuration, connectivity between the two nodes is tested and the underlay traffic is also inspected to ensure the traffic is encrypted. All IPsec system tests can be run by using the ipsec keyword: sudo make check-kernel TESTSUITEFLAGS='-k ipsec' Signed-off-by: Mark Gray <mark.d.gray@redhat.com> Acked-by: Aaron Conole <aconole@redhat.com> Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
29 lines
984 B
Plaintext
29 lines
984 B
Plaintext
AT_INIT
|
|
|
|
AT_COPYRIGHT([Copyright (c) 2015 Nicira, Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at:
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.])
|
|
|
|
m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS])
|
|
|
|
m4_include([tests/ovs-macros.at])
|
|
m4_include([tests/ovsdb-macros.at])
|
|
m4_include([tests/ofproto-macros.at])
|
|
m4_include([tests/system-common-macros.at])
|
|
m4_include([tests/system-kmod-macros.at])
|
|
|
|
m4_include([tests/system-traffic.at])
|
|
m4_include([tests/system-layer3-tunnels.at])
|
|
m4_include([tests/system-interface.at])
|
|
m4_include([tests/system-ipsec.at])
|