*** Settings ***
Documentation Basic tests for iBGP peers.
-...
+...
... Copyright (c) 2015-2018 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
-...
+...
... Test suite performs basic iBGP functional test cases for
... BGP peers in different roles (iBGP, iBGP RR-client):
-...
+...
... Test Case 1: Two iBGP RR-client peers introduce prefixes
... Expected result: controller forwards updates towards both peers
-...
+...
... Test Case 2: Two iBGP peers: one RR client and one non-client introduces prefixes
... Expected result: controller forwards updates towards both peers
-...
+...
... Test Case 3: Two iBGP RR non-client peers introduce prefixes
... Expected result: controller does not forward any update towards peers
-...
+...
... Test Case 4: Two iBGP(play.py) RR-client peers configured, first of them configured
... with route-reflector-cluster-id, second inherits it's cluster-id from global config.
... Each of them introduces 3 prefixes.
... Expected result: controller forwards updates towards both peers and each of their
... adj-rib-in contains routes. First peer should contain default cluster-id and
... second cluster-id from first peers configuration.
-...
+...
... For polices see: https://wiki.opendaylight.org/view/BGP_LS_PCEP:BGP
Suite Setup Setup_Everything
Suite Teardown BgpOperations.Teardown_Everything
${BGP_PEER2_PREFIX_COUNT} ${PREFIX_COUNT}
${BGP_PEER1_LOG_FILE} bgp_peer1.log
${BGP_PEER2_LOG_FILE} bgp_peer2.log
-${BGP_PEER1_COMMAND} python play.py --firstprefix ${BGP_PEER1_FIRST_PREFIX_IP} --prefixlen ${BGP_PEER1_PREFIX_LEN} --amount ${BGP_PEER1_PREFIX_COUNT} --myip=${BGP_PEER1_IP} --myport=${BGP_TOOL_PORT} --peerip=${ODL_SYSTEM_IP} --peerport=${ODL_BGP_PORT} --${BGP_PEER_LOG_LEVEL} --logfile ${BGP_PEER1_LOG_FILE}
-${BGP_PEER2_COMMAND} python play.py --firstprefix ${BGP_PEER2_FIRST_PREFIX_IP} --prefixlen ${BGP_PEER2_PREFIX_LEN} --amount ${BGP_PEER2_PREFIX_COUNT} --myip=${BGP_PEER2_IP} --myport=${BGP_TOOL_PORT} --peerip=${ODL_SYSTEM_IP} --peerport=${ODL_BGP_PORT} --${BGP_PEER_LOG_LEVEL} --logfile ${BGP_PEER2_LOG_FILE}
+${BGP_PEER1_COMMAND} python3 play.py --firstprefix ${BGP_PEER1_FIRST_PREFIX_IP} --prefixlen ${BGP_PEER1_PREFIX_LEN} --amount ${BGP_PEER1_PREFIX_COUNT} --myip=${BGP_PEER1_IP} --myport=${BGP_TOOL_PORT} --peerip=${ODL_SYSTEM_IP} --peerport=${ODL_BGP_PORT} --${BGP_PEER_LOG_LEVEL} --logfile ${BGP_PEER1_LOG_FILE}
+${BGP_PEER2_COMMAND} python3 play.py --firstprefix ${BGP_PEER2_FIRST_PREFIX_IP} --prefixlen ${BGP_PEER2_PREFIX_LEN} --amount ${BGP_PEER2_PREFIX_COUNT} --myip=${BGP_PEER2_IP} --myport=${BGP_TOOL_PORT} --peerip=${ODL_SYSTEM_IP} --peerport=${ODL_BGP_PORT} --${BGP_PEER_LOG_LEVEL} --logfile ${BGP_PEER2_LOG_FILE}
${BGP_PEER1_OPTIONS} &>${BGP_PEER1_LOG_FILE}
${BGP_PEER2_OPTIONS} &>${BGP_PEER2_LOG_FILE}
${DEFAULT_LOG_CHECK_TIMEOUT} 20s