¡@

Home 

OpenStack Study: nova

OpenStack Index

Next

\OpenStack\nova-2014.1\nova\api\auth.py

def _load_pipeline(loader, pipeline):

def pipeline_factory(loader, global_conf, **local_conf):

def pipeline_factory_v3(loader, global_conf, **local_conf):

class InjectContext(wsgi.Middleware):

    def __init__(self, context, *args, **kwargs):

    def __call__(self, req):

class NovaKeystoneContext(wsgi.Middleware):

    def __call__(self, req):

    def _get_roles(self, req):

\OpenStack\nova-2014.1\nova\api\ec2\apirequest.py

def _underscore_to_camelcase(str):

def _underscore_to_xmlcase(str):

def _database_to_isoformat(datetimeobj):

class APIRequest(object):

    def __init__(self, controller, action, version, args):

    def invoke(self, context):

    def _render_response(self, response_data, request_id):

    def _render_dict(self, xml, el, data):

    def _render_data(self, xml, el_name, data):

\OpenStack\nova-2014.1\nova\api\ec2\cloud.py

def validate_ec2_id(val):

def _state_description(vm_state, _shutdown_terminate):

def _parse_block_device_mapping(bdm):

def _properties_get_mappings(properties):

def _format_block_device_mapping(bdm):

def _format_mappings(properties, result):

class CloudController(object):

    def __init__(self):

    def __str__(self):

    def _enforce_valid_instance_ids(self, context, instance_ids):

    def _get_image_state(self, image):

    def describe_availability_zones(self, context, **kwargs):

    def _describe_availability_zones(self, context, **kwargs):

    def _describe_availability_zones_verbose(self, context, **kwargs):

    def describe_regions(self, context, region_name=None, **kwargs):

    def describe_snapshots(self, context, snapshot_id=None, owner=None, restorable_by=None, **kwargs):

    def _format_snapshot(self, context, snapshot):

    def create_snapshot(self, context, volume_id, **kwargs):

    def delete_snapshot(self, context, snapshot_id, **kwargs):

    def describe_key_pairs(self, context, key_name=None, **kwargs):

    def create_key_pair(self, context, key_name, **kwargs):

    def import_key_pair(self, context, key_name, public_key_material, **kwargs):

    def delete_key_pair(self, context, key_name, **kwargs):

    def describe_security_groups(self, context, group_name=None, group_id=None, **kwargs):

    def _format_security_group(self, context, group):

    def _rule_args_to_dict(self, context, kwargs):

    def _cidr_args_split(self, kwargs):

    def _groups_args_split(self, kwargs):

    def _rule_dict_last_step(self, context, to_port=None, from_port=None, ip_protocol=None, cidr_ip=None, user_id=None, source_security_group_name=None, source_security_group_owner_id=None):

    def _validate_group_identifier(self, group_name, group_id):

    def _validate_rulevalues(self, rulesvalues):

    def _validate_security_group_protocol(self, values):

    def revoke_security_group_ingress(self, context, group_name=None, group_id=None, **kwargs):

    def authorize_security_group_ingress(self, context, group_name=None, group_id=None, **kwargs):

    def _get_source_project_id(self, context, source_security_group_owner_id):

    def create_security_group(self, context, group_name, group_description):

    def delete_security_group(self, context, group_name=None, group_id=None, **kwargs):

    def get_password_data(self, context, instance_id, **kwargs):

    def get_console_output(self, context, instance_id, **kwargs):

    def describe_volumes(self, context, volume_id=None, **kwargs):

    def _format_volume(self, context, volume):

    def create_volume(self, context, **kwargs):

    def delete_volume(self, context, volume_id, **kwargs):

    def attach_volume(self, context, volume_id, instance_id, device, **kwargs):

    def _get_instance_from_volume(self, context, volume):

    def detach_volume(self, context, volume_id, **kwargs):

    def _format_kernel_id(self, context, instance_ref, result, key):

    def _format_ramdisk_id(self, context, instance_ref, result, key):

    def describe_instance_attribute(self, context, instance_id, attribute, **kwargs):

        def _unsupported_attribute(instance, result):

        def _format_attr_block_device_mapping(instance, result):

        def _format_attr_disable_api_termination(instance, result):

        def _format_attr_group_set(instance, result):

        def _format_attr_instance_initiated_shutdown_behavior(instance, result):

        def _format_attr_instance_type(instance, result):

        def _format_attr_kernel(instance, result):

        def _format_attr_ramdisk(instance, result):

        def _format_attr_root_device_name(instance, result):

        def _format_attr_source_dest_check(instance, result):

        def _format_attr_user_data(instance, result):

    def describe_instances(self, context, **kwargs):

    def describe_instances_v6(self, context, **kwargs):

    def _format_describe_instances(self, context, **kwargs):

    def _format_run_instances(self, context, reservation_id):

    def _format_terminate_instances(self, context, instance_id, previous_states):

    def _format_instance_bdm(self, context, instance_uuid, root_device_name, result):

    def _format_instance_root_device_name(instance, result):

    def _format_instance_type(instance, result):

    def _format_group_set(instance, result):

    def _format_instances(self, context, instance_id=None, use_v6=False, instances_cache=None, **search_opts):

    def describe_addresses(self, context, public_ip=None, **kwargs):

    def _format_address(self, context, floating_ip):

    def allocate_address(self, context, **kwargs):

    def release_address(self, context, public_ip, **kwargs):

    def associate_address(self, context, instance_id, public_ip, **kwargs):

    def disassociate_address(self, context, public_ip, **kwargs):

    def run_instances(self, context, **kwargs):

    def _add_client_token(self, context, client_token, instance_ids):

    def _get_client_token(self, context, instance_uuid):

    def _remove_client_token(self, context, instance_ids):

    def _resv_id_from_token(self, context, client_token):

    def _ec2_ids_to_instances(self, context, instance_id, objects=False):

    def terminate_instances(self, context, instance_id, **kwargs):

    def reboot_instances(self, context, instance_id, **kwargs):

    def stop_instances(self, context, instance_id, **kwargs):

    def start_instances(self, context, instance_id, **kwargs):

    def _get_image(self, context, ec2_id):

    def _format_image(self, image):

    def describe_images(self, context, image_id=None, **kwargs):

    def deregister_image(self, context, image_id, **kwargs):

    def _register_image(self, context, metadata):

    def register_image(self, context, image_location=None, **kwargs):

    def describe_image_attribute(self, context, image_id, attribute, **kwargs):

        def _block_device_mapping_attribute(image, result):

        def _launch_permission_attribute(image, result):

        def _root_device_name_attribute(image, result):

        def _kernel_attribute(image, result):

        def _ramdisk_attribute(image, result):

    def modify_image_attribute(self, context, image_id, attribute, operation_type, **kwargs):

    def update_image(self, context, image_id, **kwargs):

    def create_image(self, context, instance_id, **kwargs):

        def _unmap_id_property(properties, name):

    def create_tags(self, context, **kwargs):

    def delete_tags(self, context, **kwargs):

    def describe_tags(self, context, **kwargs):

class EC2SecurityGroupExceptions(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 CloudSecurityGroupNovaAPI(EC2SecurityGroupExceptions, compute_api.SecurityGroupAPI):

class CloudSecurityGroupNeutronAPI(EC2SecurityGroupExceptions, neutron_driver.SecurityGroupAPI):

def get_cloud_security_group_api():

\OpenStack\nova-2014.1\nova\api\ec2\ec2utils.py

def memoize(func):

def reset_cache():

def image_type(image_type):

def resource_type_from_id(context, resource_id):

def id_to_glance_id(context, image_id):

def glance_id_to_id(context, glance_id):

def ec2_id_to_glance_id(context, ec2_id):

def glance_id_to_ec2_id(context, glance_id, image_type='ami'):

def ec2_id_to_id(ec2_id):

def image_ec2_id(image_id, image_type='ami'):

def get_ip_info_for_instance_from_nw_info(nw_info):

def get_ip_info_for_instance(context, instance):

def get_availability_zone_by_host(host, conductor_api=None):

def id_to_ec2_id(instance_id, template='i-%08x'):

def id_to_ec2_inst_id(instance_id):

def ec2_inst_id_to_uuid(context, ec2_id):

def get_instance_uuid_from_int_id(context, int_id):

def id_to_ec2_snap_id(snapshot_id):

def id_to_ec2_vol_id(volume_id):

def ec2_vol_id_to_uuid(ec2_id):

def is_ec2_timestamp_expired(request, expires=None):

def get_int_id_from_instance_uuid(context, instance_uuid):

def get_int_id_from_volume_uuid(context, volume_uuid):

def get_volume_uuid_from_int_id(context, int_id):

def ec2_snap_id_to_uuid(ec2_id):

def get_int_id_from_snapshot_uuid(context, snapshot_uuid):

def get_snapshot_uuid_from_int_id(context, int_id):

def camelcase_to_underscore(str):

def _try_convert(value):

def dict_from_dotted_str(items):

def search_opts_from_filters(filters):

def regex_from_ec2_regex(ec2_re):

\OpenStack\nova-2014.1\nova\api\ec2\faults.py

def ec2_error_response(request_id, code, message, status=500):

class Fault(webob.exc.HTTPException):

    def __init__(self, exception):

    def __call__(self, req):

\OpenStack\nova-2014.1\nova\api\ec2\inst_state.py

def name_to_code(name):

\OpenStack\nova-2014.1\nova\api\ec2\__init__.py

class FaultWrapper(wsgi.Middleware):

    def __call__(self, req):

class RequestLogging(wsgi.Middleware):

    def __call__(self, req):

    def log_request_completion(self, response, request, start):

class Lockout(wsgi.Middleware):

    def __init__(self, application):

    def __call__(self, req):

class EC2KeystoneAuth(wsgi.Middleware):

    def __call__(self, req):

class NoAuth(wsgi.Middleware):

    def __call__(self, req):

class Requestify(wsgi.Middleware):

    def __init__(self, app, controller):

    def __call__(self, req):

class Authorizer(wsgi.Middleware):

    def __init__(self, application):

    def __call__(self, req):

    def _matches_any_role(self, context, roles):

class Validator(wsgi.Middleware):

    def validate_ec2_id(val):

    def __init__(self, application):

    def __call__(self, req):

def exception_to_ec2code(ex):

def ec2_error_ex(ex, req, code=None, message=None, unexpected=False):

class Executor(wsgi.Application):

    def __call__(self, req):

\OpenStack\nova-2014.1\nova\api\manager.py

class MetadataManager(manager.Manager):

    def __init__(self, *args, **kwargs):

\OpenStack\nova-2014.1\nova\api\metadata\base.py

class InvalidMetadataVersion(Exception):

class InvalidMetadataPath(Exception):

class InstanceMetadata():

    def __init__(self, instance, address=None, content=None, extra_md=None, conductor_api=None, network_info=None, vd_driver=None):

    def _route_configuration(self):

    def get_ec2_metadata(self, version):

    def get_ec2_item(self, path_tokens):

    def get_openstack_item(self, path_tokens):

    def _metadata_as_json(self, version, path):

    def _handle_content(self, path_tokens):

    def _handle_version(self, version, path):

    def _user_data(self, version, path):

    def _password(self, version, path):

    def _vendor_data(self, version, path):

    def _check_version(self, required, requested, versions=VERSIONS):

    def _check_os_version(self, required, requested):

    def _get_hostname(self):

    def lookup(self, path):

    def metadata_for_config_drive(self):

class RouteConfiguration(object):

    def __init__(self, path_handler):

    def _version(self, version):

    def handle_path(self, path_tokens):

class VendorDataDriver(object):

    def __init__(self, *args, **kwargs):

    def get(self):

def get_metadata_by_address(conductor_api, address):

def get_metadata_by_instance_id(conductor_api, instance_id, address, ctxt=None):

def _format_instance_mapping(ctxt, instance):

def ec2_md_print(data):

def find_path_in_tree(data, path_tokens):

\OpenStack\nova-2014.1\nova\api\metadata\handler.py

class MetadataRequestHandler(wsgi.Application):

    def __init__(self):

    def get_metadata_by_remote_address(self, address):

    def get_metadata_by_instance_id(self, instance_id, address):

    def __call__(self, req):

    def _handle_remote_ip_request(self, req):

    def _handle_instance_id_request(self, req):

\OpenStack\nova-2014.1\nova\api\metadata\password.py

def extract_password(instance):

def convert_password(context, password):

def handle_password(req, meta_data):

\OpenStack\nova-2014.1\nova\api\metadata\vendordata_json.py

class JsonFileVendorData(base.VendorDataDriver):

    def __init__(self, *args, **kwargs):

    def get(self):

\OpenStack\nova-2014.1\nova\api\metadata\__init__.py

\OpenStack\nova-2014.1\nova\api\openstack\auth.py

class NoAuthMiddlewareBase(base_wsgi.Middleware):

    def base_call(self, req, project_id_in_path):

class NoAuthMiddleware(NoAuthMiddlewareBase):

    def __call__(self, req):

class NoAuthMiddlewareV3(NoAuthMiddlewareBase):

    def __call__(self, req):

\OpenStack\nova-2014.1\nova\api\openstack\common.py

def status_from_state(vm_state, task_state='default'):

def task_and_vm_state_from_status(status):

def get_pagination_params(request):

def _get_int_param(request, param):

def _get_marker_param(request):

def limited(items, request, max_limit=CONF.osapi_max_limit):

def get_limit_and_marker(request, max_limit=CONF.osapi_max_limit):

def limited_by_marker(items, request, max_limit=CONF.osapi_max_limit):

def get_id_from_href(href):

def remove_version_from_href(href):

def check_img_metadata_properties_quota(context, metadata):

def dict_to_query_str(params):

def get_networks_for_instance_from_nw_info(nw_info):

def get_networks_for_instance(context, instance):

def raise_http_conflict_for_instance_invalid_state(exc, action):

class MetadataDeserializer(wsgi.MetadataXMLDeserializer):

    def deserialize(self, text):

class MetaItemDeserializer(wsgi.MetadataXMLDeserializer):

    def deserialize(self, text):

class MetadataXMLDeserializer(wsgi.XMLDeserializer):

    def extract_metadata(self, metadata_node):

    def _extract_metadata_container(self, datastring):

    def create(self, datastring):

    def update_all(self, datastring):

    def update(self, datastring):

class MetaItemTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class MetadataTemplateElement(xmlutil.TemplateElement):

    def will_render(self, datum):

class MetadataTemplate(xmlutil.TemplateBuilder):

    def construct(self):

def check_snapshots_enabled(f):

    def inner(*args, **kwargs):

class ViewBuilder(object):

    def _get_project_id(self, request):

    def _get_links(self, request, identifier, collection_name):

    def _get_next_link(self, request, identifier, collection_name):

    def _get_href_link(self, request, identifier, collection_name):

    def _get_bookmark_link(self, request, identifier, collection_name):

    def _get_collection_links(self, request, items, collection_name, id_key="uuid"):

    def _update_link_prefix(self, orig_url, prefix):

    def _update_glance_link_prefix(self, orig_url):

    def _update_compute_link_prefix(self, orig_url):

def get_instance(compute_api, context, instance_id, want_objects=False, expected_attrs=None):

def check_cells_enabled(function):

    def inner(*args, **kwargs):

\OpenStack\nova-2014.1\nova\api\openstack\compute\consoles.py

def _translate_keys(cons):

def _translate_detail_keys(cons):

class ConsoleTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ConsolesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class Controller(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 update(self, req, server_id, id, body):

    def delete(self, req, server_id, id):

def create_resource():

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\admin_actions.py

def authorize(context, action_name):

class AdminActionsController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def _pause(self, req, id, body):

    def _unpause(self, req, id, body):

    def _suspend(self, req, id, body):

    def _resume(self, req, id, body):

    def _migrate(self, req, id, body):

    def _reset_network(self, req, id, body):

    def _inject_network_info(self, req, id, body):

    def _lock(self, req, id, body):

    def _unlock(self, req, id, body):

    def _create_backup(self, req, id, body):

    def _migrate_live(self, req, id, body):

    def _reset_state(self, req, id, body):

class Admin_actions(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\agents.py

class AgentsIndexTemplate(xmlutil.TemplateBuilder):

    def construct(self):

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.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\aggregates.py

def _get_context(req):

def get_host_from_body(fn):

 def wrapped(self, req, id, body, *args, **kwargs):

class AggregateController(object):

    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 action(self, req, id, body):

    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.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\assisted_volume_snapshots.py

def make_snapshot(elem):

class SnapshotTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class AssistedVolumeSnapshotsController(wsgi.Controller):

    def __init__(self):

    def create(self, req, body):

    def delete(self, req, id):

class Assisted_volume_snapshots(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Attach_interfaces(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\availability_zone.py

def make_availability_zone(elem):

class AvailabilityZonesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

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 Availability_zone(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\baremetal_ext_status.py

class Baremetal_ext_status(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\baremetal_nodes.py

def _interface_dict(interface_ref):

def _make_node_elem(elem):

def _make_interface_elem(elem):

def is_valid_mac(address):

class NodeTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class NodesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class InterfaceTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class BareMetalNodeController(wsgi.Controller):

    def __init__(self, ext_mgr=None, *args, **kwargs):

    def _node_dict(self, node_ref):

    def index(self, req):

    def show(self, req, id):

    def create(self, req, body):

    def delete(self, req, id):

    def _check_node_exists(self, context, node_id):

    def _add_interface(self, req, id, body):

    def _remove_interface(self, req, id, body):

class Baremetal_nodes(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\block_device_mapping_v2_boot.py

class Block_device_mapping_v2_boot(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\cells.py

def make_cell(elem):

def make_capacity(cell):

 def get_units_by_mb(capacity_info):

class CellTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class CellsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class CellDeserializer(wsgi.XMLDeserializer):

    def _extract_capabilities(self, cap_node):

    def _extract_cell(self, node):

    def default(self, string):

def _filter_keys(item, keys):

def _fixup_cell_info(cell_info, keys):

def _scrub_cell(cell, detail=False):

class Controller(object):

    def __init__(self, ext_mgr):

    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.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\cell_capacities.py

class Cell_capacities(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\certificates.py

def make_certificate(elem):

class CertificateTemplate(xmlutil.TemplateBuilder):

    def construct(self):

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.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\cloudpipe.py

class CloudpipeTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class CloudpipesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class CloudpipeController(object):

    def __init__(self):

    def setup(self):

    def _get_all_cloudpipes(self, context):

    def _get_cloudpipe_for_project(self, context, project_id):

    def _get_ip_and_port(self, instance):

    def _vpn_dict(self, context, project_id, instance):

    def create(self, req, body):

    def index(self, req):

class Cloudpipe(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\cloudpipe_update.py

class CloudpipeUpdateController(wsgi.Controller):

    def __init__(self):

    def update(self, req, id, body):

class Cloudpipe_update(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\config_drive.py

class ServerConfigDriveTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ServersConfigDriveTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class Controller(servers.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 Config_drive(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\consoles.py

class ConsolesController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def get_vnc_console(self, req, id, body):

    def get_spice_console(self, req, id, body):

    def get_rdp_console(self, req, id, body):

    def get_actions(self):

class Consoles(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\console_auth_tokens.py

class ConsoleAuthTokensController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def show(self, req, id):

class Console_auth_tokens(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\console_output.py

class ConsoleOutputController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def get_console_output(self, req, id, body):

class Console_output(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\createserverext.py

class Createserverext(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Deferred_delete(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\disk_config.py

def disk_config_to_api(value):

def disk_config_from_api(value):

class ImageDiskConfigTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ImagesDiskConfigTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ImageDiskConfigController(wsgi.Controller):

    def _add_disk_config(self, context, images):

    def show(self, req, resp_obj, id):

    def detail(self, req, resp_obj):

class ServerDiskConfigTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ServersDiskConfigTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ServerDiskConfigController(wsgi.Controller):

    def _add_disk_config(self, req, servers):

    def _show(self, req, resp_obj):

    def show(self, req, resp_obj, id):

    def detail(self, req, resp_obj):

    def _set_disk_config(self, dict_):

    def create(self, req, body):

    def update(self, req, id, body):

    def _action_rebuild(self, req, id, body):

    def _action_resize(self, req, id, body):

class Disk_config(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\evacuate.py

class Controller(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def _evacuate(self, req, id, body):

class Evacuate(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Extended_availability_zone(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_server(elem):

class ExtendedAZTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedAZsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_floating_ips.py

class Extended_floating_ips(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_hypervisors.py

class Extended_hypervisors(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_ips.py

class ExtendedIpsController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def _extend_server(self, context, server, instance):

    def show(self, req, resp_obj, id):

    def detail(self, req, resp_obj):

class Extended_ips(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_server(elem):

class ExtendedIpsServerTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedIpsServersTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_ips_mac.py

class ExtendedIpsMacController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def _extend_server(self, context, server, instance):

    def show(self, req, resp_obj, id):

    def detail(self, req, resp_obj):

class Extended_ips_mac(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_server(elem):

class ExtendedIpsMacServerTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedIpsMacServersTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_quotas.py

class Extended_quotas(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Extended_server_attributes(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_server(elem):

class ExtendedServerAttributeTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedServerAttributesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_services.py

class Extended_services(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_services_delete.py

class Extended_services_delete(extensions.ExtensionDescriptor):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Extended_status(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_server(elem):

class ExtendedStatusTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedStatusesTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_virtual_interfaces_net.py

def make_vif(elem):

class ExtendedVirtualInterfaceNetTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedServerVIFNetController(wsgi.Controller):

    def __init__(self):

    def index(self, req, resp_obj, server_id):

class Extended_virtual_interfaces_net(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\extended_volumes.py

class ExtendedVolumesController(wsgi.Controller):

    def __init__(self, *args, **kwargs):

    def _extend_server(self, context, server, instance):

    def show(self, req, resp_obj, id):

    def detail(self, req, resp_obj):

class Extended_volumes(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

    def get_resources(self):

def make_server(elem):

class ExtendedVolumesServerTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtendedVolumesServersTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\fixed_ips.py

class FixedIPController(object):

    def show(self, req, id):

    def action(self, req, id, body):

    def _set_reserved(self, context, address, reserved):

class Fixed_ips(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavorextradata.py

class FlavorextradataController(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 Flavorextradata(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_flavor(elem):

class FlavorextradatumTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorextradataTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavorextraspecs.py

class ExtraSpecsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class ExtraSpecTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorExtraSpecsController(object):

    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 Flavorextraspecs(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavormanage.py

class FlavorManageController(wsgi.Controller):

    def __init__(self):

    def _delete(self, req, id):

    def _create(self, req, body):

class Flavormanage(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavor_access.py

def make_flavor(elem):

def make_flavor_access(elem):

class FlavorTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorAccessTemplate(xmlutil.TemplateBuilder):

    def construct(self):

def _marshall_flavor_access(flavor):

class FlavorAccessController(object):

    def __init__(self):

    def index(self, req, flavor_id):

class FlavorActionController(wsgi.Controller):

    def _check_body(self, body):

    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 _addTenantAccess(self, req, id, body):

    def _removeTenantAccess(self, req, id, body):

class Flavor_access(extensions.ExtensionDescriptor):

    def get_resources(self):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavor_disabled.py

class FlavorDisabledController(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 Flavor_disabled(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_flavor(elem):

class FlavorDisabledTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorsDisabledTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\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 Flavor_rxtx(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_flavor(elem):

class FlavorRxtxTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorsRxtxTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\flavor_swap.py

class FlavorSwapController(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 Flavor_swap(extensions.ExtensionDescriptor):

    def get_controller_extensions(self):

def make_flavor(elem):

class FlavorSwapTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FlavorsSwapTemplate(xmlutil.TemplateBuilder):

    def construct(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\floating_ips.py

def make_float_ip(elem):

class FloatingIPTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FloatingIPsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

def _translate_floating_ip_view(floating_ip):

def _translate_floating_ips_view(floating_ips):

def get_instance_by_floating_ip_addr(self, context, address):

def disassociate_floating_ip(self, context, instance, address):

class FloatingIPController(object):

    def __init__(self):

    def _normalize_ip(self, floating_ip):

    def show(self, req, id):

    def index(self, req):

    def create(self, req, body=None):

    def delete(self, req, id):

    def _get_ip_by_id(self, context, value):

class FloatingIPActionController(wsgi.Controller):

    def __init__(self, ext_mgr=None, *args, **kwargs):

    def _add_floating_ip(self, req, id, body):

    def _remove_floating_ip(self, req, id, body):

class Floating_ips(extensions.ExtensionDescriptor):

    def get_resources(self):

    def get_controller_extensions(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\floating_ips_bulk.py

class FloatingIPBulkController(object):

    def index(self, req):

    def show(self, req, id):

    def _get_floating_ip_info(self, context, host=None):

    def create(self, req, body):

    def update(self, req, id, body):

    def _address_to_hosts(self, addresses):

class Floating_ips_bulk(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\floating_ip_dns.py

def make_dns_entry(elem):

def make_domain_entry(elem):

class FloatingIPDNSTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FloatingIPDNSsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class DomainTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class DomainsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

def _translate_dns_entry_view(dns_entry):

def _translate_dns_entries_view(dns_entries):

def _translate_domain_entry_view(domain_entry):

def _translate_domain_entries_view(domain_entries):

def _unquote_domain(domain):

def _create_dns_entry(ip, name, domain):

def _create_domain_entry(domain, scope=None, project=None, av_zone=None):

class FloatingIPDNSDomainController(object):

    def __init__(self):

    def index(self, req):

    def update(self, req, id, body):

    def delete(self, req, id):

class FloatingIPDNSEntryController(object):

    def __init__(self):

    def show(self, req, domain_id, id):

    def update(self, req, domain_id, id, body):

    def delete(self, req, domain_id, id):

class Floating_ip_dns(extensions.ExtensionDescriptor):

    def __init__(self, ext_mgr):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\floating_ip_pools.py

def _translate_floating_ip_view(pool):

def _translate_floating_ip_pools_view(pools):

def make_float_ip(elem):

class FloatingIPPoolTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FloatingIPPoolsTemplate(xmlutil.TemplateBuilder):

    def construct(self):

class FloatingIPPoolsController(object):

    def __init__(self):

    def index(self, req):

class Floating_ip_pools(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\fping.py

class FpingController(object):

    def __init__(self, network_api=None):

    def check_fping(self):

    def fping(ips):

    def _get_instance_ips(context, instance):

    def index(self, req):

    def show(self, req, id):

class Fping(extensions.ExtensionDescriptor):

    def get_resources(self):

\OpenStack\nova-2014.1\nova\api\openstack\compute\contrib\hide_server_addresses.py

class Controller(wsgi.Controller):

    def __init__(self, *args, **kwargs):

OpenStack Index

Next