Reply

WAPI GET Name Server Groups

New Member
Posts: 3
3158     0

Need to get the servers list inside a Name Server Group, name and ip address, the only think I'm able to get right now is the list of Name Server Groups using something like:
https://{{grid_master}}/wapi/v2.7/nsgroup?_return_fields%2B=grid_primary,grid_secondaries
Is there a way to obtain that list?

Re: WAPI GET Name Server Groups

[ Edited ]
Superuser
Posts: 115
3158     0

Are you using Python or Ansible?

It will return a JSON object and you loop and parse it.

 

Let me know if you are using Python, if so I can send you an example API

 

[
    {
        "_ref": "nsgroup/ZG5zLm5zX2dyb3VwJHRlc3Q:test",
        "grid_primary": [
            {
                "name": "gm.baksh.local",
                "stealth": false
            }
        ],
        "grid_secondaries": [],
        "name": "test"
    }
]
Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: WAPI GET Name Server Groups

New Member
Posts: 3
3158     0

I'm using Infoblox WAPI Postman Collection since I'm pretty new on this

Re: WAPI GET Name Server Groups

New Member
Posts: 3
3159     0

Python could be good for me as well

Re: WAPI GET Name Server Groups

New Member
Posts: 1
3159     0

Controlling a virtual production stage is getting easier with the ability to expose ... the client must first establish a connection with the server. foodmenuprices.info 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You