In stateless SG there is no connection track so TCP packet of any type
should be allowed by SG. This patch adds test which spawns 2 vms,
connected to 2 different networks and the same router. Both vms are
using different stateless SGs. Finally test asserts that packets of any
of the TCP type (syn, ack, syn-ack, psh, rst, fin) sent from one of the
vms can reach second one.
Change-Id: I23a4b282c83101526af05aa309d578aecaef1fa9
Ubuntu minimal is smaller than regular cloud image.
It should works fine with less memory and boot faster than in
the gates.
Change-Id: Ie281698ecef05fd7ddf831eabd0e0121ac477709
CI jobs for this plugin use DevStack to install and configure
OpenStack and to upload guest images to be used for tests.
This change allow to customize guest images just before
being sent to image service with the purpose of installing
new packages (like socat), configuring N network devices, etc.
This change has been created because for testing multicast
socat is required, but it was designed with the idea
of being used to allow further guest images customizations.
Change-Id: I88491dbb65031fe3743d1c3d27c38a57b5511794
The script is intended to be used from any openstack deployment system
as TripleO, Devstack, etc. to prepare ubuntu guest images before being
uploaded to OpenStack image service.
It has not been possible to virt-customize because of below Ubuntu bugs:
- https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1632405
- https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1650740
It has therefore been adopted a more low level strategy performing below
steps:
- mount guest image to a temporary folder
- set up an environment suitable for executing chroot
- execute customize_image function inside chroot environment
- cleanup chroot environment
Packages required by the script:
- libguestfs-tools
Packages installed on customized guest images:
- socat (for advance network feature testing, like multicast)
This change has been created because for testing multicast
socat is required, but it was designed with the idea
of being used to allow further guest images customizations.
Change-Id: Ia60991d9170495e9d41f583765b24d6cdf442639