aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml')
-rw-r--r--puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml b/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml
index c873ef31..277b0747 100644
--- a/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml
+++ b/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml
@@ -257,8 +257,7 @@ resources:
lmac=mac.lower()
if lmac in mac2host:
if mac2host[lmac] in nexus_cp[nexus_switch]['servers']:
- cur_swports = nexus_cp[nexus_switch]['servers'][mac2host[lmac]]
- nexus_cp[nexus_switch]['servers'][mac2host[lmac]] = cur_swports + ',' + swport
+ nexus_cp[nexus_switch]['servers'][mac2host[lmac]]['ports'] += ',' + swport['ports']
else:
nexus_cp[nexus_switch]['servers'][mac2host[lmac]] = swport
del nexus_cp[nexus_switch]['servers'][mac]