summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-27Add HPA registration to newton_baseHuang Haibin1-0/+292
Change-Id: I544c662bdf5850134b0d4a5028c6617013a86036 Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-27Fix subclass init issueXiaohua Zhang6-26/+40
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-24Add server action api for openstack newtonfujinhua2-0/+34
Change-Id: I61cd2de2db764551e33e52f10e615a02bdcc65b3 Issue-ID: MULTICLOUD-332 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-08-23Add swagger for server action apifujinhua1-0/+82
Change-Id: I45790cb319a10f2a8a1a667e786522082c59c22d Issue-ID: MULTICLOUD-332 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-08-23Add resource for pikeHuang Haibin6-0/+458
Change-Id: I67ce00b96a69c7952f1d43516208c5fe68025421 Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-22Merge "Add requests for pike"Bin Yang4-0/+77
2018-08-22Merge "Add INFO.yaml file"Bin Yang1-0/+93
2018-08-22Add requests for pikeHuang Haibin4-0/+77
Change-Id: I6173b4fa62253ecd81806c9e728606868ab5e2e3 Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-22Merge "API upgradeing for ocata"Bin Yang6-0/+114
2018-08-22Add proxy for pikeHuang Haibin10-2/+1758
Change-Id: Id059f233e823b8d57f47efe9269db9e5cfe8caff Issue-ID: MULTICLOUD-276 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-22Add INFO.yaml fileJessica Wagantall1-0/+93
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ic1247f0862f75fe7083ecbfa09a371eda7775e04 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-22Add pike registrationHuang Haibin6-0/+897
Change-Id: Ie3dfa2292e59e4cd7cd9a0bae980d6f3aad9cbde Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-17multi-region discoveryBin Yang22-37/+358
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 Yang16-42/+314
Change-Id: I8d0fdc7671d9333ee24e77dda9e07c32a0767950 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for catalogBin Yang7-21/+89
Change-Id: I26301b701ca7fb915112ad8d35454d0488a91fd1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for dnsaasBin Yang2-5/+49
Change-Id: I328f8838b96013d5738354f751f5668f2136b1dc Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
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>