Este contenido no está disponible en el idioma seleccionado.
Chapter 71. service
This chapter describes the commands under the service
command.
71.1. service create Copiar enlaceEnlace copiado en el portapapeles!
Create new service
Usage:
Value | Summary |
---|---|
<type> | New service type (compute, image, identity, volume, etc) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--name <name> | New service name |
--description <description> | New service description |
--enable | Enable service (default) |
--disable | Disable service |
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. |
71.2. service delete Copiar enlaceEnlace copiado en el portapapeles!
Delete service(s)
Usage:
openstack service delete [-h] <service> [<service> ...]
openstack service delete [-h] <service> [<service> ...]
Value | Summary |
---|---|
<service> | Service(s) to delete (type, name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
71.3. service list Copiar enlaceEnlace copiado en el portapapeles!
List services
Usage:
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
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. |
71.4. service provider create Copiar enlaceEnlace copiado en el portapapeles!
Create new service provider
Usage:
Value | Summary |
---|---|
<name> | New service provider name (must be unique) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--auth-url <auth-url> | Authentication url of remote federated service provider (required) |
--description <description> | New service provider description |
--service-provider-url <sp-url> | A service url where saml assertions are being sent (required) |
--enable | Enable the service provider (default) |
--disable | Disable the service provider |
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. |
71.5. service provider delete Copiar enlaceEnlace copiado en el portapapeles!
Delete service provider(s)
Usage:
openstack service provider delete [-h] <service-provider> [<service-provider> ...]
openstack service provider delete [-h]
<service-provider>
[<service-provider> ...]
Value | Summary |
---|---|
<service-provider> | Service provider(s) to delete |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
71.6. service provider list Copiar enlaceEnlace copiado en el portapapeles!
List service providers
Usage:
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
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. |
71.7. service provider set Copiar enlaceEnlace copiado en el portapapeles!
Set service provider properties
Usage:
openstack service provider set [-h] [--auth-url <auth-url>] [--description <description>] [--service-provider-url <sp-url>] [--enable | --disable] <service-provider>
openstack service provider set [-h] [--auth-url <auth-url>]
[--description <description>]
[--service-provider-url <sp-url>]
[--enable | --disable]
<service-provider>
Value | Summary |
---|---|
<service-provider> | Service provider to modify |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--auth-url <auth-url> | New authentication url of remote federated service provider |
--description <description> | New service provider description |
--service-provider-url <sp-url> | New service provider url, where saml assertions are sent |
--enable | Enable the service provider |
--disable | Disable the service provider |
71.8. service provider show Copiar enlaceEnlace copiado en el portapapeles!
Display service provider details
Usage:
Value | Summary |
---|---|
<service-provider> | Service provider to display |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
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. |
71.9. service set Copiar enlaceEnlace copiado en el portapapeles!
Set service properties
Usage:
openstack service set [-h] [--type <type>] [--name <service-name>] [--description <description>] [--enable | --disable] <service>
openstack service set [-h] [--type <type>] [--name <service-name>]
[--description <description>]
[--enable | --disable]
<service>
Value | Summary |
---|---|
<service> | Service to modify (type, name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--type <type> | New service type (compute, image, identity, volume, etc) |
--name <service-name> | New service name |
--description <description> | New service description |
--enable | Enable service |
--disable | Disable service |
71.10. service show Copiar enlaceEnlace copiado en el portapapeles!
Display service details
Usage:
openstack service show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <service>
openstack service show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<service>
Value | Summary |
---|---|
<service> | Service to display (type, name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
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. |