*** Settings ***
Documentation Robot keyword library (Resource) for handling the BGP speaker Python utilities.
...
-... Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+... Copyright (c) 2015,2017 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,
... Aside BGP Speaker utility, there is also BGP Manager starting utilities in parallel.
... For purpose of dumping logs and killing, Manager behaves the same as Speaker.
...
+... TODO: RemoteBash.robot contains logic which could be reused here.
+...
+... TODO: Update the following TODOs, as SSHKeywords.robot was introduced.
... TODO: The Utils.robot library has a "Run Command On Remote System" if we didn't
... want to make the assumption that an SSH connection was already open.
... alternative TODO: Explain that it is not worth to perform separate SSH logins.
Start_BGP_Manager
[Arguments] ${arguments}
[Documentation] Start the BGP manager python utility. Redirect its error output to a log file.
- ${command}= BuiltIn.Set_Variable python manage_play.py ${arguments} &> ${BGPSpeaker__OUTPUT_LOG}
+ ${command}= BuiltIn.Set_Variable python play.py ${arguments} &> ${BGPSpeaker__OUTPUT_LOG}
BuiltIn.Log ${command}
${output}= SSHLibrary.Write ${command}