tempest/api/baremetal/base.py
def delete_port(cls, port_id):
        """
        Deletes a port having the specified UUID.

        :param uuid: The unique identifier of the port.
        :return: Server response.

        """

        resp, body = cls.client.delete_port(port_id)

        if port_id in cls.created_objects['port']:
            cls.created_objects['port'].remove(port_id)

        return resp

        Deletes a port having the specified UUID.

        :param uuid: The unique identifier of the port.
        :return: Server response.

        
Deletes a port having the specified UUID.
Deletes a port having the specified UUID .
def delete_port(cls, port_id):
        resp, body = cls.client.delete_port(port_id)
        if port_id in cls.created_objects['port']:
            cls.created_objects['port'].remove(port_id)
        return resp
def delete_port ( cls , port_id ) : resp , body = cls . client . delete_port ( port_id ) if port_id in cls . created_objects [ 'port' ] : cls . created_objects [ 'port' ] . remove ( port_id ) return resp
Deletes a port having the specified UUID.
Deletes a port having the specified UUID .
"""
        Deletes a port having the specified UUID.

        :param uuid: The unique identifier of the port.
        :return: Server response.

        """
None
cls
port_id
uuid
The unique identifier of the port.
The unique identifier of the port .