Additional Test for varying afi-safis
[integration/test.git] / csit / suites / netconf / restperfclient / mdsal.robot
index 00c5725a44a09e00c785e5814102e58b4f0ec294..150ba5c89896da9e818b7c21d5b529b77f7c4489 100644 (file)
@@ -1,13 +1,13 @@
 *** Settings ***
 Documentation     netconf-restperfclient MDSAL performance test suite.
-...
+...           
 ...               Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
-...
+...           
 ...               This program and the accompanying materials are made available under the
 ...               terms of the Eclipse Public License v1.0 which accompanies this distribution,
 ...               and is available at http://www.eclipse.org/legal/epl-v10.html
-...
-...
+...           
+...           
 ...               Perform given count of update operations on ODL MDSAL. In first half the
 ...               requests are directed directly to MDSAL via Restconf and in the second
 ...               half the MDSAL is mounted onto a netconf connector and the reqursts are
@@ -33,8 +33,8 @@ Variables         ${CURDIR}/../../../variables/Variables.py
 
 *** Variables ***
 ${DIRECTORY_WITH_TEMPLATE_FOLDERS}    ${CURDIR}/../../../variables/netconf/RestPerfClient
-${REQUEST_COUNT}    65536
-${device_type}    default
+${REQUEST_COUNT}    16384
+${device_type}    full-uri-device
 ${test_device}    odl-mdsal-northbound-via-netconf-connector
 
 *** Test Cases ***
@@ -114,10 +114,12 @@ Setup_Everything
     SetupUtils.Setup_Utils_For_Setup_And_Teardown
     NetconfKeywords.Setup_Netconf_Keywords
     RestPerfClient.Setup_Restperfclient
+    ${device_type}=    BuiltIn.Set_Variable_If    ${USE_NETCONF_CONNECTOR}==${True}    default    ${device_type}
+    BuiltIn.Set_Suite_Variable    ${device_type}
     # Calculate timeouts
     ${value}=    BuiltIn.Evaluate    ${REQUEST_COUNT}/50+10
     Utils.Set_User_Configurable_Variable_Default    DIRECT_MDSAL_TIMEOUT    ${value} s
-    ${value}=    BuiltIn.Evaluate    ${REQUEST_COUNT}/10+10
+    ${value}=    BuiltIn.Evaluate    ${REQUEST_COUNT}/10+20
     Utils.Set_User_Configurable_Variable_Default    NETCONF_CONNECTOR_MDSAL_TIMEOUT    ${value} s
 
 Teardown_Everything