Brocade Automation Community

Expand all | Collapse all

PyFOS Script for Peer Zoning?

  • 1.  PyFOS Script for Peer Zoning?

    Posted 12-05-2019 02:11 PM
    Hello Folks,

    I'm look for a sample Excel document someone might have with the column headings when using peer zoning on my Brocade. I have one for the standard one-to-one zoning but I want to see what one would look like with peer zoning.

    Thanks in advance!

    ------------------------------
    Sr. Storage Admin
    ------------------------------


  • 2.  RE: PyFOS Script for Peer Zoning?

    Posted 12-09-2019 06:01 PM
    There is nothing to change in the spreadsheet. When executing the script, the "--usepeer" option is what tells the script to make peer zones. When this option is specified, the target is the principal and the initiators are the members.  If you had a mix of standard and peer zone, you would need to run the script at least twice.

    Download bulk_zonning.xlsx from:

    https://github.com/brocade/pyfos/tree/master/pyfos/utils/zoning

    Look at the "Ex PeerZone Fabric A" tab. You will notice that all the targets have the same WWN. When you run the script with this sheet as input and the --usepeer option, the result will be a peer zone named Z_CLUSTER1_VMAX01_SN1234_9F0 with VMAX01_SN1234_9F0 (50:00:09:72:08:34:39:60) as the principal and the following members:

    AIXHOST_FCS0 (10:00:00:00:c9:c6:1d:56)
    AIXHOST_FCS2 (10:00:00:00:c9:c6:12:b2)
    AIXHOST_FCS4 (10:00:00:00:c9:c6:1a:5c)
    AIXHOST_FCS6 (10:00:00:00:c9:c6:1b:2e)

    ------------------------------
    Field Applications Engineer
    Broadcom
    ------------------------------