Public bug reported:

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

** Affects: python-libmaas (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933492

Title:
  Subnet class does not support configuring allow_dns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-libmaas/+bug/1933492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to