Merge pull request #1580 from nlivens/nuage_vsp_pat_fip2ul CLOUDSTACK-9402 : Support for underlay features (Source & Static NAT to underlay) in Nuage VSP pluginSupport for underlay features (Source & Static NAT to underlay) with Nuage VSP SDN Plugin including Marvin test coverage for corresponding Source & Static NAT features on master. Moreover, our Marvin tests are written in such a way that they can validate our supported feature set with both Nuage VSP SDN platform's overlay and underlay infra.
PR contents: 1) Support for Source NAT to underlay feature on master with Nuage VSP SDN Plugin. 2) Support for Static NAT to underlay feature on master with Nuage VSP SDN Plugin. 3) Marvin test coverage for Source & Static NAT to underlay on master with Nuage VSP SDN Plugin. 4) Enhancements on our exiting Marvin test code (nuagevsp plugins directory). 5) PEP8 & PyFlakes compliance with our Marvin test code. * pr/1580: CLOUDSTACK-9402 : Support for underlay features (Source & Static NAT to underlay) in Nuage VSP plugin Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/62c8496d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/62c8496d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/62c8496d Branch: refs/heads/master Commit: 62c8496d7e38365f8cf5bebfc8b98ecc5a371d8b Parents: d8c038e 8d4dc81 Author: Rohit Yadav <[email protected]> Authored: Fri Nov 25 13:28:29 2016 +0530 Committer: Rohit Yadav <[email protected]> Committed: Fri Nov 25 13:29:15 2016 +0530 ---------------------------------------------------------------------- .../cloudstack/api/ResponseGenerator.java | 2 + core/src/com/cloud/agent/transport/Request.java | 2 +- .../spring-engine-schema-core-daos-context.xml | 1 + .../schema/src/com/cloud/dc/VlanDetailsVO.java | 83 + .../src/com/cloud/dc/dao/VlanDetailsDao.java | 25 + .../com/cloud/dc/dao/VlanDetailsDaoImpl.java | 32 + .../dao/NetworkOfferingServiceMapDao.java | 2 + .../dao/NetworkOfferingServiceMapDaoImpl.java | 9 + .../agent/api/manager/EntityExistsCommand.java | 77 + .../DisableNuageUnderlayVlanIpRangeCmd.java | 110 + .../EnableNuageUnderlayVlanIpRangeCmd.java | 110 + .../ListNuageUnderlayVlanIpRangesCmd.java | 80 + .../com/cloud/api/commands/VspConstants.java | 1 + .../api/response/NuageVlanIpRangeResponse.java | 38 + .../cloud/network/element/NuageVspElement.java | 73 +- .../network/guru/NuageVspGuestNetworkGuru.java | 42 +- .../cloud/network/manager/NuageVspManager.java | 11 + .../network/manager/NuageVspManagerImpl.java | 76 +- .../network/resource/NuageVspResource.java | 20 + .../com/cloud/util/NuageVspEntityBuilder.java | 6 +- .../src/com/cloud/util/NuageVspUtil.java | 8 + .../test/com/cloud/agent/api/CommandsTest.java | 122 +- .../network/element/NuageVspElementTest.java | 10 +- .../guru/NuageVspGuestNetworkGuruTest.java | 7 +- .../cloud/util/NuageVspEntityBuilderTest.java | 13 + server/src/com/cloud/api/ApiResponseHelper.java | 131 +- setup/db/db/schema-4910to41000.sql | 12 +- .../plugins/nuagevsp/nuageTestCase.py | 56 +- .../plugins/nuagevsp/test_nuage_source_nat.py | 1454 ++++++++++++ .../plugins/nuagevsp/test_nuage_static_nat.py | 2084 ++++++++++++++++++ tools/marvin/marvin/config/test_data.py | 8 + 31 files changed, 4538 insertions(+), 167 deletions(-) ----------------------------------------------------------------------
