Radware config translation
Problem this snippet solves: This is a simple Python script that translates Radware text configuration file and outputs as config snippet and certificate files.
$ ./rad2f5
Usage: rad2f5 <filen...
Updated Jun 06, 2023
Version 3.0PeteWhite
Employee
Joined May 16, 2019
PeteWhite
Mar 14, 2018Employee
Thanks for the response Shahid-CRIS, I have fixed this - it was because of an uninitialized variable so it now creates the variable as an empty string if the text doesn't exist.
I have changed the file attached to the page so you can download and use that, or modify your own version as below: Line 157 or so:
if 'a' in opts:
output['text'] = opts['a']
Added in v2
else:
output['text'] = ''