import json import ng_openstack.openstackRequest def getAllProjects(): projectData=ng_openstack.openstackRequest.openstackRequest("GET", "v3/projects", "", "http://172.25.110.138:5000").json() return projectData def getCatalog(): catalogData=ng_openstack.openstackRequest.openstackRequest("GET", "v3/endpoints", "", os.getenv("OS_AUTH_URL")).json() return catalogData