summaryrefslogtreecommitdiffstats
path: root/windriver
AgeCommit message (Collapse)AuthorFilesLines
2018-06-12Bump version after Beijing releaseYun Huang2-3/+3
Bump version from 1.1.2 to 1.2.0 Change-Id: I72d8f5ba7fef9546120222f1d76133cc1fbf8341 Issue-ID: MULTICLOUD-245 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix check capacity exception for newton and ocatav1.1.22.0.0-ONAP2.0.0-ONAPYun Huang1-6/+6
Change-Id: I6ed7722ee0a8e4148d9a0ed9414c736187bdedf3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Remove inactive code for imagefile APIYun Huang2-217/+0
Change-Id: Ifa8f3bdf763bbf9e15c1de904a8708065d03ceb3 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix eventId to conform VES specsBin Yang1-2/+2
Change-Id: Ia1eae86bd56e99cc825e2bbc03dab33921d625f0 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-24Fix non-administator check capacity exceptionYun Huang1-7/+20
Change-Id: I6c27713a1c36abeacb37ab6012ec23587a262e5d Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-23VESagent monitors all VMs under a tenantBin Yang2-29/+52
When no server_id or source is provided Report batch event in case all VMs are monitored Change-Id: Id8d65f53d9dd1a8f4ac93a62846ab6e0c5c19409 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-21Fix incompatible fields of reported eventsBin Yang1-10/+21
specificProblem should match Holmes Rules eventId should be unique for each event Change-Id: I8f523fe3f194257aea556918020900cf717da167 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-19correct the timestamp granularityBin Yang1-3/+14
Change-Id: I6a7f4046fa2f28f4a0dc93becf28926bcbe52dbc Issue-ID: MULTICLOUD-236 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-17Fix logger setting errorBin Yang1-1/+1
Change-Id: I3cca48226d5a18bfb650aa11c609d83d5fdc2456 Issue-ID: MULTICLOUD-235 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-16Change logs to reduce uncessary info outputBin Yang1-10/+13
Change-Id: I2f2309316c048c9be98a35c72730a02a795329dc Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-16Fix bugs for GET API and tasksBin Yang3-7/+11
Change-Id: If1748109359b9180aac46e14d3e4261def171460 Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@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-15Merge "Fix imagefile url for Titanium Cloud"Bin Yang1-1/+1
2018-05-15Fix imagefile url for Titanium CloudYun Huang1-1/+1
Change-Id: Id8207080d7f5971cc56dfffbb0d38f6d3e87bcd0 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-15Add UT for VESagent GET APIBin Yang1-0/+60
Change-Id: I5271c50322f55296e5ca869da084ab5b427d614c Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add DELETE API to remove all backlogs of a VIMBin Yang1-0/+53
And this will bring down the vesagent workers whenever there is no backlogs of any VIM any more Change-Id: I21d2229727d7bf6af119c072e9ca7ce9ce252c8d Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add GET API to retrieve config and backlogsBin Yang1-1/+46
Change-Id: I3fb4063ab6346b51c36b29f82202f5e2fe1b2d8a Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Encode the collected VM data into VES eventBin Yang1-2/+104
Change-Id: Icbf7408c627fe47e60a8bf2b3b45cb20baa5b313 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Publish the event to VESBin Yang2-1/+64
Change-Id: I5ab561cd67a7d340d6e7828fd26b339742c10e36 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15collect VM status according to the backlogBin Yang1-0/+43
Change-Id: I21c96831e6fc9bd6fcf76d3717054db2257815c6 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add logic to handle single backlogBin Yang2-1/+98
Dispatch the specific backlog to corresponding handler caching the runtime state into cache Change-Id: I5edd682c8138532b496e281c5e3cf4274d3227c0 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15pass backlogs via cache and verify thatBin Yang2-4/+71
Change-Id: I5ea05e29290a23c290d3e1deb7ef637b06e7c6b7 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add the vesagent worker scheduler as celery taskBin Yang2-0/+59
The vesagent configurion logic will trigger the vesagent worker scheduler via celery Change-Id: I2504f2ef2672c25416062f63ffdfc5495b9200b4 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Enable celery for vesagent workersBin Yang5-0/+53
Change-Id: Ibd44dc86d0bc5ce203043ed18d5e968472462b8f Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Resolve tenant name to id and server name to idBin Yang1-3/+39
Change-Id: I8ba7ca6a7e06ce24c3485a2c719df4c8e31f8b34 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add logic to build backlog for VM fault eventBin Yang3-0/+103
place the MultiCloud proxy endpoint into backlog so later the worker will query VM status via MultiCloud Change-Id: I9cdfe194698dc362c8936c39ca16b3835af9f5f4 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add outer loop to build and store backlogsBin Yang1-1/+69
Post action will build and store all backlogs pertaining to a single VIM instance Change-Id: I1a48c9be635b8d118391e374dcda1cb3889889a2 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add API to configure VESagentBin Yang3-0/+222
VESagent is designed to monitor FACAPS and report to VES Change-Id: I84e7cf3d5ddb33b2cac359805f8b644278f55748 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@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-05-04Random Inovocation IDYun Huang1-2/+2
Change-Id: Ife66100ea4e926cb525654ce136384b6877f4c33 Issue-ID: MULTICLOUD-220 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-25Bump and align versionsYun Huang2-3/+3
Change-Id: I8e92f27271b01c9d5e0f3897b9e7f60aa4b8db75 Issue-ID: MULTICLOUD-215 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-04-20HPA enablement support AAI Schema v13 for TCYun Huang2-3/+3
Change-Id: I4ff9536b16de32b9dfab6d1e03d8f1098f2651e3 Issue-ID: MULTICLOUD-179 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-29Add image API for titanium cloudYun Huang3-0/+231
Change-Id: I831ba9454f72c23a310e45d0bc462416ef08105b Issue-ID: MULTICLOUD-207 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-28Add TC capacity_check_volume_limits_outofstorageYun Huang1-0/+33
Change-Id: Ifdcf210cc49713bf6d183146a2da402238fde9ae Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC test_capacity_check_nova_limits_outoframYun Huang1-0/+31
Change-Id: I4c398e8446493df4fc1ea293c30adf64b0662b64 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC test_capacity_check_hypervisor_outofvcpuYun Huang1-0/+29
Change-Id: I870baa2222893f23c5226e5cb8a1ace3efca5532 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC UT for capacity_check fail in hypervisorYun Huang1-0/+32
fail due to out of storage Change-Id: I65e345fa3d33a04e39f78ac1c2c6e298b662f045 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add UT for capacity_check fail due to hypervisorYun Huang1-0/+32
fail due to out of RAM Change-Id: I0c9fecc01e3b058dd08fb9725eda7c6ad86e7423 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Fix bug of capacity_check for TCYun Huang1-9/+9
Change-Id: I6644e83643bc4aecf5856dd733403bbc72ca3375 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>