Advertisement
Guest User

Untitled

a guest
Nov 17th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. root@79c15ba47338:~# python
  2. Python 2.7.6 (default, Jun 22 2015, 17:58:13)
  3. [GCC 4.8.2] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5.  
  6.  
  7. >>> from opnfv.utils.Credentials import Credentials as credentials
  8. >>> credentials("fuel", "10.20.0.2", "root", "r00tme").fetch('./openrc')
  9.  
  10.  
  11. 2016-11-17 13:08:48,514 - Credentials - DEBUG - Installer fuel supported.
  12. 2016-11-17 13:08:48,517 - Credentials - DEBUG - IP 10.20.0.2 is reachable!
  13. 2016-11-17 13:08:48,517 - Credentials - DEBUG - Trying to stablish ssh connection to 10.20.0.2 ...
  14. 2016-11-17 13:08:48,969 - Credentials - DEBUG - Target path correct.
  15. 2016-11-17 13:08:48,969 - Credentials - INFO - Fetching credentials from the deployment...
  16. 2016-11-17 13:08:50,240 - FuelHandler - INFO - /root/openrc successfully copied from 10.20.0.3 to ./openrc
  17. >>>
  18.  
  19.  
  20. root@79c15ba47338:~# cat openrc
  21. #!/bin/sh
  22. export OS_NO_CACHE='true'
  23. export OS_TENANT_NAME='admin'
  24. export OS_PROJECT_NAME='admin'
  25. export OS_USERNAME='admin'
  26. export OS_PASSWORD='admin'
  27. export OS_AUTH_URL='http://192.168.0.7:5000/'
  28. export OS_DEFAULT_DOMAIN='Default'
  29. export OS_AUTH_STRATEGY='keystone'
  30. export OS_REGION_NAME='RegionOne'
  31. export CINDER_ENDPOINT_TYPE='internalURL'
  32. export GLANCE_ENDPOINT_TYPE='internalURL'
  33. export KEYSTONE_ENDPOINT_TYPE='internalURL'
  34. export NOVA_ENDPOINT_TYPE='internalURL'
  35. export NEUTRON_ENDPOINT_TYPE='internalURL'
  36. export OS_ENDPOINT_TYPE='internalURL'
  37. export MURANO_REPO_URL='http://storage.apps.openstack.org/'
  38. export MURANO_PACKAGES_SERVICE='glance'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement