API to set the Network configurations for an machine

Is there a single API available to configure fabric, VLAN, and subnet together for a machine’s interface?

From what I see in the documentation, there doesn’t seem to be one. I tried the following sequence:

  1. Set the interface to a fabric.
  2. Map the VLAN to the interface (but got stuck — no available VLAN choices).
  3. Map the subnet to the interface (same issue — no available choices error).

Could you please guide me on whether this can be done through a single API call, or if there’s a recommended sequence to avoid the “no available choices” error?

i have tried the same via UI it works fine below is the screenshot

As a next step i will be creating the bond and assign static ip to the bond

hi @r00ta ANy idea on this topic>

I’d suggest to look at MAAS API . You are looking for op-link_subnet but if you want to bond you have to create such interface with other endpoints. So you need to use multiple endpoints