Comment 6 for bug 1704501

Revision history for this message
Mike Pontillo (mpontillo) wrote : Re: can't change which fabric a vlan belongs to

I've thought for a long time that a "merge fabrics" operation should be implemented.

That said, you can work around this by modifying the database directly. For example, if you wanted to move everything into fabric-0, first you could update every VLAN to assign it a unique VID, and do something like this:

$ sudo maas-region dbshell

maasdb=# select id, name from maasserver_fabric;
 id | name
----+----------
  0 | fabric-0
  1 | fabric-1
(2 rows)

maasdb=# update maasserver_vlan set fabric_id=0;
UPDATE 2