[UI, websocket] Include the machine note in the WS
Bug #1812355 reported by
Anthony Dillon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
The design team would like to display and edit the note data on the machine object. We will need that to be passed through the web socket to the UI and added to the edit machine endpoint.
Related branches
~blake-rouse/maas:node-description-field
Merged
into
maas:master
- MAAS Lander: Needs Fixing
- Andres Rodriguez (community): Approve
-
Diff: 835 lines (+157/-8)26 files modifiedsrc/maasserver/api/devices.py (+6/-0)
src/maasserver/api/examples/devices.json (+4/-0)
src/maasserver/api/examples/machines.json (+19/-0)
src/maasserver/api/examples/nodes.json (+6/-0)
src/maasserver/api/examples/rackcontrollers.json (+2/-0)
src/maasserver/api/examples/regioncontrollers.json (+1/-0)
src/maasserver/api/machines.py (+6/-0)
src/maasserver/api/rackcontrollers.py (+4/-0)
src/maasserver/api/regioncontrollers.py (+4/-0)
src/maasserver/api/tests/test_devices.py (+8/-2)
src/maasserver/api/tests/test_enlistment.py (+2/-0)
src/maasserver/api/tests/test_machine.py (+6/-1)
src/maasserver/api/tests/test_machines.py (+22/-0)
src/maasserver/api/tests/test_rackcontroller.py (+8/-2)
src/maasserver/api/tests/test_regioncontroller.py (+8/-2)
src/maasserver/forms/__init__.py (+4/-1)
src/maasserver/forms/tests/test_controller.py (+1/-0)
src/maasserver/forms/tests/test_device.py (+1/-0)
src/maasserver/forms/tests/test_machine.py (+1/-0)
src/maasserver/forms/tests/test_node.py (+1/-0)
src/maasserver/migrations/builtin/maasserver/0186_node_description.py (+23/-0)
src/maasserver/models/node.py (+4/-0)
src/maasserver/websockets/handlers/device.py (+1/-0)
src/maasserver/websockets/handlers/machine.py (+1/-0)
src/maasserver/websockets/handlers/tests/test_device.py (+7/-0)
src/maasserver/websockets/handlers/tests/test_machine.py (+7/-0)
tags: | added: ui-backend |
summary: |
- Include the machine note in the WS + [UI, websocket] Include the machine note in the WS |
Changed in maas: | |
milestone: | none → 2.6.0 |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
importance: | Undecided → Medium |
importance: | Medium → High |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.6.0 → 2.6.0alpha2 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Been looking into this at the moment we do not have a note field on the Node object. That is very easy to add, but I am trying to determine what is the lifecycle of the note.
At the moment I see 3 possible note types on a node.
1. A global public note (only editable by the administrator, never goes away, viewable by all users).
2. A global private note (only editable by the administrator, never goes away, viewable only to other adminstrators).
3. A user note (editable by the owner, goes away on release, viewable by the owner or administrator.)
What level is needed for this work in the UI?