Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kcon-gen-01i:~# quantum floatingip-create --tenant-id $(stack_id -t project_one) ext_net
- Created a new floatingip:
- +---------------------+--------------------------------------+
- | Field | Value |
- +---------------------+--------------------------------------+
- | fixed_ip_address | |
- | floating_ip_address | 10.0.166.2 |
- | floating_network_id | ab844d2a-f9b2-4ec4-bd2d-8a34ea0538e0 |
- | id | f16c7805-4ad4-4939-bc39-1733556b2037 |
- | port_id | |
- | router_id | |
- | tenant_id | c2cdb8d4d2484cf8bc8bf95dd759df12 |
- +---------------------+--------------------------------------+
- ### Giving the ports names
- root@kcon-gen-01i:~# quantum port-update 69fce85b-2f75-4261-ac6c-3137ed1be2d3 --name=vm-01
- Updated port: 69fce85b-2f75-4261-ac6c-3137ed1be2d3
- root@kcon-gen-01i:~# quantum port-update 272de14a-7571-4559-b223-7b2ef8015f6b --name=vm-01_ext
- Updated port: 272de14a-7571-4559-b223-7b2ef8015f6b
- root@kcon-gen-01i:~# quantum port-update 181c5254-c93a-4266-9e6c-7269d76c0326 --name=dhcp_proj_one
- Updated port: 181c5254-c93a-4266-9e6c-7269d76c0326
- root@kcon-gen-01i:~# quantum port-list
- +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
- | id | name | mac_address | fixed_ips |
- +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
- | 181c5254-c93a-4266-9e6c-7269d76c0326 | dhcp_proj_one | fa:16:3e:f5:fb:8b | {"subnet_id": "39b11457-a453-421d-8574-5231eaeb37b6", "ip_address": "50.50.1.3"} |
- | 272de14a-7571-4559-b223-7b2ef8015f6b | vm-01_ext | fa:16:3e:26:3b:d4 | {"subnet_id": "4ea5ce97-bbb7-450d-82d8-eb1577bdea7d", "ip_address": "10.21.166.2"} |
- | 507cd4ad-8974-411f-bbcf-fe9a4c1911e8 | port_proj_one | fa:16:3e:c7:13:aa | {"subnet_id": "39b11457-a453-421d-8574-5231eaeb37b6", "ip_address": "50.50.1.1"} |
- | 69fce85b-2f75-4261-ac6c-3137ed1be2d3 | vm-01 | fa:16:3e:93:58:92 | {"subnet_id": "39b11457-a453-421d-8574-5231eaeb37b6", "ip_address": "50.50.1.2"} |
- | e68e5139-077f-4526-9079-7e0d01e1e5f5 | port_ext_net | fa:16:3e:7f:13:27 | {"subnet_id": "4ea5ce97-bbb7-450d-82d8-eb1577bdea7d", "ip_address": "10.21.166.1"} |
- +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
- root@kcon-gen-01i:~# quantum floatingip-associate f16c7805-4ad4-4939-bc39-1733556b2037 69fce85b-2f75-4261-ac6c-3137ed1be2d3
- Associated floatingip f16c7805-4ad4-4939-bc39-1733556b2037
Advertisement
Add Comment
Please, Sign In to add comment