feat: Add CUSTOM_NETGROUP_* traits and Nova network-group-affinity patch#2086
Draft
RSabounds wants to merge 1 commit into
Draft
feat: Add CUSTOM_NETGROUP_* traits and Nova network-group-affinity patch#2086RSabounds wants to merge 1 commit into
RSabounds wants to merge 1 commit into
Conversation
fed40eb to
eeafb0f
Compare
Extends the LLDP inspection hook to add CUSTOM_NETGROUP_<name> traits to Ironic nodes for each '-network' VLAN group they are connected to. These traits are consumed by the new NetworkGroupAffinityFilter and NetworkGroupAntiAffinityFilter in Nova to constrain scheduling to nodes within a specific cabinet switch pair. Changes: - inspect_hook_update_baremetal_ports.py: adds _network_group_trait_name() function and includes CUSTOM_NETGROUP_* traits in _set_node_traits() - _is_our_trait() updated to manage both CUSTOM_*_SWITCH and CUSTOM_NETGROUP_* patterns - Nova patch (0002_network_group_affinity_policy.patch) added to containers/nova/patches/ for quilt application during image build - Tests updated and new test class added for trait functions
eeafb0f to
0bd9a3d
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the LLDP inspection hook to add CUSTOM_NETGROUP_ traits to Ironic nodes for each '-network' VLAN group they are connected to. These traits are consumed by the new NetworkGroupAffinityFilter and NetworkGroupAntiAffinityFilter in Nova to constrain scheduling to nodes within a specific cabinet switch pair.
Changes: