mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-10-31 18:18:00 +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'] |         path_id     = p['response-id'] | ||||||
|         try: |         try: | ||||||
|             if p['no-path'] : |             if p['no-path'] : | ||||||
|  |                 source = '' | ||||||
|  |                 destination = '' | ||||||
|  |                 tsp = '' | ||||||
|  |                 mode = '' | ||||||
|                 isok = False |                 isok = False | ||||||
|                 nb_tsp = 0 |                 nb_tsp = 0 | ||||||
|                 pthbdbw = round(path_bandwidth*1e-9,2) |                 pthbdbw = '' | ||||||
|                 rosnr = '' |                 rosnr = '' | ||||||
|                 rsnr = '' |                 rsnr = '' | ||||||
|                 rsnrb = '' |                 rsnrb = '' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 EstherLerouzic
					EstherLerouzic