def METHOD_NAME(api_client):
    ports = client.api.PortsApi(api_client)
    ps = ports.list_ports(kind='dpdk')
    expect(ps).not_to(be_empty)
    i = client.models.Interface()
    i.port_id = ps[0].id
    i.config = client.models.InterfaceConfig()
    return i