63.10. 서브넷 세트
서브넷 속성 설정
사용법:
openstack subnet set [-h] [--name <name>] [--dhcp | --no-dhcp]
[--gateway <gateway>]
[--description <description>] [--tag <tag>]
[--no-tag]
[--allocation-pool start=<ip-address>,end=<ip-address>]
[--no-allocation-pool]
[--dns-nameserver <dns-nameserver>]
[--no-dns-nameservers]
[--host-route destination=<subnet>,gateway=<ip-address>]
[--no-host-route] [--service-type <service-type>]
<subnet>
| 값 | 요약 |
|---|---|
| <subnet> | 서브넷을 수정하여 이름 또는 ID를 수정합니다. |
| 값 | 요약 |
|---|---|
| --no-allocation-pool | 서브넷에서 연결된 할당 풀을 지웁니다. 현재 할당 풀 정보를 덮어쓰려면 --allocation-pool 및 --no-allocation- pool을 모두 지정합니다. |
| --no-dhcp | dhcp 비활성화 |
| --dhcp | dhcp 활성화 |
| --allocation-pool start=<ip-address>,end=<ip-address> | 이 서브넷의 할당 풀 ip 주소(예: start=192.168.199.2,end=192.168.199.254) |
| --no-tag | 서브넷과 연결된 태그를 지웁니다. 현재 태그를 덮어쓰려면 --tag와 --no-tag를 모두 지정합니다. |
| --name <name> | 서브넷의 업데이트된 이름 |
| --no-host-route | 서브넷에서 연결된 host-routes를 지웁니다. 현재 호스트 경로 정보를 덮어쓰려면 --host-route 및 --no-host-route를 둘 다 지정합니다. |
| --host-route destination=<subnet>,gateway=<ip-address> | 이 서브넷에 대한 추가 경로(예: destination=10.10.0.0/16,gateway=192.168.71.254 대상: 대상 서브넷(CIDR 표기법) 게이트웨이: nexthop IP address (repeat option to add multiple routes) |
| --dns-nameserver <dns-nameserver> | 이 서브넷의 DNS 서버 (여러 DNS 서버 설정 옵션) |
| --gateway <gateway> | 서브넷의 게이트웨이를 지정합니다. 옵션은 <ip-address>: 게이트웨이로 사용할 특정 IP 주소입니다. none: 이 서브넷은 게이트웨이를 사용하지 않습니다(예: --gateway 192.168.9.1, --gateway none). |
| --no-dns-nameservers | dns nameservers의 기존 정보를 지웁니다. --dns-nameserver 및 --no-dns-nameserver를 모두 지정하여 현재 DNS Nameserver 정보를 덮어씁니다. |
| -h, --help | 이 도움말 메시지를 표시하고 종료합니다. |
| --description <description> | 서브넷 설명 설정 |
| --service-type <service-type> | 이 서브넷의 서비스 유형(예: network:floatingip_agent_gateway). 네트워크 포트의 유효한 장치 소유자 값이어야 합니다(여러 서비스 유형을 설정하려면 peat 옵션) |
| --tag <tag> | 서브넷에 추가할 태그(여러 태그를 설정하려면peat 옵션) |