network load-balancer update

コマンド概要

環境変数で指定したテナントに存在するロードバランサーを更新します。


必須パラメーター

パラメーター名 データ形式 デフォルト値 パラメーター説明
LOAD_BALANCER_ID <uuid> なし 更新するロードバランサーのID

任意パラメーター

パラメーター名 データ形式 デフォルト値 パラメーター説明
--name <string> なし 更新するロードバランサーの名前
--description <string> なし 更新するロードバランサーの説明
--load_balancer_plan_id <uuid> なし 更新するロードバランサーのロードバランサープランID
--default_gateway <ipv4> なし 更新するロードバランサーのデフォルトゲートウェイ

コマンド使用例

ecl network load-balancer update --name test-lb-01 --default_gateway=192.168.1.253 801c90b6-2cfa-499c-a97b-d012ea1c01ca

$ ecl network load-balancer update --name test-lb-01 --default_gateway=192.168.1.253 801c90b6-2cfa-499c-a97b-d012ea1c01ca
+-----------------------+-----------------------------------------------------------+
| Field                 | Value                                                     |
+-----------------------+-----------------------------------------------------------+
| admin_username        | user-admin                                                |
| availability_zone     | None                                                      |
| default_gateway       | 192.168.1.253                                             |
| description           |                                                           |
| id                    | 801c90b6-2cfa-499c-a97b-d012ea1c01ca                      |
| interfaces            | [{u'status': u'DOWN', u'virtual_ip_properties': None,     |
|                       | u'name': u'Interface 1/1', u'network_id': None,           |
|                       | u'slot_number': 1, u'virtual_ip_address': None,           |
|                       | u'ip_address': None, u'id': u'e0dcd00b-150d-4871-995b-    |
|                       | 80d8889bfcfc'}, {u'status': u'DOWN',                      |
|                       | u'virtual_ip_properties': None, u'name': u'Interface      |
|                       | 1/2', u'network_id': None, u'slot_number': 2,             |
|                       | u'virtual_ip_address': None, u'ip_address': None, u'id':  |
|                       | u'6490b4b3-f72b-4243-811c-bd9b546f7812'}, {u'status':     |
|                       | u'ACTIVE', u'virtual_ip_properties': None, u'name':       |
|                       | u'Interface 1/3', u'network_id': u'e0f207d8-ac00-4b60     |
|                       | -ba4b-2ae3d61e4ad0', u'slot_number': 3,                   |
|                       | u'virtual_ip_address': None, u'ip_address':               |
|                       | u'192.168.1.103', u'id': u'2ab54194-a04a-45ad-95dc-       |
|                       | d44c0d43a1f7'}, {u'status': u'DOWN',                      |
|                       | u'virtual_ip_properties': None, u'name': u'Interface      |
|                       | 1/4', u'network_id': None, u'slot_number': 4,             |
|                       | u'virtual_ip_address': None, u'ip_address': None, u'id':  |
|                       | u'a324165b-890f-450f-ae15-2eabffdc5f04'}]                 |
| load_balancer_plan_id | 40a38c9c-819c-4822-b0e2-84242f6af03d                      |
| name                  | test-lb-01                                                |
| project_id            |                                                           |
| status                | PENDING_UPDATE                                            |
| user_username         | user-read                                                 |
+-----------------------+-----------------------------------------------------------+