Radware config translation
Updated Jun 06, 2023
Version 3.0Was this article helpful?
Hi Pete,
Thanks for this; major help !
I ran the script - on a mac - to test it and I ran into this error (btw. I changed the file name and added the .py extension)
Traceback (most recent call last):
File "./rad2f5.py", line 403, in
if vars[1] and vars[1].startswith('P='):
IndexError: list index out of range
First I ran into this error
File "./rad2f5.py", line 72
print "Using partition " + partition
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Using partition " + partition)?
I'm using Python 3.6.5 :: Anaconda, Inc. - I had to change all the print statements to surround them with ( ). Prolley a python distro/version specific thing. After the change the script ran fine until the line 403 error.
Appreciate the help.
Cheers, Avi