zuul: add OVN VPNaaS tempest job with swanctl legacy mode
Add ``neutron-tempest-plugin-vpnaas-ovn-sswan-legacy`` job inheriting from ``neutron-tempest-plugin-vpnaas-ovn`` with ``STRONGSWAN_USE_SWANCTL: False``. Add it to check and periodic-weekly. Expose ``STRONGSWAN_USE_SWANCTL`` in devstack settings and configure ``[strongswan] use_swanctl`` for the L3 and OVN VPN agents when set. Related-Bug: #2160165 Assisted-By: qwen3.6-35b-a3b Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Change-Id: Id4e4f22d85e5d9aad32f34e53d0d3a7ad0596211
This commit is contained in:
1 parent
b0b5a5e9b2
commit
23c525a0df
2 files changed
+16
No files matched your search
@@ -24,6 +24,7 @@
|
||||
- neutron-vpnaas-functional-lswan
|
||||
- neutron-tempest-plugin-vpnaas
|
||||
- neutron-tempest-plugin-vpnaas-ovn
|
||||
- neutron-tempest-plugin-vpnaas-ovn-sswan-legacy
|
||||
- neutron-tempest-plugin-vpnaas-ovn-lswan
|
||||
gate:
|
||||
jobs:
|
||||
@@ -49,6 +50,7 @@
|
||||
- openstack/neutron
|
||||
- neutron-tempest-plugin-vpnaas
|
||||
- neutron-tempest-plugin-vpnaas-ovn
|
||||
- neutron-tempest-plugin-vpnaas-ovn-sswan-legacy
|
||||
- neutron-tempest-plugin-vpnaas-ovn-lswan
|
||||
- neutron-vpnaas-functional-sswan
|
||||
- neutron-vpnaas-functional-lswan
|
||||
@@ -63,6 +65,13 @@
|
||||
devstack_localrc:
|
||||
IPSEC_PACKAGE: libreswan
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-plugin-vpnaas-ovn-sswan-legacy
|
||||
parent: neutron-tempest-plugin-vpnaas-ovn
|
||||
vars:
|
||||
devstack_localrc:
|
||||
STRONGSWAN_USE_SWANCTL: False
|
||||
|
||||
- job:
|
||||
name: neutron-vpnaas-functional-sswan
|
||||
parent: neutron-functional
|
||||
|
||||
@@ -50,6 +50,9 @@ function neutron_vpnaas_configure_agent {
|
||||
else
|
||||
iniset_multiline $NEUTRON_L3_CONF vpnagent vpn_device_driver $NEUTRON_VPNAAS_DEVICE_DRIVER
|
||||
fi
|
||||
if [[ "$STRONGSWAN_USE_SWANCTL" == "False" ]]; then
|
||||
iniset $NEUTRON_L3_CONF strongswan use_swanctl False
|
||||
fi
|
||||
}
|
||||
|
||||
function neutron_vpnaas_configure_ovn_agent {
|
||||
@@ -71,6 +74,10 @@ function neutron_vpnaas_configure_ovn_agent {
|
||||
iniset_multiline $OVN_VPNAGENT_CONF vpnagent vpn_device_driver $NEUTRON_VPNAAS_DEVICE_DRIVER
|
||||
fi
|
||||
|
||||
if [[ "$STRONGSWAN_USE_SWANCTL" == "False" ]]; then
|
||||
iniset $OVN_VPNAGENT_CONF strongswan use_swanctl False
|
||||
fi
|
||||
|
||||
OVSDB_SERVER_LOCAL_HOST=$SERVICE_LOCAL_HOST
|
||||
if [[ "$SERVICE_IP_VERSION" == 6 ]]; then
|
||||
OVSDB_SERVER_LOCAL_HOST=[$OVSDB_SERVER_LOCAL_HOST]
|
||||
|
||||
Reference in new issue
Block a user