Skip to content

Commit

Permalink
Merge pull request #5417 from yalzhang/fix_multipath_ip6_route
Browse files Browse the repository at this point in the history
Skip the ipv6 default route check
  • Loading branch information
chloerh authored Jan 30, 2024
2 parents 95de37f + d9cd38d commit dcfe911
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions provider/virtual_network/passt.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ def check_default_gw(session):
if [x for x in vm_gw if x not in host_gw]:
raise exceptions.TestFail(
'Host default ipv4 gateway not consistent with vm.')
if not host_gw_v6:
LOG.debug("Skip ipv6 route check as host has multipath ipv6 route "
"which Passt can not recognize.")
return
if [x for x in vm_gw_v6 if x not in host_gw_v6]:
raise exceptions.TestFail(
'Host default ipv6 gateway not consistent with vm.')
Expand Down

0 comments on commit dcfe911

Please sign in to comment.