File: dns.rst

package info (click to toggle)
python-openstacksdk 0.50.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,632 kB
  • sloc: python: 83,132; sh: 194; makefile: 21
file content (18 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Using OpenStack DNS
===================

Before working with the DNS service, you'll need to create a connection
to your OpenStack cloud by following the :doc:`connect` user guide. This will
provide you with the ``conn`` variable used in the examples below.

.. TODO(gtema): Implement this guide

List Zones
----------

.. literalinclude:: ../examples/dns/list.py
   :pyobject: list_zones

Full example: `dns resource list`_

.. _dns resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/dns/list.py