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

Method restore

python/lib/cloudutils/serviceConfig.py:765–772  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

763 raise
764
765 def restore(self):
766 try:
767 self.syscfg.svo.stopService("libvirt-bin")
768 self.syscfg.svo.startService("libvirt-bin")
769 return True
770 except:
771 logging.debug(formatExceptionInfo())
772 return False
773
774class firewallConfigUbuntu(serviceCfgBase):
775 def __init__(self, syscfg):

Callers

nothing calls this directly

Calls 4

formatExceptionInfoFunction · 0.85
debugMethod · 0.80
stopServiceMethod · 0.45
startServiceMethod · 0.45

Tested by

no test coverage detected