Changed the file 010__vpn.robot and added testplan
authorSindhuri <sindhuri.b@ericsson.com>
Fri, 15 May 2015 17:51:16 +0000 (10:51 -0700)
committerJamo Luhrsen <james.luhrsen@hp.com>
Sat, 16 May 2015 05:27:12 +0000 (05:27 +0000)
Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
Change-Id: If7baea44513e41efd4202d266d77079486e2f678

test/csit/suites/vpnservice/010__verify_feature.robot [moved from test/csit/suites/vpnservice/010__vpn.robot with 54% similarity]
test/csit/testplans/vpnservice.txt [new file with mode: 0644]

similarity index 54%
rename from test/csit/suites/vpnservice/010__vpn.robot
rename to test/csit/suites/vpnservice/010__verify_feature.robot
index 0d1bd8ea4792ba29ccb3d3e410d6b7fd0adba2d4..d4e441e2f2511ab4cb8bc94c9d00abb9c77f0254 100644 (file)
@@ -1,5 +1,5 @@
 *** Settings ***
-Documentation     Test Suite that installs vpn service features, verifies the features and corresponding bundles are installed.Uninstalls the features and verifies the corresponding features and bundles are uninstalled.
+Documentation     Test Suite that, verifies the features and corresponding bundles are installed.
 Resource          ../../libraries/KarafKeywords.txt
 
 *** Variables ***
@@ -8,11 +8,6 @@ Resource          ../../libraries/KarafKeywords.txt
 @{MESSAGE_STRING_LIST}    VpnserviceProvider Session Initiated    InterfacemgrProvider Session Initiated    NexthopmgrProvider Session Initiated    IDManagerserviceProvider Session Initiated    FibManagerProvider Session Initiated    BgpManager Session Initiated
 
 *** Test Cases ***
-Install the VPN Service features
-    [Documentation]    Installs the vpn service featues by executing command "feature:install odl-vpnservice-core" in karaf console
-    [Tags]    Install VPN Features
-    ${output}=    Issue Command On Karaf Console    feature:install odl-vpnservice-core    timeout=120 seconds
-
 Verify if the VPN Service features are installed for vpnservice
     [Documentation]    Executes command "feature list -i | grep <feature_name>" in karaf console and checks if output \ contain \ the specific features.
     [Tags]    Verify Feature
@@ -29,21 +24,3 @@ Verify if the sessions for bundles got initiated
     [Documentation]    Executes"log:display | grep vpnservice" command in karaf console and verifies the logs for session initiation
     [Tags]    Verify Session
     Wait Until Keyword Succeeds    240 seconds    30 seconds    Check Karaf Log Has Messages    vpnservice    @{MESSAGE_STRING_LIST}
-
-Uninstall the VPN Service Features
-    [Documentation]    Uninstalls the VPN Service feature by executing command "feature:uninstall <feature name>" in karaf console
-    [Tags]    Uninstall VPN features
-    : FOR    ${feature}    IN    @{FEATURE_LIST}
-    \    ${output}=    Issue Command On Karaf Console    feature:uninstall ${feature}    timeout=30 seconds
-
-Verify if the VPN Service features are uninstalled
-    [Documentation]    Executes command "feature:list -i | grep <feature name>" in karaf console and checks if the output does not contain the specific features
-    [Tags]    Verify No Feature
-    : FOR    ${feature}    IN    @{FEATURE_LIST}
-    \    Verify Feature Is Not Installed    ${feature}
-
-Verify if the VPN Bundles are not loaded
-    [Documentation]    Executes "bundle:list -s | grep <bundle name>" command and checks if the output does not contain the specific bundles.
-    [Tags]    Verify No Bundles
-    : FOR    ${bundle}    IN    @{BUNDLE_LIST}
-    \    Verify Bundle Is Not Installed    ${bundle}
diff --git a/test/csit/testplans/vpnservice.txt b/test/csit/testplans/vpnservice.txt
new file mode 100644 (file)
index 0000000..3b48e16
--- /dev/null
@@ -0,0 +1,2 @@
+# Place the suites in run order:
+integration/test/csit/suites/vpnservice/