Revision b2272468 snf-cyclades-app/synnefo/logic/reconciliation.py

b/snf-cyclades-app/synnefo/logic/reconciliation.py
240 240
    ips = zip(itertools.repeat('ipv4'), i['nic.ips'])
241 241
    macs = zip(itertools.repeat('mac'), i['nic.macs'])
242 242
    networks = zip(itertools.repeat('network'), i['nic.networks.names'])
243
    names = zip(itertools.repeat('name'), i['nic.names'])
243 244
    # modes = zip(itertools.repeat('mode'), i['nic.modes'])
244 245
    # links = zip(itertools.repeat('link'), i['nic.links'])
245 246
    # nics = zip(ips,macs,modes,networks,links)
246
    nics = zip(ips, macs, networks)
247
    nics = zip(ips, macs, networks, names)
247 248
    nics = map(lambda x: dict(x), nics)
248 249
    nics = dict(enumerate(nics))
249 250
    return nics

Also available in: Unified diff