So, my question is: Is there a way for an end-user, launching an instance with nova, to specify which ironic port neutron should use?
For context, a subset of our ironic nodes have relatively heterogenous network interfaces, but are configured as being attached to the same physical networks. Examples include nodes with both Broadcom and Mellanox 25g interfaces attached
to the same switch, but also nodes with both 1g, 25g, and 100g NICs attached to different switches, but with the same vlans available.
In our configuration we’re using Neutron with openvswitch, networking-baremetal, and networking-generic-switch.
From initial observations, it seems like if we *don’t* specify, neutron allocates ports in the same order that they’re returned from “baremetal port list”.
What we’d like to be able to do is let our users send some API call to bind neutron port X based on some property of the ironic port, ether UUID, tags for speed or vendor, or something else we’re able to define, but it’s not clear to me
what information is even available to neutron to use in say, a binding profile?
Any pointers would be appreciated.
Thanks!
-Mike Sherman