/usr/lib/python2.6/site-packages/openstack/orchestration/v1
NameSizeModeActions
resource.py24350644editdlrm
resource.pyc13980644editdlrm
stack.py53260644editdlrm
stack.pyc44190644editdlrm
_proxy.py59950644editdlrm
_proxy.pyc63010644editdlrm
__init__.py00644editdlrm
__init__.pyc1600644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/orchestration/v1/_proxy.pyc (6301B)
Ñò 5 Wc@s]ddklZddklZddklZddklZdeifd„ƒYZ dS(iÿÿÿÿ(t exceptions(tresource(tstack(tproxytProxycBsPeZed„Zed„Zd„Zd„Zd„Zed„Z d„Z RS(cKs*|o tinti}|i||S(slCreate a new stack from attributes :param bool perview: When ``True``, returns :class:`~openstack.orchestration.v1.stack.StackPreview` objects, otherwise :class:`~openstack.orchestration.v1.stack.Stack`. *Default: ``False``* :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.orchestration.v1.stack.Stack`, comprised of the properties on the Stack class. :returns: The results of stack creation :rtype: :class:`~openstack.orchestration.v1.stack.Stack` (t_stackt StackPreviewtStackt_create(tselftpreviewtattrststk((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt create_stackscCs|iti|d|ƒS(séFind a single stack :param name_or_id: The name or ID of a stack. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.orchestration.v1.stack.Stack` or None tignore_missing(t_findRR(R t name_or_idR((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt find_stack&s cKs|itidt|S(s%Return a generator of stacks :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of stack objects :rtype: :class:`~openstack.orchestration.v1.stack.Stack` t paginated(t_listRRtFalse(R tquery((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pytstacks4s cCs|iti|ƒS(s]Get a single stack :param stack: The value can be the ID of a stack or a :class:`~openstack.orchestration.v1.stack.Stack` instance. :returns: One :class:`~openstack.orchestration.v1.stack.Stack` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_getRR(R R((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt get_stack?s cKs|iti||S(sùUpdate a stack :param stack: The value can be the ID of a stack or a :class:`~openstack.orchestration.v1.stack.Stack` instance. :param kwargs \*\*attrs: The attributes to update on the stack represented by ``value``. :returns: The updated stack :rtype: :class:`~openstack.orchestration.v1.stack.Stack` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_updateRR(R RR ((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt update_stackKs cCs|iti|d|ƒdS(s'Delete a stack :param stack: The value can be either the ID of a stack or a :class:`~openstack.orchestration.v1.stack.Stack` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the stack does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent server. :returns: ``None`` RN(t_deleteRR(R RR((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt delete_stackZsc KsÇytii|ƒ}Wn-tj o!tidh|d6ƒ‚nX|ip>|i|ƒ}|djotidh|d6ƒ‚qŽnh|id6|i d6}|i t i dt d||S(sÔReturn a generator of resources :param stack: This can be a stack object, or the name of a stack for which the resources are to be listed. :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of resource objects if the stack exists and there are resources in it. If the stack cannot be found, an exception is thrown. :rtype: A generator of :class:`~openstack.orchestration.v1.resource.Resource` :raises: :class:`~openstack.exceptions.ResourceNotFound` when the stack cannot be found. sNo stack found for %(v)stvt stack_nametstack_idRt path_argsN(RRtfrom_idt ValueErrorRtResourceNotFoundtnameRtNonetidRt _resourcetResourceR(R RRR R ((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt resourcesjs    ( t__name__t __module__RR tTrueRRRRRR)(((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyRs    N( t openstackRtopenstack.orchestration.v1RR'RRRt BaseProxyR(((sG/tmp/pip-build-wCUybK/openstacksdk/openstack/orchestration/v1/_proxy.pyt s