Merge ~steverydz/maas:dhcp-snippets-for-machines into maas:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Steve Rydz | ||||
Approved revision: | 2ed994c6065aceaf2ecb8e0f848d2cc322b0833d | ||||
Merge reported by: | MAAS Lander | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~steverydz/maas:dhcp-snippets-for-machines | ||||
Merge into: | maas:master | ||||
Diff against target: |
123 lines (+17/-55) 4 files modified
src/maasserver/static/js/angular/controllers/node_details_networking.js (+4/-4) src/maasserver/static/js/angular/directives/dhcp_snippets_table.js (+2/-1) src/maasserver/static/partials/dhcp-snippets-table.html (+10/-1) src/maasserver/static/partials/settings.html (+1/-49) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
LukeWH (community) | code | Approve | |
Lilyana Videnova (community) | ux | Approve | |
Anthony Dillon | Pending | ||
Review via email: mp+370864@code.launchpad.net |
Commit message
only show dhcp snippets that apply to machines and devices
Description of the change
Done:
- add link to all snippets on the dhcp snippets table
- removed commented out code
- for devices and machine details interfaces tab, only show snippets that apply to that machine/device
QA:
- go to a machine that has DHCP snippets (you should be able to see which machine by looking at all snippets in settings)
- see that the snippets only apply to that machine
- see that there is a link to all snippets in the settings section
- go to a device that has DHCP snippets (you should be able to see which device by looking at all snippets in settings)
- see that the snippets only apply to that machine
- see that there is a link to all snippets in the settings section
- see that there is no link to all settings on the settings dhcp snippets table
LGTM! :)