'Retrieve attributes of the SoftwareConfig resource.
"config" returns the config value of the software config. If the
software config does not exist, returns an empty string.'

def _resolve_attribute(self, name):

    if ((name == self.CONFIG_ATTR) and self.resource_id):
        with self.rpc_client().ignore_error_by_name('NotFound'):
            sc = self.rpc_client().show_software_config(self.context, self.resource_id)
            return sc[rpc_api.SOFTWARE_CONFIG_CONFIG]
