The nova.tests.integrated.test_api_samples Module

class AdminActionsSamplesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.admin_actions.Admin_actions'
setUp()

setUp Method for AdminActions api samples extension This method creates the server that will be used in each tests

test_post_backup_server()
test_post_inject_network_info()
test_post_live_migrate_server()
test_post_lock_server()
test_post_migrate()
test_post_pause()
test_post_reset_network()
test_post_reset_state()
test_post_resume()
test_post_suspend()
test_post_unlock_server()
test_post_unpause()
class AdminActionsSamplesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.AdminActionsSamplesJsonTest

ctype = 'xml'
class AgentsJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.agents.Agents'
setUp()
test_agent_create()
test_agent_delete()
test_agent_list()
test_agent_update()
class AgentsXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.AgentsJsonTest

ctype = 'xml'
class AggregatesSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.aggregates.Aggregates'
test_add_host()
test_add_metadata()
test_aggregate_create()
test_aggregate_get()
test_list_aggregates()
test_remove_host()
test_update_aggregate()
class AggregatesSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.AggregatesSampleJsonTest

ctype = 'xml'
class ApiSampleTestBase(*args, **kwargs)

Bases: nova.tests.integrated.integrated_helpers._IntegratedTestBase

all_extensions = False
ctype = 'json'
extension_name = None
generalize_subs(subs, vanilla_regexes)

Give the test a chance to modify subs after the server response was verified, and before the on-disk doc/api_samples file is checked. This may be needed by some tests to convert exact matches expected from the server into pattern matches to verify what is in the sample file.

If there are no changes to be made, subs is returned unharmed.

setUp()
class ApiSamplesTrap(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

Make sure extensions don’t get added without tests.

all_extensions = True
test_all_extensions_have_samples()
class AttachInterfacesSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.attach_interfaces.Attach_interfaces'
generalize_subs(subs, vanilla_regexes)
setUp()
test_create_interfaces(instance_uuid=None)
test_delete_interfaces()
test_list_interfaces()
test_show_interfaces()
class AttachInterfacesSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.AttachInterfacesSampleJsonTest

ctype = 'xml'
class AvailabilityZoneJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.availability_zone.Availability_zone'
test_create_availability_zone()
class AvailabilityZoneXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.AvailabilityZoneJsonTest

ctype = 'xml'
class BareMetalNodesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase, nova.tests.baremetal.db.base.BMDBTestCase

extension_name = 'nova.api.openstack.compute.contrib.baremetal_nodes.Baremetal_nodes'
test_add_interface()
test_create_node()
test_delete_node()
test_list_nodes()
test_remove_interface()
test_show_node()
class BareMetalNodesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.BareMetalNodesJsonTest

ctype = 'xml'
class CellsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.cells.Cells'
setUp()
test_cells_empty_list()
test_cells_get()
test_cells_list()
class CellsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.CellsSampleJsonTest

ctype = 'xml'
class CertificatesSamplesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.certificates.Certificates'
test_create_certificates()
test_get_root_certificate()
class CertificatesSamplesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.CertificatesSamplesJsonTest

ctype = 'xml'
class CloudPipeSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.cloudpipe.Cloudpipe'
generalize_subs(subs, vanilla_regexes)
setUp()
test_cloud_pipe_create()
test_cloud_pipe_list()
class CloudPipeSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.CloudPipeSampleJsonTest

ctype = 'xml'
class CloudPipeUpdateJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.cloudpipe_update.Cloudpipe_update'
test_cloud_pipe_update()
class CloudPipeUpdateXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.CloudPipeUpdateJsonTest

ctype = 'xml'
class ConfigDriveSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.config_drive.Config_drive'
setUp()
test_config_drive_detail()
test_config_drive_show()
class ConfigDriveSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ConfigDriveSampleJsonTest

ctype = 'xml'
class ConsoleOutputSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.console_output.Console_output'
test_get_console_output()
class ConsoleOutputSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ConsoleOutputSampleJsonTest

ctype = 'xml'
class ConsolesSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.consoles.Consoles'
setUp()
test_get_spice_console()
test_get_vnc_console()
class ConsolesSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ConsolesSampleJsonTests

ctype = 'xml'
class CoverageExtJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.coverage_ext.Coverage_ext'
setUp()
test_report_coverage()
test_start_coverage()
test_start_coverage_combine()
test_stop_coverage()
test_xml_report_coverage()
class CoverageExtXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.CoverageExtJsonTests

ctype = 'xml'
class DeferredDeleteSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.deferred_delete.Deferred_delete'
setUp()
test_force_delete()
test_restore()
class DeferredDeleteSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.DeferredDeleteSampleJsonTests

ctype = 'xml'
class DiskConfigJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.disk_config.Disk_config'
test_get_image()
test_get_server()
test_list_images()
test_list_servers_detail()
test_rebuild_server()
test_resize_server()
test_update_server()
class DiskConfigXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.DiskConfigJsonTest

ctype = 'xml'
class EvacuateJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.evacuate.Evacuate'
test_server_evacuate()
class EvacuateXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.EvacuateJsonTest

ctype = 'xml'
class ExtendedAvailabilityZoneJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.extended_availability_zone.Extended_availability_zone'
test_detail()
test_show()
class ExtendedAvailabilityZoneXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ExtendedAvailabilityZoneJsonTests

ctype = 'xml'
class ExtendedIpsSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.extended_ips.Extended_ips'
test_detail()
test_show()
class ExtendedIpsSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ExtendedIpsSampleJsonTests

ctype = 'xml'
class ExtendedServerAttributesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.extended_server_attributes.Extended_server_attributes'
test_detail()
test_show()
class ExtendedServerAttributesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ExtendedServerAttributesJsonTest

ctype = 'xml'
class ExtendedStatusSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.extended_status.Extended_status'
test_detail()
test_show()
class ExtendedStatusSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ExtendedStatusSampleJsonTests

ctype = 'xml'
class ExtensionsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

all_extensions = True
test_extensions_get()
class ExtensionsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ExtensionsSampleJsonTest

ctype = 'xml'
class FixedIpJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.fixed_ips.Fixed_ips'
setUp()
test_fixed_ip_reserve()
test_get_fixed_ip()
class FixedIpXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FixedIpJsonTest

ctype = 'xml'
class FlavorAccessSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavor_access.Flavor_access'
test_flavor_access_add_tenant()
test_flavor_access_create()
test_flavor_access_detail()
test_flavor_access_list()
test_flavor_access_remove_tenant()
test_flavor_access_show()
class FlavorAccessSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorAccessSampleJsonTests

ctype = 'xml'
class FlavorDisabledSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavor_disabled.Flavor_disabled'
test_detail_flavor()
test_show_flavor()
class FlavorDisabledSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorDisabledSampleJsonTests

ctype = 'xml'
class FlavorExtraSpecsSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavorextraspecs.Flavorextraspecs'
test_flavor_extra_specs_create()
test_flavor_extra_specs_delete()
test_flavor_extra_specs_get()
test_flavor_extra_specs_list()
test_flavor_extra_specs_update()
class FlavorExtraSpecsSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorExtraSpecsSampleJsonTests

ctype = 'xml'
class FlavorManageSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavormanage.Flavormanage'
test_create_flavor()
test_delete_flavor()
class FlavorManageSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorManageSampleJsonTests

ctype = 'xml'
class FlavorRxtxJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavor_rxtx.Flavor_rxtx'
test_flavor_rxtx_get()
test_flavors_rxtx_create()
test_flavors_rxtx_list()
class FlavorRxtxXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorRxtxJsonTest

ctype = 'xml'
class FlavorSwapJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavor_swap.Flavor_swap'
test_flavor_swap_create()
test_flavor_swap_get()
test_flavor_swap_list()
class FlavorSwapXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorSwapJsonTest

ctype = 'xml'
class FlavorsExtraDataJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.flavorextradata.Flavorextradata'
test_flavors_extra_data_create()
test_flavors_extra_data_get()
test_flavors_extra_data_list()
class FlavorsExtraDataXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorsExtraDataJsonTest

ctype = 'xml'
class FlavorsSampleAllExtensionJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorsSampleJsonTest

all_extensions = True
class FlavorsSampleAllExtensionXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorsSampleXmlTest

all_extensions = True
class FlavorsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

test_flavors_get()
test_flavors_list()
class FlavorsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FlavorsSampleJsonTest

ctype = 'xml'
class FloatingIPPoolsSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.floating_ip_pools.Floating_ip_pools'
test_list_floatingippools()
class FloatingIPPoolsSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FloatingIPPoolsSampleJsonTests

ctype = 'xml'
class FloatingIpDNSJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

dns_type = 'A'
domain = 'domain1.example.org'
extension_name = 'nova.api.openstack.compute.contrib.floating_ip_dns.Floating_ip_dns'
ip = '192.168.1.1'
name = 'instance1'
project = 'project1'
scope = 'public'
test_floating_ip_dns_create_or_update()
test_floating_ip_dns_create_or_update_entry()
test_floating_ip_dns_delete()
test_floating_ip_dns_entry_delete()
test_floating_ip_dns_entry_get()
test_floating_ip_dns_entry_list()
test_floating_ip_dns_list()
class FloatingIpDNSXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FloatingIpDNSJsonTest

ctype = 'xml'
class FloatingIpsBulkJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.floating_ips_bulk.Floating_ips_bulk'
setUp()
tearDown()
test_floating_ips_bulk_create()
test_floating_ips_bulk_delete()
test_floating_ips_bulk_list()
test_floating_ips_bulk_list_by_host()
class FloatingIpsBulkXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FloatingIpsBulkJsonTest

ctype = 'xml'
class FloatingIpsJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.floating_ips.Floating_ips'
setUp()
tearDown()
test_floating_ips_create()
test_floating_ips_create_nopool()
test_floating_ips_delete()
test_floating_ips_get()
test_floating_ips_list()
test_floating_ips_list_empty()
class FloatingIpsXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FloatingIpsJsonTest

ctype = 'xml'
class FpingSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.fping.Fping'
setUp()
test_get_fping()
test_get_fping_details()
class FpingSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.FpingSampleJsonTests

ctype = 'xml'
class HostsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.hosts.Hosts'
test_host_get()
test_host_maintenance()
test_host_reboot()
test_host_shutdown()
test_host_startup()
test_hosts_list()
class HostsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.HostsSampleJsonTest

ctype = 'xml'
class HypervisorsSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.hypervisors.Hypervisors'
test_hypervisors_list()
test_hypervisors_servers()
test_hypervisors_show()
test_hypervisors_statistics()
test_hypervisors_uptime()
class HypervisorsSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.HypervisorsSampleJsonTests

ctype = 'xml'
class ImageSizeSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.image_size.Image_size'
test_detail()
test_show()
class ImageSizeSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ImageSizeSampleJsonTests

ctype = 'xml'
class ImagesSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

test_image_get()
test_image_meta_key_get()
test_image_meta_key_put()
test_image_metadata_get()
test_image_metadata_post()
test_image_metadata_put()
test_images_details()
test_images_list()
class ImagesSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ImagesSampleJsonTest

ctype = 'xml'
class InstanceActionsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.instance_actions.Instance_actions'
setUp()
test_instance_action_get()
test_instance_actions_list()
class InstanceActionsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.InstanceActionsSampleJsonTest

ctype = 'xml'
class InstanceUsageAuditLogJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.instance_usage_audit_log.Instance_usage_audit_log'
test_index_instance_usage_audit_log()
test_show_instance_usage_audit_log()
class InstanceUsageAuditLogXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.InstanceUsageAuditLogJsonTest

ctype = 'xml'
class KeyPairsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.keypairs.Keypairs'
generalize_subs(subs, vanilla_regexes)
test_keypairs_get()
test_keypairs_import_key_post()
test_keypairs_post(public_key=None)

Get api sample of key pairs post request.

class KeyPairsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.KeyPairsSampleJsonTest

ctype = 'xml'
class LimitsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

test_limits_get()
class LimitsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.LimitsSampleJsonTest

ctype = 'xml'
class MultinicSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.multinic.Multinic'
setUp()
test_add_fixed_ip()
test_remove_fixed_ip()
class MultinicSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.MultinicSampleJsonTest

ctype = 'xml'
class MultipleCreateJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.multiple_create.Multiple_create'
test_multiple_create()
test_multiple_create_without_reservation_id()
class MultipleCreateXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.MultipleCreateJsonTest

ctype = 'xml'
class NetworksAssociateJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.networks_associate.Networks_associate'
setUp()
test_associate_host()
test_disassociate()
test_disassociate_host()
test_disassociate_project()
class NetworksAssociateXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.NetworksAssociateJsonTests

ctype = 'xml'
class NetworksJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.os_networks.Os_networks'
setUp()
test_network_add()
test_network_create()
test_network_disassociate()
test_network_list()
test_network_show()
class NetworksXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.NetworksJsonTests

ctype = 'xml'
exception NoMatch

Bases: nova.test.TestingException

class OsNetworksJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.os_tenant_networks.Os_tenant_networks'
setUp()
test_create_network()
test_delete_network()
test_list_networks()
class QuotaClassesSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.quota_classes.Quota_classes'
set_id = 'test_class'
test_show_quota_classes()
test_update_quota_classes()
class QuotaClassesSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.QuotaClassesSampleJsonTests

ctype = 'xml'
class QuotasSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.quotas.Quotas'
test_show_quotas()
test_show_quotas_defaults()
test_update_quotas()
class QuotasSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.QuotasSampleJsonTests

ctype = 'xml'
class RescueJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.rescue.Rescue'
test_server_rescue()
test_server_unrescue()
class RescueXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.RescueJsonTest

ctype = 'xml'
class SchedulerHintsJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.scheduler_hints.Scheduler_hints'
test_scheduler_hints_post()
class SchedulerHintsXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.SchedulerHintsJsonTest

ctype = 'xml'
class SecurityGroupDefaultRulesSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.security_group_default_rules.Security_group_default_rules'
test_security_group_default_rules_create()
test_security_group_default_rules_list()
test_security_group_default_rules_show()
class SecurityGroupDefaultRulesSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.SecurityGroupDefaultRulesSampleJsonTest

ctype = 'xml'
class SecurityGroupsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.security_groups.Security_groups'
test_security_group_create()
test_security_groups_get()
test_security_groups_list()
test_security_groups_list_server()
class SecurityGroupsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

ctype = 'xml'
class ServerDiagnosticsSamplesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.server_diagnostics.Server_diagnostics'
test_server_diagnostics_get()
class ServerDiagnosticsSamplesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServerDiagnosticsSamplesJsonTest

ctype = 'xml'
class ServerPasswordSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.server_password.Server_password'
test_get_password()
test_reset_password()
class ServerPasswordSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServerPasswordSampleJsonTests

ctype = 'xml'
class ServerStartStopJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.server_start_stop.Server_start_stop'
test_server_start()
test_server_stop()
class ServerStartStopXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServerStartStopJsonTest

ctype = 'xml'
class ServersActionsAllJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersActionsJsonTest

all_extensions = True
class ServersActionsAllXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersActionsXmlTest

all_extensions = True
class ServersActionsJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

test_server_confirm_resize()
test_server_create_image()
test_server_password()
test_server_reboot()
test_server_rebuild()
test_server_resize()
test_server_revert_resize()
class ServersActionsXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersActionsJsonTest

ctype = 'xml'
class ServersIpsJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

test_get()
test_get_by_network()
class ServersIpsXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersIpsJsonTest

ctype = 'xml'
class ServersMetadataJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

generalize_subs(subs, vanilla_regexes)
test_metadata_delete()
test_metadata_get()
test_metadata_get_all()
test_metadata_post_all()
test_metadata_put()
test_metadata_put_all()
class ServersMetadataXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersMetadataJsonTest

ctype = 'xml'
class ServersSampleAllExtensionJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleJsonTest

all_extensions = True
class ServersSampleAllExtensionXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleXmlTest

all_extensions = True
class ServersSampleBase(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

class ServersSampleHideAddressesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleJsonTest

extension_name = 'nova.api.openstack.compute.contrib.hide_server_addresses.Hide_server_addresses'
class ServersSampleHideAddressesXMLTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleHideAddressesJsonTest

ctype = 'xml'
class ServersSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

test_servers_details()
test_servers_get()
test_servers_list()
test_servers_post()
class ServersSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleJsonTest

ctype = 'xml'
class ServicesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.services.Services'
setUp()
tearDown()
test_service_disable()

Disable an existing agent build.

test_service_enable()

Enable an existing agent build.

test_services_list()

Return a list of all agent builds.

class ServicesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServicesJsonTest

ctype = 'xml'
class SimpleTenantUsageSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.simple_tenant_usage.Simple_tenant_usage'
setUp()

setUp method for simple tenant usage.

tearDown()

tearDown method for simple tenant usage.

test_get_tenant_usage_details()
test_get_tenants_usage()
class SimpleTenantUsageSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.SimpleTenantUsageSampleJsonTest

ctype = 'xml'
class SnapshotsSampleJsonTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

create_subs = {'snapshot_name': 'snap-001', 'description': 'Daily backup', 'volume_id': '521752a6-acf6-4b2d-bc7a-119f9148cd8c'}
extension_name = 'nova.api.openstack.compute.contrib.volumes.Volumes'
setUp()
test_snapshots_create()
test_snapshots_delete()
test_snapshots_detail()
test_snapshots_list()
test_snapshots_show()
class SnapshotsSampleXmlTests(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.SnapshotsSampleJsonTests

ctype = 'xml'
class UsedLimitsSamplesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.used_limits.Used_limits'
test_get_used_limits()
class UsedLimitsSamplesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.UsedLimitsSamplesJsonTest

ctype = 'xml'
class UserDataJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

extension_name = 'nova.api.openstack.compute.contrib.user_data.User_data'
test_user_data_post()
class UserDataXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.UserDataJsonTest

ctype = 'xml'
class VersionsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ApiSampleTestBase

test_versions_get()
class VersionsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.VersionsSampleJsonTest

ctype = 'xml'
class VirtualInterfacesJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.virtual_interfaces.Virtual_interfaces'
test_vifs_list()
class VirtualInterfacesXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.VirtualInterfacesJsonTest

ctype = 'xml'
class VolumeAttachmentsSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.volumes.Volumes'
test_attach_volume_to_server()
test_list_volume_attachments()
test_volume_attachment_delete()
test_volume_attachment_detail()
class VolumeAttachmentsSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.VolumeAttachmentsSampleJsonTest

ctype = 'xml'
class VolumesSampleJsonTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.ServersSampleBase

extension_name = 'nova.api.openstack.compute.contrib.volumes.Volumes'
setUp()
test_volumes_create()
test_volumes_delete()
test_volumes_detail()
test_volumes_index()
test_volumes_show()
class VolumesSampleXmlTest(*args, **kwargs)

Bases: nova.tests.integrated.test_api_samples.VolumesSampleJsonTest

ctype = 'xml'

Previous topic

The nova.tests.integrated.integrated_helpers Module

Next topic

The nova.tests.integrated.test_extensions Module

This Page