An example of configuring allowlist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --allowlist 5005076306085388 5005076306135388 --add --restart
Checking configuration file on management node:
Arguments ['5005076306135388', '5005076306085388'] has been successfully added to the configuration: icic_target_wwpn_allowlist.
Previous values: None
New values: 5005076306085388,5005076306135388
Restart of openstack-cinder-volume-ds8k60c1 service requested.
An example of show allowlist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --allowlist
Checking configuration file on management node:
Current icic_target_wwpn_allowlist values: 5005076306085388,5005076306135388
An example of remove port in allowlist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --allowlist 5005076306085388 --remove --restart
Checking configuration file on management node:
Arguments ['5005076306085388'] has been successfully removed from the configuration: icic_target_wwpn_allowlist
Previous values: 5005076306085388,5005076306135388
New values: 5005076306135388
Restart of openstack-cinder-volume-ds8k60c1 service requested.
An example of configuring blocklist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --blocklist 5005076306085388 --add --restart
Checking configuration file on management node:
Arguments ['5005076306085388'] has been successfully added to the configuration: icic_target_wwpn_blocklist.
Previous values: None
New values: 5005076306085388
Restart of openstack-cinder-volume-ds8k60c1 service requested.
An example of show blocklist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --blocklist
Checking configuration file on management node:
Current icic_target_wwpn_blocklist values: 5005076306085388
An example of remove blocklist for a storage provider (ds8k60c1)
[root@kvmcore206 ~]# icic-config storage fc-zone zone-masking --storageHost ds8k60c1 --blocklist 5005076306085388 --remove --restart
Checking configuration file on management node:
No arguments are left, configuration: icic_target_wwpn_blocklist will be removed.
Restart of openstack-cinder-volume-ds8k60c1 service requested.