'Get a list of ports for a network
The listing result is an object with property "items".  Each item is
a subnet.'

@rest_utils.ajax()
def get(self, request):

    result = api.neutron.port_list(request, **request.GET.dict())
    return {'items': [n.to_dict() for n in result]}
