Chapter 61. ptr
This chapter describes the commands under the ptr
command.
61.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] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--all-projects | Show results from all projects. default: false |
--edit-managed | Edit resources marked as managed. default: false |
--sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
Value | Summary |
---|---|
-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 |
--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 |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--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. |
61.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] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id ptrdname
Value | Summary |
---|---|
floatingip_id | Floating ip id in format region:floatingip_id |
ptrdname | Ptrd name |
Value | Summary |
---|---|
-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 |
--edit-managed | Edit resources marked as managed. default: false |
--sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
Value | Summary |
---|---|
-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 |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
Value | Summary |
---|---|
--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. |
61.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] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id
Value | Summary |
---|---|
floatingip_id | Floating ip id in format region:floatingip_id |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--all-projects | Show results from all projects. default: false |
--edit-managed | Edit resources marked as managed. default: false |
--sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
Value | Summary |
---|---|
-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 |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
Value | Summary |
---|---|
--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. |
61.4. ptr record unset
Unset floatingip ptr record
Usage:
openstack ptr record unset [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id
Value | Summary |
---|---|
floatingip_id | Floating ip id in format region:floatingip_id |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--all-projects | Show results from all projects. default: false |
--edit-managed | Edit resources marked as managed. default: false |
--sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |