mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-10081: CloudUtils getDevInfo function will now return "bridge" instead of "dev" when the name of a ovs bridge is passed.
This commit is contained in:
parent
41fdb88970
commit
9c7cd8c248
|
|
@ -154,7 +154,7 @@ class networkConfig:
|
|||
|
||||
if networkConfig.isBridgePort(dev):
|
||||
type = "brport"
|
||||
elif networkConfig.isBridge(dev):
|
||||
elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):
|
||||
type = "bridge"
|
||||
else:
|
||||
type = "dev"
|
||||
|
|
|
|||
Loading…
Reference in New Issue