Commit 1f7e5163 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp component - Backend:

- Deactivated bidirectional link auto-creation
- Deactivated resource consumption in multi-path computations
parent 679ee91c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1211,7 +1211,9 @@ void parsing_json_obj_pathComp_request(cJSON * root, GIOChannel * source)

		// In the context information, if solely the list of links are passed for a single direction, 
		// the reverse direction MUST be created sythetically 
		generate_reverse_linkList();
		
		// LGR: deactivated; link duplication needs to be done smartly with TAPI. done manually in topology by now
		//generate_reverse_linkList();
	}
	return;
}
+2 −2
Original line number Diff line number Diff line
@@ -296,8 +296,8 @@ void sp_execution_services(struct compRouteOutputList_t* oPathList)
			 continue;
		 }
		 struct path_t* path = &(pathService->paths[pathService->numPaths - 1]);
		 allocate_graph_resources(path, service, g);
		 allocate_graph_reverse_resources(path, service, g);
		 //allocate_graph_resources(path, service, g);			// LGR: crashes in some cases with assymetric topos
		 //allocate_graph_reverse_resources(path, service, g);	// LGR: crashes in some cases with assymetric topos
		 print_graph(g);
	}
	return;