(self, container_dict)
return container_config
Returns a dictionary containing the container's configuration.

        The dictionary that is returned contains the container's configuration and the global config
        values. These global values can be defined outside of the scope of the container's config
        and can be used by each container.
Returns a dictionary containing the container's configuration.
Returns a dictionary containing the container s configuration .
def _get_container_config_dict(self, container_dict):
        """ Returns a dictionary containing the container's configuration.

        The dictionary that is returned contains the container's configuration and the global config
        values. These global values can be defined outside of the scope of the container's config
        and can be used by each container.
        """
        container_config = dict(self._dict)

        # We don't inherit global provisioning in specific container config.
        if 'provisioning' in container_config:
            del container_config['provisioning']

        # If both global and container scope contains lxc_config, merge them
        lxck = 'lxc_config'
        if lxck in container_config and lxck in container_dict:
            container_dict = dict(container_dict)
            container_config[lxck].update(container_dict[lxck])
            del container_dict[lxck]

        container_config.update(container_dict)
        del container_config['containers']
        return container_config
def _get_container_config_dict ( self , container_dict ) : container_config = dict ( self . _dict ) # We don't inherit global provisioning in specific container config. if 'provisioning' in container_config : del container_config [ 'provisioning' ] # If both global and container scope contains lxc_config, merge them lxck = 'lxc_config' if lxck in container_config and lxck in container_dict : container_dict = dict ( container_dict ) container_config [ lxck ] . update ( container_dict [ lxck ] ) del container_dict [ lxck ] container_config . update ( container_dict ) del container_config [ 'containers' ] return container_config