Subnet class does not support configuring allow_dns

Bug #1933492 reported by Gábor Mészáros
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-libmaas (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Cross-posting bug: https://github.com/maas/python-libmaas/issues/261

in python3-libmaas class Subnet() does not allow setting allow_dns option.
Through the cli and gui it can be configured.

maas <root> subnet update 2 allow_dns=false

https://github.com/maas/maas/blob/master/src/maasserver/api/subnets.py#L100-L101

(side note: cli only allows false/true, not 0/1 as the documentation suggests).

description: updated
James Page (james-page)
Changed in python-libmaas (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
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.