Sheng Yang
6582882666
S2S VPN: Add domain and account for VPN
...
Admin can add VPN connection for others
2012-07-10 18:55:08 -07:00
anthony
5d224ed592
VPC : in no route in setStaticRoute, just remove all routes
2012-07-10 18:41:13 -07:00
Alena Prokharchyk
954b937a42
VPC: unplugNic - release the nic in the DB only after the command is executed succesfully on the backend
2012-07-10 18:02:44 -07:00
Alena Prokharchyk
4e5355b192
VPC: CS-15519 - fixed ipAssoc when only zoneId parameter is passed in to the API call
2012-07-10 15:15:30 -07:00
Sheng Yang
37a0ef7375
CS-15512: Fix delete vpn connection
2012-07-10 14:47:27 -07:00
Alena Prokharchyk
3caffc7855
VPC: CS-15345 - fixed regression in ipRelease happening as a part of cleanupNetworkResources method
2012-07-10 14:33:24 -07:00
Vijayendra Bhamidipati
67754525ef
CS-15508: Print error text and code in ExceptionResponse
...
Description:
Overriding toString() in ExceptionResponse for
better logging.
2012-07-09 19:34:51 -07:00
Sheng Yang
a87a0619c2
S2S VPN: Add state for vpn connection response
2012-07-09 16:54:40 -07:00
Sheng Yang
9798a59289
CS-15452: Fix wrong repsonse ID for s2s vpn
2012-07-09 16:20:35 -07:00
Alena Prokharchyk
1657486f41
VPC: added vpc_id to private_ip_address table to indicate which vpc the ip belongs to
2012-07-09 13:00:03 -07:00
Sheng Yang
a36c124226
CS-15498: Fix delete s2s vpn NPE
2012-07-09 11:59:45 -07:00
Alena Prokharchyk
6a9d5a7a0d
ResourceTags: respect tag parameter in listTemplates/listIsos commands
2012-07-06 16:37:40 -07:00
Alena Prokharchyk
29aaf4c841
VPC: fixed listNetworkACLs by networkId
2012-07-06 16:33:31 -07:00
Vijayendra Bhamidipati
b5cb3ef70e
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-06 15:58:55 -07:00
Vijayendra Bhamidipati
06a9ef7923
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
More changes to remove DB IDs from exception messages.
2012-07-06 15:58:12 -07:00
Sheng Yang
5a5117b744
CS-15471: Fix wrong type of updating customer gateway lifetime
...
Also fixes one typo.
2012-07-06 11:12:44 -07:00
Alena Prokharchyk
ed63a14d5e
Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value
2012-07-06 10:32:24 -07:00
Alena Prokharchyk
32bf5e1b71
VPC: CS-15469: createNetworkACL - startPort is not accepted if protocol is ICMP
2012-07-06 10:02:11 -07:00
Alena Prokharchyk
b977dc89d0
CS-15474: fixed response name for the deleteTags API
2012-07-06 09:53:00 -07:00
Alena Prokharchyk
f9d512f163
ResourceTags: resourcetags support for Project/Vpc/NetworkACL/StaticRoute
2012-07-05 17:33:20 -07:00
Vijayendra Bhamidipati
3a557c2998
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-07-05 17:06:02 -07:00
Vijayendra Bhamidipati
f1ec4fddd3
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
As part of the fix for Bug CS-13127, a new overloaded function,
addProxyObject() was added to facilitate transparent db id to
uuid conversions when db IDs were added to exceptions that were
thrown in the Cloudstack mgmt server code. However, it turns out
that there are quite many db IDs still in the code that are
being directly embedded in the String message that is passed
during exception creation.
In this commit, we modify the default constructor of
InvalidParameterValueException so that it takes a second
argument of type List<IdentityProxy>. This will help developers
see that there is a second parameter required, and make them
look into what that parameter is about. Hopefully, this will
stop db IDs from being embedded into the exception message.
The parameter can be set to null though, since there are many
places in the code that don't embed any DB IDs in the exception.
This is still a WIP, so the older default constructor for
InvalidParameterValueException has not been removed yet. When
all instances of throw new InvalidParameterValueException()
have been moved over to the new default constructor, the old
one will be removed, else compilation will break. The reason
for having to do this in batches is that there are way too
many places in the code that throw exceptions, and they all
cannot be covered in a single commit without it taking much
time.
In following commits, all other exceptions will be changed
in the same way as InvalidParameterValueException.
2012-07-05 16:48:36 -07:00
Alena Prokharchyk
a44843af69
VPC: added "forVpc" (boolean) parameter to listRouters call - filter by the fact if router belongs to VPC or not
2012-07-05 14:04:34 -07:00
Alena Prokharchyk
d8cdb89721
VPC: added field networkacl_service_provided to physical_network_service_providers table
2012-07-05 13:56:55 -07:00
Alena Prokharchyk
931c3eb78e
VPC: removed NetworkACL interface; added getTrafficType() to Firewall
2012-07-05 10:22:49 -07:00
Jayapal
f05115a9c4
Bug: CS-15443, Fix for NPE while adding Firewall Rule
2012-07-04 16:13:32 +05:30
Alena Prokharchyk
3383c79452
VPC: added zoneName to the VPC api response
2012-07-03 17:14:07 -07:00
Alena Prokharchyk
9f6d03b87b
VPC: added "forVpc" parameter to listNetworkOfferings command. If true, the offeirng can be used for vpc networks only
2012-07-03 15:37:07 -07:00
Alena Prokharchyk
1011dfd31c
Resource tags: 1) Remove tag records when correspdonding cloudStack object gets removed
...
2) added "tags" request parameter to the banch of list* Api commands (listVirtualMachines, listSnapshots - all commands are listed in the resource tags functional spec)
2012-07-03 14:47:07 -07:00
anthony
2af007a739
VPC : add static route
2012-07-02 17:28:54 -07:00
Alena Prokharchyk
481f59df3b
VPC: multiple fixes:
...
* Separate service for NetworkACL - "NetworkACL" service
* allow having just one network supporting LB in the VPC
* perform check against VPC when upgrade network to the new network offering (the same set of checks when you add new network to the VPC)
2012-07-02 14:14:34 -07:00
Jessica Wang
1791c7533b
cloudstack 3.0 API - listVpnConnections API - add gatewayIp, guestCidrList,ipsecPsk, ikePolicy, espPolicy, lifetime property (get it from customerGateway object).
2012-07-02 13:39:34 -07:00
Alena Prokharchyk
4415c67604
VPC: createPrivateGateway - consists of plug nic + ipassoc (no setsource nat is needed)
2012-07-02 12:58:30 -07:00
Jessica Wang
60da16fe8b
cloudstack 3.0 API - listVpnConnections API - add publicip property (get it from vpnGateway object).
2012-07-02 10:24:10 -07:00
Sheng Yang
618d2541c8
CS-6840: Add status checking for site 2 site VPN
2012-06-29 18:58:52 -07:00
anthony
0f06bc6643
VPC : network usage works in VPC
2012-06-29 17:33:17 -07:00
Alena Prokharchyk
49d8b650e9
VPC: listPrivateGateways command is available for regular user too (he needs to know the gatewayId for the static route creation)
2012-06-29 15:17:17 -07:00
Jessica Wang
e07ec3cd2c
cloudstack 3.0: (1) API - CreateVpnConnection API, ListVpnConnections API: set object name for API response.
...
(2) UI - Add site-to-site VPN dialog - call CreateVpnConnection API after CreateVpnCustomerGateway API returns success.
2012-06-29 14:55:26 -07:00
Jessica Wang
6cf45ad29b
cloudstack 3.0 API: CreateVpnCustomerGateway API, ListVpnCustomerGateways API: set object name for API response.
2012-06-29 14:40:00 -07:00
Jessica Wang
68a82ae1e3
cloudstack 3.0: (1) API - CreateVpnCustomerGateway API: correct parameter type on server-side.
...
(2) UI - Add site-to-site VPN dialog - call CreateVpnCustomerGateway API after CreateVpnGateway API returns success.
2012-06-29 14:21:37 -07:00
Jessica Wang
d922b99c64
cloudstack 3.0 API: CreateVpnGateway API, ListVpnGateways API: set object name for API response.
2012-06-29 11:05:10 -07:00
kishan
077ca1489c
bug CS-15389: Added prepareStop to Virtualmachine manager and moved network usage collection into prepareStop of VR manager
2012-06-28 18:07:47 -07:00
Alena Prokharchyk
e6383fc845
VPC: when add guest network to VPC, verify that the list of network services is within the list of services supported by VPC offering
2012-06-28 17:13:39 -07:00
Sheng Yang
66a918f51a
CS-6840: List all objects without require parameter
2012-06-28 15:25:15 -07:00
Alena Prokharchyk
ceb4445166
VPC: createPF/createLBrule: 1) don't allow to pass openFirewall=true 2) when no openFirewall is passed in, defaulted to false if the public ip belongs to VPC
2012-06-28 14:19:14 -07:00
Alena Prokharchyk
90b96642a7
Static route can be created for generic VpcGateway now, not just Private gateway
2012-06-28 13:14:54 -07:00
Sheng Yang
23c96451a7
CS-6840: Add hypervisor commands for site-to-site vpn
2012-06-27 19:06:32 -07:00
Sheng Yang
8670b703d2
CS-6840: Add Site2SiteVpnServiceProvider
2012-06-27 19:05:48 -07:00
Sheng Yang
52e80e5fb0
CS-6840: Add commands for site-to-site vpn
2012-06-27 19:05:41 -07:00
Sheng Yang
67a434243b
CS-6840: Add data structure for site-to-site vpn tables
2012-06-27 19:05:33 -07:00