Lines Matching defs:nova
54 from nova.api.metadata import password
55 from nova.compute import arch
56 from nova.compute import hv_type
57 from nova.compute import power_state
58 from nova.compute import task_states
59 from nova.compute import vm_mode
60 from nova.compute import vm_states
61 from nova import conductor
62 import nova.conf
63 from nova.console import type as ctype
64 from nova import context as nova_context
65 from nova import crypto
66 from nova import exception
67 from nova.i18n import _, _LE, _LI
68 from nova.image import API as glance_api
69 from nova.image import glance
70 from nova.network.neutronv2 import api as neutronv2_api
71 from nova import objects
72 from nova.objects import flavor as flavor_obj
73 from nova.objects import migrate_data as migrate_data_obj
74 from nova import utils
75 from nova.virt import driver
76 from nova.virt import event as virtevent
77 from nova.virt import hardware
78 from nova.virt import images
79 from nova.virt.solariszones import sysconfig
80 from nova.volume.cinder import API
81 from nova.volume.cinder import cinderclient
82 from nova.volume.cinder import translate_volume_exception
83 from nova.volume.cinder import _untranslate_volume_summary_view
93 default='/var/share/nova/images',
113 CONF = nova.conf.CONF
159 VNC_CONSOLE_BASE_FMRI = 'svc:/application/openstack/nova/zone-vnc-console'
478 nova.virt layer, instances do not have human-readable names at all -- such
487 Some methods here take an instance of nova.compute.service.Instance. This
488 is the data structure used by nova.compute to store details regarding an
831 :param instance: nova.objects.instance.Instance object
988 :param instance: nova.objects.instance.Instance
991 :param nova.objects.ImageMeta image_meta:
997 nova.compute.manager.ComputeManager:_rebuild_default_impl for
1000 nova.compute.manager.ComputeManager:_rebuild_default_impl for
1003 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
1361 # TODO(npower): Polling is what nova/compute/manager also does when
1528 raise nova.exception.NovaException(msg)
1937 'setprop', 'vnc/nova-enabled=true')
1981 'setprop', 'vnc/nova-enabled=false')
1986 LOG.exception(_("Unable to update 'vnc/nova-enabled' property for "
2184 :param instance: nova.objects.instance.Instance
2187 :param nova.objects.ImageMeta image_meta:
2192 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
2239 sc_dir = tempfile.mkdtemp(prefix="nova-sysconfig-",
2365 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
2425 # zone will only show up in zoneadm list, not nova list.
2454 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
2472 :param instance: nova.objects.instance.Instance
2474 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
2584 :param instance: nova.objects.instance.Instance
2592 :param instance: nova.objects.instance.Instance
2643 :param instance: nova.objects.instance.Instance
2653 :param instance: nova.objects.instance.Instance
2663 :param instance: nova.objects.instance.Instance
2673 :param instance: nova.objects.instance.Instance
2723 raise nova.exception.MaxRetriesExceeded(reason)
2731 :param nova.objects.instance.Instance instance:
2748 :param nova.objects.instance.Instance instance:
2753 :rtype: nova.virt.diagnostics.Diagnostics
2761 :param instances: nova.objects.instance.InstanceList
2879 :param nova.objects.instance.Instance instance:
2897 :param nova.objects.instance.Instance instance:
2899 :param nova.objects.ImageMeta image_meta:
2901 :param nova.network.model.NetworkInfo vif:
2904 :raise nova.exception.NovaException: If the attach fails.
2930 raise nova.exception.NovaException(msg)
2941 :param nova.objects.instance.Instance instance:
2943 :param nova.network.model.NetworkInfo vif:
2946 :raise nova.exception.NovaException: If the detach fails.
2962 raise nova.exception.NovaException(msg)
2997 raise nova.exception.NovaException(msg)
3008 :param instance: nova.objects.instance.Instance being migrated/resized
3023 :param nova.objects.instance.Instance instance:
3027 :param nova.objects.flavor.Flavor flavor:
3029 :param nova.network.model.NetworkInfo network_info:
3102 # TODO(npower): Polling is what nova/compute/manager also does when
3126 :param instance: nova.objects.instance.Instance
3223 :param instance: nova.objects.instance.Instance
3270 :param instance: nova.objects.instance.Instance being migrated/resized
3273 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
3274 :param nova.objects.ImageMeta image_meta:
3371 :param instance: nova.objects.instance.Instance
3398 :param instance: nova.objects.instance.Instance being resized
3457 :param instance: nova.objects.instance.Instance being migrated/resized
3459 :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info`
3513 :param nova.objects.instance.Instance instance:
3529 :param nova.objects.instance.Instance instance:
3545 :param nova.context.RequestContext context:
3547 :param nova.objects.instance.Instance instance:
3560 "suspend. Use 'nova reset-state --active %s' "
3597 :param nova.context.RequestContext context:
3599 :param nova.objects.instance.Instance instance:
3601 :param nova.network.model.NetworkInfo network_info:
3637 :param instance: nova.objects.instance.Instance
3656 :param nova.context.RequestContext context:
3658 :param nova.objects.instance.Instance instance:
3660 :param nova.network.model.NetworkInfo network_info:
3662 :param nova.objects.ImageMeta image_meta:
3671 :param instance: nova.objects.instance.Instance
3678 :param instance: nova.objects.instance.Instance
3686 :param instance: nova.objects.instance.Instance
3697 :param instance: nova.objects.instance.Instance
3707 :param nova.objects.instance.Instance instance:
3721 :param nova.objects.instance.Instance instance:
3734 :param nova.objects.instance.Instance instance:
3827 This method is called when nova-compute launches, and
3859 :param instance: nova.objects.instance.Instance object
3879 options.append('ssh://nova@' + dest)
3889 nova.db.sqlalchemy.models.Instance object
3894 expected nova.compute.manager._post_live_migration.
3897 expected nova.compute.manager._rollback_live_migration.
4013 :param instance: nova.objects.instance.Instance object
4043 :param instance: nova.db.sqlalchemy.models.Instance
4110 :param instance: nova.db.sqlalchemy.models.Instance
4134 :param instance: nova.objects.Instance
4187 - setup_basic_filtering (for nova-basic, etc.)
4188 - prepare_instance_filter(for nova-instance-instance-xxx, etc.)
4198 :param instance: nova.objects.instance.Instance object
4220 :param instance: nova.objects.instance.Instance
4238 The first parameter is an instance of nova.compute.service.Instance,
4245 can be removed from nova.compute.manager.
4259 :param instance: nova.objects.instance.Instance
4278 A list of nova.objects.instance.Instance objects that have been
4350 :param nova.objects.instance.Instance instance:
4352 :param nova.network.model.NetworkInfo network_info:
4368 :param nova.objects.instance.Instance instance:
4370 :param nova.network.model.NetworkInfo network_info:
4485 :param all_instances: nova.objects.instance.InstanceList
4494 :param nova.context.RequestContext context:
4496 :param nova.objects.aggregate.Aggregate aggregate:
4513 :param nova.context.RequestContext context:
4515 :param nova.objects.aggregate.Aggregate aggregate:
4605 :returns: dict of nova uuid => dict of usage info
4612 :param instance: nova.objects.instance.Instance to lookup
4649 an instance of the nova.virt.event.Event class.
4668 _("Event must be an instance of nova.virt.event.Event"))
4680 :param instance: nova.objects.instance.Instance
4708 :param nova.context.RequestContext context:
4710 :param nova.objects.instance.Instance instance:
4714 :param create_info: The data needed for nova to be able to attach
4730 :param nova.context.RequestContext context:
4732 :param nova.objects.instance.Instance instance:
4751 :param nova.objects.instance.Instance instance:
4753 :param nova.objects.ImageMeta image_meta:
4755 :param nova.objects.BlockDeviceMapping root_bdm:
4769 :param instance: nova.objects.instance.Instance that volume is
4771 :param bdms: a nova.objects.BlockDeviceMappingList for the instance
4772 :param block_device_obj: A nova.objects.BlockDeviceMapping instance
4802 :param instance: nova.objects.instance.Instance to be quiesced
4803 :param nova.objects.ImageMeta image_meta:
4816 :param instance: nova.objects.instance.Instance to be unquiesced
4817 :param nova.objects.ImageMeta image_meta:
4826 :param instance: nova.objects.instance.Instance that the network