Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ has_chain
Method
has_chain
systemvm/debian/opt/cloud/bin/cs/CsNetfilter.py:53–58 ·
view source on GitHub ↗
(self, table, chain)
Source
from the content-addressed store, hash-verified
51
return
self.last_added
52
53
def
has_chain(self, table, chain):
54
if
table not in list(self.chain.keys()):
55
return
False
56
if
chain not in self.chain[table]:
57
return
False
58
return
True
59
60
61
class
CsTable(object):
Callers
1
has_chain
Method · 0.45
Calls
1
keys
Method · 0.80
Tested by
no test coverage detected