Public bug reported:

Hi,

We can use forward_dns_servers parameter in POST or PUT in Domain
module.https://maas.io/docs/api document states that.

But there is no forward_dns_servers value in the domain object.

https://user-
images.githubusercontent.com/22845579/172205113-b034d50f-e663-4ca3-83a9-ea5473fa1766.png

Can you provide support on the subject?

Will this parameter be added to the domain API or will the api document
be updated?

** Affects: maas
     Importance: Undecided
         Status: Invalid


** Tags: api

** Package changed: maas (Ubuntu) => maas

** Description changed:

  Hi,
  
  We can use forward_dns_servers parameter in POST or PUT in Domain
  module.https://maas.io/docs/api document states that.
  
  But there is no forward_dns_servers value in the domain object.
  
- >>>a=session.Domains.create(name='firstdomain',forward_dns_servers='2.3.4.5')
- 
- >>> a
- {'authoritative': True, 'ttl': None, 'is_default': False, 'id': 384, 
'resource_record_count': 0, 'name': 'firstdomain', 'resource_uri': 
'/MAAS/api/2.0/domains/384/'}
+ https://user-
+ 
images.githubusercontent.com/22845579/172205113-b034d50f-e663-4ca3-83a9-ea5473fa1766.png
  
  Can you provide support on the subject?
  
- 
- Will this parameter be added to the domain API or will the api document be 
updated?
+ Will this parameter be added to the domain API or will the api document
+ be updated?

** Tags added: api

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

Title:
  How to usage forward_dns_servers parameter /MAAS/api/2.0/domains/{id}/
  API

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1977762/+subscriptions


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

Reply via email to