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

Method config

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

Source from the content-addressed store, hash-verified

924 raise
925
926 def config(self):
927 if self.syscfg.env.agentMode == "Agent":
928 return self.configAgent()
929 elif self.syscfg.env.agentMode == "myCloud":
930 return self.configMyCloud()
931 elif self.syscfg.env.agentMode == "console":
932 return self.configConsole()
933
934 def restore(self):
935 return True

Callers

nothing calls this directly

Calls 3

configAgentMethod · 0.95
configMyCloudMethod · 0.95
configConsoleMethod · 0.95

Tested by

no test coverage detected