-
Bug
-
Resolution: Done
-
High
-
Dublin Release
-
Integration Lab -> VFC tenant/project
We can get tenants using API v0, but we can't get tenants using API v1.
root@dev-cli-cli-77887b6c48-jwmcf:/opt/oclip# curl -X GET http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-07/tenants
<h1>Server Error (500)</h1>
root@dev-cli-cli-77887b6c48-jwmcf:/opt/oclip# curl -X GET http://msb-iag.onap:80/api/multicloud-titaniumcloud/v0/CloudOwner_ONAP-POD-01-Rail-07/tenants
{"vimName":"clli1","vimId":"CloudOwner_ONAP-POD-01-Rail-07","links":
{"self":"[http://10.12.11.1:5000/v3/projects]","next":null,"previous":null},"cloud-region-id":"ONAP-POD-01-Rail-07","cloud-owner":"CloudOwner","tenants":[{"is_domain":false,"description":"admin tenant","links":
{"self":"[http://10.12.11.1:5000/v3/projects/5006a7088aec4ca3aa62a08599dc8dbf]"},"enabled":true,"domain_id":"default","parent_id":"default","id":"5006a7088aec4ca3aa62a08599dc8dbf","name":"admin"},{"is_domain":false,"description":"Tenant for the openstack services","links":
{"self":"[http://10.12.11.1:5000/v3/projects/62449cc2a81f4c5a93cba3e66c3a9ec3]"},"enabled":true,"domain_id":"default","parent_id":"default","id":"62449cc2a81f4c5a93cba3e66c3a9ec3","name":"services"},
{"is_domain":false,"description":"Lead: [itohan.ukponmwan@intel.com","links":\{"self":"http://10.12.11.1:5000/v3/projects/709ba629fe194f8699b12f9d6ffd86a0"},"enabled":true,"domain_id":"default","parent_id":"default","id":"709ba629fe194f8699b12f9d6ffd86a0","name":"Integration-HPA"},{"is_domain":false,"description":"tenant|mailto:itohan.ukponmwan@intel.com%22,%22links%22:%7b%22self%22:%22http://10.12.11.1:5000/v3/projects/709ba629fe194f8699b12f9d6ffd86a0%22%7d,%22enabled%22:true,%22domain_id%22:%22default%22,%22parent_id%22:%22default%22,%22id%22:%22709ba629fe194f8699b12f9d6ffd86a0%22,%22name%22:%22Integration-HPA%22%7d,%7b%22is_domain%22:false,%22description%22:%22tenant] for multicloud edge exercises","links":
{"self":"[http://10.12.11.1:5000/v3/projects/4fd4c3ff95b44cc3996cf0aa68c0c382]"},"enabled":true,"domain_id":"default","parent_id":"default","id":"4fd4c3ff95b44cc3996cf0aa68c0c382","name":"edge1"},{"is_domain":false,"description":"Lead: Haibin Huang","links":
{"self":"[http://10.12.11.1:5000/v3/projects/101f030b640944a4af7244c9da6cb45f]"},"enabled":true,"domain_id":"default","parent_id":"default","id":"101f030b640944a4af7244c9da6cb45f","name":"SRIOV-NIC"}]}