Skip to content

Commit

Permalink
try to use default nets first
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jun 6, 2024
1 parent a835f42 commit e370426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IM/connectors/OpenStack.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,8 @@ def get_ost_network_info(driver, pool_names):
if (
"default" in ost_net.name or
"is_default" in ost_net.extra and ost_net.extra['is_default'] or
"tags" in ost_net.extra and "default" in ost_net.extra['tags']
"tags" in ost_net.extra and "default" in ost_net.extra['tags'] or
"description" in ost_net.extra and "default" in ost_net.extra['description']
):
first.append(ost_net)
else:
Expand Down

0 comments on commit e370426

Please sign in to comment.