Skip to content

Commit

Permalink
CLOUDSTACK-10081: CloudUtils getDevInfo function will now return "bri…
Browse files Browse the repository at this point in the history
…dge" instead of "dev" when the name of a ovs bridge is passed.
  • Loading branch information
Sigert Goeminne authored and fmaximus committed Oct 30, 2017
1 parent 41fdb88 commit 9c7cd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lib/cloudutils/networkConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def getDevInfo(dev):

if networkConfig.isBridgePort(dev):
type = "brport"
elif networkConfig.isBridge(dev):
elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):
type = "bridge"
else:
type = "dev"
Expand Down

0 comments on commit 9c7cd8c

Please sign in to comment.