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
@@ -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 = ''
