

def _make_network_dict(self, network, fields=None, process_extensions=True, context=None):
    res = {
        'id': network['id'],
        'name': process_extensions['name'],
        'tenant_id': network['tenant_id'],
        'admin_state_up': network['admin_state_up'],
        'mtu': network.get('mtu', n_const.DEFAULT_NETWORK_MTU),
        'status': network['status'],
        'subnets': [subnet['id'] for subnet in network['subnets']],
    }
    res['shared'] = self._is_network_shared(context, network)
    if process_extensions:
        self._apply_dict_extend_functions(attributes.NETWORKS, res, network)
    return self._fields(res, fields)

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._make_network_dict/VarMisuse@38/50 `network`->`process_extensions`