Remove VLAN from external network 61/53861/6
authorAlon Kochba <alonko@hpe.com>
Sun, 26 Mar 2017 12:36:22 +0000 (15:36 +0300)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 28 Apr 2017 22:39:54 +0000 (22:39 +0000)
Depends-On: https://git.opendaylight.org/gerrit/53688
Depends-On: https://git.opendaylight.org/gerrit/53860
Change-Id: Ic77bd09fb09c3a0166d7dff7405ffe4ae828e3b2
Signed-off-by: Alon Kochba <alonko@hpe.com>
csit/suites/openstack/connectivity/03_external_network_tests.robot
csit/suites/openstack/tempest/tempest.robot

index 924e27b60c1dcb60680541c9d4b411dfe835b087..fe81f16778ec0d347ae5822ad7ffceb30b41dd52 100644 (file)
@@ -28,7 +28,6 @@ ${external_subnet_allocation_pool}    start=10.10.10.2,end=10.10.10.249
 ${external_internet_addr}    10.9.9.9
 ${external_net_name}    external-net
 ${external_subnet_name}    external-subnet
-${network1_vlan_id}    167
 
 *** Test Cases ***
 Create All Controller Sessions
@@ -79,7 +78,7 @@ Check Vm Instances Have Ip Address
     ...    AND    Get Test Teardown Debugs
 
 Create External Network And Subnet
-    Create Network    ${external_net_name} --router:external --provider:network_type=vlan --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK} --provider:segmentation_id=${network1_vlan_id}
+    Create Network    ${external_net_name} --router:external --provider:network_type=flat --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK}
     Create Subnet    ${external_net_name}    ${external_subnet_name}    ${external_subnet}    --gateway ${external_gateway} --allocation-pool ${external_subnet_allocation_pool}
 
 Create Router
index 83abb20cb45641ddaf0048fb337097f80ffd791d..e6d0e7f547b165cafd2990363c9fb293214e5bd3 100644 (file)
@@ -27,7 +27,6 @@ ${external_subnet_name}    external-subnet
 ${external_gateway}    10.10.10.250
 ${external_subnet_allocation_pool}    start=10.10.10.2,end=10.10.10.249
 ${external_subnet}    10.10.10.0/24
-${network_vlan_id}    167
 
 *** Test Cases ***
 tempest.api.network
@@ -93,11 +92,7 @@ Log In To Tempest Executor And Setup Test Environment
     ${source_pwd}    Set Variable    yes
     Set Suite Variable    ${source_pwd}
     # Tempest tests need an existing external network in order to create routers.
-    : FOR    ${feature_name}    IN    @{legacy_feature_list}
-    \    ${feature_check_status}=    Run Keyword And Return Status    Verify Feature Is Installed    ${feature_name}
-    \    Exit For Loop If    '${feature_check_status}' == 'True'
-    Run Keyword If    '${feature_check_status}' == 'True'    Create Network    ${external_net_name}    --router:external --provider:network_type=flat --provider:physical_network=${external_physical_network}
-    ...    ELSE    Create Network    ${external_net_name}    --router:external --provider:network_type=vlan --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK} --provider:segmentation_id=${network_vlan_id}
+    Create Network    ${external_net_name}    --router:external --provider:network_type=flat --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK}
     Create Subnet    ${external_net_name}    ${external_subnet_name}    ${external_subnet}    --gateway ${external_gateway} --allocation-pool ${external_subnet_allocation_pool}
     List Networks
     ${control_node_conn_id}=    SSHLibrary.Open Connection    ${OS_CONTROL_NODE_IP}    prompt=${DEFAULT_LINUX_PROMPT_STRICT}