summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsonu.kumar <sonu.kumar@nectechnologies.in>2016-08-08 12:08:06 +0530
committersonu.kumar <sonu.kumar@nectechnologies.in>2016-08-08 12:08:06 +0530
commit335ecfcdb3b6d0613315d8cf90bcaed8f080604b (patch)
treee18246881d2df64f6b14d9571e8312303485f5d9 /doc
parenta5035080c1cab723146bcc470e138b336a3a35a1 (diff)
downloadpython-designateclient-335ecfcdb3b6d0613315d8cf90bcaed8f080604b.tar.gz
Docs update for FloatingIP's ptr records
Change-Id: If6e7dd77d43bc541a7e872b7fc6964874e3f3463
Diffstat (limited to 'doc')
-rw-r--r--doc/source/shell-v2-examples.rst23
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/source/shell-v2-examples.rst b/doc/source/shell-v2-examples.rst
index fa4a2e0..82a595f 100644
--- a/doc/source/shell-v2-examples.rst
+++ b/doc/source/shell-v2-examples.rst
@@ -117,23 +117,34 @@ Working with PTR Records
------------------------
Reverse DNS for Neutron Floating IPs can be managed with the "ptr" subcommand.
-List all PTR records:
+Create a PTR record:
.. code-block:: shell-session
- $ openstack ptr record list
+ $ openstack ptr record set RegionOne:5c02c519-4928-4a38-bd10-c748c200912f ftp.example.com.
+ +-------------+------------------------------------------------+
+ | Field | Value |
+ +-------------+------------------------------------------------+
+ | action | CREATE |
+ | address | 172.24.4.11 |
+ | description | None |
+ | id | RegionOne:5c02c519-4928-4a38-bd10-c748c200912f |
+ | ptrdname | ftp.example.com. |
+ | status | PENDING |
+ | ttl | 3600 |
+ +-------------+------------------------------------------------+
-Show a PTR record:
+List all PTR records:
.. code-block:: shell-session
- $ openstack ptr record show RegionOne:5c02c519-4928-4a38-bd10-c748c200912f
+ $ openstack ptr record list
-Create a PTR record:
+Show a PTR record:
.. code-block:: shell-session
- $ openstack ptr record set RegionOne:5c02c519-4928-4a38-bd10-c748c200912f mail.example.com.
+ $ openstack ptr record show RegionOne:5c02c519-4928-4a38-bd10-c748c200912f
Delete a PTR record: