/usr/lib/python2.6/site-packages/openstack/block_store/v2
NameSizeModeActions
snapshot.py23770644editdlrm
snapshot.pyc16550644editdlrm
type.py11740644editdlrm
type.pyc9050644editdlrm
volume.py43350644editdlrm
volume.pyc23600644editdlrm
_proxy.py56840644editdlrm
_proxy.pyc65120644editdlrm
__init__.py00644editdlrm
__init__.pyc1580644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/block_store/v2/_proxy.pyc (6512B)
5 Wc@s]ddklZddklZddklZddklZdei fdYZ dS(i(tsnapshot(ttype(tvolume(tproxytProxycBsbeZdZdZedZdZdZedZdZ dZ edZ RS( cCs|iti|S(sGet a single snapshot :param snapshot: The value can be the ID of a snapshot or a :class:`~openstack.volume.v2.snapshot.Snapshot` instance. :returns: One :class:`~openstack.volume.v2.snapshot.Snapshot` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_gett _snapshottSnapshot(tselfR((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt get_snapshots cKs|iti|S(sCreate a new snapshot from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.volume.v2.snapshot.Snapshot`, comprised of the properties on the Snapshot class. :returns: The results of snapshot creation :rtype: :class:`~openstack.volume.v2.snapshot.Snapshot` (t_createRR(Rtattrs((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pytcreate_snapshot"s cCs|iti|d|dS(s:Delete a snapshot :param snapshot: The value can be either the ID of a snapshot or a :class:`~openstack.volume.v2.snapshot.Snapshot` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the snapshot does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent snapshot. :returns: ``None`` tignore_missingN(t_deleteRR(RRR ((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pytdelete_snapshot.scCs|iti|S(sNGet a single type :param type: The value can be the ID of a type or a :class:`~openstack.volume.v2.type.Type` instance. :returns: One :class:`~openstack.volume.v2.type.Type` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (Rt_typetType(RR((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pytget_type?s cKs|iti|S(smCreate a new type from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.volume.v2.type.Type`, comprised of the properties on the Type class. :returns: The results of type creation :rtype: :class:`~openstack.volume.v2.type.Type` (R RR(RR ((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt create_typeKs cCs|iti|d|dS(sDelete a type :param type: The value can be either the ID of a type or a :class:`~openstack.volume.v2.type.Type` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the type does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent type. :returns: ``None`` R N(RRR(RRR ((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt delete_typeWs cCs|iti|S(s^Get a single volume :param volume: The value can be the ID of a volume or a :class:`~openstack.volume.v2.volume.Volume` instance. :returns: One :class:`~openstack.volume.v2.volume.Volume` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (Rt_volumetVolume(RR((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt get_volumefs cKs|iti|S(s{Create a new volume from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.volume.v2.volume.Volume`, comprised of the properties on the Volume class. :returns: The results of volume creation :rtype: :class:`~openstack.volume.v2.volume.Volume` (R RR(RR ((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt create_volumers cCs|iti|d|dS(sDelete a volume :param volume: The value can be either the ID of a volume or a :class:`~openstack.volume.v2.volume.Volume` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the volume does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent volume. :returns: ``None`` R N(RRR(RRR ((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt delete_volume~s ( t__name__t __module__R R tTrueRRRRRRR(((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyRs   N( topenstack.block_store.v2RRRRRRt openstackRt BaseProxyR(((sE/tmp/pip-build-wCUybK/openstacksdk/openstack/block_store/v2/_proxy.pyt s