MCPcopy Create free account
hub / github.com/apache/cloudstack / isBridge

Method isBridge

python/lib/cloudutils/networkConfig.py:104–105  ·  view source on GitHub ↗
(devName)

Source from the content-addressed store, hash-verified

102
103 @staticmethod
104 def isBridge(devName):
105 return os.path.exists("/sys/class/net/%s/bridge" % devName)
106
107 @staticmethod
108 def isOvsBridge(devName):

Callers 4

createBridgeMethod · 0.80
getDevInfoMethod · 0.80
isPreConfigedMethod · 0.80

Calls 1

existsMethod · 0.65

Tested by

no test coverage detected