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

Method delete

systemvm/debian/opt/cloud/bin/cs/CsNetfilter.py:220–223  ·  view source on GitHub ↗

Delete a rule from the list of configured rules The rule will not actually be removed on the host

(self, rule)

Source from the content-addressed store, hash-verified

218 self.delete(nr)
219
220 def delete(self, rule):
221 """ Delete a rule from the list of configured rules
222 The rule will not actually be removed on the host """
223 self.rules[:] = [x for x in self.rules if not x == rule]
224
225 def add_ip6_chain(self, address_family, table, chain, hook, action):
226 chain_policy = ""

Callers 1

del_ruleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected