1.3
1.3
scp-cli virtualserver server add interface
--server_id <value>
[--fixed_ips <value>]
[--port_id <value>]
[--subnet_id <value>]
Description
Create a new network port to the virtual server, or add an existing network port.
When creating a new network port, enter the subnet ID. IP can be set to auto-generate or user input fixed ips.
If you want to add an existing network port, enter the port ID.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.3 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| server_id required | string | 서버 ID | 2a9be312-5d4b-4bc8-b2ae-35100fa9241f |
| fixed_ips optional | array | 고정 IP 목록 | '{"ip_address": "192.169.3.2"}' |
| port_id optional | string | 포트 ID | 91424c08-0b26-49fb-9808-ed042292ceef |
| subnet_id optional | string | 서브넷 ID | 78b2ee3f074145c580ab6abac4821f97 |
Responses
| Name | Description | Example |
|---|---|---|
| fixed_ips | 고정 IP 목록 | [] |
| mac_addr | MAC 주소 | fa:16:3e:c0:71:2b |
| port_id | 포트 ID | f2b02fc5-a5fd-4b5f-b1a9-987f4c0d66cc |
| port_state | Port 상태 | ACTIVE |
| private_static_nat | Private Static NAT | |
| static_nat | Public Static NAT | |
| subnet_id | 서브넷 ID | 183c6c30df0c4fcbb16422aa2d64aa21 |