Added priority level to Nop action
Change-Id: I166e9cc80b1d9e326c9d65b47e38da26dffb5004 Closes-Bug: #1521898
This commit is contained in:
@@ -49,10 +49,11 @@ class Primitives(Enum):
|
||||
|
||||
|
||||
priority_primitives = {
|
||||
Primitives.HYPERVISOR_STATE.value: 0,
|
||||
Primitives.LIVE_MIGRATE.value: 1,
|
||||
Primitives.COLD_MIGRATE.value: 2,
|
||||
Primitives.POWER_STATE.value: 3
|
||||
Primitives.NOP.value: 0,
|
||||
Primitives.HYPERVISOR_STATE.value: 1,
|
||||
Primitives.LIVE_MIGRATE.value: 2,
|
||||
Primitives.COLD_MIGRATE.value: 3,
|
||||
Primitives.POWER_STATE.value: 4,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user