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

Method parse

systemvm/debian/opt/cloud/bin/cs/CsNetfilter.py:336–337  ·  view source on GitHub ↗
(self, rule)

Source from the content-addressed store, hash-verified

334 self.count = 0
335
336 def parse(self, rule):
337 self.rule = self.__convert_to_dict(rule)
338
339 def unseen(self):
340 return self.seen is False

Callers 3

get_all_rulesMethod · 0.95
compareMethod · 0.95
del_ruleMethod · 0.95

Calls 1

__convert_to_dictMethod · 0.95

Tested by

no test coverage detected