docs: def add_resourcegroup(group, network_id,**kwargs):
      """
          Add a new group to a network.
      """
      group_i                   = ResourceGroup()
      group_i.name              = group.name
      group_i.description       = group.description
      group_i.status            = group.status
      group_i.network_id        = network_id
      db.DBSession.add(group_i)
      db.DBSession.flush()
      return group_i