Skip to content

Commit 0ec2bb9

Browse files
authored
Fix show ip bgp neighbors cmd (#1680)
1 parent 2ccf40b commit 0ec2bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/test/files/ptftests/sad_path.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def verify_bgp_dut_state(self, state='Idle'):
431431
if key not in ['v4', 'v6']:
432432
continue
433433
self.log.append('Verifying if the DUT side BGP peer %s is %s' % (self.neigh_bgps[vm][key], states))
434-
stdout, stderr, return_code = self.dut_connection.execCommand('show ip bgp neighbor %s' % self.neigh_bgps[vm][key])
434+
stdout, stderr, return_code = self.dut_connection.execCommand('show ip bgp neighbors %s' % self.neigh_bgps[vm][key])
435435
if return_code == 0:
436436
for line in stdout:
437437
if 'BGP state' in line:

0 commit comments

Comments
 (0)