From 335ecfcdb3b6d0613315d8cf90bcaed8f080604b Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Mon, 8 Aug 2016 12:08:06 +0530 Subject: Docs update for FloatingIP's ptr records Change-Id: If6e7dd77d43bc541a7e872b7fc6964874e3f3463 --- doc/source/shell-v2-examples.rst | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'doc') 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: -- cgit v1.2.1