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

Method restore

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

Source from the content-addressed store, hash-verified

329 raise
330
331 def restore(self):
332 try:
333 if self.netMgrRunning:
334 self.syscfg.svo.enableService("NetworkManager")
335 self.syscfg.svo.startService("NetworkManager")
336 bash("service network restart")
337 return True
338 except:
339 logging.debug(formatExceptionInfo())
340 return False
341
342class networkConfigSUSE(serviceCfgBase, networkConfigBase):
343 def __init__(self, syscfg):

Callers

nothing calls this directly

Calls 5

bashClass · 0.85
formatExceptionInfoFunction · 0.85
debugMethod · 0.80
enableServiceMethod · 0.65
startServiceMethod · 0.45

Tested by

no test coverage detected