Introduction

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.

Keywords

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.

Arguments

cfg_file session gobgp_ip connection_retries
= ${3}

Documentation

Starts the GoBgp and verifies its connection. The verification is done by checking the presence of the peer in the bgp rib. [Gobgp at times might take more time, hence the loop]

Documentation

Sends kill command to stop all Gobgps running

Documentation

Stops the GoBgp by sending ctrl+c

Arguments

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

Documentation

Checks peer presence in operational datastore

GoBgpLib

image/svg+xml