]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: Fix tests using exabgp to explicitly call out which python to use
authorDonald Sharp <sharpd@pinkbelly.org>
Sat, 20 Nov 2021 00:18:30 +0000 (19:18 -0500)
committerDonald Sharp <sharpd@pinkbelly.org>
Sun, 21 Nov 2021 00:36:40 +0000 (19:36 -0500)
There exist systems that do not explicity have a python soft-link
on their system.  Let's explicity call out which python we want
to be using with exabgp.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
36 files changed:
tests/topotests/bgp_ecmp_topo1/peer1/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer10/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer11/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer12/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer13/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer14/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer15/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer16/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer17/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer18/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer19/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer2/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer20/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer3/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer4/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer5/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer6/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer7/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer8/exa-send.py
tests/topotests/bgp_ecmp_topo1/peer9/exa-send.py
tests/topotests/bgp_ecmp_topo1/test_bgp_ecmp_topo1.py
tests/topotests/bgp_multiview_topo1/peer1/exa-send.py
tests/topotests/bgp_multiview_topo1/peer2/exa-send.py
tests/topotests/bgp_multiview_topo1/peer3/exa-send.py
tests/topotests/bgp_multiview_topo1/peer4/exa-send.py
tests/topotests/bgp_multiview_topo1/peer5/exa-send.py
tests/topotests/bgp_multiview_topo1/peer6/exa-send.py
tests/topotests/bgp_multiview_topo1/peer7/exa-send.py
tests/topotests/bgp_multiview_topo1/peer8/exa-send.py
tests/topotests/bgp_peer_type_multipath_relax/peer1/exa_readpipe.py
tests/topotests/bgp_peer_type_multipath_relax/peer2/exa_readpipe.py
tests/topotests/bgp_peer_type_multipath_relax/peer3/exa_readpipe.py
tests/topotests/bgp_peer_type_multipath_relax/peer4/exa_readpipe.py
tests/topotests/bgp_vrf_netns/peer1/exa-send.py
tests/topotests/pim_basic/mcast-rx.py
tests/topotests/pim_basic/mcast-tx.py

index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index d9ae3d1906430efa838c01fe026cf9d729a3ab05..6bef35508f9b25b2390d151f70ccc984a045d7c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index 7b9ef0a505f103a7b3eddf01aa995948c28008de..982a076bfb34e9a68e17528cf6aba602174c2203 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #
 # test_bgp_ecmp_topo1.py
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index fbb73f5b6a6197bbdbfc4c552b3ae57e4405fcf8..09f6ea59e5fbed5b3a131503f4a3f1129342ca7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index 9e689a27e331d95334e4c75c9fa905146029526b..0f998c16131c855efefcc86689990aedd52e1b1d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 "Helper script to read api commands from a pipe and feed them to ExaBGP"
 
 import sys
index 9e689a27e331d95334e4c75c9fa905146029526b..0f998c16131c855efefcc86689990aedd52e1b1d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 "Helper script to read api commands from a pipe and feed them to ExaBGP"
 
 import sys
index 9e689a27e331d95334e4c75c9fa905146029526b..0f998c16131c855efefcc86689990aedd52e1b1d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 "Helper script to read api commands from a pipe and feed them to ExaBGP"
 
 import sys
index 9e689a27e331d95334e4c75c9fa905146029526b..0f998c16131c855efefcc86689990aedd52e1b1d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 "Helper script to read api commands from a pipe and feed them to ExaBGP"
 
 import sys
index 9279cc45ff3c80730bb7e15a9a8e9713d5490511..ab0eb8ce8f96073f49a425b585c0b12e45f543a1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 exa-send.py: Send a few testroutes with ExaBGP
index 862ad46af4b38797d2a2581d87c026a35c311b6a..885337666a17579df52036c7684715a56324632f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # mcast-rx.py
 #
index 87038ad5cf99c1da18ac347d3af41e1ca9576aeb..88c234573fff607a5bc0cfec237b492566554524 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # mcast-tx.py
 #