*** 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
*** 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 ***
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