Incorrectly derives NeutronPhysnetNUMANodesMapping

This change is to derive the NeutronPhysnetNUMANodesMapping
parameter as dictionary instead of list.

Change-Id: I0715d9012bc50b7d0d6d555d9d8c7ba821a9b96f
Closes-Bug: #1856068
(cherry picked from commit c0771bf722)
(cherry picked from commit efc53a84e2)
(cherry picked from commit 515eb554b4)
(cherry picked from commit a4aecaaca5)
This commit is contained in:
Jaganathan Palanisamy 2019-12-11 22:07:57 +05:30
parent b7f761b14c
commit a1ff10abbb
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ workflows:
# Gets the physical network and NUMA nodes mappings
get_phy_nw_numa_nodes_mappings:
publish:
phy_nw_numa_nodes_mappings: <% let(nw_bridge_mappings => $.phy_nw_bridge_mappings) -> $.bridge_numa_nodes_mappings.items().select(let(br => $[0], nodes => $[1]) -> $nw_bridge_mappings.items().where($[1]=$br).select(dict($[0] => $nodes))).sum() %>
phy_nw_numa_nodes_mappings: <% let(nw_bridge_mappings => $.phy_nw_bridge_mappings) -> $.bridge_numa_nodes_mappings.items().select(let(br => $[0], nodes => $[1]) -> $nw_bridge_mappings.items().where($[1]=$br).select(dict($[0] => $nodes)).sum()).sum() %>
on-success: get_neutron_network_type
get_neutron_network_type: