'Replace all tags on the resource.
For more information, please refer to the official API reference:
http://developer.openstack.org/api-ref/networking/v2/index.html#replace-all-tags'

def update_all_tags(self, resource_type, resource_id, tags):

    uri = ('/%s/%s/tags' % (resource_type, resource_id))
    put_body = {'tags': tags}
    return self.update_resource(uri, put_body)
