cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [13/13] git commit: updated refs/heads/master to 0e057ad
Date Wed, 07 Dec 2016 18:36:52 GMT
Merge pull request #1579 from nlivens/nuage_vsp_shared_networks

CLOUDSTACK-9403 : Support for shared networks in Nuage VSP pluginThis is first phase of support
of Shared Network in cloudstack through NuageVsp Network Plugin. A shared network is a type
of virtual network that is shared between multiple accounts i.e. a shared network can be accessed
by virtual machines that belong to many different accounts. This basic functionality will
be supported with the below common use case:
- shared network can be used for monitoring purposes. A shared network can be assigned to
a domain and can be used for monitoring VMs belonging to all accounts in that domain.

With the current implementation with NuageVsp plugin, Each shared network needs its unique
IP address range, and can not overlap with another shared network.
In VSD, it is implemented in below manner:
- In order to have tenant isolation for shared networks, we will have to create a Shared L3
Subnet for each shared network, and instantiate it across the relevant enterprises. A shared
network will only exist under an enterprise when it is needed, so when the first VM is spinned
under that ACS domain inside that shared network.

PR contents:
1) Support for shared networks with tenant isolation on master with Nuage VSP SDN Plugin.
2) Marvin test coverage for shared networks on master with Nuage VSP SDN Plugin.
3) Enhancements on our exiting Marvin test code (nuagevsp plugins directory).
4) PEP8 & PyFlakes compliance with our Marvin test code.

* pr/1579:
  CLOUDSTACK-9403: Support for shared networks in Nuage VSP plugin

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0e057ad6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0e057ad6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0e057ad6

Branch: refs/heads/master
Commit: 0e057ad69edab9f1664924ac1fb2500ca799cfb6
Parents: 6bdc411 4c91c9c
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Dec 8 00:05:11 2016 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Dec 8 00:06:10 2016 +0530

----------------------------------------------------------------------
 api/src/com/cloud/network/Network.java          |    5 +-
 api/src/com/cloud/network/NetworkModel.java     |    2 +
 api/src/com/cloud/offering/NetworkOffering.java |    2 +
 .../org/apache/cloudstack/api/ApiConstants.java |    1 +
 .../api/response/NetworkOfferingResponse.java   |    8 +
 client/pom.xml                                  |   20 +-
 engine/schema/src/com/cloud/dc/dao/VlanDao.java |    2 +
 .../src/com/cloud/dc/dao/VlanDaoImpl.java       |   12 +-
 .../com/cloud/offerings/NetworkOfferingVO.java  |   11 +-
 plugins/network-elements/nuage-vsp/pom.xml      |    4 +-
 .../agent/api/manager/CleanUpDomainCommand.java |   72 +
 .../agent/api/manager/EntityExistsCommand.java  |   30 +-
 .../manager/UpdateNuageVspDeviceCommand.java    |   70 +
 .../agent/api/sync/SyncNuageVspCmsIdAnswer.java |    8 +
 .../cloud/network/element/NuageVspElement.java  |  181 +-
 .../network/guru/NuageVspGuestNetworkGuru.java  |  165 +-
 .../cloud/network/manager/NuageVspManager.java  |    3 +-
 .../network/manager/NuageVspManagerImpl.java    |  403 ++-
 .../resource/NuageVspRequestWrapper.java        |   78 +
 .../network/resource/NuageVspResource.java      |  626 +----
 .../resource/NuageVspResourceConfiguration.java |  359 +++
 .../NuageVspApiSupportCommandWrapper.java       |   41 +
 .../NuageVspApplyAclRulesCommandWrapper.java    |   42 +
 .../NuageVspApplyStaticNatCommandWrapper.java   |   42 +
 .../NuageVspCleanupDomainCommandWrapper.java    |   41 +
 .../wrapper/NuageVspCommandWrapper.java         |   52 +
 ...eVspDeallocateVmInterfaceCommandWrapper.java |   42 +
 .../NuageVspEntityExistsCommandWrapper.java     |   55 +
 .../NuageVspGetApiDefaultsCommandWrapper.java   |   43 +
 ...geVspGuruImplementNetworkCommandWrapper.java |   42 +
 .../NuageVspGuruTrashNetworkCommandWrapper.java |   42 +
 .../NuageVspImplementNetworkCommandWrapper.java |   43 +
 .../wrapper/NuageVspMaintainCommandWrapper.java |   35 +
 .../wrapper/NuageVspReadyCommandWrapper.java    |   35 +
 ...uageVspReserveVmInterfaceCommandWrapper.java |   42 +
 .../NuageVspShutdownNetworkCommandWrapper.java  |   42 +
 .../NuageVspShutdownVpcCommandWrapper.java      |   42 +
 .../NuageVspSyncCmsIdCommandWrapper.java        |   62 +
 .../NuageVspSyncDomainCommandWrapper.java       |   41 +
 ...NuageVspUpdateDhcpOptionsCommandWrapper.java |   42 +
 .../UpdateNuageVspDeviceCommandWrapper.java     |   46 +
 .../com/cloud/util/NuageVspEntityBuilder.java   |  160 +-
 .../vsp/acs/NuageVspPluginClientLoader.java     |   86 -
 .../nuage-vsp/test/com/cloud/NuageTest.java     |    6 +-
 .../test/com/cloud/agent/api/CommandsTest.java  |   39 +
 .../network/element/NuageVspElementTest.java    |   36 +-
 .../guru/NuageVspGuestNetworkGuruTest.java      |   41 +-
 .../network/resource/NuageVspResourceTest.java  |   84 +-
 .../cloud/util/NuageVspEntityBuilderTest.java   |   87 +-
 server/src/com/cloud/api/ApiResponseHelper.java |    1 +
 .../configuration/ConfigurationManagerImpl.java |  192 +-
 .../src/com/cloud/network/NetworkModelImpl.java |   28 +-
 .../cloud/server/ConfigurationServerImpl.java   |    2 +-
 server/src/com/cloud/user/DomainManager.java    |    1 +
 .../src/com/cloud/user/DomainManagerImpl.java   |    7 +-
 .../configuration/ConfigurationManagerTest.java |   70 +
 .../cloud/network/CreatePrivateNetworkTest.java |    2 +-
 .../com/cloud/network/MockNetworkModelImpl.java |    5 +
 .../com/cloud/network/NetworkModelTest.java     |   58 +
 .../com/cloud/vpc/MockNetworkModelImpl.java     |    9 +-
 setup/db/db/schema-4910to41000.sql              |    4 +-
 .../plugins/nuagevsp/nuageTestCase.py           |  191 +-
 ...t_nuage_non_public_sharednetwork_ip_range.py |  654 +++++
 .../nuagevsp/test_nuage_password_reset.py       |  252 +-
 .../test_nuage_public_sharednetwork_ip_range.py |  823 ++++++
 .../test_nuage_public_sharednetwork_userdata.py |  948 +++++++
 .../nuagevsp/test_nuage_publicsharednetwork.py  | 2575 ++++++++++++++++++
 .../test_nuage_sharednetwork_deployVM.py        | 2573 +++++++++++++++++
 .../test_nuage_sharednetwork_vpc_vm_monitor.py  |  704 +++++
 .../plugins/nuagevsp/test_nuage_source_nat.py   |   22 +-
 .../nuagevsp/test_nuage_vpc_internal_lb.py      |  257 +-
 .../plugins/nuagevsp/test_nuage_vpc_network.py  |    9 +-
 .../plugins/nuagevsp/test_nuage_vsp.py          |  206 +-
 tools/marvin/marvin/config/test_data.py         |   94 +
 tools/marvin/marvin/lib/base.py                 |    2 +-
 ui/l10n/en.js                                   |    1 +
 ui/scripts/configuration.js                     |   48 +-
 77 files changed, 11746 insertions(+), 1465 deletions(-)
----------------------------------------------------------------------



Mime
View raw message