Network device identifier name is not same (Discovery and provisioning) with ubuntu 24.04

Problem:
when foreman discovers the machine, it discovers the network devices as enp1s0f0. When we provision the same host with ubuntu 24.04, netplan is creating the network identifier name as enp1s0f0np0. its adding “np0” at the end.

Workaround -1:
After foreman discovered the machine if we manually change the network identifier as “enp1s0f0np0”, then it works for ubuntu 24.04. But fails for other ubuntu versions.

Expected outcome:
We need foreman discovery and provisioned network identifier as the same name.

Foreman and Proxy versions:
Foreman version: 3.10.0

Foreman and Proxy plugin versions:

Distribution and version:
Ubuntu 20.04.6 LTS
5.4.0-181-generic

Other relevant data: