Chapter 56. openstack ptr record


This chapter describes the commands under the ptr command.

56.1. ptr record list

List floatingip ptr records

Usage:

openstack ptr record list [-h] [-f {csv,json,table,value,yaml}]
                                 [-c COLUMN]
                                 [--quote {all,minimal,none,nonnumeric}]
                                 [--noindent] [--max-width <integer>]
                                 [--fit-width] [--print-empty]
                                 [--sort-column SORT_COLUMN]
                                 [--sort-ascending | --sort-descending]
                                 [--all-projects]
                                 [--sudo-project-id SUDO_PROJECT_ID]

Expand
Table 56.1. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Expand
Table 56.2. Output formatter options
ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

--sort-column SORT_COLUMN

Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

Sort the column(s) in ascending order

--sort-descending

Sort the column(s) in descending order

Expand
Table 56.3. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 56.4. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 56.5. Table formatter options
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

56.2. ptr record set

Set floatingip ptr record

Usage:

openstack ptr record set [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--noindent] [--prefix PREFIX]
                                [--max-width <integer>] [--fit-width]
                                [--print-empty]
                                [--description DESCRIPTION | --no-description]
                                [--ttl TTL | --no-ttl] [--all-projects]
                                [--sudo-project-id SUDO_PROJECT_ID]
                                floatingip_id ptrdname

Expand
Table 56.6. Positional arguments
ValueSummary

floatingip_id

Floating ip id in format region:floatingip_id

ptrdname

Ptrd name

Expand
Table 56.7. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--description DESCRIPTION

Description

--no-description—​ttl TTL

Ttl

--no-ttl—​all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Expand
Table 56.8. Output formatter options
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Expand
Table 56.9. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 56.10. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 56.11. Table formatter options
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

56.3. ptr record show

Show floatingip ptr record details

Usage:

openstack ptr record show [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--noindent] [--prefix PREFIX]
                                 [--max-width <integer>] [--fit-width]
                                 [--print-empty] [--all-projects]
                                 [--sudo-project-id SUDO_PROJECT_ID]
                                 floatingip_id

Expand
Table 56.12. Positional arguments
ValueSummary

floatingip_id

Floating ip id in format region:floatingip_id

Expand
Table 56.13. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Expand
Table 56.14. Output formatter options
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Expand
Table 56.15. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 56.16. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 56.17. Table formatter options
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

56.4. ptr record unset

Unset floatingip ptr record

Usage:

openstack ptr record unset [-h] [--all-projects]
                                  [--sudo-project-id SUDO_PROJECT_ID]
                                  floatingip_id

Expand
Table 56.18. Positional arguments
ValueSummary

floatingip_id

Floating ip id in format region:floatingip_id

Expand
Table 56.19. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top