/usr/lib/python2.6/site-packages/openstack/database/v1
NameSizeModeActions
database.py13960644editdlrm
database.pyc9690644editdlrm
flavor.py10930644editdlrm
flavor.pyc8330644editdlrm
instance.py34790644editdlrm
instance.pyc37320644editdlrm
user.py15300644editdlrm
user.pyc13650644editdlrm
_proxy.py111950644editdlrm
_proxy.pyc128010644editdlrm
__init__.py00644editdlrm
__init__.pyc1550644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/database/v1/_proxy.pyc (12801B)
5 Wc@smddklZddklZddklZddklZddk l Z de i fdYZ dS( i(tdatabase(tflavor(tinstance(tuser(tproxytProxycBseZdZedZedZdZdZedZdZ dZ dZ ed Z ed Z d Zd Zd ZdZedZedZdZdZRS(cKs|iti|S(sCreate a new database from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.database.v1.database.Database`, comprised of the properties on the Database class. :returns: The results of server creation :rtype: :class:`~openstack.database.v1.database.Database` (t_createt _databasetDatabase(tselftattrs((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytcreate_databases cCs|iti|d|dS(sDelete a database :param database: The value can be either the ID of a database or a :class:`~openstack.database.v1.database.Database` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the database does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent database. :returns: ``None`` tignore_missingN(t_deleteRR(R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytdelete_database"s cCs|iti|d|S(sFind a single database :param name_or_id: The name or ID of a database. :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.database.v1.database.Database` or None R (t_findRR(R t name_or_idR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt find_database2s cKs|itidt|S(s,Return a generator of databases :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of database objects :rtype: :class:`~openstack.database.v1.database.Database` t paginated(t_listRRtFalse(R tquery((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt databases@s cCs|iti|S(sGet a single database :param database: The value can be the ID of a database or a :class:`~openstack.database.v1.database.Database` instance. :returns: One :class:`~openstack.database.v1.database.Database` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_getRR(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt get_databaseKs cCs|iti|d|S(sFind a single flavor :param name_or_id: The name or ID of a flavor. :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.database.v1.flavor.Flavor` or None R (Rt_flavortFlavor(R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt find_flavorXs cCs|iti|S(sbGet a single flavor :param flavor: The value can be the ID of a flavor or a :class:`~openstack.database.v1.flavor.Flavor` instance. :returns: One :class:`~openstack.database.v1.flavor.Flavor` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RRR(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt get_flavorfs cKs|itidt|S(s$Return a generator of flavors :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of flavor objects :rtype: :class:`~openstack.database.v1.flavor.Flavor` R(RRRR(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytflavorsrs cKs|iti|S(sCreate a new instance from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.database.v1.instance.Instance`, comprised of the properties on the Instance class. :returns: The results of server creation :rtype: :class:`~openstack.database.v1.instance.Instance` (Rt _instancetInstance(R R ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytcreate_instance}s cCs|iti|d|dS(sDelete an instance :param instance: The value can be either the ID of an instance or a :class:`~openstack.database.v1.instance.Instance` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the instance does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent instance. :returns: ``None`` R N(R RR(R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytdelete_instances cCs|iti|d|S(sFind a single instance :param name_or_id: The name or ID of a instance. :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.database.v1.instance.Instance` or None R (RRR(R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt find_instances cCs|iti|S(sGet a single instance :param instance: The value can be the ID of an instance or a :class:`~openstack.database.v1.instance.Instance` instance. :returns: One :class:`~openstack.database.v1.instance.Instance` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RRR(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt get_instances cKs|itidt|S(s,Return a generator of instances :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of instance objects :rtype: :class:`~openstack.database.v1.instance.Instance` R(RRRR(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt instancess cKs|iti||S(sUpdate a instance :param instance: Either the id of a instance or a :class:`~openstack.database.v1.instance.Instance` instance. :attrs kwargs: The attributes to update on the instance represented by ``value``. :returns: The updated instance :rtype: :class:`~openstack.database.v1.instance.Instance` (t_updateRR(R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytupdate_instances cKs|iti|S(ssCreate a new user from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.database.v1.user.User`, comprised of the properties on the User class. :returns: The results of server creation :rtype: :class:`~openstack.database.v1.user.User` (Rt_usertUser(R R ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt create_users cCs|iti|d|dS(sDelete a user :param user: The value can be either the ID of a user or a :class:`~openstack.database.v1.user.User` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the user does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent user. :returns: ``None`` R N(R R'R((R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt delete_users cCs|iti|d|S(sFind a single user :param name_or_id: The name or ID of a user. :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.database.v1.user.User` or None R (RR'R((R RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt find_users cKs|itidt|S(sReturn a generator of users :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of user objects :rtype: :class:`~openstack.database.v1.user.User` R(RR'R(R(R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytuserss cCs|iti|S(sRGet a single user :param user: The value can be the ID of a user or a :class:`~openstack.database.v1.user.User` instance. :returns: One :class:`~openstack.database.v1.user.User` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RR'R((R R((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pytget_users (t__name__t __module__R tTrueRRRRRRRR R!R"R#R$R&R)R*R+R,R-(((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyRs&         N( topenstack.database.v1RRRRRRRR't openstackRt BaseProxyR(((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/_proxy.pyt s