Set share enable_protocols for cephfsnfs driver

for tempest configuration in manila post test hook to "nfs"
so that CIFS tempest tests will be skipped.  Its
default value is ["nfs", "cifs"].

Change-Id: I96a5f6bfd5364740689538538bac8bb59187b9b6
This commit is contained in:
Tom Barron 2017-06-02 04:16:11 -04:00
parent 8b25bb1ed4
commit 1e808b7ec7
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ if [[ $MANILA_CEPH_DRIVER == 'cephfsnative' ]]; then
RUN_MANILA_MANAGE_TESTS=${RUN_MANILA_MANAGE_TESTS:-False}
iniset $TEMPEST_CONFIG share run_manage_unmanage_tests $RUN_MANILA_MANAGE_TESTS
elif [[ $MANILA_CEPH_DRIVER == 'cephfsnfs' ]]; then
iniset $TEMPEST_CONFIG share enable_protocols nfs
iniset $TEMPEST_CONFIG share capability_storage_protocol NFS
iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols nfs
fi