Remove BRCD primary_switch_wwn config option

This config option was deprecated two years ago and should be removed.

The way this was "deprecated" basically just removed the option even
though StrOpt was still there. It was not referenced anywhere. For this
reason, I don't feel a release note is warranted since it was effectively
already gone.

Change-Id: I56adc822845c04a81747969c6202290d9eb64a7b
This commit is contained in:
Sean McGinnis 2017-05-07 20:39:34 +00:00
parent 0193bd6c30
commit 1595aa2136
3 changed files with 1 additions and 9 deletions

View File

@ -94,8 +94,6 @@ class TestBrcdFCSanLookupService(brcd_lookup.BrcdFCSanLookupService,
secret=True))
fc_fabric_opts.append(cfg.PortOpt('fc_fabric_port',
default=22, help=''))
fc_fabric_opts.append(cfg.StrOpt('principal_switch_wwn',
default='100000051e55a100', help=''))
config = conf.Configuration(fc_fabric_opts, 'BRCD_FAB_2')
self.fabric_configs = {'BRCD_FAB_2': config}

View File

@ -90,7 +90,6 @@ class BrcdFcZoneDriverBaseTest(object):
configuration.zoning_policy_BRCD_FAB_1 = 'initiator-target'
configuration.zone_activate_BRCD_FAB_1 = True
configuration.zone_name_prefix_BRCD_FAB_1 = 'openstack_fab1'
configuration.principal_switch_wwn_BRCD_FAB_1 = '100000051e55a100'
return configuration

View File

@ -50,12 +50,7 @@ brcd_zone_opts = [
help='Overridden zone name prefix.'),
cfg.StrOpt('fc_virtual_fabric_id',
default=None,
help='Virtual Fabric ID.'),
cfg.StrOpt('principal_switch_wwn',
default=None,
deprecated_for_removal=True,
help='Principal switch WWN of the fabric. This option is not '
'used anymore.')
help='Virtual Fabric ID.')
]
CONF = cfg.CONF