// int my_group_id = s->router_id / s->params->num_routers;
// int fdest_group_id = fdest_router_id / s->params->num_routers;
// int origin_grp_id = msg->origin_router_id / s->params->num_routers;
// if (msg->last_hop == TERMINAL) {
// assert(s->dfp_router_type == LEAF);
// int possible_groups[s->params->num_groups - 2];
// int added = 0;
// for(int i = 0; i < s->params->num_groups; i++)
// {
// if ( (i != origin_grp_id) && (i != fdest_group_id) ) {
// possible_groups[added] = i;
// added++;
// }
// }
// vector< Connection > spinal_conns = s->connMan.get_connections_by_type(ConnectionType.LOCAL); //I am a leaf, my local connections are all to spine routers in my group
// set< int > spinal_conn_ids;
// vector< Connection >::iterator it;
// for(it = spinal_conns.begin(); it != spinal_conns.end(); it++)
// {
// spinal_conn_ids.insert((*it).other_id) //other id is local id