Logging
This commit is contained in:
parent
ec8ec4d40a
commit
3b4e13697d
19
main.py
19
main.py
|
@ -15,19 +15,6 @@ x.keystone.getCatalog()
|
|||
|
||||
# neutronService=x.keystone.getServicebyName("Neutron")
|
||||
# print(neutronService)
|
||||
neutronURL=x.keystone.getEndpointByNameIDAndInterface("NeuTrOn","internal")['url']
|
||||
print(neutronURL)
|
||||
|
||||
# token = ng_openstack.auth.getToken(os.getenv("OS_USERNAME"), os.getenv("OS_PASSWORD"),
|
||||
# os.getenv("OS_USER_DOMAIN_NAME"), os.getenv("OS_USER_DOMAIN_NAME"),
|
||||
# os.getenv("OS_PROJECT_ID"))
|
||||
# print(token)
|
||||
|
||||
# # print(json.dumps(ng_openstack.keystone.getAllProjects(), indent=4))
|
||||
# cat=ng_openstack.keystone.getCatalog()
|
||||
|
||||
|
||||
# print (ng_openstack.keystone.getServicebyID("11f21a87fdaa4f5d9bd93c7396bdd93c"))
|
||||
|
||||
# # openstack=newOpenstack.connect()
|
||||
# # projects=openstack.projects.getAll()
|
||||
# neutronURL=x.keystone.getEndpointByNameIDAndInterface("NeuTrOn","internal")['url']
|
||||
# print(neutronURL)
|
||||
projects=x.keystone.getAllProjects()
|
Loading…
Reference in New Issue