Chapter 59. sfc
This chapter describes the commands under the sfc
command.
59.1. sfc flow classifier create
Create a flow classifier
Usage:
openstack sfc flow classifier create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--description <description>] [--protocol <protocol>] [--ethertype {IPv4,IPv6}] [--source-port <min-port>:<max-port>] [--destination-port <min-port>:<max-port>] [--source-ip-prefix <source-ip-prefix>] [--destination-ip-prefix <destination-ip-prefix>] [--logical-source-port <logical-source-port>] [--logical-destination-port <logical-destination-port>] [--l7-parameters L7_PARAMETERS] <name>
Table 59.1. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.2. Positional Arguments
Value | Summary |
---|---|
<name> | Name of the flow classifier |
Table 59.3. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.4. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.5. Optional Arguments
Value | Summary |
---|---|
--source-ip-prefix <source-ip-prefix> | Source ip address in cidr notation |
--destination-port <min-port>:<max-port> | Destination protocol port (allowed range [1,65535]. Must be specified as a:b, where a=min-port and b=max- port) in the allowed range. |
--logical-destination-port <logical-destination-port> | Neutron destination port (name or id) |
--source-port <min-port>:<max-port> | Source protocol port (allowed range [1,65535]. must be specified as a:b, where a=min-port and b=max-port) in the allowed range. |
--logical-source-port <logical-source-port> | Neutron source port (name or id) |
--protocol <protocol> | Ip protocol name. protocol name should be as per iana standard. |
--l7-parameters L7_PARAMETERS | Dictionary of l7 parameters. currently, no value is supported for this option. |
-h, --help | Show this help message and exit |
--description <description> | Description for the flow classifier |
--destination-ip-prefix <destination-ip-prefix> | Destination ip address in cidr notation |
--ethertype {IPv4,IPv6} | L2 ethertype, default is ipv4 |
Table 59.6. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.2. sfc flow classifier delete
Delete a given flow classifier
Usage:
openstack sfc flow classifier delete [-h] <flow-classifier>
Table 59.7. Positional Arguments
Value | Summary |
---|---|
<flow-classifier> | Flow classifier to delete (name or id) |
Table 59.8. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
59.3. sfc flow classifier list
List flow classifiers
Usage:
openstack sfc flow classifier list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN] [--long]
Table 59.9. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.10. CSV Formatter
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 59.11. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.12. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.13. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
59.4. sfc flow classifier set
Set flow classifier properties
Usage:
openstack sfc flow classifier set [-h] [--name <name>] [--description <description>] <flow-classifier>
Table 59.14. Positional Arguments
Value | Summary |
---|---|
<flow-classifier> | Flow classifier to modify (name or id) |
Table 59.15. Optional Arguments
Value | Summary |
---|---|
--name <name> | Name of the flow classifier |
-h, --help | Show this help message and exit |
--description <description> | Description for the flow classifier |
59.5. sfc flow classifier show
Display flow classifier details
Usage:
openstack sfc flow classifier show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <flow-classifier>
Table 59.16. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.17. Positional Arguments
Value | Summary |
---|---|
<flow-classifier> | Flow classifier to display (name or id) |
Table 59.18. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.19. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.20. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Table 59.21. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.6. sfc port chain create
Create a port chain
Usage:
openstack sfc port chain create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--description <description>] [--flow-classifier <flow-classifier>] [--chain-parameters correlation=<correlation-type>,symmetric=<boolean>] --port-pair-group <port-pair-group> <name>
Table 59.22. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.23. Positional Arguments
Value | Summary |
---|---|
<name> | Name of the port chain |
Table 59.24. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.25. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.26. Optional Arguments
Value | Summary |
---|---|
--chain-parameters correlation=<correlation-type>,symmetric=<boolean> | Dictionary of chain parameters. supports correlation=(mpls |
nsh) (default is mpls) and symmetric=(true | false). |
-h, --help | Show this help message and exit |
--description <description> | Description for the port chain |
--port-pair-group <port-pair-group> | Add port pair group (name or id). this option can be repeated. |
--flow-classifier <flow-classifier> | Add flow classifier (name or id). this option can be repeated. |
Table 59.27. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.7. sfc port chain delete
Delete a given port chain
Usage:
openstack sfc port chain delete [-h] <port-chain>
Table 59.28. Positional Arguments
Value | Summary |
---|---|
<port-chain> | Port chain to delete (name or id) |
Table 59.29. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
59.8. sfc port chain list
List port chains
Usage:
openstack sfc port chain list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN] [--long]
Table 59.30. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.31. CSV Formatter
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 59.32. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.33. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.34. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
59.9. sfc port chain set
Set port chain properties
Usage:
openstack sfc port chain set [-h] [--name <name>] [--description <description>] [--flow-classifier <flow-classifier>] [--no-flow-classifier] [--port-pair-group <port-pair-group>] [--no-port-pair-group] <port-chain>
Table 59.35. Positional Arguments
Value | Summary |
---|---|
<port-chain> | Port chain to modify (name or id) |
Table 59.36. Optional Arguments
Value | Summary |
---|---|
--no-flow-classifier | Remove associated flow classifiers from the port chain |
--name <name> | Name of the port chain |
--flow-classifier <flow-classifier> | Add flow classifier (name or id). this option can be repeated. |
--no-port-pair-group | Remove associated port pair groups from the port chain. At least one --port-pair-group must be specified together. |
-h, --help | Show this help message and exit |
--description <description> | Description for the port chain |
--port-pair-group <port-pair-group> | Add port pair group (name or id). current port pair groups order is kept, the added port pair group will be placed at the end of the port chain. This option can be repeated. |
59.10. sfc port chain show
Display port chain details
Usage:
openstack sfc port chain show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <port-chain>
Table 59.37. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.38. Positional Arguments
Value | Summary |
---|---|
<port-chain> | Port chain to display (name or id) |
Table 59.39. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.40. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.41. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Table 59.42. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.11. sfc port chain unset
Unset port chain properties
Usage:
openstack sfc port chain unset [-h] [--flow-classifier <flow-classifier> | --all-flow-classifier] [--port-pair-group <port-pair-group>] <port-chain>
Table 59.43. Positional Arguments
Value | Summary |
---|---|
<port-chain> | Port chain to unset (name or id) |
Table 59.44. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--all-flow-classifier | Remove all flow classifiers from the port chain |
--port-pair-group <port-pair-group> | Remove port pair group(s) from the port chain (name or ID). This option can be repeated. |
--flow-classifier <flow-classifier> | Remove flow classifier(s) from the port chain (name or ID). This option can be repeated. |
59.12. sfc port pair create
Create a port pair
Usage:
openstack sfc port pair create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--description <description>] [--service-function-parameters correlation=<correlation-type>,weight=<weight>] --ingress <ingress> --egress <egress> <name>
Table 59.45. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.46. Positional Arguments
Value | Summary |
---|---|
<name> | Name of the port pair |
Table 59.47. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.48. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.49. Optional Arguments
Value | Summary |
---|---|
--ingress <ingress> | Ingress neutron port (name or id) |
-h, --help | Show this help message and exit |
--description <description> | Description for the port pair |
--service-function-parameters correlation=<correlation-type>,weight=<weight> | Dictionary of service function parameters. currently, correlation=(None |
mpls | nsh) and weight are supported. Weight is an integer that influences the selection of a port pair within a port pair group for a flow. The higher the weight, the more flows will hash to the port pair. The default weight is 1. |
--egress <egress> | Egress neutron port (name or id) |
Table 59.50. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.13. sfc port pair delete
Delete a given port pair
Usage:
openstack sfc port pair delete [-h] <port-pair>
Table 59.51. Positional Arguments
Value | Summary |
---|---|
<port-pair> | Port pair to delete (name or id) |
Table 59.52. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
59.14. sfc port pair group create
Create a port pair group
Usage:
openstack sfc port pair group create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--description <description>] [--port-pair <port-pair>] [--enable-tap | --disable-tap] [--port-pair-group-parameters lb-fields=<lb-fields>] <name>
Table 59.53. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.54. Positional Arguments
Value | Summary |
---|---|
<name> | Name of the port pair group |
Table 59.55. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.56. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.57. Optional Arguments
Value | Summary |
---|---|
--enable-tap | Port pairs of this port pair group are deployed as passive tap service function |
--port-pair <port-pair> | Port pair (name or id). this option can be repeated. |
--disable-tap | Port pairs of this port pair group are deployed as l3 service function (default) |
--port-pair-group-parameters lb-fields=<lb-fields> | Dictionary of port pair group parameters. currently only one parameter lb-fields is supported. <lb-fields> is a & separated list of load-balancing fields. |
-h, --help | Show this help message and exit |
--description <description> | Description for the port pair group |
Table 59.58. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.15. sfc port pair group delete
Delete a given port pair group
Usage:
openstack sfc port pair group delete [-h] <port-pair-group>
Table 59.59. Positional Arguments
Value | Summary |
---|---|
<port-pair-group> | Port pair group to delete (name or id) |
Table 59.60. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
59.16. sfc port pair group list
List port pair group
Usage:
openstack sfc port pair group list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN] [--long]
Table 59.61. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.62. CSV Formatter
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 59.63. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.64. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.65. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
59.17. sfc port pair group set
Set port pair group properties
Usage:
openstack sfc port pair group set [-h] [--name <name>] [--description <description>] [--port-pair <port-pair>] [--no-port-pair] <port-pair-group>
Table 59.66. Positional Arguments
Value | Summary |
---|---|
<port-pair-group> | Port pair group to modify (name or id) |
Table 59.67. Optional Arguments
Value | Summary |
---|---|
--no-port-pair | Remove all port pair from port pair group |
--name <name> | Name of the port pair group |
-h, --help | Show this help message and exit |
--description <description> | Description for the port pair group |
--port-pair <port-pair> | Port pair (name or id). this option can be repeated. |
59.18. sfc port pair group show
Display port pair group details
Usage:
openstack sfc port pair group show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <port-pair-group>
Table 59.68. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.69. Positional Arguments
Value | Summary |
---|---|
<port-pair-group> | Port pair group to display (name or id) |
Table 59.70. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.71. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.72. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Table 59.73. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.19. sfc port pair group unset
Unset port pairs from port pair group
Usage:
openstack sfc port pair group unset [-h] [--port-pair <port-pair> | --all-port-pair] <port-pair-group>
Table 59.74. Positional Arguments
Value | Summary |
---|---|
<port-pair-group> | Port pair group to unset (name or id) |
Table 59.75. Optional Arguments
Value | Summary |
---|---|
--all-port-pair | Remove all port pairs from the port pair group |
-h, --help | Show this help message and exit |
--port-pair <port-pair> | Remove port pair(s) from the port pair group (name or ID). This option can be repeated. |
59.20. sfc port pair list
List port pairs
Usage:
openstack sfc port pair list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN] [--long]
Table 59.76. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.77. CSV Formatter
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 59.78. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.79. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.80. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
59.21. sfc port pair set
Set port pair properties
Usage:
openstack sfc port pair set [-h] [--name <name>] [--description <description>] <port-pair>
Table 59.81. Positional Arguments
Value | Summary |
---|---|
<port-pair> | Port pair to modify (name or id) |
Table 59.82. Optional Arguments
Value | Summary |
---|---|
--name <name> | Name of the port pair |
-h, --help | Show this help message and exit |
--description <description> | Description for the port pair |
59.22. sfc port pair show
Display port pair details
Usage:
openstack sfc port pair show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <port-pair>
Table 59.83. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.84. Positional Arguments
Value | Summary |
---|---|
<port-pair> | Port pair to display (name or id) |
Table 59.85. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.86. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.87. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Table 59.88. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.23. sfc service graph create
Create a service graph.
Usage:
openstack sfc service graph create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--description DESCRIPTION] --branching-point SRC_CHAIN:DST_CHAIN_1,DST_CHAIN_2,DST_CHAIN_N <name>
Table 59.89. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.90. Positional Arguments
Value | Summary |
---|---|
<name> | Name of the service graph. |
Table 59.91. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.92. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.93. Optional Arguments
Value | Summary |
---|---|
--branching-point SRC_CHAIN:DST_CHAIN_1,DST_CHAIN_2,DST_CHAIN_N | Service graph branching point: the key is the source Port Chain while the value is a list of destination Port Chains. This option can be repeated. |
-h, --help | Show this help message and exit |
--description DESCRIPTION | Description for the service graph. |
Table 59.94. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
59.24. sfc service graph delete
Delete a given service graph.
Usage:
openstack sfc service graph delete [-h] <service-graph>
Table 59.95. Positional Arguments
Value | Summary |
---|---|
<service-graph> | Id or name of the service graph to delete. |
Table 59.96. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
59.25. sfc service graph list
List service graphs
Usage:
openstack sfc service graph list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN] [--long]
Table 59.97. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.98. CSV Formatter
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 59.99. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.100. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.101. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--long | List additional fields in output |
59.26. sfc service graph set
Set service graph properties
Usage:
openstack sfc service graph set [-h] [--name <name>] [--description <description>] <service-graph>
Table 59.102. Positional Arguments
Value | Summary |
---|---|
<service-graph> | Service graph to modify (name or id) |
Table 59.103. Optional Arguments
Value | Summary |
---|---|
--name <name> | Name of the service graph |
-h, --help | Show this help message and exit |
--description <description> | Description for the service graph |
59.27. sfc service graph show
Show information of a given service graph.
Usage:
openstack sfc service graph show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <service-graph>
Table 59.104. Table Formatter
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Table 59.105. Positional Arguments
Value | Summary |
---|---|
<service-graph> | Id or name of the service graph to display. |
Table 59.106. Output Formatters
Value | Summary |
---|---|
output formatter options-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 |
Table 59.107. JSON Formatter
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Table 59.108. Optional Arguments
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Table 59.109. Shell Formatter
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |