The heat_integrationtests.functional.test_conditional_exposure
Module¶
-
class
heat_integrationtests.functional.test_conditional_exposure.
RoleBasedExposureTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.functional.functional_base.FunctionalTestsBase
-
cvt_tmpl
= '\nheat_template_version: 2015-10-15\n\nresources:\n cvt:\n type: OS::Cinder::VolumeType\n properties:\n name: cvt_test\n'¶
-
fl_tmpl
= '\nheat_template_version: 2015-10-15\n\nresources:\n not4everyone:\n type: OS::Nova::Flavor\n properties:\n ram: 20000\n vcpus: 10\n'¶
-
host_aggr_tmpl
= '\nheat_template_version: 2015-10-15\nparameters:\n az:\n type: string\n default: nova\nresources:\n cvt:\n type: OS::Nova::HostAggregate\n properties:\n name: aggregate_test\n availability_zone: {get_param: az}\n'¶
-
scenarios
= [('r_nova_flavor', {'template': '\nheat_template_version: 2015-10-15\n\nresources:\n not4everyone:\n type: OS::Nova::Flavor\n properties:\n ram: 20000\n vcpus: 10\n', 'test_creation': True, 'stack_name': 's_nova_flavor', 'forbidden_r_type': 'OS::Nova::Flavor'}), ('r_nova_host_aggregate', {'template': '\nheat_template_version: 2015-10-15\nparameters:\n az:\n type: string\n default: nova\nresources:\n cvt:\n type: OS::Nova::HostAggregate\n properties:\n name: aggregate_test\n availability_zone: {get_param: az}\n', 'test_creation': True, 'stack_name': 's_nova_ost_aggregate', 'forbidden_r_type': 'OS::Nova::HostAggregate'}), ('r_cinder_vtype', {'template': '\nheat_template_version: 2015-10-15\n\nresources:\n cvt:\n type: OS::Cinder::VolumeType\n properties:\n name: cvt_test\n', 'test_creation': True, 'stack_name': 's_cinder_vtype', 'forbidden_r_type': 'OS::Cinder::VolumeType'}), ('r_cinder_vtype_encrypt', {'test_creation': False, 'forbidden_r_type': 'OS::Cinder::EncryptedVolumeType'}), ('r_neutron_qos', {'test_creation': False, 'forbidden_r_type': 'OS::Neutron::QoSPolicy'}), ('r_neutron_qos_bandwidth_limit', {'test_creation': False, 'forbidden_r_type': 'OS::Neutron::QoSBandwidthLimitRule'}), ('r_manila_share_type', {'test_creation': False, 'forbidden_r_type': 'OS::Manila::ShareType'})]¶
-
-
class
heat_integrationtests.functional.test_conditional_exposure.
ServiceBasedExposureTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.functional.functional_base.FunctionalTestsBase