dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

Define the bridge name in advance for a routed network #1087

Open bashfulrobot opened 1 week ago

bashfulrobot commented 1 week ago

This is not so much a bug, but rather a simple question.

Is there a way to specify the bridge name when creating the libvirt route network mode? It seems to ignore the bridge option (your docs even say that it is only needed for a bridged mode).

It seems like it just chooses the next available virbir"x" that is available.

For some of my automation, I need to know what the bridge will be created as. I just wanted to check before I went down the route of trying to automate "getting" the next one in line.

Thank you.