Library scope: | GLOBAL |
---|
Robot keyword library (Resource) for handling the ExaBgp tool.
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
This library assumes that a SSH connection exists (and is switched to) to a Linux machine (usualy TOOLS_SYSTEM) where the ExaBgp should be run.
TODO: RemoteBash.robot contains logic which could be reused here.
Dump the start command into prompt. It assumes that no exabgp is running. For verified start use Start_ExaBgp_And_Verify_Connected keyword.
Starts the ExaBgp and verifies its connection. The verification is done by checking the presence of the peer in the bgp rib.
Sends kill command to stop all exabgps running
Stops the ExaBgp by sending ctrl+c
Uploads exabgp config files.
Checks peer presence in operational datastore