Last active
December 15, 2015 19:38
-
-
Save ccollicutt/5312466 to your computer and use it in GitHub Desktop.
working with quantum in openstack grizzly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# follwing this: http://blog.aaronorosen.com/building-a-multi-tier-application-with-openstack/ | |
vagrant@precise64:/etc/quantum$ quantum net-list | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| 1583e72d-2ab1-4746-9d72-fea6cca16d41 | private | 93765661-e07e-4a6d-bb67-fe9a46d77849 10.0.0.0/24 | | |
| cfba85ab-0cb0-496e-82b5-bdb008e584e4 | public | 1c95411d-a5ba-44e0-9a46-98e342a3f331 | | |
+--------------------------------------+---------+--------------------------------------------------+ | |
# Create a public IP? | |
vagrant@precise64:/etc/quantum$ quantum floatingip-create public | |
Created a new floatingip: | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| fixed_ip_address | | | |
| floating_ip_address | 172.24.4.227 | | |
| floating_network_id | cfba85ab-0cb0-496e-82b5-bdb008e584e4 | | |
| id | 095c389e-327f-4f38-ada5-4ba3b17d6426 | | |
| port_id | | | |
| router_id | | | |
| tenant_id | 07edbf07fbd14c56ba004c446bb97fa4 | | |
+---------------------+--------------------------------------+ | |
vagrant@precise64:/etc/quantum$ quantum floatingip-create public | |
Created a new floatingip: | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| fixed_ip_address | | | |
| floating_ip_address | 172.24.4.228 | | |
| floating_network_id | cfba85ab-0cb0-496e-82b5-bdb008e584e4 | | |
| id | 2175332a-830e-49f0-b794-433640676a08 | | |
| port_id | | | |
| router_id | | | |
| tenant_id | 07edbf07fbd14c56ba004c446bb97fa4 | | |
+---------------------+--------------------------------------+ | |
vagrant@precise64:/etc/quantum$ quantum floatingip-list | |
+--------------------------------------+------------------+---------------------+---------+ | |
| id | fixed_ip_address | floating_ip_address | port_id | | |
+--------------------------------------+------------------+---------------------+---------+ | |
| 095c389e-327f-4f38-ada5-4ba3b17d6426 | | 172.24.4.227 | | | |
| 2175332a-830e-49f0-b794-433640676a08 | | 172.24.4.228 | | | |
+--------------------------------------+------------------+---------------------+---------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:/etc/quantum$ quantum net-list -- --router:external=True | |
+--------------------------------------+--------+---------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+--------+---------------------------------------+ | |
| cfba85ab-0cb0-496e-82b5-bdb008e584e4 | public | 1c95411d-a5ba-44e0-9a46-98e342a3f331 | | |
+--------------------------------------+--------+---------------------------------------+ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:/etc/quantum$ q router-port-list router2 | |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+ | |
| id | name | mac_address | fixed_ips | | |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+ | |
| 101f08f6-8d99-4d61-96c4-42ec116d14fb | | fa:16:3e:3e:7b:eb | {"subnet_id": "d483db9e-5ab4-4cd7-960a-dd79a8ccf5ba", "ip_address": "10.0.0.1"} | | |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+ | |
vagrant@precise64:/etc/quantum$ q port-delete 101f08f6-8d99-4d61-96c4-42ec116d14fb | |
Port 101f08f6-8d99-4d61-96c4-42ec116d14fb has owner network:router_interface and therefore cannot be deleted directly via the port API. | |
vagrant@precise64:/etc/quantum$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment