I am trying to develop a python script to collect switchshow or portshow output which includes reflecting WWPNs for F-Ports from more than 400 switches...
I don't understand why in the world, Brocade CLI doesn't allow SED/AWK/TR/CUT but with limited options with GREP and for NPIV, it gets ugly. I am using paramiko to make the ssh connections and generate bulk of data from more than 400 switches. However, is there a easy command then portshow/switchshow to get the reflecting switch port WWPNs or better way to collect such data through CLI?
If the switches are being managed with Brocade Network Advisor (BNA) the best option is to use BNA REST API. You can get all the info conveniently in 1 place and even when new switches are added your script can take notice of them without any further effort.