]> git.puffer.fish Git - mirror/frr.git/commit
topotests: precise importation folder 7607/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 24 Nov 2020 13:10:16 +0000 (13:10 +0000)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 25 Nov 2020 16:31:45 +0000 (16:31 +0000)
commit10870bbc206f79dc125f33fe6962fe2ac873ada1
treeddc13695229ce2867dc2aa4641336572fa29eb18
parentecff3c7a0c2c8a9e9bef51e6683e716cc458bea0
topotests: precise importation folder

the topolog importation folder must be precised. otherwise following
error message appears:

root@dut-vm:~/topotests/bgp_flowspec# python3 test_bgp_flowspec_topo.py
Traceback (most recent call last):
  File "test_bgp_flowspec_topo.py", line 96, in <module>
    from lib.lutil import lUtil
  File "/root/topotests/bgp_flowspec/../lib/lutil.py", line 25, in <module>
    from topolog import logger
ImportError: No module named 'topolog'
root@dut-vm:~/topotests/bgp_flowspec#

The same error occurs with lutil and bgprib which are 2 libraries
located under lib/ folder. Some precisions are added too.

PR=71290
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
20 files changed:
tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py
tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/adjacencies.py
tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/check_routes.py
tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/cleanup_all.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/add_routes.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/adjacencies.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_vrf.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/cleanup_all.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/del_bgp_instances.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/notification_check.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py
tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
tests/topotests/bgp_rfapi_basic_sanity/scripts/check_close.py
tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py
tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py
tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py
tests/topotests/lib/lutil.py