From: gvrangan Date: Tue, 11 Sep 2018 20:14:43 +0000 (+0530) Subject: SFC tests with 2 compute nodes X-Git-Tag: pre-potassium~543 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=4a714904f12cc897c7c0651ba0c832e7713eeaa3;p=integration%2Ftest.git SFC tests with 2 compute nodes - SF Instance will be creaetd in Compute2 if 2 compute nodes are used for testing - Oxygen tests will still use one compute node only Change-Id: I87e8512a654671b8e88445e5fe13c51d161874c1 Signed-off-by: gvrangan --- diff --git a/csit/suites/openstack/extensions/sfc.robot b/csit/suites/openstack/extensions/sfc.robot index 8c28f9d759..8c57459b6b 100644 --- a/csit/suites/openstack/extensions/sfc.robot +++ b/csit/suites/openstack/extensions/sfc.robot @@ -198,11 +198,12 @@ Create Ports For Testing OpenStackOperations.Get Suite Debugs Create Instances For Testing - BuiltIn.Comment Create one ubuntu instances and two cirros instances + ${SF_COMP_HOST} = BuiltIn.Set Variable If 2 < ${NUM_OS_SYSTEM} ${OS_CMP2_HOSTNAME} ${OS_CMP1_HOSTNAME} + BuiltIn.Comment Create one ubuntu instance and two cirros instances OpenStackOperations.Add New Image From Url ${CLOUD_IMAGE} ${CLOUD_IMAGE_NAME} OpenStackOperations.Create Flavor ${CLOUD_FLAVOR_NAME} 2048 4 OpenStackOperations.Generate And Add Keypair sfctest odlsfctest - OpenStackOperations.Create Vm Instance With Ports And Key On Compute Node p1in p1out sf1 ${OS_CMP1_HOSTNAME} image=${CLOUD_IMAGE_NAME} flavor=${CLOUD_FLAVOR_NAME} + OpenStackOperations.Create Vm Instance With Ports And Key On Compute Node p1in p1out sf1 ${SF_COMP_HOST} image=${CLOUD_IMAGE_NAME} flavor=${CLOUD_FLAVOR_NAME} ... sg=${SECURITY_GROUP} keyname=sfctest OpenStackOperations.Create Vm Instance With Port On Compute Node source_vm_port sourcevm ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP} flavor=cirros256 OpenStackOperations.Create Vm Instance With Port On Compute Node dest_vm_port destvm ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP} flavor=cirros256