*** Settings ***
Documentation Robot keyword library (Resource) for handling the GoBgp tool.
-...
+...
... Copyright (c) 2020 Lumina Networks 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
-...
-...
+...
+...
... This library assumes that a SSH connection exists (and is switched to)
... to a Linux machine (usualy TOOLS_SYSTEM) where the GoBgp should be run.
-...
+...
Library Process
Library SSHLibrary
Resource ${CURDIR}/BGPcliKeywords.robot
[Arguments] ${cfg_file}
[Documentation] Dump the start command into prompt. It assumes that no gobgp is running. For verified
... start use Start_GoBgp_And_Verify_Connected keyword.
- ${start_cmd}= ${GOBGP_EXECUTION_COMMAND} /home/jenkins/${cfg_file}
+ ${start_cmd} BuiltIn.Set Variable ${GOBGP_EXECUTION_COMMAND} /home/jenkins/${cfg_file}
BuiltIn.Log ${start_cmd}
${output}= SSHLibrary.Write ${start_cmd}
BuiltIn.Log ${output}