Kishan Kavala
e2915c6ce5
CLOUDSTACK-5145 : Added permission checks while deleting network ACLs
2013-12-16 18:12:44 +05:30
Kishan Kavala
3a3fec3cb6
CLOUDSTACK-5145 : Added permission checks while deleting network ACLs
...
Conflicts:
server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java
2013-12-16 18:02:43 +05:30
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Jayapal
27ee78fe0a
CLOUDSTACK-5244 Fixed issue with applying acl items of acl to private gateway
2013-12-11 11:02:15 +05:30
Kishan Kavala
587f587621
CLOUDSTACK-5145 : Added permission checks while listing network ACLs and acl Items. Users will be able to list items that they have access to.
...
Conflicts:
api/src/com/cloud/network/vpc/NetworkACLService.java
api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java
server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java
server/test/com/cloud/vpc/NetworkACLServiceTest.java
2013-12-09 21:57:47 +05:30
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Daan Hoogland
fb8c58a3cf
retrieving network might fail if it exists in a different datacentre
2013-11-11 10:32:06 +01:00
Hugo Trippaers
831eeeb422
Fix CID 1127031 Inefficient Map iterator
2013-11-07 14:59:43 +01:00
Hugo Trippaers
a7201a81b2
The VPC offering has the option internaly to specify the compute offering (service offering), expose this via the api.
...
Added a field to the command for serviceOfferingId and changed the internal interface to accept the service offering as parameter
Applied automated code cleanup
2013-11-06 22:13:00 +01:00
Darren Shepherd
a77435dab5
Add missing extensible type registries
...
The following types were not setup to discover extensions
com.cloud.network.element.FirewallServiceProvider
com.cloud.network.element.PortForwardingServiceProvider
com.cloud.network.element.StaticNatServiceProvider
com.cloud.network.element.NetworkACLServiceProvider
com.cloud.network.element.LoadBalancingServiceProvider
com.cloud.network.element.Site2SiteVpnServiceProvider
2013-10-24 20:20:55 -07:00
Alena Prokharchyk
2bb716efd8
ResourceMetaData (Resource details) fixes:
...
* changed name for TaggedResourceType enum to ResourceObjectType as this enum is used both by ResourceMetaData and ResourceTags code
* enhanced the enum with extra fields resourceTagsSupport (boolean) and metadataSupport identifying if the resource supports tags and/or metadata.
* cleanup unused @Inject objects from the ResourceMetaDataManager
2013-10-23 17:39:16 -07:00
Darren Shepherd
e3280bdba2
Merge remote-tracking branch 'origin/spring-modularization'
...
Conflicts:
client/tomcatconf/applicationContext.xml.in
client/tomcatconf/nonossComponentContext.xml.in
client/tomcatconf/simulatorComponentContext.xml.in
framework/db/src/com/cloud/utils/db/Transaction.java
plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockAgentManagerImpl.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-10-23 11:14:42 -07:00
Darren Shepherd
edeaf98117
Cleaner and more type safe Transaction API for checked exceptions
2013-10-23 10:02:43 -07:00
Darren Shepherd
f62e28c1ec
New Transaction API
...
Introduction of a new Transaction API that is more consistent with the style
of Spring's transaction managment. The existing Transaction class was renamed
to TransactionLegacy. All of the non-DAO code in the management server has been
updated to use the new Transaction API.
2013-10-16 09:21:00 -07:00
Darren Shepherd
67186429e1
Spring Modularization
...
ACS is now comprised of a hierarchy of spring application contexts.
Each plugin can contribute configuration files to add to an existing
module or create it's own module.
Additionally, for the mgmt server, ACS custom AOP is no longer used
and instead we use Spring AOP to manage interceptors.
2013-10-02 15:41:04 -07:00
Darren Shepherd
aed5e9dc2a
Add Manage Context framework
...
The managed context framework provides a simple way to add logic
to ACS at the various entry points of the system. As threads are
launched and ran listeners can be registered for onEntry or onLeave
of the managed context. This framework will be used specifically
to handle DB transaction checking and setting up the CallContext.
This framework is need to transition away from ACS custom AOP to
Spring AOP.
2013-10-02 13:09:52 -07:00
Alena Prokharchyk
2fa5a5ae97
CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC
...
(cherry picked from commit 798f34a49c )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-23 14:18:41 +02:00
Daan Hoogland
2614b00c51
sdn hosted vpc gateways (using lswitch)
2013-09-18 16:56:56 +02:00
Alex Huang
8f556e6d88
Made changes to configuration. Eliminated ConfigValue and only use ConfigKey
2013-09-06 15:40:38 -07:00
Alex Huang
435e74e914
Commit to try something on removing getZone
2013-09-06 15:40:33 -07:00
Alex Huang
8e5249df62
Moved NetworkManager to NetworkOrchestrationService
2013-09-06 15:40:31 -07:00
Alex Huang
abbae2aa87
Fixed the problem with offerings and templates. These two items due to a previous patch all the way back in 2.1.x versions uses the removed column incorrectly. No one fixed since then. Hence, there's a bunch of findbyidincludingremoved calls in the cloudstack code around these two items.
2013-08-26 17:31:10 -07:00
Alex Huang
ff6b3fd11a
Removed getzone
2013-08-26 17:31:08 -07:00
Alex Huang
092e20204a
Divided NetworkManagerImpl into two files: NetworkManagerImpl and IpAddressManagerImpl
2013-08-19 14:13:29 -07:00
Alex Huang
5495f10bce
Revert "Reverting the range of commits that broke the build"
...
This reverts commit b59e3aaefc .
2013-08-08 15:02:40 -07:00
Alena Prokharchyk
4976a67bfc
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:12 -07:00
Prasanna Santhanam
b59e3aaefc
Reverting the range of commits that broke the build
...
This reverts commits 30c33415..f6a2c817bc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 14:46:56 +05:30
Alex Huang
942f282a6e
Moved config into it's own package
2013-08-07 16:41:02 -07:00
Alena Prokharchyk
a36c8a962b
CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in
2013-07-30 10:08:46 -07:00
ahuang
11e1e585b1
UserContext switched to CallContext. Added generic storage mechanism for other code to carry information throughout a call. Made the calling User and Account a must have. Added an interface to carry entities in error. Fixed up the code. Part of the vmsync branch
2013-07-16 11:24:21 -07:00
Kishan Kavala
acb4a19633
CLOUDSTACK-2429: Multiple private gateways are allowed within a VPC. Check for conflicting routes in all gateways when adding a new static route
2013-07-09 17:27:06 +05:30
Jayapal
e46b90078e
CLOUDSTACK-3352 fixed removing previous acl rules when emply acl is applied
2013-07-09 12:50:39 +05:30
Alena Prokharchyk
079f920494
CreateVPC: validate that the zone exists before checking its attributes
2013-06-26 15:26:20 -07:00
Jayapal
82958f0d58
CLOUDSTACK-3199 apply acl item to private gateway when added to acl list
2013-06-26 14:31:56 +05:30
Kishan Kavala
da0006618f
CLOUDSTACK-3124: Deletion of ACL associated with a tier/ pvt gateway should not be allowed. Check for associated tiers/gateways before deletion
2013-06-24 17:58:29 +05:30
Kishan Kavala
bd5ad442d0
CLOUDSTACK-3084: Added check to disallow -ve number for ACL rule
2013-06-24 17:20:29 +05:30
Jayapal
bb50c0d2d6
CLOUDSTACK-3148 failed to create private gw with default acl id
2013-06-24 13:37:01 +05:30
Kishan Kavala
b422d8ddd9
CLOUDSTACK-2819: Revoke existing ACL items if the new ACL is empty
2013-06-20 17:06:06 +05:30
Jayapal
2e0abccd3b
CLOUDSTACK-2952 Fixed configuring private gateway with another vpc acl id
2013-06-20 16:11:20 +05:30
Kishan Kavala
03d1346dc3
CLOUDSTACK-2915: Create network ACL when adding ACL item to a tier without ACL for backward compatibility
2013-06-20 15:36:58 +05:30
Mice Xia
5e56e43e31
fix CLOUDSTACK-2930, exception while applying ACL rule with protocol as ALL.
...
1) change UI, disable startport and endport when protocol=All
2) validate parameters for API createNetworkACL
2013-06-14 13:19:07 +08:00
Kishan Kavala
62e125c081
check for null ACL before creating ACL commands
2013-06-06 19:02:44 +05:30
Kishan Kavala
aa2fb31112
check for null protocol while validating ACL item
2013-06-06 19:02:44 +05:30
Prasanna Santhanam
956a5967dd
Pulling out Network operations into a separate manager
...
Network operations like VM, host and storage are pulled into a separate
managaer for simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:23:07 +05:30
Kishan Kavala
b5148af0c6
CLOUDSTACK-2809: Assign acl_id to VPC tier only when NetworkACL service is supported
2013-06-04 20:08:26 +05:30
Kishan Kavala
6cc9162e76
CLOUDSTACK-2781: Fixed incorrect vpcId set in search criteria while listing network acls
2013-06-03 14:58:05 +05:30
Kishan Kavala
3115ddf007
Added networkAclId to listNetworkResponse. Log ACL provider while applying network ACLs
2013-05-30 16:36:21 +05:30
Min Chen
6e55776795
CLOUDSTACK-2331: Failed to display exception object information in case of CloudRuntimeException.
2013-05-28 16:01:33 -07:00
Murali Reddy
883333c214
CLOUDSTACK-2700:on network/vpc delete, portable IP should be still
...
associated with account
Unlike public ip which gets dis-associated (released) with the account
on network/VPC delete, portable IP should continue to be associated with
the account even when the network/VPC with which it is currently
associated in deleted. This fix ensures portable IP are associated to
account even after network/vpc is deleted.
2013-05-27 18:44:41 +05:30