Source code for cfgtree.storages._base
# coding: utf-8
# Standard Libraries
import logging
log = logging.getLogger(__name__)
[docs]class ConfigBaseStorage(object):
[docs] def find_storage(self, model, argv=None):
"""Find the storage location and load the bare configuration"""
raise NotImplementedError()
[docs] def get_bare_config_dict(self):
"""Returns the bare configuration tree"""
raise NotImplementedError()
[docs] def save_bare_config_dict(self, bare_cfg):
"""Return the bare configuration into a dict"""
raise NotImplementedError()