summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Yang3-3/+3
Change-Id: I3cca48226d5a18bfb650aa11c609d83d5fdc2456 Issue-ID: MULTICLOUD-235 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-17Merge "Fix bug of list server api"Bin Hu2-48/+49
2018-05-17Merge "Fix hpa-attribute-value string format for ocata"Bin Hu1-27/+64
2018-05-17Merge "Add console logging output"Bin Hu6-36/+21
2018-05-17Fix bug of list server apiYun Huang2-48/+49
fix the bug to convert metadata Change-Id: I5a18780314ae0da16d3307dde3fdc30870666abe Issue-ID: MULTICLOUD-233 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-17Fix hpa-attribute-value string format for ocataYun Huang1-27/+64
Change-Id: I4dd803f986a08fd5fbbe34dd3dc1511d3cc9c501 Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-17Fix hpa-attribute-value string format for newtonYun Huang1-27/+62
Change-Id: I2541d7d4ff05bc0d6858f3573876c75394381003 Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-16Fix AAI_SERVICE_URL env in Ocata DockerfileVictor Morales1-1/+1
The AAI_SERVICE_URL environment variable requires to be set into the Dockerfile. This change provides an empty default value. Change-Id: I4c10c1b877af1b725e57fe4c0f04eebe8c60ae6f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-16Change the AAI call for query cloud regionBin Yang1-13/+16
This is to break the single AAI call into two to reduce the data exchanged in case cloud region assoicated with so many child objects Change-Id: I8d23764be1da82d8298f84cbe1a95427dc26c333 Issue-ID: MULTICLOUD-232 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-14Merge "Fix hpa registration cloud_extra_info format"Bin Yang1-0/+7
2018-05-14Fix ovsdpdk registration version nameHaibin Huang1-1/+1
Change-Id: I8c7797c2a8c22e0107cf5805d5fae609afc75561 Issue-ID: MULTICLOUD-206 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-05-14Fix hpa registration cloud_extra_info formatHaibin Huang1-0/+7
Change-Id: Ie597bc2b93a7538138558a38b33e1014c2364687 Issue-ID: MULTICLOUD-206 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-05-11Add console logging outputVictor Morales6-37/+22
The log.yml is configured to place the log entries in a file to be collected by the ONAP logging project. But for containerized deployments, it's better to place then into the standard output. This commit adds the console log handler. Change-Id: If325780c1739490adeb731dfbd13e2f1b8a9e3f4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-10Improve _get_list_resources Registraty methodVictor Morales1-6/+3
The logic implemented into the _get_list_resources function for ocata had an unnecessary conditional. This change refactors the implementation. Change-Id: Ic70dfd0b6d7f9f5599381a7179e5990310a25732 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-08Add AAI_SERVICE_URL environment variableVictor Morales2-2/+3
The settings.py file uses the values of AAI_ADDR and AAI_PORT to create AAI_SERVICE_URL config value. This last value uses a template which contains the https protocol. Using secure protocols are good practice for production deployments but can be a restriction during testing. This change allows to modify this value. Change-Id: Idc7b0b709caf79e03c2f66774ef780223b913946 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-04Add logging AOP middleware for newtonYun Huang3-1/+67
Change-Id: Id3a69e23f6b5898630c2737d5bf60e1f5ebf1153 Issue-ID: MULTICLOUD-220 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-04Add logging AOP middleware for ocataYun Huang3-1/+67
Change-Id: I62d7397306805425559f0b2bb4829518d0ccf276 Issue-ID: MULTICLOUD-220 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-28Merge "Support inject many files"Bin Yang2-13/+18
2018-04-28Support inject many filesHuang Haibin2-13/+18
Change-Id: I5e7c6ee7553b7f7e2fe0d8289d2a0c9bf4077f75 Issue-ID: MULTICLOUD-216 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-04-28Fix HPA registration bug for newtonYun Huang1-24/+24
Change-Id: Icc9a3d71608d98e024519c6c02ca50efc3f53da2 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-28Fix HPA registration bug for ocataYun Huang1-24/+24
Change-Id: Ie3f97c99d1e328f449893868baa521e0408a40a4 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-28Fix HPA registration bug for Titanium CloudYun Huang2-33/+33
Change-Id: Ia40640e3077ec6f4a60c2efd3ac4f244021dfb5a Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Logging enhancement for base registerationYun Huang1-7/+15
Change-Id: I5aad3f0b8738a6b922720a776ec05425080e6f4c Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Add logging for rest calls to ONAP servicesYun Huang1-2/+10
Change-Id: I9372f303790241a2ba580e212d5dea5a7d1844e0 Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Logging enhancement for openo vport APIYun Huang1-6/+27
Change-Id: I2e976f5b63c5af60d9643a4a7cbbaea9a6ef21ea Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>