code: def createNetwork(self, name, scope_group_id=None, callback=None, errback=None, **kwargs):
          
          import ns1.ipam
          if scope_group_id is not None:
              scope_group = ns1.ipam.Scopegroup(self.config, id=scope_group_id).update()
              kwargs['scope_group'] = scope_group
          network = ns1.ipam.Network(self.config, name=name)
          return network.create(callback=callback, errback=errback, **kwargs)
docs: Create a new Network
          For the list of keywords available, see :attr:`ns1.rest.ipam.Networks.INT_FIELDS` and :attr:`ns1.rest.ipam.Networks.PASSTHRU_FIELDS`
  
          :param str name: Name of the Network to be created
          :param int scope_group: (Optional) id of an existing scope group to associate with