def update_resourcegroup(group,**kwargs):
    """
        Add a new group to a network.
    """

    group_i                 = _get_group(group.id)
    group_i.name            = group.name
    group_i.description     = group.description
    group_i.status          = group.status

    db.DBSession.flush()

    return group_i
def update_resourcegroup ( group , ** kwargs ) : group_i = _get_group ( group . id ) group_i . name = group . name group_i . description = group . description group_i . status = group . status db . DBSession . flush ( ) return group_i
Add a new group to a network.