canonical / python-libmaas

Unofficial python client library for MAAS
https://maas.io
Other
63 stars 71 forks source link

Subnet class does not support configuring allow_dns #261

Open gmeszaros opened 3 years ago

gmeszaros commented 3 years ago

Cross-posting bug: https://bugs.launchpad.net/ubuntu/+source/python-libmaas/+bug/1933492

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

maas 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).

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 30 days with no activity.