MCPcopy
hub / github.com/evilsocket/opensnitch / get_node

Method get_node

ui/opensnitch/nodes.py:165–169  ·  view source on GitHub ↗
(self, addr)

Source from the content-addressed store, hash-verified

163 return self._nodes
164
165 def get_node(self, addr):
166 try:
167 return self._nodes[addr]
168 except:
169 return None
170
171 def get_nodes(self):
172 return self._nodes

Callers 15

is_connectedMethod · 0.95
test_get_nodeMethod · 0.80
test_deleteMethod · 0.80
_populate_statsMethod · 0.80
NotificationsMethod · 0.80
filter_rulesMethod · 0.80
filter_by_tableMethod · 0.80
filter_by_chainMethod · 0.80
get_rule_by_uuidMethod · 0.80
apply_profileMethod · 0.80
delete_profileMethod · 0.80
get_node_chainsMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_get_nodeMethod · 0.64
test_deleteMethod · 0.64