74.12. sfc 端口对创建
创建端口对
使用方法:
openstack sfc port pair create [-h] [-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>
值 | 概述 |
---|---|
<name> | 端口对的名称 |
值 | 概述 |
---|---|
-h, --help | 显示帮助信息并退出 |
--description <description> | 端口对的描述 |
--service-function-parameters correlation=<correlation-type>,weight=<weight> | 服务功能参数字典。当前、correlation=(None|mpls|nsh)和权重被支持。weight 是一个整数,它影响在端口对组中为流选择端口对。权重越大,流越的将哈希到端口对。默认权重为 1。 |
--ingress <ingress> | Ingress neutron 端口(名称或 id) |
--egress <egress> | 出口 neutron 端口(名称或 id) |
值 | 概述 |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | 输出格式,默认为 table |
-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 设置为 always 启用 |
--print-empty | 如果没有要显示的数据,打印空表。 |