Revision 0dae1b9f snf-cyclades-app/synnefo/neutron/network_views.py

b/snf-cyclades-app/synnefo/neutron/network_views.py
236 236
    d['status'] = network.state
237 237
    d['public'] = network.public
238 238
    d['admin_state_up'] = "true"
239
    subnet_cidr = [s.subnet_id for s in network.subnet_set.all()]
239
    subnet_cidr = [s.id for s in network.subnet_set.all()]
240 240
    d['subnets'] = subnet_cidr
241 241
    return d
242 242

  

Also available in: Unified diff