Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Heigl, ([email protected]) committed May 25, 2020
1 parent bcf51b4 commit 2df6b5f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ 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
zonecreate SRV_CLI1, "SRV_P0; CLI_PA"
zonecreate SRV_CLI2, "SRV_P1; CLI_PB"
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
```

0 comments on commit 2df6b5f

Please sign in to comment.