OpenStack Study: nova
OpenStack IndexPreviousNext
def _perhaps_hide_addresses(self, instance, resp_server):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class Hide_server_addresses(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\hosts.py
class HostIndexTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HostUpdateTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HostActionTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HostShowTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HostUpdateDeserializer(wsgi.XMLDeserializer):
def default(self, string):
class HostController(object):
def __init__(self):
def index(self, req):
def update(self, req, id, body):
def read_enabled(orig_val, msg):
def _set_host_maintenance(self, context, host_name, mode=True):
def _set_enabled_status(self, context, host_name, enabled):
def _host_power_action(self, req, host_name, action):
def startup(self, req, id):
def shutdown(self, req, id):
def reboot(self, req, id):
def _get_total_resources(host_name, compute_node):
def _get_used_now_resources(host_name, compute_node):
def _get_resource_totals_from_instances(host_name, instances):
def _get_resources_by_project(host_name, instances):
def show(self, req, id):
class Hosts(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\hypervisors.py
def make_hypervisor(elem, detail):
class HypervisorIndexTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorDetailTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorUptimeTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorServersTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorStatisticsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class HypervisorsController(object):
def __init__(self, ext_mgr):
def _view_hypervisor(self, hypervisor, detail, servers=None, **kwargs):
def index(self, req):
def detail(self, req):
def show(self, req, id):
def uptime(self, req, id):
def search(self, req, id):
def servers(self, req, id):
def statistics(self, req):
class Hypervisors(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\image_size.py
def make_image(elem):
class ImagesSizeTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ImageSizeTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ImageSizeController(wsgi.Controller):
def _extend_image(self, image, image_cache):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class Image_size(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\instance_actions.py
def make_actions(elem):
def make_action(elem):
class InstanceActionsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class InstanceActionTemplate(xmlutil.TemplateBuilder):
def construct(self):
class InstanceActionsController(wsgi.Controller):
def __init__(self):
def _format_action(self, action_raw):
def _format_event(self, event_raw):
def index(self, req, server_id):
def show(self, req, server_id, id):
class Instance_actions(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\instance_usage_audit_log.py
class InstanceUsageAuditLogController(object):
def __init__(self):
def index(self, req):
def show(self, req, id):
def _get_audit_task_logs(self, context, begin=None, end=None, before=None):
class Instance_usage_audit_log(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\keypairs.py
class KeypairTemplate(xmlutil.TemplateBuilder):
def construct(self):
class KeypairsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class KeypairController(object):
def __init__(self):
def _filter_keypair(self, keypair, **attrs):
def create(self, req, body):
def delete(self, req, id):
def show(self, req, id):
def index(self, req):
class ServerKeyNameTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServersKeyNameTemplate(xmlutil.TemplateBuilder):
def construct(self):
class Controller(servers.Controller):
def _add_key_name(self, req, servers):
def _show(self, req, resp_obj):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class Keypairs(extensions.ExtensionDescriptor):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\migrations.py
def authorize(context, action_name):
def output(migrations_obj):
class MigrationsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class MigrationsController(object):
def __init__(self):
def index(self, req):
class Migrations(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\multinic.py
class MultinicController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _get_instance(self, context, instance_id, want_objects=False):
def _add_fixed_ip(self, req, id, body):
def _remove_fixed_ip(self, req, id, body):
class Multinic(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\multiple_create.py
class Multiple_create(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\networks_associate.py
class NetworkAssociateActionController(wsgi.Controller):
def __init__(self, network_api=None):
def _disassociate_host_only(self, req, id, body):
def _disassociate_project_only(self, req, id, body):
def _associate_host(self, req, id, body):
class Networks_associate(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\os_networks.py
def network_dict(context, network):
class NetworkController(wsgi.Controller):
def __init__(self, network_api=None):
def index(self, req):
def _disassociate_host_and_project(self, req, id, body):
def show(self, req, id):
def delete(self, req, id):
def create(self, req, body):
def bad(e):
def add(self, req, body):
class Os_networks(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\os_tenant_networks.py
def network_dict(network):
class NetworkController(object):
def __init__(self, network_api=None):
def _refresh_default_networks(self):
def _get_default_networks(self):
def index(self, req):
def show(self, req, id):
def delete(self, req, id):
def create(self, req, body):
class Os_tenant_networks(extensions.ExtensionDescriptor):
def get_resources(self):
def _sync_networks(context, project_id, session):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\preserve_ephemeral_rebuild.py
class Preserve_ephemeral_rebuild(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\quotas.py
class QuotaTemplate(xmlutil.TemplateBuilder):
def construct(self):
class QuotaSetsController(wsgi.Controller):
def __init__(self, ext_mgr):
def _format_quota_set(self, project_id, quota_set):
def _validate_quota_limit(self, limit, minimum, maximum):
def _get_quotas(self, context, id, user_id=None, usages=False):
def show(self, req, id):
def update(self, req, id, body):
def defaults(self, req, id):
def delete(self, req, id):
class Quotas(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\rescue.py
class RescueController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _get_instance(self, context, instance_id, want_objects=False):
def _rescue(self, req, id, body):
def _unrescue(self, req, id, body):
class Rescue(exts.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\scheduler_hints.py
class SchedulerHintsController(wsgi.Controller):
def _extract_scheduler_hints(body):
def create(self, req, body):
class Scheduler_hints(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\security_groups.py
def make_rule(elem):
def make_sg(elem):
def _authorize_context(req):
class SecurityGroupRuleTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupXMLDeserializer(wsgi.MetadataXMLDeserializer):
def default(self, string):
class SecurityGroupRulesXMLDeserializer(wsgi.MetadataXMLDeserializer):
def default(self, string):
def _extract_security_group_rule(self, node):
def translate_exceptions():
class SecurityGroupControllerBase(object):
def __init__(self):
def _format_security_group_rule(self, context, rule):
def _format_security_group(self, context, group):
def _from_body(self, body, key):
class SecurityGroupController(SecurityGroupControllerBase):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def create(self, req, body):
def update(self, req, id, body):
class SecurityGroupRulesController(SecurityGroupControllerBase):
def create(self, req, body):
def _rule_args_to_dict(self, context, to_port=None, from_port=None, ip_protocol=None, cidr=None, group_id=None):
def delete(self, req, id):
class ServerSecurityGroupController(SecurityGroupControllerBase):
def index(self, req, server_id):
class SecurityGroupActionController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _parse(self, body, action):
def _invoke(self, method, context, id, group_name):
def _addSecurityGroup(self, req, id, body):
def _removeSecurityGroup(self, req, id, body):
class SecurityGroupsOutputController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _extend_servers(self, req, servers):
def _show(self, req, resp_obj):
def show(self, req, resp_obj, id):
def create(self, req, resp_obj, body):
def detail(self, req, resp_obj):
class SecurityGroupsTemplateElement(xmlutil.TemplateElement):
def will_render(self, datum):
def make_server(elem):
class SecurityGroupServerTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupServersTemplate(xmlutil.TemplateBuilder):
def construct(self):
class Security_groups(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
def get_resources(self):
class NativeSecurityGroupExceptions(object):
def raise_invalid_property(msg):
def raise_group_already_exists(msg):
def raise_invalid_group(msg):
def raise_invalid_cidr(cidr, decoding_exception=None):
def raise_over_quota(msg):
def raise_not_found(msg):
class NativeNovaSecurityGroupAPI(NativeSecurityGroupExceptions,
compute_api.SecurityGroupAPI):
class NativeNeutronSecurityGroupAPI(NativeSecurityGroupExceptions,
neutron_driver.SecurityGroupAPI):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\security_group_default_rules.py
def make_default_rule(elem):
class SecurityGroupDefaultRulesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupDefaultRuleTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SecurityGroupDefaultRulesXMLDeserializer(wsgi.MetadataXMLDeserializer):
def default(self, string):
def _extract_security_group_default_rule(self, node):
class SecurityGroupDefaultRulesController(sg.SecurityGroupControllerBase):
def __init__(self):
def create(self, req, body):
def _rule_args_to_dict(self, to_port=None, from_port=None, ip_protocol=None, cidr=None):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def _format_security_group_default_rule(self, rule):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_diagnostics.py
class ServerDiagnosticsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServerDiagnosticsController(object):
def index(self, req, server_id):
class Server_diagnostics(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_external_events.py
class EventTemplate(xmlutil.TemplateBuilder):
def construct(self):
class EventDeserializer(wsgi.MetadataXMLDeserializer):
def _extract_event(self, event_node):
def default(self, string):
class ServerExternalEventsController(wsgi.Controller):
def __init__(self):
def create(self, req, body):
class Server_external_events(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_groups.py
def make_policy(elem):
def make_member(elem):
def make_group(elem):
def _authorize_context(req):
class ServerGroupTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServerGroupsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServerGroupXMLDeserializer(wsgi.MetadataXMLDeserializer):
def default(self, string):
def _extract_server_group(self, node):
def _extract_policies(self, server_group_node):
def _extract_members(self, server_group_node):
class ServerGroupController(wsgi.Controller):
def _format_server_group(self, context, group):
def _validate_policies(self, policies):
def _validate_input_body(self, body, entity_name):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def create(self, req, body):
class ServerGroupsTemplateElement(xmlutil.TemplateElement):
def will_render(self, datum):
class Server_groups(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_password.py
class ServerPasswordTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServerPasswordController(object):
def __init__(self):
def _get_instance(self, context, server_id):
def index(self, req, server_id):
def delete(self, req, server_id):
class Server_password(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_start_stop.py
class ServerStartStopActionController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _get_instance(self, context, instance_uuid):
def _start_server(self, req, id, body):
def _stop_server(self, req, id, body):
class Server_start_stop(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\server_usage.py
class ServerUsageController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _extend_server(self, server, instance):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class Server_usage(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
def make_server(elem):
class ServerUsageTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServerUsagesTemplate(xmlutil.TemplateBuilder):
def construct(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\services.py
class ServicesIndexTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServiceUpdateTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ServiceUpdateDeserializer(wsgi.XMLDeserializer):
def default(self, string):
class ServiceController(object):
def __init__(self, ext_mgr=None, *args, **kwargs):
def _get_services(self, req):
def _get_service_detail(self, svc, detailed):
def _get_services_list(self, req, detailed):
def _is_valid_as_reason(self, reason):
def delete(self, req, id):
def index(self, req):
def update(self, req, id, body):
class Services(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\shelve.py
class ShelveController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _get_instance(self, context, instance_id):
def _shelve(self, req, id, body):
def _shelve_offload(self, req, id, body):
def _unshelve(self, req, id, body):
class Shelve(exts.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\simple_tenant_usage.py
def make_usage(elem):
class SimpleTenantUsageTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SimpleTenantUsagesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SimpleTenantUsageController(object):
def _hours_for(self, instance, period_start, period_stop):
def _get_flavor(self, context, instance, flavors_cache):
def _tenant_usages_for_period(self, context, period_start, period_stop, tenant_id=None, detailed=True):
def _parse_datetime(self, dtstr):
def _get_datetime_range(self, req):
def index(self, req):
def show(self, req, id):
class Simple_tenant_usage(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\used_limits.py
class UsedLimitsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class UsedLimitsController(wsgi.Controller):
def __init__(self, ext_mgr):
def _reserved(req):
def index(self, req, resp_obj):
def _project_id(self, context, req):
class Used_limits(extensions.ExtensionDescriptor):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\used_limits_for_admin.py
class Used_limits_for_admin(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\user_data.py
class User_data(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\user_quotas.py
class User_quotas(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\virtual_interfaces.py
class VirtualInterfaceTemplate(xmlutil.TemplateBuilder):
def construct(self):
def _translate_vif_summary_view(_context, vif):
class ServerVirtualInterfaceController(object):
def __init__(self):
def _items(self, req, server_id, entity_maker):
def index(self, req, server_id):
class Virtual_interfaces(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\volumes.py
def _translate_volume_detail_view(context, vol):
def _translate_volume_summary_view(context, vol):
def make_volume(elem):
class VolumeTemplate(xmlutil.TemplateBuilder):
def construct(self):
class VolumesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class CommonDeserializer(wsgi.MetadataXMLDeserializer):
def _extract_volume(self, node):
class CreateDeserializer(CommonDeserializer):
def default(self, string):
class VolumeController(wsgi.Controller):
def __init__(self):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def detail(self, req):
def _items(self, req, entity_maker):
def create(self, req, body):
def _translate_attachment_detail_view(volume_id, instance_uuid, mountpoint):
def _translate_attachment_summary_view(volume_id, instance_uuid, mountpoint):
def make_attachment(elem):
class VolumeAttachmentTemplate(xmlutil.TemplateBuilder):
def construct(self):
class VolumeAttachmentsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class VolumeAttachmentController(wsgi.Controller):
def __init__(self, ext_mgr=None):
def index(self, req, server_id):
def show(self, req, server_id, id):
def _validate_volume_id(self, volume_id):
def create(self, req, server_id, body):
def update(self, req, server_id, id, body):
def delete(self, req, server_id, id):
def _items(self, req, server_id, entity_maker):
def _translate_snapshot_detail_view(context, vol):
def _translate_snapshot_summary_view(context, vol):
def make_snapshot(elem):
class SnapshotTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SnapshotsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class SnapshotController(wsgi.Controller):
def __init__(self):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def detail(self, req):
def _items(self, req, entity_maker):
def create(self, req, body):
class Volumes(extensions.ExtensionDescriptor):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\volume_attachment_update.py
class Volume_attachment_update(extensions.ExtensionDescriptor):
\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\__init__.py
def standard_extensions(ext_mgr):
def select_extensions(ext_mgr):
\OpenStack\nova-2014.1\nova\api\openstack\compute\extensions.py
class ExtensionManager(base_extensions.ExtensionManager):
def __init__(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\flavors.py
def make_flavor(elem, detailed=False):
class FlavorTemplate(xmlutil.TemplateBuilder):
def construct(self):
class MinimalFlavorsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class FlavorsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class Controller(wsgi.Controller):
def index(self, req):
def detail(self, req):
def show(self, req, id):
def _parse_is_public(self, is_public):
def _get_flavors(self, req):
def create_resource():
\OpenStack\nova-2014.1\nova\api\openstack\compute\images.py
def make_image(elem, detailed=False):
class ImageTemplate(xmlutil.TemplateBuilder):
def construct(self):
class MinimalImagesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class ImagesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class Controller(wsgi.Controller):
def __init__(self, image_service=None, **kwargs):
def _get_filters(self, req):
def show(self, req, id):
def delete(self, req, id):
def index(self, req):
def detail(self, req):
def create(self, *args, **kwargs):
def create_resource():
\OpenStack\nova-2014.1\nova\api\openstack\compute\image_metadata.py
class Controller(object):
def __init__(self):
def _get_image(self, context, image_id):
def index(self, req, image_id):
def show(self, req, image_id, id):
def create(self, req, image_id, body):
def update(self, req, image_id, id, body):
def update_all(self, req, image_id, body):
def delete(self, req, image_id, id):
def create_resource():
\OpenStack\nova-2014.1\nova\api\openstack\compute\ips.py
def make_network(elem):
class NetworkTemplate(xmlutil.TemplateBuilder):
def construct(self):
class AddressesTemplate(xmlutil.TemplateBuilder):
def construct(self):
class Controller(wsgi.Controller):
def __init__(self, **kwargs):
def _get_instance(self, context, server_id):
def create(self, req, server_id, body):
def delete(self, req, server_id, id):
def index(self, req, server_id):
def show(self, req, server_id, id):
def create_resource():
\OpenStack\nova-2014.1\nova\api\openstack\compute\limits.py
class LimitsTemplate(xmlutil.TemplateBuilder):
def construct(self):
class LimitsController(object):
def index(self, req):
def create(self, req, body):
def delete(self, req, id):
def detail(self, req):
def show(self, req, id):
def update(self, req, id, body):
def _get_view_builder(self, req):
def create_resource():
class Limit(object):
def __init__(self, verb, uri, regex, value, unit):
def __call__(self, verb, url):
def _get_time(self):
def display_unit(self):
def display(self):
class RateLimitingMiddleware(base_wsgi.Middleware):
def __init__(self, application, limits=None, limiter=None, **kwargs):
def __call__(self, req):
class Limiter(object):
def __init__(self, limits, **kwargs):
def get_limits(self, username=None):
def check_for_delay(self, verb, url, username=None):
def parse_limits(limits):
class WsgiLimiter(object):
def __init__(self, limits=None):
def __call__(self, request):
class WsgiLimiterProxy(object):
def __init__(self, limiter_address):
def check_for_delay(self, verb, path, username=None):
def parse_limits(limits):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\access_ips.py
class AccessIPsController(wsgi.Controller):
def _extend_server(self, req, server):
def create(self, req, resp_obj, body):
def show(self, req, resp_obj, id):
def update(self, req, resp_obj, id, body):
def rebuild(self, req, resp_obj, id, body):
def detail(self, req, resp_obj):
class AccessIPs(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
def server_create(self, server_dict, create_kwargs):
def _validate_access_ipv4(self, address):
def _validate_access_ipv6(self, address):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\admin_actions.py
def authorize(context, action_name):
class AdminActionsController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _reset_network(self, req, id, body):
def _inject_network_info(self, req, id, body):
def _reset_state(self, req, id, body):
class AdminActions(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\admin_password.py
class AdminPasswordController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def change_password(self, req, id, body):
class AdminPassword(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\agents.py
class AgentController(object):
def index(self, req):
def update(self, req, id, body):
def delete(self, req, id):
def create(self, req, body):
class Agents(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\aggregates.py
def _get_context(req):
def get_host_from_body(fn):
def wrapped(self, req, id, body, *args, **kwargs):
class AggregateController(wsgi.Controller):
def __init__(self):
def index(self, req):
def create(self, req, body):
def show(self, req, id):
def update(self, req, id, body):
def delete(self, req, id):
def _add_host(self, req, id, host):
def _remove_host(self, req, id, host):
def _set_metadata(self, req, id, body):
def _marshall_aggregate(self, aggregate):
class Aggregates(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\attach_interfaces.py
def _translate_interface_attachment_view(port_info):
class InterfaceAttachmentController(object):
def __init__(self):
def index(self, req, server_id):
def show(self, req, server_id, id):
def create(self, req, server_id, body):
def update(self, req, server_id, id, body):
def delete(self, req, server_id, id):
def _items(self, req, server_id, entity_maker):
class AttachInterfaces(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\availability_zone.py
class AvailabilityZoneController(wsgi.Controller):
def __init__(self):
def _get_filtered_availability_zones(self, zones, is_available):
def _describe_availability_zones(self, context, **kwargs):
def _describe_availability_zones_verbose(self, context, **kwargs):
def index(self, req):
def detail(self, req):
class AvailabilityZone(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
def server_create(self, server_dict, create_kwargs):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\block_device_mapping.py
class BlockDeviceMapping(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
def server_create(self, server_dict, create_kwargs):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\cells.py
def _filter_keys(item, keys):
def _fixup_cell_info(cell_info, keys):
def _scrub_cell(cell, detail=False):
class CellsController(object):
def __init__(self):
def _get_cells(self, ctxt, req, detail=False):
def index(self, req):
def detail(self, req):
def info(self, req):
def capacities(self, req, id=None):
def show(self, req, id):
def delete(self, req, id):
def _validate_cell_name(self, cell_name):
def _validate_cell_type(self, cell_type):
def _normalize_cell(self, cell, existing=None):
def create(self, req, body):
def update(self, req, id, body):
def sync_instances(self, req, body):
class Cells(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\certificates.py
def _translate_certificate_view(certificate, private_key=None):
class CertificatesController(object):
def __init__(self):
def show(self, req, id):
def create(self, req, body=None):
class Certificates(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\config_drive.py
class ConfigDriveController(wsgi.Controller):
def _add_config_drive(self, req, servers):
def _show(self, req, resp_obj):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class ConfigDrive(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
def server_create(self, server_dict, create_kwargs):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\consoles.py
def _translate_keys(cons):
def _translate_detail_keys(cons):
class ConsolesController(object):
def __init__(self):
def index(self, req, server_id):
def create(self, req, server_id, body):
def show(self, req, server_id, id):
def delete(self, req, server_id, id):
class Consoles(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\console_auth_tokens.py
class ConsoleAuthTokensController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def show(self, req, id):
class ConsoleAuthTokens(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\console_output.py
class ConsoleOutputController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def get_console_output(self, req, id, body):
class ConsoleOutput(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\create_backup.py
class CreateBackupController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _create_backup(self, req, id, body):
class CreateBackup(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\deferred_delete.py
class DeferredDeleteController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _restore(self, req, id, body):
def _force_delete(self, req, id, body):
class DeferredDelete(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\evacuate.py
class EvacuateController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _evacuate(self, req, id, body):
class Evacuate(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\extended_availability_zone.py
class ExtendedAZController(wsgi.Controller):
def _extend_server(self, context, server, instance):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class ExtendedAvailabilityZone(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\extended_server_attributes.py
class ExtendedServerAttributesController(wsgi.Controller):
def _extend_server(self, context, server, instance):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class ExtendedServerAttributes(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\extended_status.py
class ExtendedStatusController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _extend_server(self, server, instance):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
class ExtendedStatus(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\extended_volumes.py
class ExtendedVolumesController(wsgi.Controller):
def __init__(self, *args, **kwargs):
def _extend_server(self, context, server, instance):
def swap(self, req, id, body):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
def attach(self, req, id, body):
def detach(self, req, id, body):
class ExtendedVolumes(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\extension_info.py
class ExtensionInfoController(object):
def __init__(self, extension_info):
def _translate(self, ext):
def _get_extensions(self, context):
def index(self, req):
def show(self, req, id):
class ExtensionInfo(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\flavors.py
class FlavorsController(wsgi.Controller):
def index(self, req):
def detail(self, req):
def show(self, req, id):
def _parse_is_public(self, is_public):
def _get_flavors(self, req):
class Flavors(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\flavors_extraspecs.py
class FlavorExtraSpecsController(object):
def __init__(self, *args, **kwargs):
def _get_extra_specs(self, context, flavor_id):
def _check_body(self, body):
def _check_key_names(self, keys):
def index(self, req, flavor_id):
def create(self, req, flavor_id, body):
def update(self, req, flavor_id, id, body):
def show(self, req, flavor_id, id):
def delete(self, req, flavor_id, id):
class FlavorsExtraSpecs(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\flavor_access.py
def _marshall_flavor_access(flavor):
class FlavorAccessController(object):
def __init__(self):
def index(self, req, flavor_id):
class FlavorActionController(wsgi.Controller):
def _get_flavor_refs(self, context):
def _extend_flavor(self, flavor_rval, flavor_ref):
def show(self, req, resp_obj, id):
def detail(self, req, resp_obj):
def create(self, req, body, resp_obj):
def _add_tenant_access(self, req, id, body):
def _remove_tenant_access(self, req, id, body):
class FlavorAccess(extensions.V3APIExtensionBase):
def get_resources(self):
def get_controller_extensions(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\flavor_manage.py
class FlavorManageController(wsgi.Controller):
def __init__(self):
def _delete(self, req, id):
def _create(self, req, body):
class FlavorManage(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\flavor_rxtx.py
class FlavorRxtxController(wsgi.Controller):
def _extend_flavors(self, req, flavors):
def _show(self, req, resp_obj):
def show(self, req, resp_obj, id):
def create(self, req, resp_obj, body):
def detail(self, req, resp_obj):
class FlavorRxtx(extensions.V3APIExtensionBase):
def get_controller_extensions(self):
def get_resources(self):
\OpenStack\nova-2014.1\nova\api\openstack\compute\plugins\v3\hide_server_addresses.py
OpenStack IndexPreviousNext
|