Test steps:
1. register a brocade with rest_https protocol and initiator zoning_policy
2. attach a data volume which type is ds8k to a guest vm, success.
from the cinder/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
3. continue to attach a data volume which type is v7k60, success:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced.
Test steps: volume- xx.log: zonemanager. drivers. brocade. brcd_fc_ zone_driver [req-36d37687- abdf-4096- b703-f6eb0c7486 c0 0688b01e6439ca3 2d698d20789d521 69126fb41fb1a4d dafcebb97d854e8 36c9 821697be3e434ed 1965e9be2aef73b e2 - default default] Zone map to create: {'openstackc050 76de33000309' : ['c0:50: 76:de:33: 00:03:09' , '50:05: 07:63:06: 18:53:88' , '50:05: 07:63:06: 13:53:88' , '50:05: 07:63:06: 10:d3:88' , '50:05: 07:63:06: 1b:53:88' , '50:05: 07:63:06: 10:53:88' , '50:05: 07:63:06: 08:53:88' , '50:05: 07:63:06: 1b:d3:88' , '50:05: 07:63:06: 18:93:88' , '50:05: 07:63:06: 1b:13:88' , '50:05: 07:63:06: 08:93:88' , '50:05: 07:63:06: 03:13:88' , '50:05: 07:63:06: 18:13:88' , '50:05: 07:63:06: 08:13:88' , '50:05: 07:63:06: 10:13:88' ]}
1. register a brocade with rest_https protocol and initiator zoning_policy
2. attach a data volume which type is ds8k to a guest vm, success.
from the cinder/
2021-05-18 03:25:30.450 1491721 INFO cinder.
from the fabric cmd: FID128: admin_icic> zoneshow openstackc05076 de33000309 de33000309 76:de:33: 00:03:09; 50:05:07: 63:06:18: 53:88; 07:63:06: 13:53:88; 50:05:07: 63:06:10: d3:88; 07:63:06: 1b:53:88; 50:05:07: 63:06:10: 53:88; 07:63:06: 08:53:88; 50:05:07: 63:06:1b: d3:88; 07:63:06: 18:93:88; 50:05:07: 63:06:1b: 13:88; 07:63:06: 08:93:88; 50:05:07: 63:06:03: 13:88; 07:63:06: 18:13:88; 50:05:07: 63:06:08: 13:88; 07:63:06: 10:13:88 zonemanager. drivers. brocade. brcd_fc_ zone_driver [req-f815457f- 31ed-4ed3- a0c4-788e260b25 05 0688b01e6439ca3 2d698d20789d521 69126fb41fb1a4d dafcebb97d854e8 36c9 821697be3e434ed 1965e9be2aef73b e2 - default default] Zone map to create: {} zonemanager. drivers. brocade. brcd_fc_ zone_driver [req-f815457f- 31ed-4ed3- a0c4-788e260b25 05 0688b01e6439ca3 2d698d20789d521 69126fb41fb1a4d dafcebb97d854e8 36c9 821697be3e434ed 1965e9be2aef73b e2 - default default] Zone map to update: {'openstackc050 76de33000309' : ['c0:50: 76:de:33: 00:03:09' , '50:05: 07:68:0b: 23:ba:c7' , '50:05: 07:68:0b: 21:ba:c7' , '50:05: 07:68:0b: 24:ba:c7' , '50:05: 07:68:0b: 21:ba:c6' , '50:05: 07:68:0b: 24:ba:c6' , '50:05: 07:68:0b: 23:ba:c6' ]}
fcsw60:
zone: openstackc05076
c0:50:
50:05:
50:05:
50:05:
50:05:
50:05:
50:05:
50:05:
3. continue to attach a data volume which type is v7k60, success:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.
2021-05-18 03:33:54.630 1489056 INFO cinder.
from the fabric cmd: FID128: admin_icic> zoneshow openstackc05076 de33000309 de33000309 76:de:33: 00:03:09; 50:05:07: 68:0b:23: ba:c7; 07:68:0b: 21:ba:c7; 50:05:07: 68:0b:24: ba:c7; 07:68:0b: 21:ba:c6; 50:05:07: 68:0b:24: ba:c6; 07:68:0b: 23:ba:c6
fcsw60:
zone: openstackc05076
c0:50:
50:05:
50:05:
50:05:
Expected result:
the origin ports in the created zone should not be totally replaced.