summaryrefslogtreecommitdiffstats
path: root/ocata
AgeCommit message (Collapse)AuthorFilesLines
2018-11-10Support infra_workload api without oof_directivesBin Yang2-3/+64
Change-Id: I8eb05ff2acdef8811b3eec8e1a0efe47b12bdd73 Issue-ID: MULTICLOUD-401 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-10-17Add license for ocata pluginHuang Haibin23-0/+318
Change-Id: I1d0a4ab6ad42bab238036dee6a8a224d378a9519 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-17Add infra workd UTHuang Haibin1-0/+214
Change-Id: Ib9f2f230fb4b952094ee01af814e5a57729ae93c Issue-ID: MULTICLOUD-383 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-17Add registration UTHuang Haibin1-0/+117
Change-Id: I0022435d45582c97348cf10b26459f8b30dcf426 Issue-ID: MULTICLOUD-383 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-16Update multicloud openstack release versionHuang Haibin2-3/+3
Change-Id: I7c1f58971008ae65dd06f48e7dc3332cb1ea3e2d Issue-ID: MULTICLOUD-379 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade vesagent v1 for ocataHuang Haibin2-0/+52
Change-Id: Icf852237f56fd587b092c0ff9743e8fdb738aba5 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade swagger v1 for ocataHuang Haibin2-0/+18
Change-Id: I658c509c2897fcdb94042fe3ef98f04e6abf092a Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade capacity v1 for ocataHuang Haibin2-0/+15
Change-Id: I07882e864baa81d4bbc640bcc0652ff69aeff862 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade requests v1 for ocataHuang Haibin2-0/+49
Change-Id: I852c7fa9af96b00af65daf9436a3b40e563ac1af Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade tenants v1 for ocataHuang Haibin1-0/+2
Change-Id: I613e079f2355e370206c5c97f34ccb29ed46df0b Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade proxy v1 for ocataHuang Haibin4-1/+140
Change-Id: I97b5fb82ae54855dd334f6b82c55c903f33232d5 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Add infra_workload v1 for ocataHuang Haibin2-1/+411
Change-Id: I01cc79d9fd87a866001f6282daf0d025cfb153fd Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-22Fix unregistry issueXiaohua Zhang1-1/+1
Change-Id: Ia4ddb6f11bf562a046d9f567fd7458b466c8642f Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang2-2/+2
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-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 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-06Clean Sonar Project nameGildas Lanilis1-1/+1
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-03Enable cloud region decommissionBin Yang1-12/+12
Change-Id: I3b8171e6376eb144af6218d8242c20dc07543ea3 Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-28Merge "Bump oparent version to 1.2.0"Victor Morales1-1/+1
2018-08-27Bump oparent version to 1.2.0Gary Wu1-1/+1
This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I4de0c691526147da1a898ce4e46be9f716d87e77 Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-27Delete Ocata plugin HPA's registration flowHuang Haibin1-340/+0
Use Newton_base HPA's registration flow Change-Id: I7010cf0175112ac30f575589add14d0ab3c172df Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-22API upgradeing for ocataHuang Haibin6-0/+114
Change-Id: I23d4bad7429ff367128c39bd41f9bad81e426349 Issue-ID: MULTICLOUD-297 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-17multi-region discoveryBin Yang2-8/+14
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-07-30Remove EPA attributeDileep Ranganathan10-122/+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-04Add ocata UT for vesagent tasks_processOneBacklogYun Huang1-0/+31
Change-Id: Ic7bde6002c7ad752120c08f4b839bf1e9e66257f Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add UT for vesagent tasks_processBacklogsOfOneVIMYun Huang1-0/+24
Change-Id: I9abf1cb8d2a8fb977e10a14d6ba2dd700d8c8107 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add ocata UT for vesagent tasks_processBacklogsYun Huang1-0/+12
Change-Id: I721ac5ba404550a076496e5bf51c697b79e1283d Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add ocata UT for tasks_scheduleBacklogsYun Huang1-0/+70
Change-Id: I06f296501d3fa4400a52609b148eb53356810a5e Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Fix eventId to conform VES specs for ocataYun Huang1-2/+2
Change-Id: Ia3fa37736a56fa6a1eb37ee76eb7ba2114fb7b1e Issue-ID: MULTICLOUD-238 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04VESagent monitors all VMs under tenant for ocataYun Huang2-29/+52
When no server_id or source is provided Report batch event in case all VMs are monitored Change-Id: If79fcdbb9385c3a7511694c87811a7955af06cf2 Issue-ID: MULTICLOUD-238 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Fix incompatible fields of reported eventsYun Huang1-10/+21
specificProblem should match Holmes Rules eventId should be unique for each event Change-Id: Ic76fc73621de614760fa0c5c40c5c3503d0a779c Issue-ID: MULTICLOUD-238 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04correct the timestamp granularityYun Huang1-3/+14
Change-Id: Idd4bfc58e09d48ffb8230ae7e8639f0dd078a724 Issue-ID: MULTICLOUD-236 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Change logs to reduce uncessary info outputYun Huang1-10/+13
Change-Id: Idd89d39542e0c2430d71244f3d5753ccd74fa790 Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Fix bugs for GET API and tasks for ocataYun Huang3-7/+11
Change-Id: Ica14eb1cc8735f7cbae8b5226f8630c79317d2e7 Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add ocata UT for VESagent GET APIYun Huang1-0/+60
Change-Id: Ie6075fe0f2002a1c2de41fcd5538524ac344112c Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add DELETE API to remove all backlogs for ocataYun Huang1-0/+53
And this will bring down the vesagent workers whenever there is no backlogs of any VIM any more Change-Id: Idab29d10666fe4447d84ac9baaadce6a6f7d16a7 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add GET API to retrieve config&backlogs for ocataYun Huang1-1/+46
Change-Id: I9410ee7ebf10c2b915d42e2cba3c0a03f2427840 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Encode the collected VM data into VES for ocataYun Huang1-2/+104
Change-Id: I973475f6db322e5d403d2171f781b327a0ca37f1 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>