aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
diff options
context:
space:
mode:
authorFilip Krzywka <filip.krzywka@nokia.com>2019-04-02 10:34:35 +0200
committerFilip Krzywka <filip.krzywka@nokia.com>2019-04-02 10:43:08 +0200
commit999743afc44f44a1a0dce38dd1ddc15a7655ab7d (patch)
tree63e341d3eff1821095a467f9d2c8f33fa275f7cc /tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
parent614aeb8b2ebf4e6c1770c15a56f6c213d068a92d (diff)
Extract common variable to keyword
Change-Id: I34dc5690eb416e11aba7620c5df6a7784ecb693e Issue-ID: DCAEGEN2-1359 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot')
-rw-r--r--tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
index 3a37c9b0..1c925408 100644
--- a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
+++ b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
@@ -1,7 +1,7 @@
# ============LICENSE_START=======================================================
# csit-dcaegen2-collectors-hv-ves
# ================================================================================
-# Copyright (C) 2018 NOKIA
+# Copyright (C) 2018-2019 NOKIA
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,6 +22,12 @@ Library VesHvContainersUtilsLibrary
Library Collections
*** Keywords ***
+Configure Single xNF Simulator
+ ${XNF_PORTS_LIST}= Create List 7000
+ ${XNF_SIMULATORS_ADDRESSES}= Configure xNF Simulators ${XNF_PORTS_LIST}
+ ${XNF_SIMULATOR}= Get Slice From List ${XNF_SIMULATORS_ADDRESSES} 0 1
+ Set Suite Variable ${XNF_SIMULATOR}
+
Configure xNF Simulators Using Valid Certificates On Ports
[Arguments] ${XNF_PORTS_LIST}
${VALID_XNF_SIMULATORS_ADDRESSES}= Configure xNF Simulators ${XNF_PORTS_LIST}