def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def __init__(self, auth_provider):
        super(SnapshotsClientJSON, self).__init__(auth_provider)

        self.service = CONF.volume.catalog_type
        self.build_interval = CONF.volume.build_interval
        self.build_timeout = CONF.volume.build_timeout