'Return the info dict and conf file options for this policy.
:param config: boolean, if True all config options are returned'

def get_info(self, config=False):

    info = {}
    for (config_option, policy_attribute) in self._config_options_map().items():
        info[config_option] = getattr(self, policy_attribute)
    if (not config):
        if (not self.is_default):
            info.pop('default')
        if (not self.is_deprecated):
            info.pop('deprecated')
        info.pop('policy_type')
    return info
