Advertisement
gregmark

OpenStack or Bust, Part 10: project_one after fp-assoc

Mar 22nd, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.17 KB | None | 0 0
  1. ---------------------------
  2. 192.168.241.100 kcon-sn-01i
  3. ---------------------------
  4.  
  5. $ keystone tenant-get $(stack_id -t project_one)
  6. +-------------+----------------------------------+
  7. |   Property  |              Value               |
  8. +-------------+----------------------------------+
  9. | description |                                  |
  10. |   enabled   |               True               |
  11. |      id     | c2cdb8d4d2484cf8bc8bf95dd759df12 |
  12. |     name    |           project_one            |
  13. +-------------+----------------------------------+
  14.  
  15. $ keystone user-get $(stack_id -u user_one)
  16. +----------+----------------------------------+
  17. | Property |              Value               |
  18. +----------+----------------------------------+
  19. |  email   |       user_one@domain.com        |
  20. | enabled  |               True               |
  21. |    id    | b157401ac19d4cfcb33d929524c477dc |
  22. |   name   |             user_one             |
  23. | tenantId | c2cdb8d4d2484cf8bc8bf95dd759df12 |
  24. +----------+----------------------------------+
  25.  
  26. $ quantum net-show $(stack_id -n net_proj_one)
  27. +---------------------------+--------------------------------------+
  28. | Field                     | Value                                |
  29. +---------------------------+--------------------------------------+
  30. | admin_state_up            | True                                 |
  31. | id                        | 81c0747d-0b40-4106-8421-ecea5c423bb9 |
  32. | name                      | net_proj_one                         |
  33. | provider:network_type     | vlan                                 |
  34. | provider:physical_network | physnet1                             |
  35. | provider:segmentation_id  | 1024                                 |
  36. | router:external           | False                                |
  37. | shared                    | False                                |
  38. | status                    | ACTIVE                               |
  39. | subnets                   | 39b11457-a453-421d-8574-5231eaeb37b6 |
  40. | tenant_id                 | c2cdb8d4d2484cf8bc8bf95dd759df12     |
  41. +---------------------------+--------------------------------------+
  42.  
  43. $ quantum subnet-show $(stack_id -b 50.50.1.0/24)
  44. +------------------+----------------------------------------------+
  45. | Field            | Value                                        |
  46. +------------------+----------------------------------------------+
  47. | allocation_pools | {"start": "50.50.1.2", "end": "50.50.1.254"} |
  48. | cidr             | 50.50.1.0/24                                 |
  49. | dns_nameservers  |                                              |
  50. | enable_dhcp      | True                                         |
  51. | gateway_ip       | 50.50.1.1                                    |
  52. | host_routes      |                                              |
  53. | id               | 39b11457-a453-421d-8574-5231eaeb37b6         |
  54. | ip_version       | 4                                            |
  55. | name             | subnet_proj_one                              |
  56. | network_id       | 81c0747d-0b40-4106-8421-ecea5c423bb9         |
  57. | tenant_id        | c2cdb8d4d2484cf8bc8bf95dd759df12             |
  58. +------------------+----------------------------------------------+
  59.  
  60. $ quantum router-show $(stack_id -o router_proj_one)
  61. +-----------------------+--------------------------------------------------------+
  62. | Field                 | Value                                                  |
  63. +-----------------------+--------------------------------------------------------+
  64. | admin_state_up        | True                                                   |
  65. | external_gateway_info | {"network_id": "ab844d2a-f9b2-4ec4-bd2d-8a34ea0538e0"} |
  66. | id                    | 26c5bd92-e06c-4e54-9cd1-188d5e81a882                   |
  67. | name                  | router_proj_one                                        |
  68. | status                | ACTIVE                                                 |
  69. | tenant_id             | c2cdb8d4d2484cf8bc8bf95dd759df12                       |
  70. +-----------------------+--------------------------------------------------------+
  71.  
  72. $ quantum port-list -- --device_id $(stack_id -o router_proj_one)
  73. +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
  74. | id                                   | name          | mac_address       | fixed_ips                                                                          |
  75. +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
  76. | 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"}   |
  77. | e68e5139-077f-4526-9079-7e0d01e1e5f5 | port_ext_net  | fa:16:3e:7f:13:27 | {"subnet_id": "4ea5ce97-bbb7-450d-82d8-eb1577bdea7d", "ip_address": "10.0.166.1"}  |
  78. +--------------------------------------+---------------+-------------------+------------------------------------------------------------------------------------+
  79.  
  80. $ quantum floatingip-list
  81. +--------------------------------------+------------------+---------------------+--------------------------------------+
  82. | id                                   | fixed_ip_address | floating_ip_address | port_id                              |
  83. +--------------------------------------+------------------+---------------------+--------------------------------------+
  84. | f16c7805-4ad4-4939-bc39-1733556b2037 | 50.50.1.2        | 10.0.166.2         | 69fce85b-2f75-4261-ac6c-3137ed1be2d3  |
  85. +--------------------------------------+------------------+---------------------+--------------------------------------+
  86.  
  87. $ nova --os-username user_one --os-password user_one --os-tenant-name project_one list
  88. +--------------------------------------+-------+--------+------------------------+
  89. | ID                                   | Name  | Status | Networks               |
  90. +--------------------------------------+-------+--------+------------------------+
  91. | ee8b26a4-2c2e-4429-b780-41a9582a5568 | vm-01 | ACTIVE | net_proj_one=50.50.1.2 |
  92. +--------------------------------------+-------+--------+------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement