]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
BrcdFCSanLookupService should allow customize host key and policy
authorLynxzh <jmzhang@cn.ibm.com>
Mon, 19 May 2014 09:49:00 +0000 (17:49 +0800)
committerLynxzh <jmzhang@cn.ibm.com>
Mon, 19 May 2014 14:13:45 +0000 (22:13 +0800)
commit1eda138be81b2405969b80c00f30ba237e250fcd
tree8f90523fc4080252b1acbbce721d59e0be347a06
parent721e657073d73d639619f839d935a463d32b59b5
BrcdFCSanLookupService should allow customize host key and policy

In BrcdFCSanLookupService, the initialization should allow the
customization of the known_hosts_file and missing_key_policy so that the
hosts key and missing policy can be customized according to the
different scenario and customer aspect. This will not change the default
behavior when no argument is given, but more flexible to allow the
caller to give more options according to different requirements.

Closes-Bug: #1320050
Change-Id: If5767f63ccd2cde5fbea30a6154acf4d28f662b6
cinder/tests/zonemanager/test_brcd_fc_san_lookup_service.py
cinder/zonemanager/drivers/brocade/brcd_fc_san_lookup_service.py