/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/instance.pyc (3732B)
5 Wc@sMddklZddklZddklZdeifdYZdS(i(tdatabase_service(tresource(tutilstInstancecBseZdZdZdZeiZeZ eZ eZ eZ eZ eidZeidZeidZeidZeidZdZd Zd Zd Zd ZRS( tinstancet instancess /instancestflavortlinkstnametstatustvolumecCsAti|i|id}|i|d|i}|idS(sEnable login for the root user. This operation enables login from any host for the root user and provides the user with a generated root password. :param session: The session to use for making this request. :type session: :class:`~openstack.session.Session` :returns: A dictionary with keys ``name`` and ``password`` specifying the login credentials. troottendpoint_filtertuser(Rturljoint base_pathtidtposttservicetjson(tselftsessionturltresp((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pytenable_root_user+s cCsAti|i|id}|i|d|i}|idS(sqDetermine if root is enabled on an instance. Determine if root is enabled on this particular instance. :param session: The session to use for making this request. :type session: :class:`~openstack.session.Session` :returns: ``True`` if root user is enabled for a specified database instance or ``False`` otherwise. R R t rootEnabled(RRRRtgetRR(RRRR((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pytis_root_enabled:s cCsHhhd6}ti|i|id}|i|d|id|dS(sBRestart the database instance :returns: ``None`` trestarttactionR RN(RRRRRR(RRtbodyR((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pyRHs cCsOhh|d6d6}ti|i|id}|i|d|id|dS(sAResize the database instance :returns: ``None`` t flavorReftresizeRR RN(RRRRRR(RRtflavor_referenceRR((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pyR QscCsOhh|d6d6}ti|i|id}|i|d|id|dS(sOResize the volume attached to the instance :returns: ``None`` R R RR RN(RRRRRR(RRt volume_sizeRR((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pyt resize_volumeZs(t__name__t __module__t resource_keyt resources_keyRRtDatabaseServiceRtTruet allow_createtallow_retrievet allow_updatet allow_deletet allow_listRtpropRRRR R RRRR R#(((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pyRs&    N(topenstack.databaseRt openstackRRtResourceR(((sD/tmp/pip-build-wCUybK/openstacksdk/openstack/database/v1/instance.pyt s