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

Function execute

scripts/vm/network/security_group.py:50–56  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

48
49
50def execute(cmd):
51 logging.debug(cmd)
52 try:
53 return check_output(cmd, shell=True).decode()
54 except CalledProcessError as e:
55 logging.exception('Command exited non-zero: %s', cmd)
56 raise
57
58
59def can_bridge_firewall(privnic):

Callers 15

can_bridge_firewallFunction · 0.70
get_bridge_physdevFunction · 0.70
destroy_ebtables_rulesFunction · 0.70
default_ebtables_rulesFunction · 0.70
refactor_ebtable_rulesFunction · 0.70
create_ipset_forvmFunction · 0.70
add_to_ipsetFunction · 0.70
ebtables_rules_vmipFunction · 0.70

Calls 3

check_outputFunction · 0.85
debugMethod · 0.80
decodeMethod · 0.45

Tested by

no test coverage detected