From 9de1fa7b3b5dd6a34a1823a780279c71b517feff Mon Sep 17 00:00:00 2001 From: "ya.wang" Date: Wed, 24 Jul 2019 23:20:19 +0800 Subject: [PATCH] Add new traits to flag live migration features Add two new tratis: - COMPUTE_MIGRATE_AUTO_CONVERGE - COMPUTE_MIGRATE_POST_COPY Implements: blueprint expose-auto-converge-post-copy Change-Id: I6afd7ef33edd5187c6242d0e0e58c871cb83250e --- os_traits/compute/migrate.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 os_traits/compute/migrate.py diff --git a/os_traits/compute/migrate.py b/os_traits/compute/migrate.py new file mode 100644 index 0000000..5167065 --- /dev/null +++ b/os_traits/compute/migrate.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- + +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +TRAITS = [ + 'AUTO_CONVERGE', + 'POST_COPY', +]