For completeness sake, here is what I did based on your examples:
stack@openstack4:~/devstack$ quantum net-create private
Created a new network:
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| id | 3983ff37-b018-451e-a668-1f062d1924ad |
| name | private |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | a0e72cd263f041ca9ad977bb6889d2ad |
+----------------+--------------------------------------+
stack@openstack4:~/devstack$ quantum subnet-create 3983ff37-b018-451e-a668-1f062d1924ad 10.0.1.0/24
Created a new subnet:
+------------------+--------------------------------------------+
| Field | Value |
+------------------+--------------------------------------------+
| allocation_pools | {"start": "10.0.1.2", "end": "10.0.1.254"} |
| cidr | 10.0.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.0.1.1 |
| host_routes | |
| id | 345280cf-a4fd-4538-a9d1-421ed73f9229 |
| ip_version | 4 |
| name | |
| network_id | 3983ff37-b018-451e-a668-1f062d1924ad |
| tenant_id | a0e72cd263f041ca9ad977bb6889d2ad |
+------------------+--------------------------------------------+
stack@openstack4:~/devstack$ nova image-list
+--------------------------------------+---------------------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+---------------------------------+--------+--------+
| 6b465660-b99a-4e37-b1a2-2f1f2fbfcc8a | cirros-0.3.0-x86_64-uec | ACTIVE | |
| 04319fb4-ee1d-4104-b8b1-27c9400167dd | cirros-0.3.0-x86_64-uec-kernel | ACTIVE | |
| 8bcca951-388f-4fc1-a286-73159409183d | cirros-0.3.0-x86_64-uec-ramdisk | ACTIVE | |
+--------------------------------------+---------------------------------+--------+--------+
stack@openstack4:~/devstack$ nova boot --image 6b465660-b99a-4e37-b1a2-2f1f2fbfcc8a --flavor 1 --nic net-id=3983ff37-b018-451e-a668-1f062d1924ad test
+------------------------+--------------------------------------+
| Property | Value |
+------------------------+--------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | ptq3iEhSt3xz |
| config_drive | |
| created | 2012-08-29T20:06:52Z |
| flavor | m1.tiny |
| hostId | |
| id | 68a13a7a-5bdb-403e-9e45-12dc11682dfe |
| image | cirros-0.3.0-x86_64-uec |
| key_name | None |
| metadata | {} |
| name | test |
| progress | 0 |
| security_groups | [{u'name': u'default'}] |
| status | BUILD |
| tenant_id | a0e72cd263f041ca9ad977bb6889d2ad |
| updated | 2012-08-29T20:06:52Z |
| user_id | e12eeaab09364ca7ae967c53855a2c94 |
+------------------------+--------------------------------------+
I then looked in the log for the VM (/opt/stack/nova/instances/instance-000000001/console.log to see if I got a network.
↧