https://github.com/daedalus/brocade_zoning
https://github.com/daedalus/brocade_zoning
brocade json zoning
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/daedalus/brocade_zoning
- Owner: daedalus
- Created: 2015-11-06T17:31:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T20:36:45.000Z (over 2 years ago)
- Last Synced: 2023-11-27T21:29:30.090Z (over 2 years ago)
- Topics: brocade, json, zoning
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brocade_zoning
Example:
`python zoning.py example/zonedata.json`
```
cfgclear
alicreate SRV_P0, "00:00:00:00:00:00:00:01"
alicreate SRV_P1, "00:00:00:00:00:00:00:02"
alicreate CLI_PA, "00:00:00:00:00:00:00:03"
alicreate CLI_PB, "00:00:00:00:00:00:00:04"
alicreate STOR2, "00:00:00:00:00:01:00:05;00:00:00:00:00:02:00:05"
zonecreate "SRV_CLI1", "SRV_P0;CLI_PA"
zonecreate "SRV_CLI2", "SRV_P1;CLI_PB"
zonecreate "SRV_P0_STOR2", "SRV_P0;STOR2"
zonecreate "SRV_P1_STOR2", "SRV_P1;STOR2"
cfgcreate FABRIC_1, SRV_CLI1
cfgadd FABRIC_1, SRV_CLI2
cfgadd FABRIC_1, SRV_P0_STOR2
cfgadd FABRIC_1, SRV_P1_STOR2
cfgenable FABRIC_1
```