Revision db908bb1 snf-cyclades-app/synnefo/management/pprint.py

b/snf-cyclades-app/synnefo/management/pprint.py
264 264

  
265 265
    nics = []
266 266
    for nic in server.nics.all():
267
        nics.append((nic.name, nic.index, nic.mac, nic.ipv4_address,
267
        nics.append((nic.id, nic.name, nic.index, nic.mac, nic.ipv4_address,
268 268
                     nic.ipv6_address, nic.network, nic.firewall_profile,
269 269
                     nic.state))
270 270

  
271
    headers = ["Name", "Index", "MAC", "IPv4 Address", "IPv6 Address",
271
    headers = ["ID", "Name", "Index", "MAC", "IPv4 Address", "IPv6 Address",
272 272
               "Network", "Firewall", "State"]
273 273
    pprint_table(stdout, nics, headers, separator=" | ",
274 274
                 title=title)

Also available in: Unified diff