summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-22Fix unregistry issueXiaohua Zhang3-6/+5
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 Zhang2-2/+99
Change-Id: I5c81fb3f01e08ee5c43107d7d59fdf4bf3a1d803 Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Fix bug of infra_workloadXiaohua Zhang2-8/+13
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 Zhang23-54/+55
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-20Add UT and Funtion for infra SRIOVHuang Haibin2-2/+11
Change-Id: I6ce0f4e8a9a6b7984deeb28ae9ff50df3995e60c Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-20Add UT for infra_workload delete APIHuang Haibin2-1/+46
Change-Id: I16da96a19eff471dca0b8a6f47fe8a95d063598e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Merge "Fix eventId issue"Bin Yang1-1/+2
2018-09-19Fix eventId issueXiaohua Zhang1-1/+2
eventId should be unique for each report event Issue-ID: MULTICLOUD-361 Change-Id: Iee11b64e9bce88003858218abc53d1f1f9d8a86d Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-19Merge "Refactor delete of infra workload"Bin Yang2-45/+65
2018-09-19Refactor delete of infra workloadHuang Haibin2-45/+65
Change-Id: I37ab8a106b978db7fff94492f0075714a77fc7a4 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Merge "Add UT for infra_workload for pike"Bin Yang3-4/+223
2018-09-19Implement infra_workload delete APIXiaohua Zhang4-24/+61
Change-Id: I16f198e44810278eafb5be08ed88268911554f57 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-19Add UT for infra_workload for pikeHuang Haibin3-4/+223
Change-Id: I2da4b1d8fc1d98469f6f36beaa0586a7bee6af42 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Merge changes I95642a56,Ibfdd0a80,I009a2217Bin Yang2-65/+266
* changes: support SRIOV-NIC for post of infra workload Add get handler of flavor for infra workload Add delete of flavor handler for infra workload
2018-09-19support SRIOV-NIC for post of infra workloadHuang Haibin1-49/+53
Issue-ID: MULTICLOUD-250 Change-Id: I95642a565639f1b6b4353793bde732c4370d7562 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Add get handler of flavor for infra workloadHuang Haibin2-9/+171
Change-Id: Ibfdd0a806214414e0820ff73484e43439c3a210e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Add delete of flavor handler for infra workloadHuang Haibin1-7/+42
Change-Id: I009a22179eaf2851ed4674ed08ba3c78ca4f1492 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-18Add UT for vespublishXiaohua Zhang5-0/+70
Change-Id: Ic429214cc3eba9779b0f48ca76cdd1ced030a983 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Add UT for infra_workloadXiaohua Zhang2-2/+216
Change-Id: I037cc563c373765f1423c655bbc8760f96046abe Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Implement POST and GET API for infra_workloadXiaohua Zhang3-42/+116
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-17Merge "Add heatbridge handler"Bin Yang3-15/+224
2018-09-17Merge "Fix the bug of extra info decoding"Bin Yang1-11/+27
2018-09-15Add heatbridge handlerBin Yang3-15/+224
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-15Add post handler of flavor handler for infraHuang Haibin1-17/+53
Change-Id: Ic140ba963c30a86c9755b0b1d0d0f813bb0ab2f0 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.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-12UT for VESagent process event empty for ocataHuang Haibin1-0/+17
Change-Id: I18829013f3dfb448165a0894f49d0dde59ea35d1 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent config without source name ocataHuang Haibin1-0/+13
Change-Id: I1c7df30259e4368e5a8e9fc518728a0ad35db673 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent config without server id for ocataHuang Haibin1-0/+15
Change-Id: Ic8622fd6bb1e699e0b58675f7207dfa7bec7604f Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent failure case for ocataHuang Haibin1-0/+16
Change-Id: I5c1b822725fd8c2d8e9dd3da28ce263dbc33216c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent event logic for ocataHuang Haibin1-0/+19
Change-Id: I8f55583366419ddc77ccd717388cbcc2b859ae2c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12Test case for processBacklog_fault_vmHuang Haibin1-1/+33
Change-Id: Ibf13880e92c8da43bd72dfd68dca4d7ae546ccf9 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12Test case for buildBacklog_fault_vm in ocataHuang Haibin2-8/+27
Change-Id: I2e7476633e748fdce57709e3d8c444cee20e80fc Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Merge "Return the default tenant in case of no privilege"Bin Yang1-1/+22
2018-09-11Merge changes I88d79049,If6ceaec6,I3877f034,I1e7693c1,Ie916b35a, ...Bin Yang2-1/+132
* changes: Test case for get_epoch_now_usecond in ocata Test case for buildBacklogsOneVIM in ocata Test case for clearBacklogsOneVIM in ocata Test case for vesagent getBacklogsOneVIM in ocata Test case for vesagent delete API in ocata Add test case for vesagent_ctrl in ocata
2018-09-11Test case for get_epoch_now_usecond in ocataHuang Haibin1-0/+36
Change-Id: I88d790498ef1cc22a280696cf96bbbb171344219 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for buildBacklogsOneVIM in ocataHuang Haibin1-1/+29
Change-Id: If6ceaec671fcf4e57c26c695a373ab2a8d113041 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for clearBacklogsOneVIM in ocataHuang Haibin1-0/+28
Change-Id: I3877f03430f68eb98f0e707366d54a7a67e1fbda Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for vesagent getBacklogsOneVIM in ocataHuang Haibin1-0/+10
Change-Id: I1e7693c1781080d7011a6156b7380c0670acf92c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for vesagent delete API in ocataHuang Haibin1-0/+13
Change-Id: Ie916b35ae80b5dea68dbe648e5409202449a3673 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Add test case for vesagent_ctrl in ocataHuang Haibin1-0/+16
Change-Id: I3e4541b2e4ec55aa8cb5942a3dd979b1256042cc Issue-ID: MULTICLOUD-230 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-06Clean Sonar Project nameGildas Lanilis4-4/+4
Name to be consistant with repo name. Change-Id: Ib93070d82322eb3ae2d019a7f0dacabeeba11129 Issue-ID: CIMAN-202 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.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 Yang5-50/+190
Change-Id: I3b8171e6376eb144af6218d8242c20dc07543ea3 Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Fix bug of region discoveryBin Yang4-47/+117
Change-Id: I006fb0f8ab7a644369d0a03ed1b563db3f52afd7 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Add registration OvS-DPDKHuang Haibin2-16/+28
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 Yang13-528/+166
ISTIO restrains the usage of _ in hostname Issue-ID: MULTICLOUD-335 Change-Id: I54c712aea1a95c6aaac7d50c3b07472730608503 Signed-off-by: Bin Yang <bin.yang@windriver.com>