69.8. 라우터 세트

라우터 속성 설정

사용법:

openstack router set [-h] [--name <name>] [--description <description>]
                            [--enable | --disable]
                            [--distributed | --centralized]
                            [--route destination=<subnet>,gateway=<ip-address>]
                            [--no-route] [--ha | --no-ha]
                            [--external-gateway <network>]
                            [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
                            [--enable-snat | --disable-snat]
                            [--qos-policy <qos-policy> | --no-qos-policy]
                            [--tag <tag>] [--no-tag]
                            <router>

표 69.22. 위치 인수

현재의요약

<router>

수정할 라우터 (이름 또는 id)

표 69.23. 선택적 인수

현재의요약

-h, --help

도움말 표시 및 종료

--name <name>

라우터 이름 설정

--description <description>

라우터 설명 설정

--enable

라우터 활성화

--disable

라우터 비활성화

--distributed

라우터를 분산 모드로 설정(비활성화된 라우터만 해당)

--centralized

라우터를 중앙 집중식 모드로 설정(비활성화된 라우터만 해당)

--route destination=<subnet>,gateway=<ip-address>

라우터 대상과 연결된 경로: 대상 서브넷(CIDR 표기법) 게이트웨이: nexthop IP 주소(여러 경로 설정용repeat 옵션)

--no-route

라우터와 연결된 경로를 지웁니다. --route 및 --no-route를 둘 다 지정하여 현재 경로 값을 덮어씁니다.

--

라우터를 고가용성으로 설정합니다 (비활성화된 라우터 전용)

--no-ha

라우터의 고가용성 속성 지우기(비활성화된 라우터만 해당)

--external-gateway <network>

라우터의 게이트웨이로 사용되는 외부 네트워크(이름 또는 ID)

--fixed-ip subnet=<subnet>,ip-address=<ip-address>

외부 게이트웨이에서 원하는 ip 및/또는 서브넷(이름 또는 ID): subnet=<subnet>,ip-address=<ip-address> (여러 고정 IP 주소를 설정하는repeat 옵션)

--enable-snat

외부 게이트웨이에서 소스 nat 활성화

--disable-snat

외부 게이트웨이에서 소스 nat 비활성화

--qos-policy <qos-policy>

라우터 게이트웨이 IP에 qos 정책 연결

--no-qos-policy

라우터 게이트웨이 IP에서 qos 정책 제거

--tag <tag>

라우터에 추가할 태그 (여러 태그를 설정하려면repeat 옵션)

--no-tag

라우터와 연결된 태그를 지웁니다. --tag 및 --no-tag를 둘 다 지정하여 현재 태그를 덮어씁니다.