tempest/services/baremetal/v1/base_v1.py
def create_port(self, node_id, **kwargs):
        """
        Create a port with the specified parameters.

        :param node_id: The ID of the node which owns the port.
        :param address: MAC address of the port. Default: 01:23:45:67:89:0A.
        :return: A tuple with the server response and the created port.

        """
        port = {'address': kwargs.get('address', '01:23:45:67:89:0A'),
                'node_uuid': node_id}

        return self._create_request('ports', 'port', port)

        Create a port with the specified parameters.

        :param node_id: The ID of the node which owns the port.
        :param address: MAC address of the port. Default: 01:23:45:67:89:0A.
        :return: A tuple with the server response and the created port.

        
Create a port with the specified parameters.
Create a port with the specified parameters .
def create_port(self, node_id, **kwargs):
        port = {'address': kwargs.get('address', '01:23:45:67:89:0A'),
                'node_uuid': node_id}
        return self._create_request('ports', 'port', port)
def create_port ( self , node_id , ** kwargs ) : port = { 'address' : kwargs . get ( 'address' , '01:23:45:67:89:0A' ) , 'node_uuid' : node_id } return self . _create_request ( 'ports' , 'port' , port )
Create a port with the specified parameters.
Create a port with the specified parameters .
"""
        Create a port with the specified parameters.

        :param node_id: The ID of the node which owns the port.
        :param address: MAC address of the port. Default: 01:23:45:67:89:0A.
        :return: A tuple with the server response and the created port.

        """
A tuple with the server response and the created port.
A tuple with the server response and the created port .
self
node_id
The ID of the node which owns the port.
The ID of the node which owns the port .
address
MAC address of the port.
MAC address of the port .