Update Full stack config

Fixing the config for fullstack tests to use new netvirt
and force the creation of br-int.

Change-Id: I33e230b9fcf9333f6c588a964fc7c38285628723
This commit is contained in:
Manjeet Singh Bhatia
2017-07-10 20:31:32 +00:00
parent a5cd8b3bf5
commit eaa9ab1d39
3 changed files with 7 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ if is_service_enabled odl-compute; then
create_nova_conf_neutron
fi
bind_opendaylight_controller
sudo ovs-vsctl --may-exist add-br $OVS_BR
wait_for_active_bridge $OVS_BR $ODL_RETRY_SLEEP_INTERVAL $ODL_BOOT_WAIT
# L3 needs to be configured only for netvirt-ovsdb - in netvirt-vpnservice L3 is configured

View File

@@ -6,6 +6,7 @@ set -xe
GATE_DEST=$BASE/new
DEVSTACK_PATH=$GATE_DEST/devstack
# for localrc_set
ODL_NETVIRT_COMMON=odl-neutron-service,odl-restconf-all,odl-aaa-authn
source $DEVSTACK_PATH/inc/ini-config
case "$ODL_RELEASE_BASE" in
@@ -99,7 +100,9 @@ case "$ODL_RELEASE_BASE" in
ODL_NETVIRT_KARAF_FEATURE=$ODL_NETVIRT_KARAF_FEATURE,odl-neutron-logger
;;
carbon-snapshot|nitrogen-snapshot)
ODL_NETVIRT_KARAF_FEATURE=$ODL_NETVIRT_KARAF_FEATURE,odl-neutron-logger,odl-neutron-hostconfig-ovs
ODL_NETVIRT_KARAF_FEATURE=$ODL_NETVIRT_COMMON,odl-netvirt-openstack,odl-neutron-logger,odl-neutron-hostconfig-ovs
ODL_GATE_SERVICE_PROVIDER="netvirt"
ODL_MAPPING_KEY="public"
;;
*)
;;

View File

@@ -190,7 +190,8 @@ function _install_opendaylight {
ODL_NETVIRT_KARAF_FEATURE=odl-neutron-service,odl-restconf-all,odl-aaa-authn,odl-dlux-core,odl-mdsal-apidocs,odl-neutron-logger
if [[ "$VENV" =~ "fullstack" ]]; then
# TODO: in future switch to new netvirt
ODL_NETVIRT_KARAF_FEATURE=odl-neutron-service,odl-restconf-all,odl-aaa-authn,odl-dlux-core,odl-mdsal-apidocs,odl-ovsdb-openstack,odl-neutron-logger
ODL_NETVIRT_KARAF_FEATURE=odl-neutron-service,odl-restconf-all,odl-aaa-authn,odl-dlux-core,odl-mdsal-apidocs,odl-netvirt-openstack,odl-neutron-logger
ODL_PROVIDER_MAPPINGS=public:${Q_PUBLIC_VETH_INT}
fi
ODL_BOOT_WAIT_URL=controller/nb/v2/neutron/networks
source $NETWORKING_ODL_DIR/devstack/settings.odl