Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
createBridge
Method · 0.80
isBridgeEnslavedWithDevices
Method · 0.80
getDevInfo
Method · 0.80
isPreConfiged
Method · 0.80
Calls
1
exists
Method · 0.65
Tested by
no test coverage detected