summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
2017-09-13Refactor newton and ocato proxyBin Yang10-215/+155
refactor code and fix bugs to update proxy prefix Change-Id: I4a02b0570759f087581e875cc683d4475bd2121b Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-13Add plugin for OpenStack OcataBin Yang1-0/+2
add plugin for openstack ocata, reuse most of source code from plugin for newton. Change-Id: I444a4e6dd80e34d06d35e0e711de426f10d8db35 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-11Fix bug in service proxyBin Yang3-33/+37
fix bug in service proxy, along with unittests Change-Id: I946af21f4b8384ae920c322245741bf990515f1a Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-11Fix bugs in restcallBin Yang4-11/+57
fix bug and update dockerfile Change-Id: I5e6e2eeae85d9bfaabd190d8f9baaca8cca7aeb5 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-08Add docker build fileBin Yang5-3/+102
add docker build file to generate container image Change-Id: I08e289dea8caf01b9690d80c2c21355d0f121a6b Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-08Populate EPA Capabilities info into AAIBin Yang3-4/+42
parse and discover EPA CAPs and populate them into AAI fix API call to query ESR Change-Id: I8b5e0429d3fbc9e17390b9c4df9cd12c1f0a42b4 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-07Populate Infra info into AAIBin Yang3-92/+363
Populate NFVI resource info into AAI:pserver,etc. Change-Id: I6a4c4d3204cbf7d62076a3bec780c45f422dcc09 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-07Populate cloud resources into AAIBin Yang5-20/+225
populate tenants,flavors,images info into AAI Change-Id: Ifa9701916168fd61814659622233b1129412b189 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-06Implement registration APIBin Yang1-19/+140
Add SBI to discover resources, but not populated into AAI yet Change-Id: I16024d4256bd70e15597bc34c54cde84d91b36cd Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-06Refactor proxy APIBin Yang4-69/+89
refactor logger and auth method fix identity proxy bug Change-Id: Ie26c01c2fbf0869dcc77b8c182b775bce90b8d69 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-04Fix restcall to AAIBin Yang7-25/+72
fix restcall to AAI, and fix extension API response Change-Id: I0d786135de5c4d96d447a51af99adfe04178765e Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-01Clean up *pass* instructionsVictor Morales14-68/+0
The *pass* python instruction is required in some circunstances. Change-Id: I00acab2bad03a97eba7a7e0a3298f2685f21c298 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-01Add unittests for openstack newton service proxyBin Yang3-34/+939
Add unittest and fix delete op to service proxy Change-Id: I17e39add9892cbbf9b4c24cb7ac071f06538be0c Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-31Add Python 3.5 supportVictor Morales19-34/+34
Python 2.7 will be supported until 2020[1]. This changes helps to prepares the transition to the transition to Python 3.x and those systems which not support other versions. [1] https://hg.python.org/peps/rev/76d43e52d978 Change-Id: Ic2847e907e29d565c89b0448135393f923de20e3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-08-30Update newton pom settingBin Yang1-3/+3
change the parent pom to oparent Change-Id: I9cec5dfa5f23c109691226a31421692e3515f188 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-30Fix pom setting for newtonBin Yang1-0/+1
fix the parent setting of newton subproject which results in failure of multicloud-openstack-master-merge-java Change-Id: Iee70d4d642186d633ad8fcdf12529d0e79e3eaa4 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-29Add OpenStack proxy for newtonBin Yang38-107/+1833
refactor seed code for newton add proxy for identiy,service, add registration, extension management Issue-Id: MULTICLOUD-58 Change-Id: I6a7a21427af4c88b7f060470c1176009c13fc19e Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-04-19Fix bug with regarding to region_name filterv2.0.0release/mercuryBin Yang10-28/+14
Change-Id: Icbf6418ca0b25ca39e47b572a0793b559d57ea81 Issue-Id: MULTIVIM-62 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-31Fix issue to delete flavor APIBin Yang1-10/+19
delete extra-specs of flavor might fail, but does not impact the deletion of flavor, so leave it alone Change-Id: I0352cf4e3eb2894b0868b7dc8ab62acfbc060778 Issue-Id: MULTIVIM-61 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-29Fix bug in server APIBin Yang1-2/+16
add nicArray to server information model Change-Id: I58940d2d18a233b5c01bf930acc6c98d68b803ca Issue-Id: MULTIVIM-59 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-29Fix bug in server APIBin Yang1-27/+180
fix bug resulting in failing to attach volume to server Change-Id: I9e9be9632c36967d29f983fbd082e4a6ed87ce3c Issue-Id: MULTIVIM-59 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-28Expose detail information upon API call failureBin Yang10-11/+86
Change-Id: I6e42cebeb7e1c5edd3f77b8c0c6c091d04fcb364 Issue-Id: MULTIVIM-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-28Fix issue of server APIBin Yang1-1/+3
Add name field in response Change-Id: I5b9c9b37b6760962667bd136e1a9b48974048f0d Issue-Id: MULTIVIM-57 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-27Add traceback to all APIsBin Yang10-21/+56
fix a bug in vport API as well. Change-Id: I2e4db0b1576a3208285df59db8a238315dd48f91 Issue-Id: MULTIVIM-55 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-27Fix limit API bugBin Yang2-1/+12
Change-Id: I1d88ea7e2a7b7ffbeab6a39afc8920a820df3586 Issue-Id: MULTIVIM-54 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-15Fix errors in swagger.jsonBin Yang1-2/+2
Change-Id: Ie9e10b22e61dbef34f9fcf71edd452b5b1ceca9d Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-14Fix tenants API issue for keystone v3Bin Yang1-2/+2
Change-Id: I68db478cebdd036982000298ad36f128dba618a2 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-09Remove redundant debug messagesBin Yang1-7/+7
Change-Id: Ida0fe5187265b4e84f2c96eac93400cad68b8cff Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-08Refactor Networks API for newtonBin Yang1-9/+6
Change-Id: I407f2488f00307a864d78083167df54776b02808 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-07Fix errors in swagger.jsonBin Yang2-22/+2
Change-Id: Id60869b666cbf45e3e5888ce3ac0a2bbcae8d8c2 Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement servers API for newtonBin Yang2-0/+263
Change-Id: Iad72f45cf0d7696e277c03347e2bf0bf7de50e6c Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement volumes API for newtonBin Yang2-0/+162
Change-Id: If354e41f0bac0cc1f95ddafb83b82edce3eaf135 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement images API for newtonBin Yang2-0/+228
Change-Id: Icf18a9906bd09b12c46c65e2c73262e7f449fac2 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Refactor subnets API for newtonBin Yang1-8/+8
Change-Id: Ib302b832f85f6ddeaad42ec7f9d1586329b3a940 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor Networks API for newtonBin Yang1-29/+55
Change-Id: I8bfee93e796dc14311ea38c97a0cc6ba7dd89515 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor subnets API for newtonBin Yang1-33/+57
Change-Id: I48ec354d18c93a1dc39d11acbaa390fe063d0be7 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor flavors API for newtonBin Yang1-9/+10
Change-Id: I36c579b91be6c5874804b34489d5df1a66c053d5 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor virtual ports API for newtonBin Yang1-34/+70
Change-Id: I314f09c3aa4570d1df6df14e456ba4132af63320 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Fix errors in swagger.jsonBin Yang9-174/+154
Change-Id: Ibd27eda41068286a1f73353f7aff533c81b24a97 Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Implement flavors API for newtonBin Yang2-0/+356
Change-Id: I1fbf5068f7f166b6d351f29bf5077356367de389 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-02Implement virtual ports API for newtonBin Yang2-0/+160
Change-Id: I070c3fecf37d52b481312eed62f4d88c7bbc02c4 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-02fix bug in subnets API for newtonBin Yang1-1/+1
Change-Id: Iad7ce19ca320632e6499440df0799333921f4d9b Issue-Id: MULTIVIM-19 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-02Implement subnets API for newtonBin Yang2-2/+139
Change-Id: Ia219443bce0ec83451a09d3f0aa0a2a02341d100 Issue-Id: MULTIVIM-19 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-01Implement tenants API for newtonBin Yang2-1/+86
Change-Id: Ic2060927803b0d34dbf54c95430ab558bc4f076d Issue-Id: MULTIVIM-19 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-01Implement hosts API for newtonBin Yang2-0/+83
Change-Id: I2ae54e88050f65ae0a057f423c29c2db7aae9d4b Issue-Id: MULTIVIM-19 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-01Implement limits API for newtonBin Yang2-0/+71
Change-Id: Ie7063c484af69686f6acd7085e73c16f2f84bf0d Issue-Id: MULTIVIM-19 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-02-28Populate the 'reverse' parameter to replace_a_keyLitao Gao1-1/+1
Change-Id: Id0313c385b9e6e974abb23abef4191ede32d57ad Issue-Id: MULTIVIM-47 Signed-off-by: Litao Gao <litao.gao@windriver.com>''
2017-02-28openstak newton version vim driver implementationLitao Gao8-183/+247
1. change to use keystoneauth1 for auth and transport 2. add neutron network creation and deletion handling 3. some modification for refactoring Change-Id: Ibaa3f33ae89c57bcb5a5e603b63355ed7ca4c52b Issue-Id: MULTIVIM-47 Signed-off-by: Litao Gao <litao.gao@windriver.com>
2017-02-24openstak newton version vim driver implementationLitao Gao10-26/+295
this commit includes the capability of accepting the 'networks' get request from multivim broker and do authorization and then send the proper request to newton openstack instance and do some converting work upon the response and then send back the response to multivim borker Change-Id: If4d3da0d5cc3865a831fa5f1b9effec4da56c3d3 Issue-Id: MULTIVIM-47 Signed-off-by: Litao Gao <litao.gao@windriver.com>
2017-02-24Remove dependency on mysqlBin Yang2-18/+3
Change-Id: I9bbecf8e22b1ee59ab8d80d808c4e8f0bd1a7421 Issue-Id: MULTIVIM-48 Signed-off-by: Bin Yang <bin.yang@windriver.com>