root@controller:~# nova boot --flavor IWINV.SINGLE --image CentOS_6_x86_64_25G --nic net-id=be508bf6-e51f-4f1a-8421-0e93b39598b1 --security-group default demo1
ERROR (BadRequest): Network be508bf6-e51f-4f1a-8421-0e93b39598b1 could not be found. (HTTP 400) (Request-ID: req-d1f88010-86cb-4dcf-aa4a-004451fa6754)
¡Ø private ³×Æ®¿öÅ©¿¡ ±ÇÇѹ®Á¦·Î ÀÎÇØ ÀϹݰèÁ¤¿¡¼ ÀνºÅϽº°¡ »ý¼ºµÇÁö ¾Ê´Â ¹®Á¦
neutron net-update ÅëÇØ shared ±ÇÇÑ Ãß°¡
root@controller:~# neutron net-show private
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | be508bf6-e51f-4f1a-8421-0e93b39598b1 |
| mtu | 0 |
| name | private |
| port_security_enabled | True |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 65 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | bf47d6f1-1741-4b38-baf9-2422e5e15d00 |
| tenant_id | 05b2b44dafd446059e0d5bc90c99800c |
+---------------------------+--------------------------------------+
root@controller:~# neutron net-show public
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 4b10f8a3-f9c1-4cbd-9a26-93b37c3051d4 |
| mtu | 0 |
| name | public |
| port_security_enabled | True |
| provider:network_type | flat |
| provider:physical_network | public |
| provider:segmentation_id | |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | 5161eee9-14d3-4d8e-be08-466501541752 |
| tenant_id | 05b2b44dafd446059e0d5bc90c99800c |
+---------------------------+--------------------------------------+
root@controller:~# neutron net-update --shared private
Updated network: private
root@controller:~# neutron net-show private
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | be508bf6-e51f-4f1a-8421-0e93b39598b1 |
| mtu | 0 |
| name | private |
| port_security_enabled | True |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 65 |
| router:external | False |
| shared | True |
| status | ACTIVE |
| subnets | bf47d6f1-1741-4b38-baf9-2422e5e15d00 |
| tenant_id | 05b2b44dafd446059e0d5bc90c99800c |
+---------------------------+--------------------------------------+
shared 񀀥 false
# neutron net-update public --shared False