74장. sfc

이 장에서는 sfc 명령의 명령에 대해 설명합니다.

74.1. SFC 흐름 분류기 생성

흐름 클래스 생성

사용법:

openstack sfc flow classifier create [-h]
                                            [-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>

표 74.1. 위치 인수

현재의요약

<name>

흐름 분류기 이름

표 74.2. 선택적 인수

현재의요약

-h, --help

도움말 표시 및 종료

--description <description>

흐름 클래스에 대한 설명

--protocol <protocol>

IP 프로토콜 이름. 프로토콜 이름은 iana 표준에 따라 같아야 합니다.

--ethertype {IPv4,IPv6}

l2 이더넷, 기본값은 ipv4입니다.

--source-port <min-port>:<max-port>

소스 프로토콜 포트(허용된 범위 [1,65535])는 허용된 범위에서 a:b로 지정해야 합니다. 여기서 a=min-port 및 b=max-port입니다.

--destination-port <min-port>:<max-port>

대상 프로토콜 포트(허용된 범위 [1,65535]). 허용되는 범위에서 a:b로 지정해야 합니다. 여기서 a=min-port 및 b=max- port입니다.

--source-ip-prefix <source-ip-prefix>

cidr 표기법의 소스 IP 주소

--destination-ip-prefix <destination-ip-prefix>

cidr 표기법의 대상 IP 주소

--logical-source-port <logical-source-port>

Neutron 소스 포트(이름 또는 id)

--logical-destination-port <logical-destination-port>

Neutron 대상 포트(이름 또는 id)

--l7-parameters L7_PARAMETERS

현재 이 옵션에 대해 값이 지원되지 않습니다.

표 74.3. 출력 포맷기

현재의요약

-f {json, shell,table,value,yaml}, --format {json, shell,table,value,yaml}

출력 형식인 기본값은 table입니다.

-c COLUMN, --column COLUMN

포함할 열을 지정하고 반복할 수 있습니다.

표 74.4. JSON Formatter

현재의요약

--noindent

json 들여쓰기 비활성화 여부

표 74.5. 쉘 포맷터

현재의요약

--prefix PREFIX

모든 변수 이름에 접두사 추가

표 74.6. 테이블 포맷자

현재의요약

--max-width <integer>

최대 디스플레이 너비, 비활성화할 <1. CLIFF_MAX_TERM_WIDTH 환경 변수를 사용할 수도 있지만 매개 변수가 우선합니다.

--fit-width

디스플레이 너비에 테이블에 맞춥니다. --max- 너비가 0보다 큰 경우를 의미합니다. 항상 활성화되도록 환경 변수 CLIFF_FIT_WIDTH=1 설정

--print-empty

표시할 데이터가 없는 경우 빈 테이블을 인쇄합니다.