API DNSaaS test

asked 2019-03-12 04:33:02 -0500

anonymous user


Hello, I'm developing a python API to create and test DNSaaS, but I do not know how to test to see if it's working. Because I have a virtual machine with the designate and I can generate a token. And I did some testing with the postman and the address of this machine, But through the address I get information I do not have for example in my API I have nothing on pools and when using postman I can see the list of pools of the machine.

I need this machine to test my API or I can test it in another way ?

edit retag flag offensive close merge delete



I need this machine to test my API or I can test it in another way ?

I'd say if you develop an API that uses Designate, you need Designate running somewhere. On the virtual machine you set up, or somewhere else.

I doubt that I understand your problem though.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-12 06:00:40 -0500 )edit

I don’t know what you mean with “python API project” and I don’t quite understand what you want to test.

But yes, curl is one way of submitting API requests.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-12 09:08:09 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2019-05-05 18:26:52 -0500

grahamhayes gravatar image

If you are looking for Designate API information, we have documentation on that here - https://developer.openstack.org/api-r...

If you are writing a program to talk to designate, there is a python client - https://opendev.org/openstack/python-...

and the openstack-sdk project has designate tooling as well - https://opendev.org/openstack/opensta...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-03-12 04:33:02 -0500

Seen: 83 times

Last updated: May 05 '19