Introduction

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.

Keywords

Arguments

cfg_file

Documentation

Dump the start command into prompt. It assumes that no exabgp is running. For verified start use Start_ExaBgp_And_Verify_Connected keyword.

Arguments

cfg_file session exabgp_ip connection_retries
= ${3}

Documentation

Starts the ExaBgp and verifies its connection. The verification is done by checking the presence of the peer in the bgp rib.

Documentation

Sends kill command to stop all exabgps running

Documentation

Stops the ExaBgp by sending ctrl+c

Arguments

bgp_var_folder cfg_file

Documentation

Uploads exabgp config files.

Arguments

session exabgp_ip
= ${TOOLS_SYSTEM_IP}
connected
= ${True}

Documentation

Checks peer presence in operational datastore

ExaBgpLib

image/svg+xml