@classmethod
    @creates('port')
    def create_port(cls, node_id, address, extra=None, uuid=None):
        extra = extra or {}
        resp, body = cls.client.create_port(address=address, node_id=node_id,
                                            extra=extra, uuid=uuid)

        return resp, body
Wrapper utility for creating test ports.
dataset/ETHPy150Open openstack/ironic/ironic_tempest_plugin/tests/api/admin/base.py/BaseBaremetalTest.create_port