summaryrefslogtreecommitdiffstats
path: root/share
AgeCommit message (Collapse)AuthorFilesLines
2018-12-26Refactor the AAI cache for multicloud pluginBin Yang3-13/+72
Fix the cache issue of cloud region which result in failure of cloud region registration Change-Id: Id13a40124efb92bd818686e069c9335ecd0d07c1 Issue-ID: MULTICLOUD-431 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-27Merge "Add server action for windriver APIv1" into casablancaBin Yang1-0/+7
2018-11-27Cache AAI dataBin Yang2-0/+39
Add profiler decorator Change-Id: I280b5799fa876d881dc2331b44dd34344437eba3 Issue-ID: MULTICLOUD-417 Signed-off-by: Bin Yang <bin.yang@windriver.com> (cherry picked from commit 2c3a49d866ebd62210f2fbcd3a1681e58f794efa)
2018-11-27Add filter to queriesXiaohua Zhang3-6/+25
Change-Id: I8845592fa9a52ce5aac382885072dee66d664f23 Issue-ID: MULTICLOUD-417 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com> (cherry picked from commit 370ed53582ba1da526b7cc7c52fd780eb7a5b70b)
2018-11-27Add server action for windriver APIv0Haibin Huang1-1/+1
Change-Id: Ib6dca8c162644ba99ea04f5dd9c87ffde34bda8e Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit b32eb9864c7fd9757dd0192af05af6e48699b42b)
2018-11-27Merge "Fix discover snapshot with endpoint error" into casablancaBin Yang1-1/+1
2018-11-27Merge "Fix issue with keystone v2.0" into casablancaBin Yang1-2/+2
2018-11-27Fix Openstack user data import issueHaibin Huang1-24/+33
Change-Id: Iedfa7b4c5389b7993630680d6efa4ed4ce734607 Issue-ID: MULTICLOUD-407 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit d17138507974a8bd8bfcda71f1b34b37f336aa2e)
2018-11-27Merge "Modify openstack return code" into casablancaBin Yang1-1/+1
2018-11-27Fix issue with keystone v2.0bharath1-2/+2
Issue-ID: MULTICLOUD-386 Change-Id: Ib19ad639c76754fa7a9f6efea449ab5df17afada Signed-Off-By: Bharath Thiruveedula <bharath_ves@hotmail.com> (cherry picked from commit cace0c0c178bb6233170189da885dc06dc4022f6)
2018-11-27Add server action for windriver APIv1Haibin Huang1-0/+7
Change-Id: Iebab7cdf4b9e9190a32e3ce05aaca6fbb4901b76 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit e6815a7940c20c14ca670e5393b296d3b3dce888)
2018-11-27Fix discover snapshot with endpoint errorHaibin Huang1-1/+1
Nobody use snapshot, so we just comment it Change-Id: Ia0967bb8b26df123478135fc53f4ce40cb48db9a Issue-ID: MULTICLOUD-412 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit 0a7c7e111f471d3c6b81ce00f5e968741897d8d5)
2018-11-27Modify openstack return codeHaibin Huang1-1/+1
Change-Id: Ic124a91704b4e61d94626855a3592a29bad51738 Issue-ID: MULTICLOUD-404 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit 458989f38849f5a2b2967a73a2160f5876faad71)
2018-11-27Metadata format is not rightHaibin Huang1-31/+31
Change-Id: Id658382ecb506c07b619915e3211f736439ad3ec Issue-ID: MULTICLOUD-405 Signed-off-by: Haibin Huang <haibin.huang@intel.com> (cherry picked from commit 1145afaa62e04b8fc31f83f35897d0d121786c00)
2018-11-09Fixed SRIOV-NIC extra-specs format3.0.0-ONAP1.2.1Haibin Huang1-3/+4
Change-Id: I479a30ca663dd9c23fab6556dc32e8dc06400489 Issue-ID: MULTICLOUD-400 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-09Add exception handling for flaovr processingBin Yang1-199/+232
Disable pservers update due to lack of pserver disaggregation between cloud regions Change-Id: Ib28df70a184f562f109f1ba3f2c10c8f523bbd28 Issue-ID: MULTICLOUD-399 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-22Fix unregistry issueXiaohua Zhang1-4/+3
Change-Id: Ia4ddb6f11bf562a046d9f567fd7458b466c8642f Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-21Implement heatdelete to remove vservers from AAIXiaohua Zhang1-0/+34
Change-Id: I5c81fb3f01e08ee5c43107d7d59fdf4bf3a1d803 Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Fix bug of infra_workloadXiaohua Zhang1-5/+10
Remove region filter for identity endpoint Change-Id: I944b42926b4c5d5de8799de9c68b2b7e8bac5017 Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang16-48/+48
keystoneauth1 accept region_name as endpoint filter, which will match either region_id or region of the endpoint catalog Change-Id: I7ba1f7904e4b3004565d826f4ea3cd345ce45f62 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-19Implement infra_workload delete APIXiaohua Zhang2-14/+9
Change-Id: I16f198e44810278eafb5be08ed88268911554f57 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Implement POST and GET API for infra_workloadXiaohua Zhang1-4/+6
Change-Id: I7152f2738b0e30075dd0aebb17d74f806dc48b34 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-17Merge "Add the registered sriov-nic flow"Bin Hu1-0/+35
2018-09-15Add heatbridge handlerBin Yang1-0/+59
Embedded the heatbridge handler into GET API Add multicloud api helper Change-Id: I96bd5e555dbcaa08d5ac5ac132c004a690f2e41d Issue-ID: MULTICLOUD-264 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-15Add the registered sriov-nic flowHuang Haibin1-0/+35
Change-Id: I234ed47b45c02abc1f7e496ba31baee5d02f32be Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Return the default tenant in case of no privilegeBin Yang1-1/+22
Change-Id: Ic4b2e6bb787ba4075a906e70c28ef42289255345 Issue-ID: MULTICLOUD-356 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-04Fix return code errorBin Yang1-1/+1
Change-Id: I9b8ba9bb19d05328ec7c57015a7e3c950d683d9c Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Enable cloud region decommissionBin Yang1-2/+142
Change-Id: I3b8171e6376eb144af6218d8242c20dc07543ea3 Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Fix bug of region discoveryBin Yang1-0/+1
Change-Id: I006fb0f8ab7a644369d0a03ed1b563db3f52afd7 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Add registration OvS-DPDKHuang Haibin1-15/+27
We need to manualy register information of OvS-DPDK to AAI in ESR system. Then we can get Ovs-DPDK from AAI and use it. Change-Id: I4ada7192e2364b2d0f7667ff59d80d413db7bdad Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-27Add HPA registration to newton_baseHuang Haibin1-0/+292
Change-Id: I544c662bdf5850134b0d4a5028c6617013a86036 Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-24Add server action api for openstack newtonfujinhua1-0/+32
Change-Id: I61cd2de2db764551e33e52f10e615a02bdcc65b3 Issue-ID: MULTICLOUD-332 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-08-23Add swagger for server action apifujinhua1-0/+82
Change-Id: I45790cb319a10f2a8a1a667e786522082c59c22d Issue-ID: MULTICLOUD-332 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-08-17multi-region discoveryBin Yang15-8/+175
Decouple the openstack region id from cloud-region-id Change-Id: If4bfacf05d87ca4bc97a485d4153f4f379ad451a Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-15API upgrading for OPENOAPIBin Yang11-21/+246
Change-Id: I8d0fdc7671d9333ee24e77dda9e07c32a0767950 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for catalogBin Yang1-16/+42
Change-Id: I26301b701ca7fb915112ad8d35454d0488a91fd1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for dnsaasBin Yang1-0/+46
Change-Id: I328f8838b96013d5738354f751f5668f2136b1dc Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14Upgrade API for capacity_checkBin Yang1-0/+20
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-07-30Remove EPA attributeDileep Ranganathan5-155/+1
Remove EPA property from multicloud as it is repaced by HPA attributes. Change-Id: I96e2ebcc60ac55cb0f0559607de919da410f66b1 Issue-ID: AAI-1150 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-06-04Fix registration limitation on tenant discoveryYun Huang1-1/+21
Populate the tenant information from token response Change-Id: I52092d2c3021f54b4b6915373f14e4f45547f6d5 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-30Enable swagger UI for proxied API of capacityYun Huang2-0/+72
Change-Id: I429c77dafd14a639ff607272ce86a37dd27f3c83 Issue-ID: MULTICLOUD-240 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-29Enable swagger UI for proxied APIYun Huang3-1/+335
Change-Id: I46b561f5547d2c11cfd45bfc0ad0f06ace53c5d5 Issue-ID: MULTICLOUD-240 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-17Fix bug of list server apiYun Huang2-48/+49
fix the bug to convert metadata Change-Id: I5a18780314ae0da16d3307dde3fdc30870666abe Issue-ID: MULTICLOUD-233 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-16Change the AAI call for query cloud regionBin Yang1-13/+16
This is to break the single AAI call into two to reduce the data exchanged in case cloud region assoicated with so many child objects Change-Id: I8d23764be1da82d8298f84cbe1a95427dc26c333 Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-10Improve _get_list_resources Registraty methodVictor Morales1-6/+3
The logic implemented into the _get_list_resources function for ocata had an unnecessary conditional. This change refactors the implementation. Change-Id: Ic70dfd0b6d7f9f5599381a7179e5990310a25732 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-04-28Support inject many filesHuang Haibin1-11/+8
Change-Id: I5e7c6ee7553b7f7e2fe0d8289d2a0c9bf4077f75 Issue-ID: MULTICLOUD-216 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-04-28Fix HPA registration bug for Titanium CloudYun Huang1-9/+9
Change-Id: Ia40640e3077ec6f4a60c2efd3ac4f244021dfb5a Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Logging enhancement for base registerationYun Huang1-7/+15
Change-Id: I5aad3f0b8738a6b922720a776ec05425080e6f4c Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Add logging for rest calls to ONAP servicesYun Huang1-2/+10
Change-Id: I9372f303790241a2ba580e212d5dea5a7d1844e0 Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Logging enhancement for openo vport APIYun Huang1-6/+27
Change-Id: I2e976f5b63c5af60d9643a4a7cbbaea9a6ef21ea Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>