tempest/services/compute/v3/xml/flavors_client.py
def remove_flavor_access(self, flavor_id, tenant_id):
        """Remove flavor access from the specified tenant."""
        doc = Document()
        server = Element("remove_tenant_access")
        doc.append(server)
        server.add_attr("tenant_id", tenant_id)
        resp, body = self.post('flavors/%s/action' % str(flavor_id),
                               str(doc), self.headers)
        body = self._parse_array_access(etree.fromstring(body))
        return resp, body
Remove flavor access from the specified tenant.
Remove flavor access from the specified tenant.
Remove flavor access from the specified tenant .
def remove_flavor_access(self, flavor_id, tenant_id):
        doc = Document()
        server = Element("remove_tenant_access")
        doc.append(server)
        server.add_attr("tenant_id", tenant_id)
        resp, body = self.post('flavors/%s/action' % str(flavor_id),
                               str(doc), self.headers)
        body = self._parse_array_access(etree.fromstring(body))
        return resp, body
def remove_flavor_access ( self , flavor_id , tenant_id ) : doc = Document ( ) server = Element ( "remove_tenant_access" ) doc . append ( server ) server . add_attr ( "tenant_id" , tenant_id ) resp , body = self . post ( 'flavors/%s/action' % str ( flavor_id ) , str ( doc ) , self . headers ) body = self . _parse_array_access ( etree . fromstring ( body ) ) return resp , body
Remove flavor access from the specified tenant.
Remove flavor access from the specified tenant .
"""Remove flavor access from the specified tenant."""
self
flavor_id
tenant_id