summaryrefslogtreecommitdiffstats
path: root/multivimbroker
AgeCommit message (Collapse)AuthorFilesLines
2018-03-25Add test_download_file_from_http_successEthan Lynn1-0/+15
Add test_download_file_from_http_success to fileutil.py Change-Id: I980202084422fd440f1c34c4b27859f33d61a172 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_delete_dirs_failedEthan Lynn1-0/+9
Add test_delete_dirs_failed for fileutil.py Change-Id: I1fda3bfacd85bb631f9687fa4ad0f1dcec896dc1 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_delete_dirs_successEthan Lynn1-0/+8
Add test_delete_dirs_success for fileutil.py Change-Id: I8fb91a38889afcd4b1a3fd4ca86b67e73cae3379 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_make_dirs_path_not_existsEthan Lynn1-0/+8
Add test_make_dirs_path_not_exists for fileutil.py Change-Id: I00bbbb40801c0be49676daa6c7589e0844a09e6e Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_make_dirs_path_existsEthan Lynn1-0/+26
Add test_make_dirs_path_exists for fileutil.py Change-Id: If20a88454e57a75bc8fc33843a7d4f524ace0d20 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-26Merge "Add test_getHeadersKeys"Liang Ke1-0/+14
2018-03-26Merge "Add test_originHeaders"Liang Ke1-0/+12
2018-03-26Merge "Add test_findMultivimDriver_with_version"Liang Ke1-0/+5
2018-03-26Merge "Add test_findMultivimDriver_no_version"Liang Ke1-0/+5
2018-03-26Merge "Add test_findMultivimDriver_no_type"Liang Ke1-0/+5
2018-03-26Merge "Add test_getMultivimDriver"Liang Ke2-2/+15
2018-03-26Merge "Add test_getVIMTypes"Liang Ke1-0/+26
2018-03-25Add test_getHeadersKeysEthan Lynn1-0/+14
Add test_getHeadersKeys for syscomm.py Change-Id: I462b65b13975f9943e77f061a2d2891eee01858b Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_originHeadersEthan Lynn1-0/+12
Add test_originHeaders for syscomm.py Change-Id: I2359c6905943fb8c0de54c44626987837b7ed4a6 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_findMultivimDriver_with_versionEthan Lynn1-0/+5
Add test_findMultivimDriver_with_version for syscomm.py Change-Id: I31d828e065674f0cc960b739c569f2ad15f9583e Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_findMultivimDriver_no_versionEthan Lynn1-0/+5
Add test_findMultivimDriver_no_version Change-Id: Ib18b1c40c071547b354a247b26c5c54217ec8300 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_findMultivimDriver_no_typeEthan Lynn1-0/+5
Add test_findMultivimDriver_no_type Change-Id: I876e14e9cb82b9fc057394a4db00ce876d093aab Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_getMultivimDriverEthan Lynn2-2/+15
Add test_getMultivimDriver for syscomm.py Change-Id: I5e9c38aa18f6c857e59ddc3570e74f0239d94f61 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-25Add test_getVIMTypesEthan Lynn1-0/+26
Add test_getVIMTypes for syscomm.py Change-Id: I334d643d3fe5c6a7da69819f4dca89354a2a3906 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-26Merge "Add test_req_by_msb"Liang Ke1-0/+12
2018-03-26Merge "Add test_get_res_from_aai"Liang Ke1-0/+19
2018-03-26Merge "Add test_get_vim_by_id_success"Liang Ke2-3/+24
2018-03-26Merge "Add test_split_vim_to_owner_region"Liang Ke1-0/+22
2018-03-24Integrate uwsgi with djangoYun Huang3-2/+8
To enable parallel processing of framework services Change-Id: I3142c2ea742918027e7f397b6fe9aece329788a5 Issue-ID: MULTICLOUD-187 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-23Merge "Disable DEBUG mode for framework"zhang ab1-2/+2
2018-03-23Merge "Migrate get vim_types to new framework"zhang ab3-14/+23
2018-03-23Add test_get_vim_by_id_successEthan Lynn2-3/+24
Add unit test test_get_vim_by_id_success for extsys.py Change-Id: I9d487ad9860fdd67f651d21b4833d3a5076babe1 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Disable DEBUG mode for frameworkYun Huang1-2/+2
Change-ID: I10b85d708d925956fddc0b1c615495b9f980f526 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-23Add test_split_vim_to_owner_regionEthan Lynn1-0/+22
Add unit test test_split_vim_to_owner_region for extsys.py Change-Id: I8227fa362f1d971960bd5fc6a76fb00bd1593a8d Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add test_req_by_msbEthan Lynn1-0/+12
Add tests test_req_by_msb for restcall.py Change-Id: Ic50d07a52522d67a6f760b5e332e1c93610a45f6 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add test_get_res_from_aaiEthan Lynn1-0/+19
Add test test_get_res_from_aai for restcall.py Change-Id: I7fd4a7d59ce5da891f3cb9d214aa1ffd306abcac Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add pecan in bootstrap scriptHong Hui Xiao2-6/+17
Add pecan as an option in bootstrap. Change-Id: Ib6ba34406e7c7fefaeae2af5a91cf9ffd297293c Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-23Migrate get vim_types to new frameworkHong Hui Xiao3-14/+23
A simple comparison between new framework and old framework can be found at [1]. In a high concurrent situation, new framwork is 24 times faster than old one. Since get vim_types is less overhead, result in [1] is more convincing to just compare frameworks. [1] https://paste.ubuntu.com/p/Nc5WTgsKNP/ Change-Id: I0bd3ada0684cb20319895ced77d10d8593873eee Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-23Merge "Add combine_url test for restcall.py"Liang Ke1-0/+24
2018-03-23Merge "Add test_check_capacity_invalid_input"Liang Ke2-2/+15
2018-03-23Merge "Add test test_check_capacity_no_suitable_vim"Liang Ke1-0/+26
2018-03-22Add test_check_capacity_invalid_inputEthan Lynn2-2/+15
Add test_check_capacity_invalid_input for check_vim_capacity API Change-Id: I26ddf91b17597bfca9eb3bb424a6d9515071da6d Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Add test test_check_capacity_no_suitable_vimEthan Lynn1-0/+26
Add test_check_capacity_no_suitable_vim for check_vim_capacity API Change-Id: I86083b261106b81aacc53e0ef558556e7458f004 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Add combine_url test for restcall.pyEthan Lynn1-0/+24
Add tests for combine_url function Change-Id: I7ad188855174bbd0be83917b425beba494fcf141 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Merge "Add forwarder function to pecan framework"Liang Ke1-0/+67
2018-03-22Merge "Initial code for pecan framework"Liang Ke10-84/+265
2018-03-21 Fix framework logging formatliangke7-10/+93
Update the logging format. Add context middleware to set MDC attributes. Allow framework to transmit request headers,So backend plugin could get "TransactionID" from framework. Change-Id: Ib918489a4a3e2069046471b42810fe4d1cbcb374 Issue-ID: MULTICLOUD-151 Signed-off-by: liangke <lokyse@163.com>
2018-03-19Add test_check_capacity_successEthan Lynn1-0/+54
Add test_check_capacity_success for check_vim_capacity API Change-Id: I8b0ffb3b907b25f06d8267c7ec941ce83d636d95 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-19Merge "Add check_vim_capacity"Liang Ke2-2/+35
2018-03-16Add check_vim_capacityEthan Lynn2-2/+35
Add check_vim_capacity API to broker. Change-Id: I57d26dea6502a38fb358d9df5ae313ad438e7056 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-16Update A&AI schema to v13Ethan Lynn1-1/+1
Update A&AI schema to v13 Change-Id: Iff8ebf0491d78653bf346e374c2749eb8556214e Issue-ID: MULTICLOUD-185 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-15Fix vim_types testsEthan Lynn1-11/+1
Fix vim_types tests Change-Id: Ib58860496b51657d7455de60ab48ba8b0bc886fb Issue-ID: MULTICLOUD-184 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-15Merge "Remove msb register code"Liang Ke4-59/+0
2018-03-14Add test_vim_types_successEthan Lynn1-0/+36
Add unit tests for vim_types API. Change-Id: I188f7a65f6573ae3fb5813a43c34245eebb2f4fa Issue-ID: MULTICLOUD-184 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-14Remove msb register codeEthan Lynn4-59/+0
It's legacy code from open-o, we don't need it any more. And also remove a vulnerability reported by sonar. Change-Id: I88c94240c0ef21b182b8dcc13feae684471639db Issue-ID: MULTICLOUD-133 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>