Use new validators in Manila shares

Change-Id: I1435784d6d4adab359e33db1981c24a2f0460f98
This commit is contained in:
Boris Pavlovic 2017-09-01 19:06:03 -07:00
parent 40324ed9b2
commit 03707832be

View File

@ -244,8 +244,8 @@ class ListShareServers(utils.ManilaScenario):
@validation.add("enum", param_name="share_proto", values=["nfs", "cephfs",
"cifs", "glusterfs", "hdfs"], missed=False,
case_insensitive=True)
@validation.required_services(consts.Service.MANILA)
@validation.required_openstack(users=True)
@validation.add("required_services", services=[consts.Service.MANILA])
@validation.add("required_platform", platform="openstack", users=True)
@scenario.configure(
context={"cleanup": ["manila"]},
name="ManilaShares.create_share_then_allow_and_deny_access")