Beispiel #1
0
 def get_net_partitions(self, context, filters=None, fields=None):
     net_partitions = nuagedb.get_net_partitions(context.session,
                                                 filters=filters,
                                                 fields=fields)
     return [
         self._make_net_partition_dict(net_partition, fields)
         for net_partition in net_partitions
     ]
Beispiel #2
0
 def get_net_partitions(self, context, filters=None, fields=None):
     net_partitions = nuagedb.get_net_partitions(context.session,
                                                 filters=filters,
                                                 fields=fields)
     return [self._make_net_partition_dict(net_partition, fields)
             for net_partition in net_partitions]