airshipit / vino

Apache License 2.0
1 stars 1 forks source link

Sub-clusters Deployment: All VM Nodes Use Single DHCP Server #12

Closed lb4368 closed 3 years ago

lb4368 commented 3 years ago

When provisioning VMs, all nodes went to a single DHCP server once again. This will cause problems when we will have 12 BMH on each node, and there will be 40 nodes in total, one DHCP server will have to have range for all those 480 nodes

Environment

onlysource commented 3 years ago

Proposal to use filters in VM xml, with DHCPSERVER parameter that forces VMs to goto specific DHCP server.

https://libvirt.org/formatnwfilter.html#nwfelemsRulesAdvIPAddrDetection

https://libvirt.org/formatdomain.html#traffic-filtering-with-nwfilter

lb4368 commented 3 years ago

PS: https://review.opendev.org/c/airship/vino/+/797157

lb4368 commented 3 years ago

PS https://review.opendev.org/c/airship/treasuremap/+/798235 addresses the issue here so closing this issue. A new lower priority issue will be created to review this architecture for DHCP with the VMs