Chapter 66. service This chapter describes the commands under the service command. 66.1. service create Create new service Usage: Table 66.1. Positional arguments Value Summary <type> New service type (compute, image, identity, volume, etc) Table 66.2. Command arguments 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 Table 66.3. Output formatter options 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 to show multiple columns Table 66.4. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.5. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 66.6. Table formatter options 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. 66.2. service delete Delete service(s) Usage: Table 66.7. Positional arguments Value Summary <service> Service(s) to delete (type, name or id) Table 66.8. Command arguments Value Summary -h, --help Show this help message and exit 66.3. service list List services Usage: Table 66.9. Command arguments Value Summary -h, --help Show this help message and exit --long List additional fields in output Table 66.10. Output formatter options 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 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 Table 66.11. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 66.12. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.13. Table formatter options 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. 66.4. service provider create Create new service provider Usage: Table 66.14. Positional arguments Value Summary <name> New service provider name (must be unique) Table 66.15. Command arguments 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 Table 66.16. Output formatter options 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 to show multiple columns Table 66.17. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.18. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 66.19. Table formatter options 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. 66.5. service provider delete Delete service provider(s) Usage: Table 66.20. Positional arguments Value Summary <service-provider> Service provider(s) to delete Table 66.21. Command arguments Value Summary -h, --help Show this help message and exit 66.6. service provider list List service providers Usage: Table 66.22. Command arguments Value Summary -h, --help Show this help message and exit Table 66.23. Output formatter options 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 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 Table 66.24. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 66.25. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.26. Table formatter options 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. 66.7. service provider set Set service provider properties Usage: Table 66.27. Positional arguments Value Summary <service-provider> Service provider to modify Table 66.28. Command arguments 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 66.8. service provider show Display service provider details Usage: Table 66.29. Positional arguments Value Summary <service-provider> Service provider to display Table 66.30. Command arguments Value Summary -h, --help Show this help message and exit Table 66.31. Output formatter options 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 to show multiple columns Table 66.32. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.33. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 66.34. Table formatter options 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. 66.9. service set Set service properties Usage: Table 66.35. Positional arguments Value Summary <service> Service to modify (type, name or id) Table 66.36. Command arguments 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 66.10. service show Display service details Usage: Table 66.37. Positional arguments Value Summary <service> Service to display (type, name or id) Table 66.38. Command arguments Value Summary -h, --help Show this help message and exit Table 66.39. Output formatter options 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 to show multiple columns Table 66.40. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 66.41. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 66.42. Table formatter options 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.

Commands:
openstack service create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--name <name>] [--description <description>] [--enable | --disable] <type>
openstack service delete [-h] <service> [<service> ...]
openstack service 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] [--long]
openstack service provider create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] --auth-url <auth-url> [--description <description>] --service-provider-url <sp-url> [--enable | --disable] <name>
openstack service provider delete [-h] <service-provider> [<service-provider> ...]
openstack service provider 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]
openstack service provider set [-h] [--auth-url <auth-url>] [--description <description>] [--service-provider-url <sp-url>] [--enable | --disable] <service-provider>
openstack service provider show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <service-provider>
openstack service set [-h] [--type <type>] [--name <service-name>] [--description <description>] [--enable | --disable] <service>
openstack service show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <service>