7 Commits

Author SHA1 Message Date
Kan
6e8d761688 Disable meaningless sort keys in list command
The sort keys are:
For ports: 'extra'
For chassis: 'extra'
For nodes: 'properties', 'driver_info', 'extra', 'instance_info', 'driver_internal_info

Change-Id: I6b9fce16893335b7e4fb0b663b21f2dff2cdbe8e
Depends-On: I340c88ea7d098ca5943d60adc73f63a0af79a405
Closes-Bug: #1446146
2015-05-27 02:12:58 +00:00
John L. Villalovos
2df670cf30 Remove unneeded 'utf-8' coding lines
This is basically a revert of commit:
  af741ec2236619880fa902d68aef4a6ae6cef534

It was decided that only files that need to have the line:
  # -*- coding: utf-8 -*-
Should have the line[1] as a general principle

This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.

[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html

Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
2015-04-21 16:44:47 +00:00
Devananda van der Veen
94abd4972d Add support for logical names
Add client support for node logical names.

- update help strings to indicate places where Names can be used instead
  of UUIDs
- add new "-n" / "--name" parameter to "ironic node-create"
- add Name field to output of both "node-list" and "node-show"

Change-Id: Id16255e9611e95bd37a225ff475268f609726e37
Implements: blueprint logical-names
2015-03-18 10:39:59 -07:00
Nisha Agarwal
93d9d7bdc0 Add support for inspection to node-set-provision-state
Added the possible actions inspect, manage and provide
to node-set-provision-state. It enables node-show
to show the fields 'inspection_finished_at' and
'inspection_started_at' also.

Implements : blueprint ironic-node-properties-discovery

Change-Id: Ifd97696a22c0c79687a0190ec13f827467286e2e
2015-03-10 20:42:04 -07:00
Lin Tan
d302116b37 Add driver_internal_info to node-show output
Outputs driver_internal_info when performing node-show

Change-Id: I676804ae9ce9da51662aab5956601f9aa1cba93b
Implements: blueprint driver-internal-info
2015-01-28 16:12:09 +08:00
Jim Rollenhagen
c8ebac838e Add maintenance_reason to node-show output
Outputs maintenance reason when performing node-show.

Change-Id: I1ce3b96155cd38264075ccc56b051780083ab6a3
Implements: blueprint maintenance-reason
2014-11-20 08:22:45 -08:00
Lucas Alvares Gomes
14d264b171 List resources with detail
This commit adds support for getting a list of ports, chassis, ports
associated with a node and nodes associated with a chassis with all
attributes, to both the client and the shell CLI.

Closes-Bug: #1366866
Change-Id: If1941de66d70cdbcc3f31cefdbcd4f634e6ce24e
2014-09-09 15:10:44 +01:00