[2.3, API] Creating a bridge requires parent's id, instead of name.

Bug #1727754 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned

Bug Description

I'm trying to create a bridge interface specifying the parent interface with a name instead of an ID, but it is not possible:

ubuntu@maas00:~$ maas admin interfaces create-bridge a8cmd3 name=br0 parent=enp0s25
{"mac_address": ["This field cannot be blank."], "parent": ["\"enp0s25\" is not a valid value for a primary key."]}

If I create specifying the ID of the interface, then it works:

maas admin interfaces create-bridge a8cmd3 name=br0 parent=107
[...]

Changed in maas:
milestone: none → 2.3.0beta4
importance: Undecided → Medium
status: New → Triaged
summary: - [2.3, API] Creating a bridge doesn't use the parent's mac address by
- default
+ [2.3, API] Creating a bridge requires parent's id, instead of name.
Changed in maas:
milestone: 2.3.0beta4 → 2.3.0rc1
Changed in maas:
milestone: 2.3.0rc1 → 2.3.0rc2
Changed in maas:
milestone: 2.3.0rc2 → 2.3.x
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.