fernandodebrando / p4-int

P4 INT - In-Band Network Telemetry
10 stars 5 forks source link

IndexError in save_topology method #2

Open ahmedkh91 opened 2 years ago

ahmedkh91 commented 2 years ago

when I run using : (sudo p4run) I am getting this error message:

Traceback (most recent call last): File "/usr/local/bin/p4run", line 33, in sys.exit(load_entry_point('p4utils', 'console_scripts', 'p4run')()) File "/home/p4/p4-tools/p4-utils/p4utils/p4run.py", line 739, in main verbosity=args.verbosity) File "/home/p4/p4-tools/p4-utils/p4utils/p4run.py", line 359, in init self.startNetwork() File "/home/p4/p4-tools/p4-utils/p4utils/mininetlib/network_API.py", line 1120, in startNetwork self.save_topology() File "/home/p4/p4-tools/p4-utils/p4utils/mininetlib/network_API.py", line 204, in save_topology subnet1 = _prefixLenMatchRegex.findall(intf1.ifconfig())[0] IndexError: list index out of range image

Fu-LianPeng commented 1 year ago

have you solved this problem? I also meet this problem,if you have solution ,can you please teach me