<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/nova.git/doc/api_samples/server-migrations, branch master</title>
<subtitle>opendev.org: openstack/nova.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/'/>
<entry>
<title>Filter migrations by user_id/project_id</title>
<updated>2019-10-14T18:35:11+00:00</updated>
<author>
<name>zhangbailin</name>
<email>zhangbailin@inspur.com</email>
</author>
<published>2019-08-02T09:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=ac165112b7918e5aaaa80819e37b223edf86bb06'/>
<id>ac165112b7918e5aaaa80819e37b223edf86bb06</id>
<content type='text'>
In microversion 2.80, the ``GET /os-migrations`` API will have
optional ``user_id`` and ``project_id`` query parameters for
filtering migrations by user and/or project:

* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394
* GET /os-migrations?project_id=011ee9f4-8f16-4c38-8633-a254d420fd54
* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394&amp;project_id=011ee9f4-8f16-4c38-8633-a254d420fd54

And expose the ``user_id`` and ``project_id`` fields in the following APIs:

* GET /os-migrations
* GET /servers/{server_id}/migrations
* GET /servers/{server_id}/migrations/{migration_id}

Co-Authored-By: Qiu Fossen &lt;qiujunting&gt;
Part of blueprint add-user-id-field-to-the-migrations-table
Change-Id: I7313d6cde1a5e1dc7dd6f3c0dff9f30bbf4bee2c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In microversion 2.80, the ``GET /os-migrations`` API will have
optional ``user_id`` and ``project_id`` query parameters for
filtering migrations by user and/or project:

* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394
* GET /os-migrations?project_id=011ee9f4-8f16-4c38-8633-a254d420fd54
* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394&amp;project_id=011ee9f4-8f16-4c38-8633-a254d420fd54

And expose the ``user_id`` and ``project_id`` fields in the following APIs:

* GET /os-migrations
* GET /servers/{server_id}/migrations
* GET /servers/{server_id}/migrations/{migration_id}

Co-Authored-By: Qiu Fossen &lt;qiujunting&gt;
Part of blueprint add-user-id-field-to-the-migrations-table
Change-Id: I7313d6cde1a5e1dc7dd6f3c0dff9f30bbf4bee2c
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ServerMigrationSampleJsonTests to use sample files from version dir</title>
<updated>2018-07-19T05:13:24+00:00</updated>
<author>
<name>ghanshyam</name>
<email>gmann@ghanshyammann.com</email>
</author>
<published>2018-07-14T02:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=064f215172b78d18f18699f1cece7f2b61d198ad'/>
<id>064f215172b78d18f18699f1cece7f2b61d198ad</id>
<content type='text'>
The ServerMigrationSampleJsonTests functional tests set up
``self.api.microversion`` to 2.22 in its' setUp(), which use
sample files from non version dir.

For consistency, this commit makes these tests to use sample
files from versioned dir.

Change-Id: I9af2348cf7dba53e0fef4054bcedcd5b0c626f50
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ServerMigrationSampleJsonTests functional tests set up
``self.api.microversion`` to 2.22 in its' setUp(), which use
sample files from non version dir.

For consistency, this commit makes these tests to use sample
files from versioned dir.

Change-Id: I9af2348cf7dba53e0fef4054bcedcd5b0c626f50
</pre>
</div>
</content>
</entry>
<entry>
<title>API: add support to abort queued live migration in microversion 2.65</title>
<updated>2018-07-16T17:57:11+00:00</updated>
<author>
<name>Kevin_Zheng</name>
<email>zhengzhenyu@huawei.com</email>
</author>
<published>2018-06-07T08:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=4cae503767857b90ce9ce609bca6f46575aae0b2'/>
<id>4cae503767857b90ce9ce609bca6f46575aae0b2</id>
<content type='text'>
This patch bumped API microversion to 2.65 to add support for
abort live migrations in ``queued`` and ``preparing`` status.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I4636a8d270ce01c1831bc951c4497ad472bc9aa8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch bumped API microversion to 2.65 to add support for
abort live migrations in ``queued`` and ``preparing`` status.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I4636a8d270ce01c1831bc951c4497ad472bc9aa8
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ServerMigrationSampleJsonTestsV2_24 to use its own sample file</title>
<updated>2018-07-16T17:57:11+00:00</updated>
<author>
<name>Kevin_Zheng</name>
<email>zhengzhenyu@huawei.com</email>
</author>
<published>2018-07-11T04:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=e8192177e8d7de1aac40ed9f5369e2c7e62eea8f'/>
<id>e8192177e8d7de1aac40ed9f5369e2c7e62eea8f</id>
<content type='text'>
The ServerMigrationSampleJsonTestsV2_24 functional tests set up
``self.api.microversion`` to 2.24 in its' setUp(), by doing this
it will not need to add its' own sample files, as there will be
no difference anyway. But this makes Tests that inherent from this
test class impossibe to run as the microversion will always been
overriden.

This patch fix it by change the tests to use self.microversion and
adds its' own sample files.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I07222efb8d566fa1dd395ef948eae6e6c4b13678
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ServerMigrationSampleJsonTestsV2_24 functional tests set up
``self.api.microversion`` to 2.24 in its' setUp(), by doing this
it will not need to add its' own sample files, as there will be
no difference anyway. But this makes Tests that inherent from this
test class impossibe to run as the microversion will always been
overriden.

This patch fix it by change the tests to use self.microversion and
adds its' own sample files.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I07222efb8d566fa1dd395ef948eae6e6c4b13678
</pre>
</div>
</content>
</entry>
<entry>
<title>Add pagination and Changes-since filter support for os-migrations.</title>
<updated>2018-01-10T19:02:53+00:00</updated>
<author>
<name>Kevin_Zheng</name>
<email>zhengzhenyu@huawei.com</email>
</author>
<published>2016-06-16T09:28:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=92a0fc0b9f89f2472a574ef86c007d209a516a41'/>
<id>92a0fc0b9f89f2472a574ef86c007d209a516a41</id>
<content type='text'>
This patch adds pagination support and changes-since filter
for os-migrations API.

Users can now use 'limit' and 'marker' to perform paginate
query of running migrations list. Users can also filter the
results according to the migrations' updated time.

The ``GET /os-migrations`` and server migrations APIs will now
return a uuid value in addition to the migrations id in the response,
and the query parameter schema of the ``GET /os-migrations`` API no
longer allows additional properties.

Co-Authored-By: Yikun Jiang &lt;yikunkero@gmail.com&gt;

Implement: blueprint add-pagination-and-change-since-for-migration-list
Change-Id: I7e01f95d7173d9217f76e838b3ea71555151ef56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds pagination support and changes-since filter
for os-migrations API.

Users can now use 'limit' and 'marker' to perform paginate
query of running migrations list. Users can also filter the
results according to the migrations' updated time.

The ``GET /os-migrations`` and server migrations APIs will now
return a uuid value in addition to the migrations id in the response,
and the query parameter schema of the ``GET /os-migrations`` API no
longer allows additional properties.

Co-Authored-By: Yikun Jiang &lt;yikunkero@gmail.com&gt;

Implement: blueprint add-pagination-and-change-since-for-migration-list
Change-Id: I7e01f95d7173d9217f76e838b3ea71555151ef56
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix data error in api samples doc</title>
<updated>2016-11-16T12:58:06+00:00</updated>
<author>
<name>int32bit</name>
<email>krystism@gmail.com</email>
</author>
<published>2016-11-15T16:38:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=512ebfb1860e43d68e5e237d7259c97fd14aba65'/>
<id>512ebfb1860e43d68e5e237d7259c97fd14aba65</id>
<content type='text'>
Change-Id: I8c4f49d18968636da7e76b51acc6053f169e3ae0
Closes-Bug: #1641988
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8c4f49d18968636da7e76b51acc6053f169e3ae0
Closes-Bug: #1641988
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new APIs and deprecate old API for migrations</title>
<updated>2016-02-26T14:25:48+00:00</updated>
<author>
<name>ShaoHe Feng</name>
<email>shaohe.feng@intel.com</email>
</author>
<published>2015-12-24T11:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=98e4a64ad3f1f975e78224d19e729787b902e84c'/>
<id>98e4a64ad3f1f975e78224d19e729787b902e84c</id>
<content type='text'>
This patch does two things:
1. Add two APIs /servers/migrations:index/show for server migrations.
Two new novaclient commands server-migration-list and
server-migration-show will also be added.
ref: I071198fa9ba0699383bdebf4fab54714a435e6c3

2. Add ref link for /os-migrations
The old top-level resource `/os-migrations` won't be extended anymore.
It is deprecated.
Adding migration_type for it, also add ref link to
/servers/{uuid}/migrations/{id} for it when the migration is an
in progress migration.

Partially implements blueprint live-migration-progress-report

Change-Id: Ia92ecbe3c99082e3a34adf4fd29041b1a95ef21e
Co-authored-by: ShaoHe Feng &lt;shaohe.feng@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch does two things:
1. Add two APIs /servers/migrations:index/show for server migrations.
Two new novaclient commands server-migration-list and
server-migration-show will also be added.
ref: I071198fa9ba0699383bdebf4fab54714a435e6c3

2. Add ref link for /os-migrations
The old top-level resource `/os-migrations` won't be extended anymore.
It is deprecated.
Adding migration_type for it, also add ref link to
/servers/{uuid}/migrations/{id} for it when the migration is an
in progress migration.

Partially implements blueprint live-migration-progress-report

Change-Id: Ia92ecbe3c99082e3a34adf4fd29041b1a95ef21e
Co-authored-by: ShaoHe Feng &lt;shaohe.feng@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new API to force live migration to complete</title>
<updated>2016-02-08T07:59:52+00:00</updated>
<author>
<name>Pawel Koniszewski</name>
<email>pawel.koniszewski@intel.com</email>
</author>
<published>2016-02-08T07:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=c9091d0871948377685feca0eb2e41d8ad38228a'/>
<id>c9091d0871948377685feca0eb2e41d8ad38228a</id>
<content type='text'>
This change adds manual knob to force ongoing live migration to
complete. It is implemented as a new server-migrations API.

DocImpact
ApiImpact

Implements: blueprint pause-vm-during-live-migration
Change-Id: I034b4041414a797f65ede52db2963107f2ef7456
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds manual knob to force ongoing live migration to
complete. It is implemented as a new server-migrations API.

DocImpact
ApiImpact

Implements: blueprint pause-vm-during-live-migration
Change-Id: I034b4041414a797f65ede52db2963107f2ef7456
</pre>
</div>
</content>
</entry>
</feed>
