/usr/lib/python2.6/site-packages/novaclient/v2
Edit: /usr/lib/python2.6/site-packages/novaclient/v2/server_migrations.pyc (3332B)
Ñò
4
Wc @ sV d d k l Z d d k l Z d e i f d YZ d e i f d YZ d S( i˙˙˙˙( t api_versions( t baset ServerMigrationc B s e Z d Z RS( c C s d S( Ns
( ( t self( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt __repr__ s ( t __name__t
__module__R ( ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyR s t ServerMigrationsManagerc B sn e Z e Z e i d d Z e i d d Z e i d d Z e i d d Z RS( s 2.22c C sZ h d d 6} | i i i d t i | t i | f d | \ } } | i | | S( sù
Force on-going live migration to complete
:param server: The :class:`Server` (or its ID)
:param migration: Migration id that will be forced to complete
:returns: An instance of novaclient.base.TupleWithMeta
t force_completes /servers/%s/migrations/%s/actiont bodyN( t Nonet apit clientt postR t getidt convert_into_with_meta( R t servert migrationR t resp( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt live_migrate_force_complete s
s 2.23c C s, | i d t i | t i | f d S( s
Get a migration of a specified server
:param server: The :class:`Server` (or its ID)
:param migration: Migration id that will be gotten.
:returns: An instance of
novaclient.v2.server_migrations.ServerMigration
s /servers/%s/migrations/%sR ( t _getR R ( R R R ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt get, s
c C s | i d t i | d S( s³
Get a migrations list of a specified server
:param server: The :class:`Server` (or its ID)
:returns: An instance of novaclient.base.ListWithMeta
s /servers/%s/migrationst
migrations( t _listR R ( R R ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt list: s s 2.24c C s) | i d t i | t i | f S( sç
Cancel an ongoing live migration
:param server: The :class:`Server` (or its ID)
:param migration: Migration id that will be cancelled
:returns: An instance of novaclient.base.TupleWithMeta
s /servers/%s/migrations/%s( t _deleteR R ( R R R ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt live_migration_abortE s (
R R R t resource_classR t wrapsR R R R ( ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyR s
N( t
novaclientR R t ResourceR t ManagerWithFindR ( ( ( sJ /tmp/pip-build-wCUybK/python-novaclient/novaclient/v2/server_migrations.pyt s