summaryrefslogtreecommitdiff
path: root/ironic/migrate_nova/nova_baremetal_states.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/migrate_nova/nova_baremetal_states.py')
-rw-r--r--ironic/migrate_nova/nova_baremetal_states.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/ironic/migrate_nova/nova_baremetal_states.py b/ironic/migrate_nova/nova_baremetal_states.py
deleted file mode 100644
index 1b824adf8..000000000
--- a/ironic/migrate_nova/nova_baremetal_states.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright (c) 2012 NTT DOCOMO, INC.
-# Copyright 2010 OpenStack Foundation
-# All Rights Reserved.
-#
-# 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.
-
-# NOTE(adam_g): This code has been copied directly from Nova (J2) to facilitate
-# Nova baremetal data migration tools. The original may be found in the Nova
-# tree (nova.virt.baremetal.baremetal_states).
-
-"""
-Possible baremetal node states for instances.
-
-Compute instance baremetal states represent the state of an instance as it
-pertains to a user or administrator. When combined with task states
-(task_states.py), a better picture can be formed regarding the instance's
-health.
-
-"""
-
-ACTIVE = 'active'
-BUILDING = 'building'
-DEPLOYING = 'deploying'
-DEPLOYFAIL = 'deploy failed'
-DEPLOYDONE = 'deploy complete'
-DELETED = 'deleted'
-ERROR = 'error'
-PREPARED = 'prepared'