Expose node's clean_step and bump default version
This exposes the node's clean_step field by bumping the default version from 1.6 to 1.7 and adding clean_step to various lists. Change-Id: I2d9f2e58ed198bc8cb5bab67a6f8baf85bbbf972 Closes-Bug: #1466693
This commit is contained in:
parent
e144f4762a
commit
aea764b451
@ -36,7 +36,7 @@ from ironicclient import exc
|
||||
# microversion support in the client properly! See
|
||||
# http://specs.openstack.org/openstack/ironic-specs/specs/kilo/api-microversions.html # noqa
|
||||
# for full details.
|
||||
DEFAULT_VER = '1.6'
|
||||
DEFAULT_VER = '1.7'
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -29,6 +29,7 @@ class NodeShellTest(utils.BaseTestCase):
|
||||
node = object()
|
||||
n_shell._print_node_show(node)
|
||||
exp = ['chassis_uuid',
|
||||
'clean_step',
|
||||
'created_at',
|
||||
'console_enabled',
|
||||
'driver',
|
||||
|
@ -33,6 +33,7 @@ class Resource(object):
|
||||
FIELDS = {
|
||||
'address': 'Address',
|
||||
'chassis_uuid': 'Chassis UUID',
|
||||
'clean_step': 'Clean Step',
|
||||
'console_enabled': 'Console Enabled',
|
||||
'created_at': 'Created At',
|
||||
'description': 'Description',
|
||||
@ -119,6 +120,7 @@ CHASSIS_RESOURCE = Resource(
|
||||
NODE_DETAILED_RESOURCE = Resource(
|
||||
['chassis_uuid',
|
||||
'created_at',
|
||||
'clean_step',
|
||||
'console_enabled',
|
||||
'driver',
|
||||
'driver_info',
|
||||
@ -146,6 +148,7 @@ NODE_DETAILED_RESOURCE = Resource(
|
||||
# the "nodes" database table. "chassis_id" is stored, but it is
|
||||
# internal to ironic. See bug #1443003 for more details.
|
||||
'chassis_uuid',
|
||||
'clean_step',
|
||||
'driver_info',
|
||||
'driver_internal_info',
|
||||
'extra',
|
||||
|
Loading…
Reference in New Issue
Block a user