Change the missing node_type to resource_class
Since we have change the node_type to resource_class to adapt the Ironic's change. but we have missed the change in API model definition. Change-Id: I129cefd9af02fbfdc20f1d66d382621931d709c2 Closes-Bug: #1697388
This commit is contained in:
parent
562e35773d
commit
b7408c1d99
@ -4,7 +4,7 @@
|
||||
"node_uuid" : "99a0fdb0-d73f-471b-841d-a6e149c4a9a4",
|
||||
"updated_at" : null,
|
||||
"hypervisor_type" : "ironic",
|
||||
"node_type" : "2288V3",
|
||||
"resource_class" : "2288V3",
|
||||
"created_at" : "2017-06-02T02:25:14+00:00",
|
||||
"extra_specs" : {},
|
||||
"availability_zone" : null
|
||||
@ -12,7 +12,7 @@
|
||||
{
|
||||
"extra_specs" : {},
|
||||
"availability_zone" : null,
|
||||
"node_type" : "2288V3",
|
||||
"resource_class" : "2288V3",
|
||||
"hypervisor_type" : "ironic",
|
||||
"node_uuid" : "4f047692-fe12-4706-993e-e1b4e99f016b",
|
||||
"updated_at" : null,
|
||||
|
@ -37,7 +37,7 @@ class Node(base.APIBase):
|
||||
availability_zone = wtypes.text
|
||||
"""The availability zone of the node"""
|
||||
|
||||
node_type = wtypes.text
|
||||
resource_class = wtypes.text
|
||||
"""The type of the node"""
|
||||
|
||||
hypervisor_type = wtypes.text
|
||||
|
Loading…
Reference in New Issue
Block a user