Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ isBridgePort
Method
isBridgePort
python/lib/cloudutils/networkConfig.py:100–101 ·
view source on GitHub ↗
(devName)
Source
from the content-addressed store, hash-verified
98
99
@staticmethod
100
def
isBridgePort(devName):
101
return
os.path.exists(
"/sys/class/net/%s/brport"
% devName)
102
103
@staticmethod
104
def
isBridge(devName):
Callers
1
getDevInfo
Method · 0.80
Calls
1
exists
Method · 0.65
Tested by
no test coverage detected