compass.config_management.providers package

Submodules

compass.config_management.providers.config_provider module

Provide Base class ConfigProvider for reading config.

class compass.config_management.providers.config_provider.ConfigProvider

Bases: object

Base class for config provider.

NAME = 'config_provider'
getClusterConfig(clusterid)

interface to read cluster config.

getGlobalConfig()

interface to read global config.

getHostConfig(hostid)

interface to read host config.

getHostConfigs(hostids)

get host configs.

updateClusterConfig(clusterid, config)

interface to update cluster config.

updateGlobalConfig(config)

interface to update global config.

updateHostConfig(hostid, config)

interface to update host config.

updateHostConfigs(configs)

update host configs.

compass.config_management.providers.config_provider.getProvider()

get default provider.

compass.config_management.providers.config_provider.getProviderByName(name)

get provider by provider name.

compass.config_management.providers.config_provider.registerProvider(provider)

register provider.

Module contents