Surface node_type on all node list websocket handlers
Bug #1951893 reported by
Caleb Ellis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Incomplete
|
Medium
|
Unassigned |
Bug Description
In order to identify what type a node is in the UI, we currently use the node's "link_type" which translates a node's type to a URL slug. It would be better to use the actual "NODE_TYPE" enum value, but we currently only receive that data for the detailed websocket node objects and not the list objects.
Ideally we should have "node_type" available for all node list objects.
Changed in maas: | |
milestone: | next → 3.3.0 |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Changed in maas: | |
milestone: | 3.4.x → 3.5.x |
To post a comment you must log in.
Would be easy to do, but I'm interested in why this is needed? I think for lists, we only deal with one type of nodes, no?