Module ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ImportFrom alias alias alias alias alias Assign NameStore Call NameLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Str Str Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return Call NameLoad Str Dict Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad Str body Assign NameStore ListLoad Call NameLoad Str orelse Assign NameStore ListLoad Return Call NameLoad Str Dict Str Str Call NameLoad NameLoad Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad ExceptHandler type NameLoad body Assign NameStore ListLoad Return Call NameLoad Str Dict Str Str Call NameLoad NameLoad Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad ExceptHandler type NameLoad body Assign NameStore ListLoad Return Call NameLoad Str Dict Str Str Call NameLoad NameLoad Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call NameLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad ExceptHandler type NameLoad body Assign NameStore ListLoad Return Call NameLoad Str Dict Str Str Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Return Call NameLoad Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad Str Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Call NameLoad Str Dict Str Str Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str ListLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad NameLoad orelse Return Call NameLoad Return Call NameLoad Str Dict Str Str Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str ListLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Str body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str decorator_list
N/A django.core.urlresolvers reverse django.http HttpRequest HttpResponse HttpResponseBadRequest HttpResponseNotFound django.shortcuts render_to_response django.core.exceptions ObjectDoesNotExist django.views.decorators.csrf csrf_exempt collections namedtuple N/A opus.lib.log N/A log N/A N/A N/A N/A opus lib log get_logger opus.project.dcmux.models Provider Policy AggregateImage RealImage Instance N/A HardwareProfile N/A namedtuple HardwareProfile id uri_lookup N/A N/A request resource N/A N/A N/A N/A N/A request build_absolute_uri N/A reverse N/A opus.project.dcmux.%s resource N/A primary_entry_point N/A N/A request N/A N/A N/A The entry point which lists the urls for all resources. N/A resource_names N/A primary_entry_point hardware_profiles realms images instances N/A Link N/A namedtuple Link resource uri N/A links N/A N/A resource resource_names N/A N/A N/A N/A links append N/A Link resource N/A uri_lookup request resource N/A N/A render_to_response dcmux/primary_entry.xml N/A links links mimetype application/xml N/A hardware_profile_list N/A N/A request name N/A None N/A N/A Lists all hardware profiles, or the given one if id!=None.

    In dcmux, there is one hardware profile.  The real hardware profile
    that will be used is specified in the RealImage.

     N/A N/A N/A name None N/A name generic N/A N/A hardware_profiles N/A N/A HardwareProfile generic N/A N/A hardware_profiles N/A N/A N/A render_to_response dcmux/hardware_profiles.xml N/A hardware_profiles_uri hardware_profiles N/A uri_lookup request hardware_profiles hardware_profiles mimetype application/xml N/A realm_list N/A N/A request id N/A None N/A N/A List all realms, or the given realm if id!=None. N/A N/A id None N/A N/A realms N/A N/A N/A Policy objects all N/A N/A N/A N/A realms N/A N/A N/A N/A Policy objects get id id N/A N/A N/A ValueError N/A N/A realms N/A N/A N/A ObjectDoesNotExist N/A N/A realms N/A N/A N/A render_to_response dcmux/realms.xml N/A realms_uri realms N/A uri_lookup request realms realms mimetype application/xml N/A image_list N/A N/A request id N/A None N/A N/A List all aggregate images, or the given image if id!=None. N/A N/A id None N/A N/A images N/A N/A N/A AggregateImage objects all N/A N/A N/A N/A images N/A N/A N/A N/A AggregateImage objects get id id N/A N/A N/A ValueError N/A N/A images N/A N/A N/A ObjectDoesNotExist N/A N/A images N/A N/A N/A render_to_response dcmux/images.xml N/A images_uri images N/A uri_lookup request images images mimetype application/xml N/A instances_list N/A N/A request N/A N/A N/A Lists all instances (GET) or creates an instance (POST).

    See the instance_list and instance_create function for more information on
    this.

     N/A N/A N/A N/A request method startswith POST N/A N/A N/A instance_create request N/A N/A N/A instance_list request N/A csrf_exempt instance_list N/A N/A request id N/A None N/A N/A List all instances, or the given instance if id!=None. N/A N/A id None N/A N/A instances N/A N/A N/A Instance objects all N/A N/A N/A N/A instances N/A N/A N/A N/A Instance objects get id id N/A N/A N/A ValueError N/A N/A instances N/A N/A N/A ObjectDoesNotExist N/A N/A instances N/A N/A N/A render_to_response dcmux/instances.xml N/A images_uri instances_uri instances N/A uri_lookup request images N/A uri_lookup request instances instances mimetype application/xml N/A instance_create N/A N/A request N/A N/A N/A Creates an instance with the policy given by realm_id.

    Uses image_id and realm_id from the application/x-www-form-urlencoded
    format.  Both of these fields are required.

     N/A N/A N/A image_id N/A N/A request POST N/A image_id N/A realm_id N/A N/A request POST N/A realm_id N/A N/A N/A KeyError N/A N/A N/A HttpResponseBadRequest Both an image_id and a realm_id must be specified. N/A N/A N/A policy N/A N/A N/A Policy objects get id realm_id N/A N/A N/A ObjectDoesNotExist N/A N/A N/A HttpResponseBadRequest The requested realm_id was not found. N/A provider N/A N/A policy get_next_provider image_id N/A driver N/A N/A provider get_client N/A N/A N/A aggregate_image N/A N/A N/A AggregateImage objects get id image_id N/A N/A N/A ObjectDoesNotExist N/A N/A N/A HttpResponseBadRequest The requested image_id was not found. N/A N/A N/A real_image N/A N/A N/A RealImage objects get aggregate_image aggregate_image provider provider N/A N/A N/A ObjectDoesNotExist N/A N/A N/A HttpResponseBadRequest There is no aggregate image image matching this provider. N/A image None N/A node N/A N/A driver list_images N/A N/A N/A N/A node id N/A real_image image_id N/A N/A image node N/A N/A N/A image N/A N/A N/A ValueError N/A Image was not found in the provider: %s real_image N/A size N/A N/A N/A driver list_sizes N/A 0 N/A database_instance N/A Instance image aggregate_image owner_id name provider provider instance_id -1 policy policy N/A N/A N/A database_instance save N/A instance N/A N/A driver create_node image image name N/A dcmux-%s N/A database_instance id size size N/A N/A database_instance instance_id N/A instance id N/A N/A N/A database_instance save N/A N/A render_to_response dcmux/instances.xml N/A images_uri instances_uri instances N/A uri_lookup request images N/A uri_lookup request instances N/A instance mimetype application/xml N/A instance_action N/A N/A request id action N/A N/A N/A Perform an action on an instance.

    The Deltacloud api says that these actions should be performed by using a
    POST request on this uri.  We let any request type through here, assuming
    that it's POST.

     N/A instance N/A N/A N/A Instance objects get id id N/A N/A N/A N/A action lower reboot N/A N/A N/A instance_reboot request instance N/A N/A N/A N/A N/A action lower destroy N/A N/A N/A instance_destroy request instance N/A N/A N/A HttpResponseNotFound N/A N/A render_to_response dcmux/instances.xml N/A images_uri instances_uri instances N/A uri_lookup request images N/A uri_lookup request instances N/A instance mimetype application/xml N/A csrf_exempt instance_reboot N/A N/A request instance N/A N/A N/A N/A N/A instance state RUNNING N/A N/A N/A N/A N/A N/A instance driver_instance_object reboot N/A N/A instance state PENDING N/A instance_destroy N/A N/A request instance N/A N/A N/A N/A N/A N/A instance driver_instance_object destroy N/A N/A instance state PENDING N/A