¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 708°Ç
   
neutron device_owner
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2017-02-03 (±Ý) 14:26 Á¶È¸ : 1632
                                
n# neutron port-list
| id                                   | name                                              | mac_address       | fixed_ips                                                                         |
| 64ee252f-1b48-4a28-a205-86a760539585 | loadbalancer-0e5b0264-0b6a-4426-899c-9469e6d34985 | fa:16:3e:74:5a:c2 | {"subnet_id": "7bbe9f3f-3df0-4226-a4d3-10ae54504072", "ip_address": "172.16.1.6"} |
| 71f2f097-5ccc-4141-a7a9-ba4dd5b21ed6 | loadbalancer-f1f4ee70-1005-4a18-adb2-e2078f1e4c38 | fa:16:3e:5c:d9:a0 | {"subnet_id": "7bbe9f3f-3df0-4226-a4d3-10ae54504072", "ip_address": "172.16.1.8"} |


# neutron port-show 64ee252f-1b48-4a28-a205-86a760539585
+-----------------------+-----------------------------------------------------------------------------------+
| Field                 | Value                                                                             |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up        | True                                                                              |
| allowed_address_pairs |                                                                                   |
| binding:vnic_type     | normal                                                                            |
| created_at            | 2017-01-31T08:28:19                                                               |
| description           |                                                                                   |
| device_id             |                                                                                   |
| device_owner          |                                                                                   |
| extra_dhcp_opts       |                                                                                   |
| fixed_ips             | {"subnet_id": "7bbe9f3f-3df0-4226-a4d3-10ae54504072", "ip_address": "172.16.1.6"} |
| id                    | 64ee252f-1b48-4a28-a205-86a760539585                                              |
| mac_address           | fa:16:3e:74:5a:c2                                                                 |
| name                  | loadbalancer-0e5b0264-0b6a-4426-899c-9469e6d34985                                 |
| network_id            | 9bf2c426-ae3d-4b5e-a8b8-7bd3a970fdc6                                              |
| port_security_enabled | True                                                                              |
| security_groups       | 4d1550cb-1363-4dc5-ad76-f827952baa3c                                              |
| status                | ACTIVE                                                                            |
| tenant_id             | 9eba2261431d401382d2a02a166feda4                                                  |
| updated_at            | 2017-02-03T05:20:40                                                               |
+-----------------------+-----------------------------------------------------------------------------------+


https://developer.openstack.org/api-ref/networking/v2/?expanded=update-port-detail
 - device_id (Optional)
 - device_owner (Optional)
# neutron port-update --device-id <LOADBALANCER-ID> --device-owner neutron:LOADBALANCERV2 <PORT-ID>

# neutron port-show 71f2f097-5ccc-4141-a7a9-ba4dd5b21ed6
+-----------------------+-----------------------------------------------------------------------------------+
| Field                 | Value                                                                             |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up        | True                                                                              |
| allowed_address_pairs |                                                                                   |
| binding:vnic_type     | normal                                                                            |
| created_at            | 2017-02-03T05:20:10                                                               |
| description           |                                                                                   |
| device_id             | f1f4ee70-1005-4a18-adb2-e2078f1e4c38                                              |
| device_owner          | neutron:LOADBALANCERV2                                                            |
| extra_dhcp_opts       |                                                                                   |
| fixed_ips             | {"subnet_id": "7bbe9f3f-3df0-4226-a4d3-10ae54504072", "ip_address": "172.16.1.8"} |
| id                    | 71f2f097-5ccc-4141-a7a9-ba4dd5b21ed6                                              |
| mac_address           | fa:16:3e:5c:d9:a0                                                                 |
| name                  | loadbalancer-f1f4ee70-1005-4a18-adb2-e2078f1e4c38                                 |
| network_id            | 9bf2c426-ae3d-4b5e-a8b8-7bd3a970fdc6                                              |
| port_security_enabled | True                                                                              |
| security_groups       | 4d1550cb-1363-4dc5-ad76-f827952baa3c                                              |
| status                | ACTIVE                                                                            |
| tenant_id             | 9eba2261431d401382d2a02a166feda4                                                  |
| updated_at            | 2017-02-03T05:20:21                                                               |
+-----------------------+-----------------------------------------------------------------------------------+


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.