-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allocation sync: use physnet, not hostgroup name
The allocation sync currently syncs the host allocations table by using the name of a hostgroup. This value is almost always the same as the physical network of the hostgroup, but not always. As new features will rely on multiple hostgroups belonging to the same physnet we need to fix this. While doing so we also make sure that if we have multiple hostgroups for the same physnet, we merge the vlan ranges we find in the different hostgroups (that's what the new sorting and grouping is for). In the config parser, we also now make sure the pyhsical_network config attribute is always set. For Converged Cloud, this is taken care of by the helm charts, but one can never be too sure (and this is not marked as a required attribute).
- Loading branch information
Showing
3 changed files
with
82 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters