Merge ~mpontillo/maas:move-vlans-between-fabrics--2.3 into maas:2.3

Proposed by Mike Pontillo
Status: Merged
Approved by: Mike Pontillo
Approved revision: 537512d301bb59fec4c44830fa09228ba5687585
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~mpontillo/maas:move-vlans-between-fabrics--2.3
Merge into: maas:2.3
Diff against target: 13 lines (+1/-1)
1 file modified
src/maasserver/static/partials/subnet-details.html (+1/-1)
Reviewer Review Type Date Requested Status
Mike Pontillo (community) Approve
Review via email: mp+342600@code.launchpad.net

Commit message

LP #1755587 - Allow moving a subnet to a different fabric in the UI.

Backports: 544aaae99fdb5954762980c2d93f5ae5b12d0b8a

To post a comment you must log in.
Revision history for this message
Mike Pontillo (mpontillo) wrote :

Self-approve backport.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/maasserver/static/partials/subnet-details.html b/src/maasserver/static/partials/subnet-details.html
2index 75eaae0..3348e7a 100755
3--- a/src/maasserver/static/partials/subnet-details.html
4+++ b/src/maasserver/static/partials/subnet-details.html
5@@ -142,7 +142,7 @@
6 options="fabric.id as fabric.name for fabric in fabrics | orderBy:'name'"
7 label-width="two" input-width="three"></maas-obj-field>
8 <maas-obj-field type="options" key="vlan" class="u-margin--bottom" label="VLAN" placeholder="Choose VLAN"
9- options="v.id as getVLANName(v) for v in vlans | filterByFabric:subnet.fabric"
10+ options="v.id as getVLANName(v) for v in vlans | filterByFabric:subnet.$maasForm.getValue('fabric')"
11 label-width="two" input-width="three"></maas-obj-field>
12 <dl>
13 <dt class="two-col u-text--subtle">Space</dt>

Subscribers

People subscribed via source and target branches