code: def network_create(request, **kwargs):
      
      LOG.debug("network_create(): kwargs = %s", kwargs)
      if 'tenant_id' not in kwargs:
          kwargs['tenant_id'] = request.user.project_id
      body = {'network': kwargs}
      network = neutronclient(request).create_network(body=body).get('network')
      return Network(network)
docs: Create a  network object.
  
      :param request: request context
      :param tenant_id: (optional) tenant id of the network created
      :param name: (optional) name of the network created
      :returns: Network object