¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
neutron tenant_id º¯°æ
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-05-17 (È­) 16:02 Á¶È¸ : 1980
                                
Áõ»ó)
±âÁ¸ Project »èÁ¦ÇÏ°í Project ¸¦ »õ·Î »ý¼ºÇϸ鼭....±âÁ¸ ³×Æ®¿öÅ© Á¤º¸ Tenant_id °ªÀÌ ÀÌÀü²¨·Î ¹°¸®°í ÀÖÀ½

# openstack project list
+----------------------------------+---------+
| ID                               | Name    |
+----------------------------------+---------+
| 4426c4fbf79e4cce8c4497363d275e4a | admin   |    »õ·Î»ý¼ºµÈ °ª
| 9e59764a3bbe4c488263bc34f67bfeba | service |
| ec170791cfc0404c93fcfe9c0b6dc9cb | ocho78  |
+----------------------------------+---------+


# neutron net-show 3de7b091-d3f9-46f7-83d2-c7688e30a3ca
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 3de7b091-d3f9-46f7-83d2-c7688e30a3ca |
| mtu                       | 0                                    |
| name                      | public                               |
| port_security_enabled     | True                                 |
| provider:network_type     | flat                                 |
| provider:physical_network | public                               |
| provider:segmentation_id  |                                      |
| router:external           | False                                |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | c86254e4-1ded-4f19-b87d-d1fcd0381a5d |
| tenant_id                 | 0978549c181f45c386c20300a7a2c021     |
+---------------------------+--------------------------------------+


# neutron subnet-show c86254e4-1ded-4f19-b87d-d1fcd0381a5d
+-------------------+----------------------------------------------------+
| Field             | Value                                              |
+-------------------+----------------------------------------------------+
| allocation_pools  | {"start": "XXX.XXX.202.34", "end": "XXX.XXX.202.48"} |
| cidr              | XXX.XXX.202.32/27                                   |
| dns_nameservers   |                                                    |
| enable_dhcp       | True                                               |
| gateway_ip        | XXX.XXX.202.33                                      |
| host_routes       |                                                    |
| id                | c86254e4-1ded-4f19-b87d-d1fcd0381a5d               |
| ip_version        | 4                                                  |
| ipv6_address_mode |                                                    |
| ipv6_ra_mode      |                                                    |
| name              | public                                             |
| network_id        | 3de7b091-d3f9-46f7-83d2-c7688e30a3ca               |
| subnetpool_id     |                                                    |
| tenant_id         | 0978549c181f45c386c20300a7a2c021                   |
+-------------------+----------------------------------------------------+

¡Ø ports Á¤º¸µµ µ¿ÀÏ


# mysql -uroot -Dneutron -p
mysql> update networks set tenant_id='4426c4fbf79e4cce8c4497363d275e4a' where id='3de7b091-d3f9-46f7-83d2-c7688e30a3ca';

mysql> update subnets set tenant_id='4426c4fbf79e4cce8c4497363d275e4a' where id='c86254e4-1ded-4f19-b87d-d1fcd0381a5d';

mysql> update ports set tenant_id='4426c4fbf79e4cce8c4497363d275e4a' where tenant_id='0978549c181f45c386c20300a7a2c021';


# neutron net-show public
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 3de7b091-d3f9-46f7-83d2-c7688e30a3ca |
| mtu                       | 0                                    |
| name                      | public                               |
| port_security_enabled     | True                                 |
| provider:network_type     | flat                                 |
| provider:physical_network | public                               |
| provider:segmentation_id  |                                      |
| router:external           | False                                |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | c86254e4-1ded-4f19-b87d-d1fcd0381a5d |
| tenant_id                 | 4426c4fbf79e4cce8c4497363d275e4a     |
+---------------------------+--------------------------------------+

# neutron subnet-show c86254e4-1ded-4f19-b87d-d1fcd0381a5d
+-------------------+----------------------------------------------------+
| Field             | Value                                              |
+-------------------+----------------------------------------------------+
| allocation_pools  | {"start": "XXX.XXX.202.34", "end": "XXX.XXX.202.48"} |
| cidr              | XXX.XXX.202.32/27                                   |
| dns_nameservers   |                                                    |
| enable_dhcp       | True                                               |
| gateway_ip        | XXX.XXX.202.33                                      |
| host_routes       |                                                    |
| id                | c86254e4-1ded-4f19-b87d-d1fcd0381a5d               |
| ip_version        | 4                                                  |
| ipv6_address_mode |                                                    |
| ipv6_ra_mode      |                                                    |
| name              | public                                             |
| network_id        | 3de7b091-d3f9-46f7-83d2-c7688e30a3ca               |
| subnetpool_id     |                                                    |
| tenant_id         | 4426c4fbf79e4cce8c4497363d275e4a                   |
+-------------------+----------------------------------------------------+

# neutron port-show 178c10fa-c5fd-49dc-8801-459ac85e86bd
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                                           |
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                                            |
| allowed_address_pairs |                                                                                                                 |
| binding:host_id       | 201-14-compute                                                                                                  |
| binding:profile       | {}                                                                                                              |
| binding:vif_details   | {"port_filter": false}                                                                                          |
| binding:vif_type      | hyperv                                                                                                          |
| binding:vnic_type     | normal                                                                                                          |
| device_id             | 34a7c3d1-16cc-4023-a9f7-5c778ee61f52                                                                            |
| device_owner          | compute:nova                                                                                                    |
| dns_assignment        | {"hostname": "host-XXX-XXX-202-43", "ip_address": "XXX.XXX202.43", "fqdn": "host-XXX-XXX-202-43.openstacklocal."} |
| dns_name              |                                                                                                                 |
| extra_dhcp_opts       |                                                                                                                 |
| fixed_ips             | {"subnet_id": "c86254e4-1ded-4f19-b87d-d1fcd0381a5d", "ip_address": "XXX.XXX.202.43"}                            |
| id                    | 178c10fa-c5fd-49dc-8801-459ac85e86bd                                                                            |
| mac_address           | fa:16:3e:9f:40:07                                                                                               |
| name                  |                                                                                                                 |
| network_id            | 3de7b091-d3f9-46f7-83d2-c7688e30a3ca                                                                            |
| port_security_enabled | True                                                                                                            |
| security_groups       | da61803f-c0eb-4d94-9556-0f53fad2085c                                                                            |
| status                | BUILD                                                                                                           |
| tenant_id             | 4426c4fbf79e4cce8c4497363d275e4a                                                                                |
+-----------------------+-----------------------------------------------------------------------------------------------------------------+


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

 



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