mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-10-30 17:47:50 +00:00 
			
		
		
		
	Correct csv creation in case of no path
previously reported the requested bandwidth, now fill it with an empty string, same as the other fields. This will be updated in a later PR when different kind of blocking will be supported Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
This commit is contained in:
		| @@ -406,9 +406,13 @@ def jsontocsv(json_data,equipment,fileout): | ||||
|         path_id     = p['response-id'] | ||||
|         try: | ||||
|             if p['no-path'] : | ||||
|                 source = '' | ||||
|                 destination = '' | ||||
|                 tsp = '' | ||||
|                 mode = '' | ||||
|                 isok = False | ||||
|                 nb_tsp = 0 | ||||
|                 pthbdbw = round(path_bandwidth*1e-9,2) | ||||
|                 pthbdbw = '' | ||||
|                 rosnr = '' | ||||
|                 rsnr = '' | ||||
|                 rsnrb = '' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 EstherLerouzic
					EstherLerouzic