networking sfc¶
服务函数链(Service Function Chaining)是一种机制,用于覆盖 IP 网络典型的基础目标转发。服务函数链由服务函数(SF)的有序序列组成。SF 是虚拟机(或可能是物理设备),它们执行网络功能,例如防火墙、内容缓存、数据包检查或任何其他需要从点 A 到点 B 处理数据包流的功能,尽管从路由表的角度来看,SF 并非字面意义上位于点 A 和 B 之间。
Network v2
sfc flow classifier create¶
创建流分类器
openstack sfc flow classifier create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--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>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --description <description>¶
Description for the flow classifier
- --protocol <protocol>¶
IP protocol name. Protocol name should be as per IANA standard.
- --ethertype {IPv4,IPv6}¶
L2 ethertype, default is IPv4
- --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.
- --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.
- --source-ip-prefix <source-ip-prefix>¶
Source IP address in CIDR notation
- --destination-ip-prefix <destination-ip-prefix>¶
Destination IP address in CIDR notation
- --logical-source-port <logical-source-port>¶
Neutron source port (name or ID)
- --logical-destination-port <logical-destination-port>¶
Neutron destination port (name or ID)
- --l7-parameters <L7_PARAMETERS>¶
Dictionary of L7 parameters. Currently, no value is supported for this option.
- name¶
Name of the flow classifier
此命令由 python-neutronclient 插件提供。
sfc flow classifier delete¶
Delete a given flow classifier
openstack sfc flow classifier delete
<flow-classifier>
[<flow-classifier> ...]
- flow-classifier¶
Flow classifier(s) to delete (name or ID)
此命令由 python-neutronclient 插件提供。
sfc flow classifier list¶
List flow classifiers
openstack sfc flow classifier list
[-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]
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --quote <QUOTE_MODE>¶
何时包含引号,默认为非数字
- --noindent¶
是否禁用 JSON 的缩进
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --long¶
在输出中列出附加字段
此命令由 python-neutronclient 插件提供。
sfc flow classifier set¶
Set flow classifier properties
openstack sfc flow classifier set
[--name <name>]
[--description <description>]
<flow-classifier>
- --name <name>¶
Name of the flow classifier
- --description <description>¶
Description for the flow classifier
- flow-classifier¶
Flow classifier to modify (name or ID)
此命令由 python-neutronclient 插件提供。
sfc flow classifier show¶
Display flow classifier details
openstack sfc flow classifier show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<flow-classifier>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- flow-classifier¶
Flow classifier to display (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port chain create¶
创建端口链
openstack sfc port chain create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--description <description>]
[--flow-classifier <flow-classifier>]
[--chain-parameters correlation=<correlation-type>,symmetric=<boolean>]
--port-pair-group <port-pair-group>
<name>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --description <description>¶
Description for the port chain
- --flow-classifier <flow-classifier>¶
Add flow classifier (name or ID). This option can be repeated.
- --chain-parameters correlation=<correlation-type>,symmetric=<boolean>¶
Dictionary of chain parameters. Supports correlation=(mpls|nsh) (default is mpls) and symmetric=(true|false).
- --port-pair-group <port-pair-group>¶
Add port pair group (name or ID). This option can be repeated.
- name¶
Name of the port chain
此命令由 python-neutronclient 插件提供。
sfc port chain delete¶
Delete a given port chain
openstack sfc port chain delete <port-chain> [<port-chain> ...]
- port-chain¶
Port chain(s) to delete (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port chain list¶
List port chains
openstack sfc port chain list
[-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]
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --quote <QUOTE_MODE>¶
何时包含引号,默认为非数字
- --noindent¶
是否禁用 JSON 的缩进
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --long¶
在输出中列出附加字段
此命令由 python-neutronclient 插件提供。
sfc port chain set¶
Set port chain properties
openstack sfc port chain set
[--name <name>]
[--description <description>]
[--flow-classifier <flow-classifier>]
[--no-flow-classifier]
[--port-pair-group <port-pair-group>]
[--no-port-pair-group]
<port-chain>
- --name <name>¶
Name of the port chain
- --description <description>¶
Description for the port chain
- --flow-classifier <flow-classifier>¶
Add flow classifier (name or ID). This option can be repeated.
- --no-flow-classifier¶
Remove associated flow classifiers from 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.
- --no-port-pair-group¶
Remove associated port pair groups from the port chain. At least one –port-pair-group must be specified together.
- port-chain¶
Port chain to modify (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port chain show¶
Display port chain details
openstack sfc port chain show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<port-chain>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- port-chain¶
Port chain to display (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port chain unset¶
Unset port chain properties
openstack sfc port chain unset
[--flow-classifier <flow-classifier> | --all-flow-classifier]
[--port-pair-group <port-pair-group>]
<port-chain>
- --flow-classifier <flow-classifier>¶
Remove flow classifier(s) from the port chain (name or ID). This option can be repeated.
- --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.
- port-chain¶
Port chain to unset (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair create¶
创建端口对
openstack sfc port pair create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--description <description>]
[--service-function-parameters correlation=<correlation-type>,weight=<weight>]
--ingress <ingress>
--egress <egress>
<name>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --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.
- --ingress <ingress>¶
Ingress neutron port (name or ID)
- --egress <egress>¶
Egress neutron port (name or ID)
- name¶
Name of the port pair
此命令由 python-neutronclient 插件提供。
sfc port pair delete¶
Delete a given port pair
openstack sfc port pair delete <port-pair> [<port-pair> ...]
- port-pair¶
Port pair(s) to delete (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair list¶
List port pairs
openstack sfc port pair list
[-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]
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --quote <QUOTE_MODE>¶
何时包含引号,默认为非数字
- --noindent¶
是否禁用 JSON 的缩进
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --long¶
在输出中列出附加字段
此命令由 python-neutronclient 插件提供。
sfc port pair set¶
Set port pair properties
openstack sfc port pair set
[--name <name>]
[--description <description>]
<port-pair>
- --name <name>¶
Name of the port pair
- --description <description>¶
Description for the port pair
- port-pair¶
Port pair to modify (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair show¶
Display port pair details
openstack sfc port pair show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<port-pair>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- port-pair¶
Port pair to display (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair group create¶
创建端口对组
openstack sfc port pair group create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--description <description>]
[--port-pair <port-pair>]
[--enable-tap | --disable-tap]
[--port-pair-group-parameters lb-fields=<lb-fields>]
<name>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --description <description>¶
Description for the port pair group
- --port-pair <port-pair>¶
Port pair (name or ID). This option can be repeated.
- --enable-tap¶
Port pairs of this port pair group are deployed as passive tap service function
- --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.
- name¶
Name of the port pair group
此命令由 python-neutronclient 插件提供。
sfc port pair group delete¶
Delete a given port pair group
openstack sfc port pair group delete
<port-pair-group>
[<port-pair-group> ...]
- port-pair-group¶
Port pair group(s) to delete (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair group list¶
List port pair group
openstack sfc port pair group list
[-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]
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --quote <QUOTE_MODE>¶
何时包含引号,默认为非数字
- --noindent¶
是否禁用 JSON 的缩进
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --long¶
在输出中列出附加字段
此命令由 python-neutronclient 插件提供。
sfc port pair group set¶
Set port pair group properties
openstack sfc port pair group set
[--name <name>]
[--description <description>]
[--port-pair <port-pair>]
[--no-port-pair]
<port-pair-group>
- --name <name>¶
Name of the port pair group
- --description <description>¶
Description for the port pair group
- --port-pair <port-pair>¶
Port pair (name or ID). This option can be repeated.
- --no-port-pair¶
Remove all port pair from port pair group
- port-pair-group¶
Port pair group to modify (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair group show¶
Display port pair group details
openstack sfc port pair group show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<port-pair-group>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- port-pair-group¶
Port pair group to display (name or ID)
此命令由 python-neutronclient 插件提供。
sfc port pair group unset¶
Unset port pairs from port pair group
openstack sfc port pair group unset
[--port-pair <port-pair> | --all-port-pair]
<port-pair-group>
- --port-pair <port-pair>¶
Remove port pair(s) from the port pair group (name or ID). This option can be repeated.
- --all-port-pair¶
Remove all port pairs from the port pair group
- port-pair-group¶
Port pair group to unset (name or ID)
此命令由 python-neutronclient 插件提供。
sfc service graph create¶
Create a service graph.
openstack sfc service graph create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--description DESCRIPTION]
--branching-point SRC_CHAIN
:DST_CHAIN_1,DST_CHAIN_2,DST_CHAIN_N
<name>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --description <DESCRIPTION>¶
Description for the service graph.
- --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.
- name¶
Name of the service graph.
此命令由 python-neutronclient 插件提供。
sfc service graph delete¶
Delete a given service graph.
openstack sfc service graph delete
<service-graph>
[<service-graph> ...]
- service-graph¶
ID or name of the service graph(s) to delete.
此命令由 python-neutronclient 插件提供。
sfc service graph list¶
List service graphs
openstack sfc service graph list
[-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]
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --quote <QUOTE_MODE>¶
何时包含引号,默认为非数字
- --noindent¶
是否禁用 JSON 的缩进
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --long¶
在输出中列出附加字段
此命令由 python-neutronclient 插件提供。
sfc service graph set¶
Set service graph properties
openstack sfc service graph set
[--name <name>]
[--description <description>]
<service-graph>
- --name <name>¶
Name of the service graph
- --description <description>¶
Description for the service graph
- service-graph¶
Service graph to modify (name or ID)
此命令由 python-neutronclient 插件提供。
sfc service graph show¶
Show information of a given service graph.
openstack sfc service graph show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<service-graph>
- -f <FORMATTER>, --format <FORMATTER>¶
输出格式,默认为表格
- -c COLUMN, --column COLUMN¶
指定要包含的列,可以重复以显示多个列
- --noindent¶
是否禁用 JSON 的缩进
- --prefix <PREFIX>¶
为所有变量名添加前缀
- --max-width <integer>¶
最大显示宽度,小于 1 则禁用。您也可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数优先。
- --fit-width¶
使表格适应显示宽度。如果 –max-width 大于 0,则隐式启用。设置环境变量 CLIFF_FIT_WIDTH=1 以始终启用
- --print-empty¶
如果没有要显示的数据,则打印空表格。
- service-graph¶
ID or name of the service graph to display.
此命令由 python-neutronclient 插件提供。