"created_at" and "updated_at" fields from "system host-if-show" are always empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Fabiano Correa Mercer |
Bug Description
The command: "system host-if-show" has the fields: "created_at" and "updated_at"
but they are always empty.
# system host-if-list 1
+------
| uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes |
+------
| 2fb3ae55-
| 31ea99ea-
| 4f0f726a-
| ad535a85-
+------
# system host-if-show 1 ad535a85-
+------
| Property | Value |
+------
| ifname | mgmt0 |
| iftype | vlan |
| ports | [] |
| imac | 40:a6:b7:b4:a8:5c |
| imtu | 1500 |
| ifclass | platform |
| ptp_role | none |
| aemode | None |
| schedpolicy | None |
| txhashpolicy | None |
| primary_reselect | None |
| uuid | ad535a85-
| ihost_uuid | 599a5587-
| vlan_id | 41 |
| uses | ['pxeboot0'] |
| used_by | [] |
| created_at | |
| updated_at | |
| sriov_numvfs | 0 |
| sriov_vf_driver | None |
| max_tx_rate | None |
| ipv4_mode | disabled |
| ipv6_mode | static |
| accelerated | [True] |
+------
Changed in starlingx: | |
assignee: | nobody → Fabiano Correa Mercer (fcorream) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
summary: |
- "created_at" and "updated_at" fields from "system host-if-show" iare + "created_at" and "updated_at" fields from "system host-if-show" are always empty |
tags: | added: stx.10.0 stx.networking |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/923182 /opendev. org/starlingx/ config/ commit/ 4ecb6cdcaeaf29b 1752b5872fd9d75 72fec75bc1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4ecb6cdcaeaf29b 1752b5872fd9d75 72fec75bc1
Author: Fabiano Correa Mercer <email address hidden>
Date: Mon Jul 1 15:35:31 2024 -0300
Include timestamps in API representation of an interface
The fields "created_at" and "updated_at" from
system host-if-show command are not being shown.
The reason is: these fields were removed from the
dictionary.
Tests done:
AIO-SX fresh install
Closes-Bug: #2071730
Change-Id: I51d4c4610e7ab0 0d0804ca0a23b5f bb2fbc15e2c
Signed-off-by: Fabiano Correa Mercer <email address hidden>