summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-14API upgrading for service proxyBin Yang2-9/+103
Change-Id: Ic0f33176a84a1d78dec37911eda9b83cef79e0b1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for identity proxyBin Yang3-4/+94
Change-Id: I793dfc79d4a04da3b0b3fe19ed1b3076a5744106 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrade for registryBin Yang2-2/+22
Change-Id: I25fd280332cfc772fa100b7b768e3a5056457f87 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for vesagentBin Yang1-1/+30
Change-Id: I7613c2856e37736f2410de656bb7ae52ac4786e1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14Upgrade API for capacity_checkBin Yang4-3/+36
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-03Upgrade API for vesagentBin Yang2-0/+42
first try to add API v1 version Change-Id: Ic7511ce3c41792a3fa4a4ede84dd04483997033b Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-07-30Remove EPA attributeDileep Ranganathan35-623/+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-07-25Add Openstack Pike plugin frameworkHuang Haibin48-0/+1526
Add Pike framework and one function extension Add Vagrant for test Change-Id: I045ac1f1a920b509a69d7a72f8e60fb108102839 Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@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>
2018-07-04Publish the event to VES for ocataYun Huang2-1/+64
Change-Id: Icf26c87725312554b0867a8fb8dcc8fb3e40d9da Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04collect VM status of the backlog for ocataYun Huang1-0/+43
Change-Id: If81ab2d0a625618386f703a32293e506e0fa8348 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add logic to handle single backlog for ocataYun Huang2-1/+98
Dispatch the specific backlog to corresponding handler caching the runtime state into cache Change-Id: I3cd54f5e0b15210cf90c8d14b0ec423af858c0ac Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04pass backlogs via cache and verify for ocataYun Huang2-4/+71
Change-Id: I8067207656e52497d989c1cb43c10b7493949257 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add the vesagent worker scheduler as celery taskYun Huang2-0/+59
The vesagent configurion logic will trigger the vesagent worker scheduler via celery Change-Id: I14aba0c411bdfaae1a9a993e16fbdb8fde485bce Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Enable celery for vesagent workers for ocataYun Huang5-1/+55
Change-Id: Ibf07426ec3fa8b9c8b866d95a1e49537094cef70 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Resolve tenant name to id&server name for ocataYun Huang1-3/+39
Change-Id: Iea6b8e3cc21d19c02831fd0b36482ce6d7199040 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add logic to backlog for VM fault event for ocataYun Huang3-0/+103
place the MultiCloud proxy endpoint into backlog so later the worker will query VM status via MultiCloud Change-Id: Id9cfba9c411b6aecf23f0dfd221c68d5a806f076 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add outer loop to build&store backlogs for ocataYun Huang1-1/+69
Post action will build and store all backlogs pertaining to a single VIM instance Change-Id: I96547797a9e61d4082d94e6ed6e5a7e4e229d2db Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add API to configure VESagent for ocataYun Huang3-0/+222
VESagent is designed to monitor FACAPS and report to VES Change-Id: I1f6239ec7ba4683a58335d1eaafc71806a80cfe3 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.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-07-04UT for VESagent process event emptyYun Huang1-0/+18
Change-Id: Idcb6a75a2be8acf1e185ea52b1844b7f2be7f251 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent config without source nameYun Huang1-0/+14
Change-Id: I0f0047fe3d571bf7f539bf221c3a860a328eed54 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent config without server idYun Huang1-0/+15
Change-Id: I3148d9318839cddb8f484ca18bd72ac5b43a0891 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent failure caseYun Huang1-0/+17
Change-Id: I61c7bb5d7c1407be722ff560c04741fc5cb62b81 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent event logicYun Huang1-0/+18
Change-Id: I6fde82020371985d111b13f980144d3b4e6bc0ee Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for processBacklog_fault_vmYun Huang1-1/+33
Change-Id: I1fabaa3faf0d84a493af2d2ff1f14f42335aebdf Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for buildBacklog_fault_vmYun Huang2-8/+27
Change-Id: I69b7e40bb7dd9a87f56df1c7619e35b9dbf07de4 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for get_epoch_now_usecondYun Huang1-0/+36
Change-Id: I87789b3924cf4d6c914485c815e274a636daf6af Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for test_buildBacklogYun Huang2-2/+23
Change-Id: Ic77d4ce1c1c76c853dd89d5c402f0df5d64887c2 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for buildBacklogsOneVIMYun Huang1-0/+29
Change-Id: I50ae92ecc09652f09fd6f5f2223bf2461e4c0e39 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for clearBacklogsOneVIMYun Huang1-0/+28
Change-Id: I5ca1a888187751d5487705f2152e5694caf43703 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for vesagent getBacklogsOneVIMYun Huang1-0/+10
Change-Id: I542e95fc830d7f64d4e1cdc9dfa5436efbea72f4 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for vesagent delete APIYun Huang1-0/+13
Change-Id: I6c9de8c5b3d797f63413c543665880e9948f7f12 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add test case for vesagent_ctrlYun Huang1-1/+17
Change-Id: I733892bdb499d404761cf900ad44fc9ca0ad0133 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add UT for vesagent tasks_processOneBacklogYun Huang1-0/+31
Change-Id: I12a0dfea32ffc97422db475807c2c3f1ac73935e Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>