docs: def add_group(self, name, desc, status):
          """
              Add a new group to a network.
          """
  
          existing_group = get_session().query(ResourceGroup).filter(ResourceGroup.name==name, ResourceGroup.network_id==self.id).first()
          if existing_group is not None:
              raise HydraError("A resource group with name %s is already in network %s"%(name, self.id))
  
          group_i             = ResourceGroup()
          group_i.name        = name
          group_i.description = desc
          group_i.status      = status
  
          get_session().add(group_i)
  
          self.resourcegroups.append(group_i)
  
  
          return group_i