summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration
AgeCommit message (Collapse)AuthorFilesLines
2019-04-02Refactor helper codesBin Yang2-5/+5
Move helper thread to common module Refactor the interface between helper thread and worker Change-Id: I0b61a2ed1a428f67cfbe3cc1411ace39e245932d Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Initiate a thread to handle registryBin Yang1-4/+4
To prevent the registry API timeout by offloading the time-consuming registry to a thread Change-Id: I1107bb7f3d9a11bdae4d0a5926f788bc2a534bda Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-01-28Extract some code to shareHaibin Huang3-345/+1
Change-Id: I6dffc1bf47c5839f077f3c7f93f021ed0b414d24 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-21Workaround region list failureBin Yang1-27/+42
keystone api v2.0 does not support region list workaround this by using user input parameters Change-Id: I1df695308eda470ed281bc43abbd43e60d3d5713 Issue-ID: MULTICLOUD-429 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-27Fix pep8 errors in multicloud pluginXiaohua Zhang6-109/+98
Fix pep8 errors in registration moduel Change-Id: I4b1d3ef1ed397c537b7904f229c0bbc07796a97e Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-09Fixed SRIOV-NIC extra-specs format3.0.0-ONAP1.2.1Haibin Huang1-0/+39
Change-Id: I479a30ca663dd9c23fab6556dc32e8dc06400489 Issue-ID: MULTICLOUD-400 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-10-12Change the generated cloud region id1.2.0Xiaohua Zhang1-1/+1
Avoid usage of dot Change-Id: I685b2d87a413beadc56fc904d32064f6dc177a79 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-10-12Fix vimid typo when updating multi-regions in AAIXiaohua Zhang1-1/+2
Change-Id: I51cce54c47ab34b4c4c07efc2c9b8c20defe4519 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-10-09Fix AAI update sync up issueXiaohua Zhang1-1/+14
Read after write to make sure the update to AAI obejct has been visible to following AAI queries Change-Id: I34982e53ca2e2bad60e4740f3d8f55775dae55b9 Issue-ID: MULTICLOUD-371 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-13Fix the bug of extra info decodingBin Yang1-11/+27
Change-Id: I9e2565655e0e9df6649d5a175c3aa9e165cba3c2 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Enable cloud region decommissionBin Yang1-12/+12
Change-Id: I3b8171e6376eb144af6218d8242c20dc07543ea3 Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Fix bug of region discoveryBin Yang2-43/+114
Change-Id: I006fb0f8ab7a644369d0a03ed1b563db3f52afd7 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Add registration OvS-DPDKHuang Haibin1-1/+1
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-09-03Add new namespace to workaround ISTIO hostnameBin Yang1-9/+9
ISTIO restrains the usage of _ in hostname Issue-ID: MULTICLOUD-335 Change-Id: I54c712aea1a95c6aaac7d50c3b07472730608503 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-28Merge "Delete Windriver plugin HPA's registration flow"Bin Yang1-314/+0
2018-08-28Delete Windriver plugin HPA's registration flowHuang Haibin1-314/+0
Use Newton_base HPA's registration flow Change-Id: I61fc0056f8aab8d308e1572788f3b3cbc08c0ae9 Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-27Fix bug of subclass nameBin Yang1-2/+2
Change-Id: Icafeade95b5896b6cb108528b22aee27a5fe0f3d Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-27Fix subclass init issueXiaohua Zhang1-2/+4
All subclass should invoke parent class __init__() Change-Id: Id7537156dc65f4c4739d2b70cc705d2ff39f4ff0 Issue-ID: MULTICLOUD-337 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-08-17multi-region discoveryBin Yang1-1/+137
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 Yang1-4/+4
Change-Id: I8d0fdc7671d9333ee24e77dda9e07c32a0767950 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for catalogBin Yang1-1/+1
Change-Id: I26301b701ca7fb915112ad8d35454d0488a91fd1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrade for registryBin Yang1-0/+20
Change-Id: I25fd280332cfc772fa100b7b768e3a5056457f87 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-07-30Remove EPA attributeDileep Ranganathan1-11/+0
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-07-04Fix UT data for discover HPA flavorYun Huang1-8/+1
Change-Id: I797257978b1acf6a842281f7e2cb0e4ccc4d8edd Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT to discover HPA flavorYun Huang1-0/+38
Change-Id: Ifda7cc6930e743fbfe0366ee45280738c4d08ddd Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for registration flavorsYun Huang1-0/+97
Change-Id: I687bd65d59d928f97fa0a09fa889c01c5a6fe11f Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-16Fix hpa-attribute-value string formatYun Huang1-24/+63
Change-Id: I476a189c621b48a8d48becce50c9c6fe1102318c Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-15Correct HPA feature cpuPinning nameYun Huang1-1/+1
Change-Id: I2f14a7aad156b892ae7f7ee06ea929adc09ba35e Issue-ID: MULTICLOUD-231 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-28Fix HPA registration bug for Titanium CloudYun Huang1-24/+24
Change-Id: Ia40640e3077ec6f4a60c2efd3ac4f244021dfb5a Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-25Fix HPA registration bug for windriverYun Huang1-73/+73
Change-Id: Iae4341c96bb98c6b87649b736826ce527fc8fef3 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-23Fix flavor UT test dataYun Huang1-2/+2
Change-Id: I363373bf51728ae1b3fd0ddfdf8466b4beb851c8 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Fix HPA memorypagesize unit issue for windriverYun Huang1-2/+14
Change-Id: I5914d5d76d3556ba7be9eaf012d2eecf1db15d9a Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28TC test_register_hpa_pcipassthrough_successfullyYun Huang1-0/+38
Change-Id: If2a23c814f078a3983a7c08a0cc3d8e2b92d2d15 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28TC test_register_hpa_instructionset_successfullyYun Huang1-0/+40
Change-Id: I9b46267d3a22c0c67f01bfe68cc5cff4f8daee22 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28test_register_hpa_numa_successfully for TCYun Huang1-0/+42
Change-Id: I2e415d9a0bf5fc32e8163fa1d973ce42a10706ce Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28test_register_hpa_hugepage_successfully for TCYun Huang1-0/+38
Change-Id: I293cef8bb3f4971a87a9010b38d3e8ffdd8d2c27 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28test_register_hpa_cputopology_successfully for TCYun Huang1-53/+94
Change-Id: Idb357805da2c13071c43715e7c7bf6d2c2513f0b Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28test_register_hpa_cpupinning_successfully for TCYun Huang1-26/+65
Change-Id: I07e65391ab3030202007a648fd9cef39dcef8497 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add HPA ovsdpdk capabilities for TCYun Huang1-5/+26
Change-Id: I233d3bd05b96795eae95bbb3475195ffe19f0e2e Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix windriver DEBUG comments for pep8Yun Huang1-1/+1
Change-Id: Ie184b2b682f145611b4085450b95a27df08badba Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26UT data for pci passthrough set capabilitiesYun Huang2-2/+3
Change-Id: Icb842ef8c8a020f16c06f88966abae1ff598b9d9 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA PCI passthrough capabilities for TCYun Huang1-0/+29
Change-Id: I22909cd842cbb1df038dc6aeb4e2d45198566a07 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26UT data for HPA cpu instruction set capabilitiesYun Huang2-3/+4
Change-Id: I0fb115409978f8d48849af5062a293b252e83006 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA cpu instruction set capabilities for TCYun Huang1-0/+22
Change-Id: I8047bd583b682e1e099efe1c1b55078761004d5f Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA storage capabilities for TCYun Huang1-0/+23
Change-Id: I5cdaf4c0f1e53d92879037f1826a51060e4aa7fc Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA NUMA capabilities for TCYun Huang2-1/+42
Change-Id: I9f8a3eecde4887e9cf2a63d3370cd1b8d4bfd3d1 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA huge pages capabilities for TCYun Huang2-1/+22
Change-Id: I023cdfd3023a48ef7a036942486bedc9c9940701 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA cpu topology capabilities for TCYun Huang2-1/+33
Change-Id: I6e787e26ccc4288e1ff4055c5f4b3cbab52c5c61 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA cpupining capabilities for titanium cloudYun Huang2-3/+31
Change-Id: Iee24fb0058f824aa39d44c5f961497ca45ba7b6e Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add HPA basic capabilities for titanium cloudYun Huang2-1/+89
Change-Id: I019ec804d1f69554c3e0ad8621222b582fd9cd66 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>