port-show subcommand can not list created_at/updated_at
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Haomeng,Wang | ||
python-ironicclient |
Fix Released
|
Undecided
|
Haomeng,Wang |
Bug Description
(venv)root@
+------
| Property | Value |
+------
| extra | {} |
| uuid | 0ad5d609-
| address | aa:bb:cc:dd:ee:ff |
+------
(venv)root@
mysql> desc ports;
+------
| Field | Type | Null | Key | Default | Extra |
+------
| id | int(11) | NO | PRI | NULL | auto_increment |
| address | varchar(18) | YES | UNI | NULL | |
| node_id | int(11) | YES | MUL | NULL | |
| extra | text | YES | | NULL | |
| created_at | datetime | YES | | NULL | |
| updated_at | datetime | YES | | NULL | |
| uuid | varchar(36) | YES | UNI | NULL | |
+------
7 rows in set (0.01 sec)
I think we should display node_id, created_at and updated_at .
Changed in ironic: | |
assignee: | nobody → Haomeng,Wang (whaom) |
status: | New → In Progress |
Changed in ironic: | |
importance: | Undecided → Medium |
affects: | ironic → python-ironicclient |
affects: | python-ironicclient → ironic |
Changed in python-ironicclient: | |
assignee: | nobody → Haomeng,Wang (whaom) |
status: | New → In Progress |
summary: |
- port-show subcommand can not list all port properties + port-show subcommand can not list created_at/updated_at |
Changed in ironic: | |
status: | In Progress → Fix Committed |
Changed in python-ironicclient: | |
status: | In Progress → Fix Committed |
Changed in ironic: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-2 → 2014.1 |
Changed in python-ironicclient: | |
milestone: | none → 0.7.0 |
status: | Fix Committed → Fix Released |
The API call does not return created_at and updated_at:
http:// 9.123.136. 76:6385/ v1/ports/ 1
{ aa23-493b- b13a-f01ebfcef6 8c", 3072-4499- 97fc-ab2d666313 b8", 9.123.136. 76:6385/ v1/ports/ 0ad5d609- 3072-4499- 97fc-ab2d666313 b8", 9.123.136. 76:6385/ ports/0ad5d609- 3072-4499- 97fc-ab2d666313 b8",
"node_id": "be83a857-
"extra": {},
"uuid": "0ad5d609-
"links": [
{
"href": "http://
"rel": "self"
},
{
"href": "http://
"rel": "bookmark"
}
],
"address": "aa:bb:cc:dd:ee:ff"
}