Nitin Mehta
564cef8ddf
More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-23 12:14:35 +05:30
Kelven Yang
c5083787c2
Hardening console proxy AJAX protocol to address security concerns
2012-04-19 12:10:33 -07:00
Alena Prokharchyk
03ccb7f313
CS-14512: fixed deployVm with ipToNetworkList when uuid is used for networkIds
...
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-04-16 15:43:56 -07:00
Alena Prokharchyk
662a234916
CS-14297: added "forced" option to deleteStoragePool command. If forced=true, all destroyed volumes are marked as Expunged even when we can't reach primary storage at the moment of deletion.
...
Conflicts:
api/src/com/cloud/api/commands/StopVMCmd.java
2012-04-16 13:22:46 -07:00
Alena Prokharchyk
676a28177b
Added one more parameter - haHost(boolean) - to listHosts api command. The parameter identifies if the host is dedicated for ha only
...
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-04-12 11:50:36 -07:00
Alena Prokharchyk
98fd5cf959
bug 14622: introduced ha tagging for host
...
status 14622: resolved fixed
Conflicts:
server/src/com/cloud/host/dao/HostDao.java
2012-04-09 15:18:01 -07:00
David Nalley
d5377b0ae3
more line ending fixes
2012-04-06 22:51:32 -04:00
Alena Prokharchyk
2d1a6b0b35
bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
...
status 14615: resolved fixed
2012-04-06 11:30:48 -07:00
Alena Prokharchyk
c0130a5c41
Code cleanup for createVlanRange api
2012-04-04 15:03:04 -07:00
Alena Prokharchyk
b14bac0977
bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
...
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:52:32 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Alena Prokharchyk
a4e8133b78
bug 14559: podId is required parameter in addCluster api
...
status 14559: resolved fixed
2012-03-30 10:37:14 -07:00
Alena Prokharchyk
1e0d976dc5
bug 14599: initialize errorString to not null value to ensure valid json response even in case when api server doesn't reset errorString while forming the response.
2012-03-30 10:22:51 -07:00
kishan
026641f48c
Added version for APIs changed in 3.0.1
...
Reviewed-By: Nitin
2012-03-28 14:36:32 +05:30
kishan
57f935ca03
Added since version to API response docs
2012-03-27 11:12:59 +05:30
Nitin Mehta
a78537398c
Bug 14490: Fix NPE in ListCapacity
2012-03-24 16:24:51 +05:30
Nitin Mehta
a5a7be4c7e
Bug 10808: Add Upload Volume api and do validation.
2012-03-24 13:59:59 +05:30
Alena Prokharchyk
15019d1e5c
bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
...
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:33:22 -07:00
prachi
45c7ad63bf
Bug 14299 - Fix adding public ip range per account
...
Changes:
Fixed as described in the bug.
* CreateVlanIpRangeCmd still accept account/domainId info
* if account owns:
- one Isolated network with source nat service enabled, use this network
- more than one Isolated network with source nat service enabled - error out
- none Isolated networks with source nat service enabled, create it only in
case when there is an Isolated network offering with Availability=Required and
source nat service enabled.
2012-03-21 16:52:32 -07:00
Alena Prokharchyk
fec3a87d09
bug 14388: don't return console proxy / ssvm service offerings
...
status 14388: resolved fixed
2012-03-19 14:50:09 -07:00
Alena
eab2a0c5b8
bug 14338: podId is required in addHost command
...
status 14338: resolved fixed
2012-03-16 16:03:48 -07:00
Vijayendra Bhamidipati
005ba5e2b5
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Adding overloaded addProxyObject() function to CloudException
and RuntimeCloudException classes and using this function
to stuff exceptions with IDs, to reduce code footprint.
2012-03-15 16:27:52 -07:00
Vijayendra Bhamidipati
b1bb0afad4
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modifying the API functions' exception handling to call
addProxyObject() wherever applicable, and removing some
wrong calls to addProxyObject() that were put in in an
earlier commit for this bug.
With this commit, we cover many API functions to use the
new exception handling code, but some pieces may still be
left out. These will be covered as work in progress, when
making changes to the CS API code.
2012-03-12 18:05:45 -07:00
Sheng Yang
ec5a225a78
Refactor VirtualRouterNetworkManagerImpl
...
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:48 -07:00
Alena Prokharchyk
ad1192e264
bug 14239: limit number of Isolated account specific networks per account
...
status 14239: resolved fixed
Conflicts:
api/src/com/cloud/api/commands/CreateNetworkCmd.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
Alena Prokharchyk
251af27a7a
bug 14247: implemented search by storage id in listSystemVms
...
status 14247: resolved fixed
2012-03-12 10:24:48 -07:00
abhi
2b437f6a12
adding remove cmd for ldap
2012-03-12 16:56:43 +05:30
abhi
ecad50c801
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-12 16:50:00 +05:30
Alena Prokharchyk
6910740582
Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
...
Reverting the commit in order to fix the build
This reverts commit 0ab0fcfa5c3b8825b8a92e3c2d2dee8e8ca6152b.
2012-03-09 09:53:56 -08:00
abhi
b7b751fdf6
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-09 16:56:01 +05:30
Alena Prokharchyk
87f2480b09
Fixed upload custom certificate api broken due to default api field length restriction
2012-03-07 15:33:08 -08:00
Alena Prokharchyk
f3935d667f
bug 14156: return instancename parameter in userVm response to ROOT admin only
2012-03-06 13:39:13 -08:00
prachi
5148145d18
Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
...
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.
2012-03-05 17:50:23 -08:00
Vijayendra Bhamidipati
57c54e23d6
Bug 14060: Include a CloudStack error code in an Exception Response
...
Bug 13127: API error text refer to database ids instead of uuids
Code-Reviewers: Ewan Mellor, Kelven Yang
Description:
1. A new class CSExceptionErrorCode has been added to utils.
It contains a list of error codes for each type of
Exception class. Use fully qualified package paths for
Exceptions in CSExceptionErrorCode. We log any exception
name not found in the list of error codes for exceptions.
2. Whenever we throw an exception exobj anywhere in the
CS code, the CSErrorCode is set in the base class
constructor.
3. We add a new field csErrorCode in classes CloudException,
RuntimeCloudException, ExecutionException and
ExceptionResponse.
4. Two places in ApiServer.java were wrongly modified when
putting in changes for bug 13127 to not throw an exception.
This has been corrected in this commit.
2012-03-05 17:39:09 -08:00
Vijayendra Bhamidipati
83101a752f
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modified the IdentityTypeAdapter's custom serializer to
identify whether this is an exception response that is being
serialized, by checking if the idFieldName is set. If so,
serialize both uuid and the uuidProperty (for eg, zoneId and
"zoneId" (string)) and pass back the json representation of that.
Modified XML serializer also to build a list of uuids+fieldnames.
Introduced a new field "cserrorcode" in ExceptionResponse. This
refers to an error code that can be according to the specific
Exception being thrown. This will be serialized as usual. There
shouldn't be any need to do a db lookup for conversion for these
error codes.
2012-02-27 17:55:06 -08:00
Vijayendra Bhamidipati
59631452b9
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modify Exception handling to enable addition of multiple
uuids in a single exception thrown by API functions. Both
XML and JSON outputs will store all uuids and Fieldnames.
This will make it easier to provide more information when
an exception occurs - for example, a zone id, a cluster id,
host id, and then a specific property id.
2012-02-27 17:55:03 -08:00
Vijayendra Bhamidipati
bfe1122bc6
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Added a field name for the db id in the IdentityProxy class, and
modified setProxyObject() to take an additional id name parameter.
This will let us know the name of the uuid that we are returning.
E.g.- domainId, zoneId, etc. The client can view this field in
the json/xml output. Modified the JSON/XML serialization routines
to append this new parameter to the serialized output for Exception
Responses.
2012-02-27 17:55:01 -08:00
Vijayendra Bhamidipati
e5b4cf5cf1
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Put in an IdentityProxy object in the ExceptionResponse class.
This allows us to copy over the IdentityProxy object contained
in the exception caught by handlerequest() when thrown by the
command's execute() method, into the Response object that is
prepared to return an exception response to the calling API
invocation.
2) Modified the GSON serialization method to conver the entire
exception object into JSON format and not just the error text.
3) Modify the updateDomain API to populate the exception it throws
upon detecting a duplicate domain to include the tablename and
domain db id in the exception's IdentityProxy object.
NOTE:
1) We can modify the base exception classes and the ExceptionResponse
class to contain a list of IdentityProxy objects rather than a
single one.
2) We will need to modify all commands such that wherever applicable
(wherever a db id is involved), they populate the IdentityProxy
object(s) before throwing an exception.
2012-02-27 17:54:58 -08:00
Vijayendra Bhamidipati
c3fbe29cf8
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Added a setProxyObject() method to CloudException and RuntimeCloudException
2) Modified a bunch of throw exceptions in NetworkManagerImpl.java to call setProxyObject() before throwing an exception.
3) Changed scope of ProxyIdentity attribute to protected.
4) Added routines to ServerApiException to get/set IdentityProxy object, and
routine in RuntimeCloudException to get the Idproxy object.
5) Modified the exception handling around the dispatcher and handlerequest()
to copy over the IdentityProxy information before rethrowing an exception
eventually back to handle().
6) Removed duplicate IdentityProxy object in ServerApiException.
It was extending RuntimeCloudException which already had an
IdentityProxy object.
2012-02-27 17:54:56 -08:00
Vijayendra Bhamidipati
768d7a2a26
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Moved RuntimeCloudException from api/ to utils/.
Added simple constructor to RuntimeCloudException.
Modified all classes that extended RuntimeException
to extend RuntimeCloudException. These classes
are listed below:
ServerApiException
CloudAuthenticationException
CloudExecutionException
AsyncCommandQueued
HypervisorVersionChangedException
RuntimeCloudException
2) Added overloaded constructed to CloudException.
Modified all classes that extend Exception to extend CloudException instead.
These classes are listed below:
ConcurrentOperationException
ConflictingNetworkSettingsException
ConnectionException
DiscoveryException
InsufficientCapacityException
ManagementServerException
ResourceUnavailableException
VirtualMachineMigrationException
AgentControlChannelException
OperationTimedoutException.java
UnsupportedVersionException.java
UsageServerException.java
UnableDeleteHostException.java
AgentAuthnException.java
HttpCallException.java
ActiveFencingException.java
ClusterInvalidSessionException.java
GreTunnelException.java
OvsVlanExhaustedException.java
2012-02-27 17:54:53 -08:00
U-CITRITE\vijayendra1
698c1ebe12
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Adding two new classes, CloudException and RunTimeCloudException.
The former extends Exception and the latter RunTimeException.
These will be used by classes that formerly directly extended
Exception and RuntimeException. These two classes have an attribute
of type IdentityProxy to enable exceptions fill in db ids in separate
attribute fields rather than in a string. Doing so will allow the
serialization module (GSON for JSON and other for XML) to kick in
and convert this db id to a uuid in ApiServer.java just before the
JSON/XML responses are sent out.
2) Moving IdentityProxy.java from api/ to utils/ since
both CloudException and RuntimeCloudException refer to it.
3) Changing references to IdentityProxy class from api/ to utils/.
4) While rebasing to master, a new file was added, merging
api/src/com/cloud/api/response/IsoVmResponse.java to this diff.
2012-02-27 17:54:50 -08:00
Alena Prokharchyk
867db1ae5e
Don't initialize the logger in AsyncJobResponse class
2012-02-27 14:22:58 -08:00
Alena Prokharchyk
856418e700
bug 13860: Added async job types to Account/User Async api commands and more logging.
...
Reviewed-by: Kelven Yang
2012-02-27 10:36:17 -08:00
Alena Prokharchyk
75bbefec63
More details to api doc
...
Reviewed-by: Jessica Tomechak
2012-02-24 16:12:17 -08:00
Alena Prokharchyk
f03fc196ad
bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
...
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:38 -08:00
Alena Prokharchyk
6b9abf832b
bug 13944: when delete the account, expunge detached volumes on the backend
...
status 13944: resolved fixed
Reviewed-by: Frank Zhang
2012-02-22 17:59:22 -08:00
prachi
e37732c4de
Bug 13766 - VMs are still running after disabling the zone
...
Reviewed-by: Sheng Yang
Changes:
- Do not check if allocation_state is 'Enabled' in planner if the caller is Root Admin.
- This should let Root Admin create a VM in a disabled Zone.
2012-02-22 17:34:00 -08:00
Alena Prokharchyk
798accae10
Added isTagged parameter to listNetworkOfferings api. When set to true, it will return offerings with not null tag values
...
Reviewed-by: Jessica Wang
2012-02-22 16:09:35 -08:00
Alena Prokharchyk
df7439eca2
bug 13928: more description to migrateVm api
...
status 13928: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:07:19 -08:00
Alena Prokharchyk
2992c608c4
bug 13919: do includingRemoved Nic search when remove firewall rules during the vm expunge
...
status 13919: resolved fixed
Reviewed-by: Sheng Yang
2012-02-21 18:02:44 -08:00
Alena Prokharchyk
2e9511e2ae
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Alena Prokharchyk
12b79da6c2
bug 13903: return vm's hostName as a displayName when displayName is null in bunch of api responses
...
status 13903: resolved fixed
Reviewed-by: Kelven Yang
2012-02-21 10:46:00 -08:00
frank
65351fd1ce
Bug 13809 - Unable to execute API command deletestoragenetworkiprange due to invalid value. Object dc_storage_network_ip_range(uuid: undefined) does not exist.
...
status 13809: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:38 -08:00
frank
a1fa313902
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:32 -08:00
prachi
7181fed101
Added instanceType to some async commands related to physical network
...
Reviewed-By: Alena Prokharchyk
Conflicts:
api/src/com/cloud/api/response/AsyncJobResponse.java
api/src/com/cloud/async/AsyncJob.java
2012-02-17 15:41:34 -08:00
Alena Prokharchyk
31a3b878a3
bug 13864: for elastic IP address return the purpose (staticNat or Lb) in listPublicIpAddresses api response
...
Reviewed-by: Frank
2012-02-17 15:42:21 -08:00
Alena Prokharchyk
4d27f3c44b
bug 13866: return publicIp info in listVms api response when vm is linked to public ip via static nat
...
Reviewed-by: Frank
2012-02-17 15:42:17 -08:00
Alena Prokharchyk
cf28936b5f
bug 13860: set entity type in a bunch of async api commands
...
status 13860: resolved fixed
Reviewed-by: Prachi Damle
2012-02-17 14:16:13 -08:00
Edison Su
39403e845b
bug 13843: storageid is mandatory
...
status 13843: resolved fixed
Reviewed-by: frank
2012-02-17 13:04:48 -08:00
Jessica Tomechak
458058bc87
Expand documentation of returned alert types in listAlerts API Reference page.
2012-02-17 04:22:04 -08:00
abhi
1d96a17698
bug 13812: throw error if addition of host fails
2012-02-17 16:27:29 +05:30
kishan
ced6fd46b8
Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
...
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 13:50:18 +05:30
anthony
61603335b2
bug 13810: by default, remove local storage when host is removed
...
status 13810: resolved fixed
reviewed-by : edison
2012-02-16 18:27:40 -08:00
Alena Prokharchyk
5e9a15c07d
bug 13708: make a search by traffic type when locate physical network in the zone
...
status 13708: resolved fixed
reviewed-by: Prachi Damle
2012-02-14 12:47:33 -08:00
Alena Prokharchyk
5446826a2f
Added instanceType to some physical network async commands
...
Reviewed-by: Kelven Yang
2012-02-14 12:47:26 -08:00
Alena Prokharchyk
294d3a2fda
Code format fixes
2012-02-10 15:10:21 -08:00
Nitin Mehta
b2c7986ba3
Bug 13059: Remove topused flag.
...
Reviewed-By: Kishan
2012-02-10 17:07:21 +05:30
Edison Su
1ab89dd436
add cert chain in db, and also open the api to upload a cert chain
2012-02-09 14:56:40 -08:00
frank
aa9d250280
port copy template fix to acton
2012-02-09 14:19:08 -08:00
prachi
05af078358
Bug 8791 - user dispersing allocator
...
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:
- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
Sheng Yang
fadec7afe7
Add "changecidr" parameter for updateNetwork API
...
CIDR may be different after update to a service offering contained external
network element, user is required to acknowledge this, otherwise the update
won't process
2012-02-08 15:57:50 -08:00
Sheng Yang
9317eb6bc3
Revert dynamic cidr change
2012-02-08 15:54:22 -08:00
Sheng Yang
18ec438793
Revert zone guest cidr setting
2012-02-08 15:54:16 -08:00
Alena Prokharchyk
30f9d1d82e
Merged listCapacity and ListTopConsumedResources calls. To list most consumed resources, pass sortBy=usage to listCapacity api
2012-02-08 13:33:06 -08:00
Nitin Mehta
e6beb08f1b
Bug 13059: Keeping the param name more intuitive Also adding the ciode for listing used and total capacity as well.
...
Reviewed-By: Kishan
2012-02-08 18:03:22 +05:30
Nitin Mehta
cbc47b9021
Bug 13059: For listing top consumed resources only uyse enabled zone for sec storage Also improve the transaction logic.
...
Reviewed-By: Kishan
2012-02-08 15:34:56 +05:30
abhi
44c172bdc2
bug 12980: added trust store for ssl
2012-02-08 13:07:19 +05:30
Nitin Mehta
1fc0afe3f2
Bug 13059: Remove the listTipConsumedResources api and introduced a sortbyusage flag in the listCapacity call.
...
Reviewed-By: Kishan
2012-02-08 11:50:55 +05:30
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
frank
b59c3c595e
return netmask in listStorageNetworkIpRangeCmd
2012-02-06 14:37:56 -08:00
frank
bea12dc6a4
fix typo in listStorageNetworkIpRangeCmd
2012-02-06 14:01:17 -08:00
Alena Prokharchyk
d04f0b4752
Removed port ranges from createPortForwardingRule API
2012-02-06 10:06:53 -08:00
Nitin Mehta
93b8178f19
Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
...
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
Naredula Janardhana Reddy
ce22712293
Bug 12812:
...
Summary of changes: Database changes will be rollbacked while applying the LB rule to the Netscaler device.
- Database changes will be rollbacked to previous state during the following Lb API's:
1) assignVM to LB rule
2) remove VM from LB rule
3) updateLb rule
4) deleteLb rule
5) create/attach sticky policy to Lb rule
6) delete sticky policy from Lb rule
- Database changes of the Lb rule will be not be rolledback during:
1) Removing IP
2) removing VM
2012-02-06 19:16:34 +05:30
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
Alena Prokharchyk
3a87cf8331
Code style fixes for API package
2012-02-03 14:25:26 -08:00
Alena Prokharchyk
1490e45a1c
Fixed format style in a bunch of files (replaced tabs with spaces as a part of it)
2012-02-03 13:49:11 -08:00
Alena Prokharchyk
edd4c84ca1
Add domain name info for private zones in listZones api response
2012-02-01 11:26:00 -08:00
Naredula Janardhana Reddy
aea81205ef
Bug 11845:
...
Summary of Changes:
- created a generic way for LB rule validations, so as LB device(like Haproxy) specific validations can be done syncronously.
- Removed asyncronous validations from Haproxy and done syncronously.
2012-02-01 18:01:11 +05:30
Nitin Mehta
0f30b0d46c
Bug 13389: updatetemplate- Add the identity mapper for guest os id param.
...
Reviewed-By: Kishan
2012-01-31 22:05:54 +05:30
Alex Huang
c42f50c4b0
Used a different way to allocate guest ip address. not in used yet.
2012-01-30 16:10:10 -08:00
kishan
6717218d1d
Bug 10405: Added since version to new APIs added for acton
...
Reviewed-By: Nitin
2012-01-30 18:43:12 +05:30
kishan
8f2cf82b24
Bug 12996: Removed createConfiguration API command
...
Status 12996: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:36:50 +05:30
kishan
cdbf85e3e6
Bug 12649: Added new param path to listDomains respone
...
Status 12649: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-01-27 17:58:48 +05:30
Edison Su
5e2f02fdd5
bug 13315: add httpproxy support in ssvm, only basic auth. User can add secstorage.proxy = http://username:password@hostname:port
...
status 13315: resolved fixed
2012-01-26 18:46:44 -08:00
anthony
3615b15c39
bug 13338:
...
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception
status 13338: resolved fixed
2012-01-26 12:22:24 -08:00
Alena Prokharchyk
57e3a5a0aa
bug 13232: listPublicIpAddresses by staticNat/sourceNat properties
...
status 13232: resolved fixed
2012-01-25 17:31:53 -08:00
Alena Prokharchyk
3b1db5fa20
bug 13203: removed firewall.rule.ui.enabled global config
...
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
Nitin Mehta
c59f3087f7
Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 14:56:42 +05:30
Alena Prokharchyk
03b4ac91e1
Get new elasticIp when disassociateIP is called for static nat non-elastic IP
2012-01-24 15:15:22 -08:00
Alena Prokharchyk
5307d21210
DisableStaticNat: if elasticIP service is enabled for the network offering, always allocate new elastic ip and create static nat rule for it when disableStaticNat is called
2012-01-24 14:06:01 -08:00
Nitin Mehta
23cfbb6cab
Bug 13059: Make zoneId in ListCapacity call optional. When no parameter is passed list capacity for all zones.
...
Reviewed-By: Kishan
2012-01-23 20:32:50 +05:30
Edison Su
ecab972060
execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again
2012-01-20 17:04:27 -08:00
Alena Prokharchyk
8bcf30da85
bug 12869: more changes to NAAS feature
2012-01-20 14:16:30 -08:00
Edison Su
bced9a6e48
advanced startup command
2012-01-20 11:54:32 -08:00
Alena Prokharchyk
ba826ddc21
Fixed listing public IP addresses
2012-01-20 11:34:54 -08:00
anthony
0ce097f0aa
cleanup snapshot in secondary storage in background
2012-01-19 20:45:00 -08:00
Alena Prokharchyk
212c22b256
Added isElastic flag to ip address
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50
Get new elasticIp when releaseIpAddress is called for elasticIP of the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6deeb7ddc9
Firewall service is enabled in default elb/eip network offering
...
Also added more handling for error cases scenarios
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
a8758d292e
ElasticLB support in Basic zone.
...
When elb capability is enabled on the network offering, we:
1) on each createLB command:
* associate ip address to the LB rule owner
* create LB rule
2) on each deleteLb command:
* delete the rule
* disassociate ip address
The rule belongs to the owner, so proper usage events are generated
2012-01-19 13:57:37 -08:00
Alena Prokharchyk
5adfc9953f
Can enable/disable static nat and create IpForwarding/Firewall rules in Basic zone now.
...
Made Netscaler a StaticNat/Firewall provider. Murali will take care of actual implementation on the backend.
2012-01-19 13:56:59 -08:00
Alena Prokharchyk
ff1e8413f1
1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
...
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
Alena Prokharchyk
ad1076f21d
bug 12983: resource limits for projects
2012-01-19 10:04:28 -08:00
Alena Prokharchyk
d20e10edd3
bug 12919: pass all lb rules in transition (revoke/add) state to the backend when apply a single LB rule
...
status 12919: resolved fixed
2012-01-18 14:15:21 -08:00
Alena Prokharchyk
56b3561033
bug 12856: network offerings with services w/o providers support
...
status 12856: resolved fixed
2012-01-17 16:17:09 -08:00
Alena Prokharchyk
83400cd15f
bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
...
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk
bda032b874
bug 12760: generate vm.destroy event when vm goes from Stopped to Expuning state
...
status 12760: resolved fixed
2012-01-17 10:38:52 -08:00
frank
c6c711affe
Bug 13038 - Host allocation state changes after the Management server restart
...
status 13038: resolved fixed
2012-01-16 16:41:58 -08:00
Edison Su
0f9f054bbf
bug 10957: don't log vpn password
...
status 10957: resolved fixed
2012-01-16 11:52:25 -08:00
Edison Su
4f464fc252
bug 13084: network traffic type for simualtor, by default should be null not ""
...
status 13084: resolved fixed
2012-01-16 11:47:37 -08:00
Abhinandan Prateek
e6161ac502
bug 12979: anonymous searches now allowed
2012-01-16 20:03:00 +05:30
Nitin Mehta
ac1886350d
bug 13063 remove the compatibility changes made for UI. UI should now call the listcapacity with zoneId parameter which is mandatory.
...
Reviewed by : Kishan.
2012-01-16 17:43:50 +05:30
kishan
b589e49263
Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
...
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
Edison Su
0fac4a2bb1
bug 10380: after finishing download template, caculate checksum and report to mgt server
...
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Alena Prokharchyk
b1c60b9d60
bug 12964: createPhysicalNetwork/addTrafficType is no longer a part of createZone API
2012-01-10 13:55:09 -08:00
Sheng Yang
8f2cd77c87
bug 12931: Add conserve mode in network offering response
2012-01-10 11:48:21 -08:00
Alena Prokharchyk
adaea570e4
bug 12934: added name to physical network
...
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
Alena Prokharchyk
223497baa4
bug 12877: fixed pagesize=-1 behavior
...
status 12877: resolved fixed
2012-01-09 13:26:12 -08:00
frank
5ea56cdfeb
Bug 12777 - Add storage network configuration into CloudStack
...
polish API per Alena's review
2012-01-09 11:06:21 -08:00
frank
391f3e8b30
Bug 12777 - Add storage network configuration into CloudStack
...
fix typo: changing ListTafficTypeImplementorsCmd to ListTrafficTypeImplementorsCmd
2012-01-09 10:53:08 -08:00
Alena Prokharchyk
c581506103
bug 12306: list* command revamp
2012-01-09 10:07:42 -08:00
frank
4bb580de86
Bug 12777 - Add storage network configuration into CloudStack
...
new API: UpdateStorageNetworkIpRangeCmd
Bug 12777: resolved fixed
2012-01-06 11:07:15 -08:00
frank
ea422af8a9
Bug 12777 - Add storage network configuration into CloudStack
...
Let StorageGuru inherit PodBaseNetworkGuru
2012-01-06 11:07:14 -08:00
frank
ec7c22f5c7
Bug 12777 - Add storage network configuration into CloudStack
...
new API: ListTafficTypeImplementors
2012-01-06 11:07:14 -08:00
frank
f72940e041
Bug 12777 - Add storage network configuration into CloudStack
...
most finish
2012-01-06 11:06:18 -08:00
frank
0b01c5dc1a
Bug 12777 - Add storage network configuration into CloudStack
...
create APIs
2012-01-06 11:06:17 -08:00
Sheng Yang
aa8bf6c135
Make networkoffering.conserve_mode not a required parameter for API
...
Also fix some NPEs
2012-01-06 11:02:13 -08:00
kishan
d1dc819df5
Bug 12904,12906,12907: Consider keyword while listing Clusters, Zones and hypervisorCapabilities
...
Status 12904,12906,12907: resolved fixed
Reviewed-By: Nitin
2012-01-06 18:10:27 +05:30
Sheng Yang
89ca2fe48e
bug 12656: Add restriction for network update and new rules
...
status 12656: resolved fixed
2012-01-05 21:08:41 -08:00
Sheng Yang
ba23973d53
bug 12656: Refactor IP associate process
...
Introduce the concept of Ip Deployer. The IP deployer would be responible for
apply IP to the element. Most element's IP deployer is itself, but it can be
someone else if we want to implement inline mode in the future.
2012-01-05 21:08:28 -08:00
Sheng Yang
5e60228d2b
bug 12656: Add conserve mode for network offering
...
Conserve mode means, we can use same IP for different purposes, in order to
"conserve" ip resources. But in this offering, all the service providers should
be the same, and the network created from this offering may be prohibited from
update to different network offering whose services are provided by different
service providers - because different service providers would need different IPs
for different services.
If user want to update the "conserve mode" network with the network offering
that has different service providers, each public IP should have only one usage,
only them the update is allowed.
2012-01-05 21:08:23 -08:00
Edison Su
1648bd800c
bug 12899: mgt server needs to pass down the storage pool uuid when creating template from volume
...
status 12899: resolved fixed
2012-01-05 16:42:45 -08:00
Alena Prokharchyk
e1cf8e4933
Added new parameter to listCapabilities identifying if regular user can create projects
2012-01-05 13:32:36 -08:00
Murali reddy
ec9d3508ef
bug 11417: support for netscaler SDX
...
- acquire zone public IP, and use it to make VPX provisioned on SDX to be part of public network
2012-01-05 23:31:50 +05:30
Alena Prokharchyk
0538872003
bug 12700: ipAssoc - owner of the ip is the owner of the guest network
...
status 12700: resolved fixed
2012-01-04 15:00:04 -08:00
Alena Prokharchyk
d4e0fbda83
bug 12686: added search by zoneId to the listNetworkOfferings
2012-01-04 12:31:59 -08:00
Abhinandan Prateek
3a6719aa1b
adding annotation to convert the uuids/ids to ids
2012-01-03 12:18:06 +05:30
Abhinandan Prateek
a60d8cea86
bug 12530: moved the initial full sunc from the cron to host connect.
2012-01-02 13:40:33 +05:30
Alena Prokharchyk
217aceb9ef
bug 12753: retry 1 more time when start fails for the virtual router
...
status 12753: resolved fixed
2011-12-30 14:45:41 -08:00
Alena Prokharchyk
d56d1f699d
bug 12790: use processDisconnect() when disconnect the agent during agent LB process
...
status 12790: resolved fixed
Conflicts:
api/src/com/cloud/host/Status.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-12-30 10:03:56 -08:00
anthony
1f7a811bac
SWIFT : sync swift with secondary storage
2011-12-28 11:47:55 -08:00
Abhinandan Prateek
5e4acc2a55
bug 12530: introduce initial full sync; cleanup syncronization;
2011-12-27 11:13:38 +05:30
anthony
5346a61917
SWIFT : API refine
2011-12-23 11:40:52 -08:00
Nitin Mehta
5d00edb31b
bug 11602: Account id logged in the events table should belong to the caller.
...
Reviewed by : Kishan.
2011-12-23 16:28:22 +05:30
anthony
12eae7148c
SWIFT: listSwift refine
2011-12-22 14:28:27 -08:00
anthony
fea9ca582c
SWIFT : add listSwift api
2011-12-21 16:55:08 -08:00
Abhinandan Prateek
df83487be9
bug 8962: adding code for basic networks
2011-12-21 17:18:31 +05:30
Jessica Wang
eb9973d344
cloudStack 3.0 - extract template, extract ISO - zoneId is no longer required.
2011-12-20 18:50:26 -08:00
Abhinandan Prateek
462ad5cfc2
bug 8962: network related improvements
2011-12-20 18:31:37 +05:30
Alena Prokharchyk
42a460023e
Don't allow to create snapshotPolicy for disabled account and suspended/inactive project
2011-12-19 16:30:46 -08:00
Alena Prokharchyk
ceb0a918a1
createTemplate/createSnapshot for project - allow to execute for Projects in Active state only
2011-12-19 16:20:40 -08:00
Alena Prokharchyk
bdd0e8f860
bug 12642: removed restriction on project state from listResourceLimits command
...
status 12642: resolved fixed
2011-12-19 15:32:58 -08:00
Alena Prokharchyk
3169a54263
bug 12644: don't allow to add new users to suspended/disabled projects
...
status 12644: resolved fixed
2011-12-19 13:42:03 -08:00
Alena Prokharchyk
a12c358842
bug 12624: don't allow to delete the account when he is the owner for project(s)
...
status 12624: resolved fixed
2011-12-19 12:02:29 -08:00
Alena Prokharchyk
742c9c9a45
bug 12615: fixed resource limits - treat -1 as unlimited for domain limit
...
status 12615: resolved fixed
2011-12-19 10:24:25 -08:00
Murali reddy
4f058feef2
bug 12276: public IP's should be associated with a network service provider depending on the network rules for which IP is used for
2011-12-19 23:48:52 +05:30
Alena Prokharchyk
4cb6fcc17a
bug 12591: fixed updateDomain
...
status 12591: resolved fixed
2011-12-16 11:54:47 -08:00
Murali Reddy
2e6b62cc43
fixing NetScaler/F5 sticky code
2011-12-16 22:54:37 +05:30
Nitin Mehta
f691438a01
bug 11650: Add error details in the details of the templated download and upload answers for better logging.
...
Reviewed by : Kishan.
2011-12-16 16:39:39 +05:30
anthony
79e0f1f39e
SWIFT : refine api
2011-12-15 12:52:58 -08:00
anthony
235c5aa6eb
SWIFT: api refine
2011-12-15 12:37:34 -08:00
Prasanna Santhanam
dac505194c
Changes to PhysicalNetworkTrafficType to accomodate the simulator hypervisor type
2011-12-15 19:12:21 +05:30
Nitin Mehta
26c8bb74cf
bug 12442: DeleteSnapshot policy - UUID to id conversion is corrected by using the right table. Also improved documentation
...
Reviewed by : Abhi.
2011-12-15 15:00:10 +05:30
anthony
99ee2b9cbd
SWIFT: fixed delete template/iso
2011-12-14 19:53:56 -08:00
Sheng Yang
ab50f65ed8
bug 12483: Discard zone's cidr
...
status 12483: resolved fixed
2011-12-14 17:23:24 -08:00
kishan
f3cd93f835
bug 11899: Added events for Zone create, update and delete
...
status 11899: resolved fixed
reviewed-by: Nitin
2011-12-13 19:29:44 +05:30
kishan
6f9bc008f4
bug 12481: Added account ID to listusers response
...
status 12481: resolved fixed
reviewed-by: Nitin
2011-12-13 15:54:58 +05:30
Abhinandan Prateek
a703315d34
bug 12348: fixed getting VMs for a cluster which was not getting back VMs in starting state
2011-12-13 12:20:48 +05:30
frank
8098045645
set account details to null in listAccountCmd when there is no details
2011-12-12 15:55:39 -08:00
Alena Prokharchyk
28913c791b
bug 11626: return same fields in queryAsyncJobResult and listAsyncJobs API commands
...
status 11626: resolved fixed
2011-12-09 16:50:08 -08:00
Alena Prokharchyk
7ff1417cbb
bug 12229: added restartRequired field to the network object
...
The value is set to true when shutdownResources or implementResources fail.
2011-12-09 15:37:11 -08:00
Alena Prokharchyk
743be91e20
Added projectinviterequired capability to the listCapabilities API response
2011-12-09 12:34:17 -08:00
frank
10593528ca
Bug 12294 - fail to bring the host( resource_state) from un-managed to managed from CS
...
remove unmanaged event from resource state machine
status 12294: resolved fixed
2011-12-09 10:54:43 -08:00
Alena Prokharchyk
3a94a41baf
bug 12305: drop max_connections from the network offering as this information is being set on network element level now
...
status 12305: resolved fixed
2011-12-09 09:00:08 -08:00
frank
6f6be508a1
Remove unmanaged from resource state
2011-12-08 16:47:00 -08:00
Alena Prokharchyk
c83b1ddb05
bug 12380: return cidr in listNetworks response
...
status 12380: resolved fixed
2011-12-07 18:11:38 -08:00
frank
3903503619
Bug 12404 - Failure in Removing host
...
don't send PoolEjectCommand to host being deleted
2011-12-07 14:38:41 -08:00
Sheng Yang
7aed9ea76d
Add checking for specified cidr when create network and update network
2011-12-06 16:28:57 -08:00
Alena Prokharchyk
e89c8725ed
Return redundantRouter/sourceNatSupported capabilities as a part of listSupportedNetworkServices
2011-12-06 15:36:02 -08:00
Alena Prokharchyk
9c6a56a61b
Fixed NPE in createNetworkOffering with capabilities set
2011-12-06 14:59:32 -08:00
Alena Prokharchyk
cabb02f944
Removed unused values from the networkOffering response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
9092765183
1) In Advance zone allow ipAssoc only to the Isolated network with the source nat service enabled
...
2) Added zoneName parameter to the listNetworks response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
54aea06c9a
zoneId is optional parameter now in associateIpAddress call. If not specified, networkId has to be passed in
2011-12-06 12:32:52 -08:00
Alena Prokharchyk
edd25b93a1
bug 12336: pass correct service offering id to createNetworkOffering command
2011-12-06 10:10:28 -08:00
Abhinandan Prateek
90a6bab334
bug 12348: putting a better check on stopped states
2011-12-06 09:13:20 +05:30
Murali Reddy
bc88d2eee3
specify which network service capabilities can be choosed as part of network offering
2011-12-05 17:59:54 -08:00
Alena Prokharchyk
d836699209
restartNetwork: don't try to disassoc the sourceNat IP on the domR
2011-12-05 17:28:08 -08:00
Alena Prokharchyk
84394ac3d4
bug 10804: added defaultDns parameter to DhcpEntry command
2011-12-05 16:56:31 -08:00
Alena Prokharchyk
d747801144
bug 12332: use short type for "accountType" field in EventVO object
...
status 12332: resolved fixed
2011-12-05 15:56:15 -08:00
Alena Prokharchyk
7b8287d323
bug 10804: Api and middle layer support for default route feature
2011-12-05 14:53:45 -08:00
Chiradeep Vittal
89f13ad700
bug 10804 virtual router support for per-vm default network
2011-12-05 14:53:42 -08:00
prachi
5ee096c00d
Bug 12095 - Migrate instance fail
...
Change:
UUId to ID mapping annotation was missing for MigrateVMCmd.
2011-12-05 15:38:18 +05:30
Murali Reddy
974dc62a2b
added support for dynamic load balancer provisioning when netscaler SDX is added
2011-12-05 00:06:45 -08:00
Abhinandan Prateek
fcb9db7802
bug 8313: removing bad chars
2011-12-05 07:56:34 +05:30
Abhinandan Prateek
d09ed94ebb
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-12-04 15:12:48 +05:30
Abhinandan Prateek
c4f624e7c9
bug 8313: ldap authentication, still need to fix the MD5 encoded password, cuurent authenticator only works with plaintext password
2011-12-04 15:11:06 +05:30
Alena Prokharchyk
c2146ea8e8
bug 12107: don't show public ip addresses associated with CPVM/SSVM
...
status 12107: resolved fixed
2011-12-02 16:16:19 -08:00
Alena Prokharchyk
a4773b7080
bug 12291: listVms - show non-project resources only if no projectId specified
...
status 12291: resolved fixed
2011-12-02 15:17:50 -08:00
frank
0d7dc40189
Bug 11689 - Templates need a ssh key enabled attribute
...
status 11689: resolved fixed
2011-12-02 14:20:08 -08:00
Alena Prokharchyk
0effb82f82
bug 12295: fixed associateIpAddress for projects
...
status 12295: resolved fixed
2011-12-02 12:08:01 -08:00
frank
229b08fd48
chagne some parameter name in HostResponse
...
all API parameters should be low case
2011-12-01 14:13:31 -08:00
prachi
d98130c061
Bug 8750 - update/disable/enableAccount api commands should accept "id" request parameter to be consistent with deleteAcccount command
...
These commands now accept 'id' parameter along with the 'accountname' and 'domainid'.
2011-12-01 13:58:44 -08:00
frank
d343af96e5
change allocationState of HostResponse to resourceState
2011-12-01 13:53:07 -08:00
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Sheng Yang
c5292de0ae
NaaS: Restrict the combination that provider can support
2011-11-30 14:53:50 -08:00
Alena Prokharchyk
5e34819be9
Removed unused imports
2011-11-30 11:47:17 -08:00
frank
83b7b6a412
Add ResourceState as a searching condition of ListHostCmd
2011-11-30 11:42:38 -08:00
Alena Prokharchyk
a3d8291698
bug 12242: fixed api doc for createLoadBalancerRule command
...
status 12242: resolved fixed
2011-11-30 10:54:35 -08:00
Alena Prokharchyk
554946fe8b
Allow networkDomain update for Shared networks
2011-11-30 10:34:58 -08:00
Naredula Janardhana Reddy
38355b0b44
bug 10796: uuid changes.
2011-11-30 23:15:38 +05:30
Naredula Janardhana Reddy
edb4b844d6
bug 10796: uuid changes in list response.
2011-11-30 23:09:14 +05:30
Naredula Janardhana Reddy
e4b5a62402
bug 10796: merging code from branch
2011-11-30 15:03:43 +05:30
Alena Prokharchyk
3618c45e7c
Fixed listNetworkOfferings by networkId
2011-11-29 18:13:20 -08:00
Alena Prokharchyk
bcca44e05f
1) Use correct command names in f5/juniper commands.properties file
...
2) Fixed API doc to include f5/juniper/netscaler/virtualRouter commands
2011-11-29 16:24:43 -08:00
Alena Prokharchyk
7ea6082f22
PhysicalNetworkId is not required in listNetworkServiceProvider call
2011-11-29 10:47:03 -08:00
Alena Prokharchyk
c2448b7bd4
list Providers by name and state
2011-11-29 09:59:43 -08:00
Abhinandan Prateek
a560d6f055
bug 11910: no need to do full sync as first thing after connect
2011-11-29 11:23:21 +05:30
Alena Prokharchyk
dc07df3588
bug 12068: fixed listIsos by "isReady" flag
...
status 12068: resolved fixed
2011-11-28 17:13:44 -08:00
Alena Prokharchyk
abfbac7928
Moved listAccount/listDomains/listDomainChildren methods from ManagementServer to Account/Domain managers
2011-11-28 15:32:12 -08:00
Alena Prokharchyk
8f91856822
bug 11859: Added Usage param to @Implementation in API docs. Usage would explain what parameters combinations are valid for specific cases
...
status 11859: resolved fixed
2011-11-28 14:40:13 -08:00
Alena Prokharchyk
628ca6c6d7
bug 11018: removed private_netmask from vm_instance table
...
status 11018: resolved fixed
2011-11-28 14:15:14 -08:00
Alena Prokharchyk
afe92b0733
bug 12162: publicIpId is required in createLoadBalancerRule command
...
status 12162: resolved fixed
2011-11-28 11:59:18 -08:00
Alena Prokharchyk
102f460458
Fixed updateConfiguration - updateHostDetails used to swallow the exceptions
2011-11-28 11:52:45 -08:00
Kelven Yang
be87e3214e
bug 12175 : perform data validation before queuing/executing command
2011-11-28 11:36:46 -08:00
Alena Prokharchyk
586febd4c1
bug 11965: check the user state on the Services layer, not in the VmManager as VmManager can be called not only from the API, but also by internal methods - HA for instance - and in this case we shouldn't care about the account state
...
11965 status: resolved fixed
Also fixed gson serialization error in account response
2011-11-28 10:05:19 -08:00
Abhinandan Prateek
88f9b1ab7c
bug 8962: review changes incorporated
2011-11-25 15:03:45 +05:30
prachi
8134cfb4c8
Bug 11131 - Allocators: when vm fails to deploy in DataCenter, we should never retry in the same DC again as the DC is already in Avoid set
...
Changes:
- Added check in planner to verfiy that the datacenter is not in avoid set. If found in avoid set, planner does not proceed.
2011-11-23 17:40:20 -08:00
prachi
f56c3d7bc5
Bug 11126 - Give ability to define tags post storage addition
...
Changes:
- Enabled updating storage tags
- All existing tags are wiped out and new ones provided are stored.
- Note that, if tags are updated on the storage, no changes are done to the deployment of already running VMs that were deployed prior to tag addition.
- Also added some validation to host tags update API.
2011-11-23 14:21:34 -08:00
Nitin Mehta
cdd94c1b9a
bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
...
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Alena Prokharchyk
5963f3252b
Fixed createPFRule API command - use UUID for vmInstanceId
2011-11-23 10:35:16 -08:00
Nitin Mehta
e034e3d7a3
Revert "bug 11811: Changing permissions for extraction of volumes based out of isos."
...
This reverts commit 9ed2be7ecda7c0bad05aec8e0213e95507ad9be6.
2011-11-23 18:38:37 +05:30
Abhinandan Prateek
da20d33e27
bug 11910: full sync will only stop unknown VMs on agent
2011-11-23 16:48:12 +05:30
Alena Prokharchyk
f111d8377e
bug 11702: removed obsolete ipaddress parameter from userVm response
...
status 11792: resolved fixed
2011-11-22 14:29:13 -08:00
Alena Prokharchyk
74f217e1d0
Introduced new parameter to listNetworkOfferings API - sourceNatEnabled (Boolean).
2011-11-22 10:54:29 -08:00
Abhinandan Prateek
488ac8238e
bug 11311: lis host takes in a additional parameter to fine tune the details, the default behavious is still unchanged.
2011-11-22 16:26:52 +05:30
Alena Prokharchyk
45b058a89d
Project "Owner" is called project "Admin"
2011-11-21 18:01:44 -08:00
Murali Reddy
54f4ebf08c
changes for SRX add/config commands for UI integration
2011-11-21 16:57:41 -08:00
Murali Reddy
c9b2031fa9
changes in add/configure API commands for F5 & Netscaler for UI integration
2011-11-21 13:31:54 -08:00
Nitin Mehta
ec3a00a230
bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
...
Reviewed by : Kishan.
status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
Nitin Mehta
57aa7dec91
bug 11811: Changing permissions for extraction of volumes based out of isos.
...
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.
status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
Abhinandan Prateek
354b4af63b
completing comments for detail type
2011-11-21 13:58:34 +05:30
Kelven Yang
061ff36434
bug 11814: TemplateResponse now returns template details info
2011-11-18 16:40:32 -08:00
Kelven Yang
a59658177d
bug 11814: connect template and instance details data when sending command to resource
2011-11-18 16:40:31 -08:00
Alena Prokharchyk
bc544d31e7
listPublicIpAddresses by associatedNetworkId
2011-11-18 15:57:01 -08:00
Alena Prokharchyk
1871de3048
bug 11853: better error message when try to add VPN user with duplicated user name
...
status 11853: resolved fixed
2011-11-18 15:49:18 -08:00
Alex Huang
110b37a937
bug 12040: fixed the problem where if the connection is not retrievable, we cause a classcastexception
...
Reviewed-by: Anthony
2011-11-18 14:29:03 -08:00
Alex Huang
84d5f0514e
Changed network tags to network name as we no longer need to send the entire network tags down to the resource.
2011-11-18 14:28:16 -08:00
Alex Huang
1d268dc23a
fixes problem with a dangling test direct variable name after build
2011-11-18 14:25:03 -08:00
Abhinandan Prateek
489847fcb7
bug 11867: split the host details into [all, capacity, events, stats, min]
2011-11-18 18:07:05 +05:30
prachi
313e6ca284
Bug 8791 user dispersing allocator
...
Changes:
- Added a two new deployment planners 'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.
'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.
'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
Alena Prokharchyk
337c07c0d1
Default gateway service to sourceNat service in the API
2011-11-17 16:28:10 -08:00
Alena Prokharchyk
0bb325ac12
Call implement() and shutdown() methods for providers only when the provider serves a service for the network
2011-11-17 13:53:53 -08:00
prachi
b0cdb86d9e
Merging listSupportedNetworkServices and listSupportedNetworkServiceProviders.
...
listSupportedNetworkServiceProviders returs list of services with providers and capabilities of each service.
It supports 2 parameters:
-service : list providers and capabilities of this service
-provider: list services of this provider
- if none is specified, lists all services supported
2011-11-17 12:54:31 -08:00
Alena Prokharchyk
8a0443341f
Removed unsupported state from the network offering
2011-11-16 17:22:07 -08:00
Alena Prokharchyk
450b19532a
Fixed unit test
2011-11-16 13:20:53 -08:00
Sheng Yang
d4b1732ff4
NaaS: Fix redundant virtual router
2011-11-16 11:30:09 -08:00
Alena Prokharchyk
339e72d414
Introduced "supportedServices" parameter to createNetworkOffering API. This parameter replaces old parameters: dhcpService, gatewayService, etc.
2011-11-16 11:17:07 -08:00
Murali Reddy
75121bd762
bug 11817 : NAAS external networking device support
...
- added pluggable (service) API's for managing F5 and SRX devices
2011-11-16 10:53:22 -08:00
prachi
f0d1b97420
Renamed 'listNetworkServices' to 'listSupportedNetworkServices'
2011-11-15 17:16:31 -08:00
Edison Su
b2a5e26c06
bug 10792: add default system wide firewall rule
...
status 10792: resolved fixed
2011-11-15 16:51:30 -08:00
Kelven Yang
16530b532f
Make XML serializer support all fields within the class tree
2011-11-15 15:01:47 -08:00
Kelven Yang
277c60e4f6
bug 11814: Allow template to have details info in key/value pairs.
2011-11-15 15:01:46 -08:00
Murali Reddy
0b05badaaa
bug 11817: NAAS external network device support
...
-made Netscaler, SRX, F5 network elements as pluggable service
-added abstract load balancer device manager ExternaLoadBalancerDeviceManager
-made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
-added abstract firewall device manager ExternalFirewallDeviceManager
-made SRX pluugable service to extende ExternalFirewallDeviceManager
-added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
Alena Prokharchyk
bb2a8cf7ea
NaaS: added "subdomainAccess" parameter to domain level network object. The parameter defines whether the network can be accessed from the subdomains. If the parameter is not specified, it would be defaulted to allow.subdomain.network.access Global Config param
2011-11-14 18:13:47 -08:00
prachi
d7ae15beea
- Fixed missing UUId in listNetworkServiceProviders API
...
- BroadcastDomainRange will be 'POD' for 'basic' zone and 'ZONE' for an advance zone.
2011-11-14 17:39:09 -08:00
Alena Prokharchyk
f157148ea1
aclType is Domain for Guest network in Basic zone
2011-11-14 11:24:17 -08:00
prachi
20e53ce90f
- fixing updateProvider to throw error when the underlying element is not ready
...
- not use includingRemoved while listing networks
- Processing checkNetworkCommand dummy method to avoid failures connecting to Vmware and hyperv resource
2011-11-11 14:20:46 -08:00
Alena Prokharchyk
9ca379fc61
Changes to updateNetwork command:
...
* update network with new networkOfferingId only after the network is shutdown
* fixed NPE happenining when updateNetwork with the networkOffering w/o soucrceNat service in Advance zone
2011-11-11 14:06:42 -08:00
Sheng Yang
cdfac9a5e1
NaaS: Fix UUID of virtual router providers
2011-11-11 13:42:19 -08:00
prachi
da846e9c08
Adding UUID to new entities and API commands. PhysicalNetwork, PhysicalNetworkTrafficType, PhysicalNetworkServiceProviders changed.
2011-11-11 13:23:23 -08:00
Alena Prokharchyk
4cf3ecbed4
Cleaned up commented out code
2011-11-11 09:53:46 -08:00
Naredula Janardhana Reddy
f1b99f4f07
Revert "bug 10617: merging code from branch bug10617"
...
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
kishan
77b710eadf
bug 11889: Revert earlier commit. use sshkeypair instead of keypair in API response
...
status 11889: resolved fixed
reviewed-by: Nitin
2011-11-11 14:12:47 +05:30
Alena Prokharchyk
bfff9ee22c
Fixed list by zoneId in listPhysicalNetworks
2011-11-10 20:46:09 -08:00
Alena Prokharchyk
039e09ce93
* Introduced aclType parameter for createNetwork command (can hold 2 values now: Account and Domain). This parameter defines the access control type to the network object. If it's account -
...
only owner of the network can access it; if it's domain - all accounts in the domain and domain children can have an access.
* aclType replaces 2 old fields: isShared and isDomainSpecific.
* All 2.2.x account specific networks will have aclType=Account; 2.2.x Domain specific networks - aclType=domain; 2.2.x Zone level networks - aclType=Domain with domainId = Root domain id
2011-11-10 18:34:56 -08:00
Sheng Yang
7adedca8a3
NaaS: Update listVirtualRouterElements to accept nspid as parameter
...
Also fix VirtualRouterProviderResponse by adding objectName.
2011-11-10 17:26:11 -08:00
Sheng Yang
bde1f6d2de
Merge branch 'networkasservice'
...
Conflicts:
api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java
api/src/com/cloud/api/commands/CreateVirtualRouterElementCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/ExternalNetworkDeviceManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
setup/db/create-schema.sql
2011-11-10 16:36:08 -08:00
Alex Huang
d6c22c42fe
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-11-10 15:26:39 -08:00
Alex Huang
f6fcaa49ec
Merge complete except for virtualnetworkappliancemanager
2011-11-10 15:18:16 -08:00
Naredula Janardhana Reddy
02adbd4bd3
bug 10617: merging code from branch bug10617
2011-11-10 15:23:48 +05:30
Sheng Yang
4ea3aaeb18
NaaS: Add checking for gateway service in update network offering
2011-11-09 19:14:16 -08:00
Sheng Yang
5c1773dd26
NaaS: Add response for VirtualRouterProvider
2011-11-09 18:52:34 -08:00
Murali Reddy
53a636518f
NAAS: changing sharedsourcenat capability to sourceNat service and changin serviceCapablityList parameter to one level map
2011-11-09 18:44:18 -08:00
Sheng Yang
47114af94b
NaaS: Add redundant capability for Gateway service
2011-11-09 17:09:46 -08:00
Sheng Yang
bc86800d30
NaaS: Remove Redundant Virtual Router element
...
Would use capability instead.
2011-11-09 17:09:38 -08:00
Sheng Yang
9b8f96c06d
NaaS: Merge Role.DHCP_USERDATA and Role.DHCP_FIREWALL_LB_USERDATA to Role.VIRTUAL_ROUTER
2011-11-09 17:09:17 -08:00
Alena Prokharchyk
79e13ec3f7
Added support for listing networks based on the supported services information
2011-11-09 16:41:15 -08:00
Alena Prokharchyk
0228bca0c2
Use type instead of guestType in network API response (just the way it was done in 2.2.x)
2011-11-09 15:29:13 -08:00
Sheng Yang
0876cbeda7
NaaS: Rename VirtualRouterProviderType
2011-11-09 15:24:28 -08:00