anthony
8f67524fc5
bug 10591: can not return listResponse for Async command
...
status 10591: resolved fixed
2011-07-05 17:53:22 -07:00
alena
fec6e5e204
Fixed api description for restartNetwork command
2011-07-05 13:43:06 -07:00
alena
58893d9b27
Fixed api description for restartNetwork command
2011-07-05 13:42:38 -07:00
alena
bb1f000414
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:10:52 -07:00
alena
c31605d51f
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:08:43 -07:00
Nitin
62aab14e05
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-07-04 12:01:04 +05:30
anthony
401e5ce0e9
handle register template/iso to all zones
...
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
2011-07-01 17:42:59 -07:00
anthony
2bd3f6c74e
handle register template/iso to all zones
2011-07-01 17:06:43 -07:00
alena
22bf622359
bug 10539: use TemplateResponse object instead of ListResponse in copyTemplate api
...
status 10539: resolved fixed
2011-07-01 13:19:19 -07:00
alena
17f785f07a
Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin
2011-07-01 13:19:12 -07:00
alena
61e11bdf6d
bug 10539: use TemplateResponse object instead of ListResponse in copyTemplate api
...
status 10539: resolved fixed
2011-07-01 13:18:45 -07:00
kishan
36d7ee5634
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
anthony
a217baebf6
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:06:20 -07:00
anthony
9f8d515b2e
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:04:16 -07:00
Nitin
62078ffef2
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
Murali Reddy
9c1bfc351a
Bug 10524 - refactor ExternalNetworkManager, ExternalFirewallManager, ExternalLoadBalancerManager for supporting multiple type of devices
...
refactoring code to enable support for multiple load balancer and firewall types
2011-06-30 16:15:48 +05:30
Abhinandan Prateek
c30225c2af
bug 10489: self review updates
2011-06-30 11:07:37 +05:30
Abhinandan Prateek
6ba0b35295
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 11:05:18 +05:30
Abhinandan Prateek
8bdbfc78ea
bug 10489: self review updates
2011-06-30 10:52:03 +05:30
Abhinandan Prateek
f34252f2e0
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 09:55:35 +05:30
anthony
2fb5de8852
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony
446d08187b
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
anthony
6fe033deae
bug 10410:
...
same template only shows once in a zone,
and only ready template shows in UI
status 10410: resolved fixed
2011-06-27 15:51:00 -07:00
anthony
3f62723bb9
Revert "bug 10410:"
...
This reverts commit 5eed2e9cb246ce526203df3a39cef2be991ccc6e.
2011-06-27 15:48:36 -07:00
anthony
bec24d533d
bug 10410:
...
same template only shows once per zone
status 10410: resolved fixed
2011-06-27 15:47:50 -07:00
anthony
7e5d84f2cc
bug 10410:
...
same template only shows once in a zone,
and only ready template shows in UI
status 10410: resolved fixed
2011-06-27 15:49:19 -07:00
Edison Su
13e4eb97f6
change parameter to forcedestroylocalstorage during delete host
2011-06-24 14:45:47 -04:00
alena
74f34a0e0c
bug 10435: removed vpn feature
...
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Edison Su
28f0068151
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-06-23 20:36:13 -04:00
alena
d380ce0897
bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
...
status 4706: resolved fixed
2011-06-23 11:31:39 -07:00
Alex Huang
9171407113
bug 10417: don't log vmdata in debug
2011-06-23 11:10:01 -07:00
Alex Huang
8ae8f8d36c
bug 10417: don't log vmdata in debug
2011-06-23 11:08:20 -07:00
root
8cdba6a7f5
Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8
2011-06-23 09:58:07 +05:30
Kelven Yang
be38384e76
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:25:35 -07:00
Kelven Yang
7f8b129dc5
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:23:43 -07:00
Sheng Yang
6e405efe01
bug 10311: Update UpdateNetworkCmd, allow change networkOfferingId
...
And restart/re-implement the network if networkOfferingId is changed.
2011-06-22 15:30:39 -07:00
Sheng Yang
0d750dacc2
bug 10311: Update create network_offering API
2011-06-22 15:30:39 -07:00
alena
4fcb406f2b
bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
...
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
Abhinandan Prateek
098f68d18e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:57:36 +05:30
Abhinandan Prateek
b6d2ec505e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:55:17 +05:30
Alex Huang
a254e90ab3
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 10:15:42 -07:00
Alex Huang
8459ae0beb
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 09:25:29 -07:00
Sheng Yang
be216bf975
bug 9154: Add redundancy capability to VirtualRouterElement
...
Also move redundancy checking to VirtualRouterElement
2011-06-20 14:47:22 -07:00
Abhinandan Prateek
79e38f0a1f
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:11:50 +05:30
Abhinandan Prateek
976aab77bb
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek
cf15573d06
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
Abhinandan Prateek
db29a56eaf
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
alena
cdaf4d1370
Fixed userResponse to return api/secretKeys
2011-06-17 15:38:06 -07:00
alena
614400f1e3
Fixed userResponse to return api/secretKeys
2011-06-17 15:40:35 -07:00
Kelven Yang
2a6307f272
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-16 16:22:11 -07:00
Sheng Yang
d5ff0dfa12
bug 9154: Update NetworkOfferingVO field
2011-06-16 14:29:34 -07:00
alena
cad16ed27f
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:49:40 -07:00
alena
57e4af6fd5
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:47:54 -07:00
Murali Reddy
00bd79ffee
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 19:01:03 +05:30
Murali Reddy
aa4f654929
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
Murali Reddy
9470c36644
bug 9419: implement api to reset resource count
...
pushing the changes from master
2011-06-16 18:43:16 +05:30
Murali Reddy
7ce2f0362f
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 17:38:20 +05:30
Kelven Yang
464d793754
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-15 18:37:38 -07:00
Sheng Yang
9466106c40
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-06-15 14:39:28 -07:00
kishan
ed6809c53d
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
9ce937558e
bug 8373: Added new API listEventTypes
2011-06-15 12:40:23 +05:30
kishan
22577363ca
bug 8373: Added new API listEventTypes
2011-06-15 12:40:23 +05:30
kishan
087ca5800e
bug 8992: Added volume ID for snapshot create starting and completed events
...
status 8992: resolved fixed
2011-06-15 12:40:23 +05:30
Sheng Yang
6f0edd9541
bug 9154: Add router fault state report
2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db
bug 9154: Add redundant state to DomainRouterResponse
2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Alex Huang
246c01b1ab
bug 9651: added tags to network response for ui
2011-06-14 11:11:24 -07:00
kishan
0629592caf
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-14 14:24:52 +05:30
anthony
e91e0b4174
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
kishan
39ded44bb6
bug 8373: Added new API listEventTypes
2011-06-13 19:11:48 +05:30
kishan
5a6664ab12
bug 8373: Added new API listEventTypes
2011-06-13 19:11:12 +05:30
nit
197dc6cf6e
registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB.
2011-06-13 19:04:27 +05:30
kishan
44ec82a28b
bug 8992: Added volume ID for snapshot create starting and completed events
...
status 8992: resolved fixed
2011-06-13 15:08:10 +05:30
Abhinandan Prateek
a4bdeffd61
bug 8962: changes for vms using virtual network
2011-06-13 14:56:00 +05:30
Murali Reddy
6310991bdc
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Murali Reddy
8d56093bdc
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 09:13:15 +05:30
Alex Huang
2688d61a1e
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:28 -07:00
Alex Huang
44d15d38b0
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:00 -07:00
nit
53cb1beff5
bug 9885 : registerIso - Improving the documentation for the parameter bootable,guestOsId. The later needs to be passed whenever the bootable parameter is true.
...
status 9885: resolved fixed
2011-06-11 14:26:27 +05:30
Kelven Yang
1e9efb2f86
bug 10214: merge fixes from 2.2.8/2.2.4
2011-06-10 14:29:01 -07:00
Kelven Yang
5f7f885c6a
bug 10214: merge fix from 2.2.4 branch
2011-06-10 12:08:22 -07:00
alena
53bdd625b8
bug 9579: allow domain name suffix update for existing networks.
...
Block update only in these cases:
* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
Conflicts:
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00
alena
b9325a28dd
bug 9579: allow domain name suffix update for existing networks.
...
Block update only in these cases:
* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
2011-06-09 16:10:24 -07:00
alena
f06818704b
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
Conflicts:
server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -07:00
alena
4fdb6186af
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
2011-06-09 13:32:53 -07:00
alena
8180e55469
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-09 10:05:28 -07:00
Abhinandan Prateek
8e4ec4ce09
bug 8962: moving vm from one account to other
2011-06-09 15:02:47 +05:30
alena
c57248aa4e
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-08 17:42:04 -07:00
alena
8948c3dd84
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
alena
f81ddc1f7b
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00
Frank
379cbc1d55
Store all parameters of url call to BaseCmd.fullUrlParams so there will be no
...
changes in future API because all parameters can be retrieve from API command itself
2011-06-08 10:25:15 -07:00
Alex Huang
65fc9bf847
bug 9651: added tags to network response for ui
2011-06-07 15:08:04 -07:00
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
alena
9125b79fe9
SecurityGroup is optional parameter in deployVm api call
2011-06-06 15:16:32 -07:00
alena
cec4e7235b
Allow to use securityGroupNames in deployVm command (the code transforms them to the ids)
2011-06-06 14:03:38 -07:00
kishan
b82fac179a
bug 9785: Added Vlan Assign Release events
...
status 9785: resolved fixed
2011-06-06 13:33:21 +05:30
alena
14cdc7de14
bug 9127: covered failure scenarios for agent LB.
...
status 9127: resolved fixed
The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
alena
635a1075de
bug 9127: intermediate checkin for agent load balancer
2011-06-02 21:47:54 -07:00
nit
0ebce2024b
bug 9729 : Permission change - allow root admin to use anybody's private template.
...
status 9729: resolved fixed
2011-06-02 15:14:32 +05:30
Alex Huang
bc67b2a973
bug 9651: update now also shows tags
2011-06-01 17:50:04 -07:00
Alex Huang
2ceadec326
bug 9651: tags parameter added to createnetwork
2011-06-01 17:36:14 -07:00
Alex Huang
2dbb8eb502
bug 9651: Make same VLAN work on two different nics
2011-06-01 17:07:44 -07:00
Edison Su
f7414b83aa
fix listtempalte and listiso, if there are multiple secondary storage
2011-06-01 16:01:51 -04:00
Jessica Wang
8c4e831cfb
bug 7553: cloudStack - server-side - make listRouters API return “serviceofferingname” and “serviceofferingid”.
2011-05-31 17:40:30 -07:00
Jessica Wang
a690d6169d
bug 7553: fix a server-side bug - listServiceOffering API didn't take in "issystem" parameter.
2011-05-31 14:44:22 -07:00
Abhinandan Prateek
b5aeb6fa0e
bug 9909: upload manager support multiple secondary storage
2011-05-31 12:00:40 +05:30
nit
714ab83fa1
bug 9596 : Make the iso extractable by default.
...
status 9596: resolved fixed
2011-05-27 16:19:26 +05:30
nit
77de414c81
bug 9596 : Make the template extractable by default. Allow only a ROOT Admin to change the flag once a template is submitted/created (Done through updateTemplatePermissions)
...
status 9596: resolved fixed
2011-05-27 15:44:35 +05:30
anthony
7a266b9321
bug 10046: size in diskofferingVO is in type now
...
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
nit
6256c88be6
bug 9724 : ListEvents API - add granularity till the hours, minutes and seconds level. The new format that startDate and endDate expect are yyyy-MM-dd HH:mm:ss. To honour backward compatibility these parameters can also be in the old format yyyy-MM-dd. I have added this to the parameter documentation. Also changed is the log message for throwing error in case of parsing exception.
...
status 9724: resolved fixed
2011-05-26 21:21:28 +05:30
alena
8a68e8148e
Fixed authorizeSecurityGroupIngressRule to work with "name" parameter
2011-05-25 18:59:30 -07:00
Edison Su
2a7d02b52c
bug 9787: add netapp integration back to 2.2
2011-05-25 14:32:48 -04:00
Edison Su
ec39238d6c
fix build
2011-05-25 14:32:47 -04:00
Frank
44a0fff2ec
baremetal able to enter maintenance mode, delete host
2011-05-25 12:13:19 -07:00
alena
37b036ac39
Made sshKeys api commands visible for api doc generation
2011-05-25 09:40:54 -07:00
alena
7fe3290d1b
Fixed security issue in api - regular user can operate only with his own resources (except for the template - when the template is public, it's available for everyone)
2011-05-24 18:45:13 -07:00
alena
55692fd7cf
bug 9127: intermediate checkin for agent load balancer
2011-05-24 18:45:00 -07:00
Murali Reddy
9f93fee7b6
Revert "bug 9785: events around VLAN assign/release"
...
pulling out as action event is required not the usage event
This reverts commit 7052e5451878a1595cb5b0d359a3a4482d9f9bc7.
2011-05-24 15:08:42 +05:30
Murali Reddy
8ad3fbf9d2
bug 9785: events around VLAN assign/release
...
adding usage event for new VLAN allocation for the account from the zone vlans
2011-05-24 13:55:22 +05:30
Alex Huang
0dfc44582b
bug 9651: Adding network tags
...
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Abhinandan Prateek
5ad41e09ae
bug 7553: Virtual Router service offering
2011-05-21 22:21:12 +05:30
alena
501c46bbd5
Fixed API doc generation process - was broken due to incorrect fix in ServiceOfferingResponse class
2011-05-20 14:37:10 -07:00
anthony
52fdb4f2eb
bug 3224:
...
multiple secondary storage, copying template between zone works
forgot a new file
2011-05-19 19:10:09 -07:00
anthony
99be3718cf
bug 3224:
...
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
Abhinandan Prateek
770e317218
bug 7553: Virtual Router service offering
2011-05-19 19:18:33 +05:30
Murali Reddy
5769fde46b
bug 7194:New API for adding range of public & private ports in port forwarding rule addition
...
adding support for port ranges in port forwarding rules.
2011-05-19 18:32:09 +05:30
anthony
6672db47c8
don't print some fields in StartConsoleProxyAgentHttpHandlerCommand
2011-05-17 17:12:22 -07:00
Alex Huang
0ba6091ca7
better way to log the agent request and response. Introduced the idea of via agents in the request header
2011-05-17 16:02:44 -07:00
alena
c2afcdec52
bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
...
status 9873: resolved fixed
Following fixes were made as a part of the checkin:
* When deploy user vm and SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.
Conflicts:
api/src/com/cloud/api/commands/AuthorizeSecurityGroupIngressCmd.java
api/src/com/cloud/api/commands/DeleteSecurityGroupCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-17 15:08:13 -07:00
anthony
384f30101e
fixed template download
2011-05-17 14:01:12 -07:00
alena
b5aabfab75
bug 9898: fixed attachIso by domain admin - no need to make permission check when iso is public
...
status 9898: resolved fixed
2011-05-17 11:11:13 -07:00
Murali Reddy
d79c6225df
Bug 8115: - Source IP filtering in Virtual Router
...
correcting typo
2011-05-17 19:46:16 +05:30
Alex Huang
ea9703997b
proxy agent
2011-05-17 07:12:58 -07:00
anthony
9c4964bc1b
fixed merge
2011-05-16 16:54:00 -07:00
anthony
ba6b2ca670
initial checkin for multiple secondary storage
2011-05-16 16:37:15 -07:00
Frank
01dda95bdc
Clean up unused baremetal stuff
2011-05-16 16:05:42 -07:00
Alex Huang
c3c15b8435
Added some annotations for logging commands
2011-05-16 10:55:18 -07:00
Alex Huang
ab49c70add
Added some annotations for logging commands
2011-05-16 10:55:18 -07:00
Abhinandan Prateek
542e3d6f53
bug 6451: host username/password should be changable through API
...
Propogate update password to other managment server nodes in a cluster.
2011-05-16 15:57:35 +05:30
Abhinandan Prateek
d161337710
bug 6451: host username/password should be changable through API
...
Password is queued, on error next password is used.
2011-05-16 12:08:05 +05:30
Abhinandan Prateek
f73ed92090
bug 8115: Source IP filtering in Virtual Router
...
We don't want to send an empty cidr param
2011-05-13 15:41:02 +05:30
kishan
d456f89095
bug 8866: Direct Network Usage, TrafficSentinel support added, work in progress
2011-05-12 19:43:47 +05:30
Abhinandan Prateek
d752a94838
bug 8115: Source IP filtering in Virtual Router
...
Passing the additional source cidrs paramter to the xapi.
2011-05-12 13:37:43 +05:30
keshav
435e178eef
Added a new service to enabled zone-wide, shared source NAT rules.
2011-05-11 15:35:26 -07:00
nit
d91999533b
bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific).
2011-05-10 12:26:00 +05:30
alena
753cafa472
bug 9782: hardcoded default page size to be 500 for listConfigurations
...
status 9782: resolved fixed
2011-05-09 09:36:45 -07:00
Abhinandan Prateek
2984b0607f
bug 8115: source ip filtering
...
Created a table for source cidrs list.
Created necessary Daos and VOs.
Updated PortForwardingRulesDao to persist/update non null list of cidrs.
For deletion depending on ON DELETE CASCADE.
2011-05-09 17:41:50 +05:30
alena
2df6b0a6e1
bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses.
2011-05-06 16:48:27 -07:00
anthony
10c4c14ad5
swift integration checkin
2011-05-05 13:55:29 -07:00
Frank
3b0fb655a9
New hypervisor type
2011-05-04 18:58:57 -07:00
Jessica Wang
48765a8ae9
bug 9534: CloudStack API - extend listServiceOfferings API to return limitCpuUse.
2011-05-04 15:27:07 -07:00
prachi
9aba817256
Bug 9652: Need to provide a way to specify deployment plan during VM start
...
Changes:
- Added a new parameter to pass in deployment plan during vm start
- If a hostId is passed in to the DeployVMCmd (only allowed for a root admin to test a host), a plan is passed in to start the vm in that host's datacenter, pod and cluster and on that host
- If a plan is passed in during start, but if the VM's root volume is READY, then plan of the root volume takes precedence. In that case the plan passed in is not used.
2011-05-04 15:02:52 -07:00
Chiradeep Vittal
b42ebf4872
Build fixes after first pass at merge
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
alena
9ef6f9ff54
bug 9663: do account permission check against the volume when create snapshot
...
status 9663: resolved fixed
Conflicts:
api/src/com/cloud/storage/snapshot/SnapshotService.java
2011-05-03 11:38:01 -07:00
Abhinandan Prateek
db916401a0
bug 6451: XenServer username/password should be changable through API
...
status 6451: resolved fixed
2011-05-03 09:45:49 +05:30
alena
b7e4ec1749
bug 9564: 1) For all list commands set pageSize() to default.page.size if not specified 2) When pageSize is specified in the request, and it's more than default.page.size - throw an exception
...
status 9564: resolved fixed
2011-04-29 16:57:38 -07:00
prachi
b2b01bfcd2
Bug 8830 - Return parent template ID from templates created off of a snapshot
...
Changes:
- Added a new column `source_template_id` to vm_template table to carry the parent/source template ID from which the tempalte was created
- Added the column in db upgrade 224 to 225
- Changed code to save the source_template_id if there is one associated to the volume/ volume from which the snapshot was taken
- API response returns the sourcetemplateid field, if set, in all template usecases.
2011-04-29 15:40:59 -07:00
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
nit
f5cc308e77
bug 7140: Add MAC address in response list of LlistVirtualMachines API.
...
status 7140: resolved fixed
2011-04-29 18:41:46 +05:30
prachi
25fd7cd999
Merging changes from zonesfeature branch: Adding dhcp_provider parameter to UpdateZoneCmd
2011-04-28 23:28:14 -07:00
prachi
86b386e8c0
Merging changes from zonesfeature branch for Bug 8026 - discern proper cluster/pod/zone for added host (and refactor AgentManagerImpl)
...
- CreateZone API creates a zoneToken, inserts in DB and returns it in the
response
- UpdateZone API takes in 'details' map that is loaded to data_center_details
2011-04-28 23:08:58 -07:00
will
633d024b7c
- Merge all CloudZones Registration feature into master
2011-04-28 16:05:36 -07:00
alena
f8742adcd5
bug 9621: set addressFormat during NicProfile creation
...
status 9621: resolved fixed
2011-04-27 23:19:43 -07:00
Frank
6f322474c1
network devices APIs
2011-04-27 14:04:38 -07:00
Alex Huang
cc8bdf354b
storage stats can be such that it doesn't work if one storage pool cannot be reached.
2011-04-27 13:56:52 -07:00
Murali Reddy
c12ccbd06f
Bug 9534 : implement CPU cap
...
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
2011-04-27 13:54:45 +05:30
Abhinandan Prateek
0fc005f20a
bug 6451: XenServer username/password should be changable through API
2011-04-27 12:08:02 +05:30
Alex Huang
9909371eaa
bug 9445: Signal alert for the host if a primary storage pool was unavailable on that host
2011-04-26 15:09:36 -07:00
alena
4290abb57c
bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
...
status 9578: resolved fixed
2011-04-26 14:57:40 -07:00
prachi
18b773650f
Bug 9447 - ModifySshKeyCommand contents are logged...
...
- Local fix to not log the content for ModifySshKeyCommand.
- For commands that do not want to log the parameters, added the facility to indicate this.
- For such commands, we remove the parameters from the log.
2011-04-25 14:22:50 -07:00
alena
4953461e57
bug 8809: listHypervisors api - when zoneId=-1 is specified, only hypervisors availble in all zones are being returned
2011-04-25 10:39:51 -07:00
prachi
b84a7477f0
Bug 9539 - cpu.overprovisioning.factor does not work
...
Changes:
- Changed host allocators/planner to use cpu.overprovisioning.factor
- Removed following: while adding a new host, we were setting the total_cpu in op_host_capacity to be actual_cpu * cpu.overprovisioning.factor. Now we set it to actual_cpu.
- ListCapacities response now calculates the total CPU as actual * cpu.overprovisioning.factor (This change does not add anything new - listCapacities was pulling total CPU from op_host_capacity DB earlier which had the cpu.overprovisioning.factor applied already. Now we need to apply it over the DB entry.)
- HostResponse has a new field: 'cpuWithOverprovisioning' that returns the cpu after applying the cpu.overprovisioning.factor
- Db Upgrade 222 to 224 now updates the total_cpu in op_host_capacity to be the actual_cpu for each Routing host.
2011-04-22 18:09:31 -07:00
Kelven Yang
160b2e1114
Finalize custom certficate support. hook with UI
2011-04-22 13:45:09 -07:00
alena
41e5e38fef
bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
...
status 9336: resolved fixed
Following changes were made:
* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
prachi
09b4b06b63
Bug 9447 - ModifySshKeyCommand contents are logged...
...
Since private and public keys are logged, this is a Security concern
Changes: Added capability to 'Command' instances to support excluding certain fields from getting logged using GSON @Expose annotation.
2011-04-22 10:43:26 -07:00
Kelven Yang
e69774e13a
Add console proxy management state, support certificate upload, all done except UI
2011-04-21 18:46:37 -07:00
alena
1a6d78eae4
Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions)
2011-04-21 16:26:53 -07:00
alena
c844655825
bug 9488: throw InsufficientVirtualNetworkCapcityException when fail to allocate guest vnet as a part of network implement() call
...
status 9488: resolved fixed
2011-04-21 13:59:06 -07:00
alena
f881d394e2
bug 9415: deleteHost - cleanup vms running on the host to be removed
...
status 9415: resolved fixed
2011-04-20 15:50:10 -07:00
Abhinandan Prateek
efa0417881
bug 5242: adding a host does not return useful error
...
status 5242: closed fixed
2011-04-15 17:28:46 +05:30
alena
f830b8cd70
Removed trailing spaces from Api doc for createPortForwardingRule command
2011-04-14 16:14:39 -07:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
Alex Huang
6936a666fd
removed some references to name
2011-04-14 03:54:34 -07:00
prachi
88c0126878
Bug 9187: modify userdata with update vm
...
Changes:
- UpdateVMCmd is changed to take in userData as a parameter
-The userData is updated in the DB if it is non-null.
2011-04-13 19:22:18 -07:00
prachi
b1700af146
Bug 9387: Recreate system vms if template id changed....
...
Changes:
While starting a System VM:
- We check, incase the ROOT volume is READY, if the templateID of the volume matches the SystemVM's template.
- If it does not match, we update the volumes' templateId and ask deployment planner to reassign a pool to this volume even if it is READY.
In general:
- If a root volume is READY, we remove its entry from the deploydestination before calling storagemanager :: prepare()
- StorageManager creates a volume if a pool is assigned to it in deploydestination passed to it.
- If a volume has no pool assigned to it in deploydestination, it means the volume is ready and has a pool already allocated to it.
2011-04-13 13:47:07 -07:00
alena
8abda2fdd0
Changed description for Destroyed volume state.
2011-04-13 13:01:31 -07:00
alena
4d8df029d3
bug 8245: mark storage pool status as Removed before performing actual cleanup
...
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
alena
0da82b4062
bug 9353: API doc update for updateTemplatePermissions and createTemplate calls
...
status 9353: resolved fixed
2011-04-11 19:15:09 -07:00
alena
acaab55c3e
bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
...
status 9391: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
alena
52bf157387
bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
...
status 9398: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
Frank
5645137f9c
reslove conflicts api/src/com/cloud/api/ApiConstants.java
2011-04-11 14:26:48 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
prachi
c3d2bab81b
Some more changes for Bug 8932 - add md5 sum to list templates call:
...
Also changed 'RegisterTemplate' to take in a new optional parameter 'checksum'.
The value set to it is stored as-is in the DB in vm_template table, 'checksum' column.
2011-04-11 13:17:23 -07:00
Frank
0810831fd2
Bug 8208 - bare metal provisioning
...
set useexternalDHCP to false when creating pod
2011-04-11 10:41:45 -07:00
nit
debe236a8d
bug 8710: CONTD....Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-04-11 19:40:37 +05:30
prachi
77ac511225
Bug 8932 - add md5 sum to list templates call
...
Modified TemplateResponse to contain a new field 'checksum' of the template. The value is pulled from the vm_template table, 'checksum' column.
2011-04-08 15:01:12 -07:00
prachi
191d689912
Bug 9045: No 'Starting job for VM.MIGRATE' & 'Successfully completed VM.MIGRATE' events shown for VM manual migration
...
Changes:
- Added the required 'ActionEvent' annotation to the API, so that the events get added.
2011-04-05 16:28:01 -07:00
alena
0fdcba3f4f
bug 8855: introduced search by zoneId to listLoadBalancerRules api. Also added "zoneId" parameter to the response
...
status 8855: resolved fixed
2011-04-05 14:38:47 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Frank
5819e8fee0
Bug 8208 - bare metal provisioning
...
Work with PING
2011-04-04 19:19:42 -07:00
prachi
204aa86686
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:39:27 -07:00
prachi
53f8ebf6f0
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
Kelven Yang
1692caabe8
Make sure hooking of answer command callback be called for both sync/Async commands
2011-04-04 14:46:19 -07:00
alena
af4459f24f
Fixed list* api commands.
2011-04-04 11:36:49 -07:00
Frank
ab643851c5
Bug 8208 - bare metal provisioning
...
support dhcpd as external dhcp server
2011-04-02 19:42:27 -07:00
alena
2aeacd5a4c
bug 3179: added "count" parameter to the response to all List* api commands
2011-04-01 19:29:08 -07:00
alena
bf588166ed
bug 7704: network limits cleanup.
...
status 7704: resolved fixed
For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings
For domainRouter/SSVM/CPVM:
* get info from the network offering
Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
Kelven Yang
ea95ac1808
bug 8713 : finalize the implementation of supporting system vm pooling
2011-03-31 17:14:09 -07:00
alena
6d7f3da46a
For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks.
2011-03-30 14:53:04 -07:00
alena
bb31bc779f
For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks.
2011-03-30 14:49:15 -07:00
Alex Huang
bf13d2cbec
added missing changes from schema changes previously
2011-03-30 13:23:56 -07:00
Alex Huang
971915a26a
added missing changes from schema changes previously
2011-03-30 12:17:20 -07:00
Prasanna Santhanam
a72427444b
including a new Simulator hypervisor type
2011-03-30 19:39:32 +05:30
Murali Reddy
1b251a5fc8
Bug 4061: support for Microsoft Hyper-V changes- part 1
2011-03-30 18:48:51 +05:30
Prasanna Santhanam
5a154e5007
new hypervisor type for simulator
2011-03-30 14:00:50 +05:30
alena
efd4cfa297
bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
...
status 9201: resolved fixed
2011-03-29 19:26:20 -07:00
alena
aab78874c7
bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
...
status 9201: resolved fixed
2011-03-29 19:21:25 -07:00
alena
f04f2ab10c
bug 9192: More improvements to listVm performance - cache dataCenter/serviceOffering/Network/Template/Iso information on Api level
...
status 9192: resolved fixed
2011-03-29 19:18:30 -07:00
alena
2af46789cb
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 19:18:30 -07:00
alena
9f3f99f27f
bug 9192: More improvements to listVm performance - cache dataCenter/serviceOffering/Network/Template/Iso information on Api level
...
status 9192: resolved fixed
2011-03-29 18:42:44 -07:00
alena
46a80a599a
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 18:42:44 -07:00
anthony
0ed810824c
bug 9189:
...
add new command
2011-03-29 10:55:24 -07:00
anthony
4ae19b76ab
bug 9189:
...
add new command
2011-03-29 10:52:11 -07:00
alena
7436654f4f
Use correct response type for the user response in list/create/update/enable/disableAccount commands.
2011-03-28 18:28:09 -07:00
alena
65a083b1db
bug 8831: no need for "isdedicatedtodomain" and "dedicateddomainid" parameters. If 1) network is private, return account/domainId 2)If network is shared for specific domain, return domainId only 3) If network is shared in zone, don't return account/domainId
...
status 8831: resolved fixed
2011-03-28 16:54:09 -07:00
alena
d3357c6691
Set network limit to be 0 by default for Control/Management/Storage/Public networks (these networks are used by SSVM/ConsoleProxy/domR)
2011-03-28 15:48:11 -07:00
alena
cc79f75197
createIpForwardingRule - revoke the rule when it fails to apply on the backend - the way it's done for portForwarding rules
2011-03-28 12:27:00 -07:00
alena
8c61e10c08
bug 9158: introduced new parameter "storageId" to listVirtualMachines api.
...
status 9158: resolved fixed
1) Works for admins only
2) When specified, list only vms that have volumes on this storage
2011-03-25 18:26:59 -07:00
nit
ded1184548
bug 8710: Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-03-25 18:04:09 -07:00
alena
bb895a7b75
bug 8103: don't allow to remove host if it has Running/Stopping/Starting vms
...
status 8103: resolved fixed
2011-03-25 17:29:54 -07:00
alena
1932652125
bug 5912: Added events and logging for securityGroup create/delete
...
status 5912: resolved fixed
2011-03-25 15:23:18 -07:00
Alex Huang
9d158dc060
Removed the async create status for volume now that our customers don't use it
2011-03-24 20:04:23 -07:00
prachi
923f562aa8
Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
...
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
Kelven Yang
1c9196f9af
add vncPassword on hypervisor back
2011-03-23 16:18:22 -07:00
alena
8de3bacd2b
bug 9026: added ability to turn off apiCommand/commandParameter for docGeneration
...
status 9026: resolved fixed
1) Don't expose following commands in doc:
* registerSSHKeyPair
* createSSHKeyPair
* deleteSSHKeyPair
* listSSHKeyPairs
2) Don't show "sshKeyPairName" parameter for deployVm command
2011-03-23 12:56:58 -07:00
alena
7dce8412e4
Fixed API xml doc generation
2011-03-23 12:12:29 -07:00
alena
f95d845360
bug 9053: modified updateUser api (mentioned that api and secret keys must be specified together.
2011-03-23 12:12:29 -07:00
alena
f84c81a47d
bug 8533: all IP Address fields in DB have char(40) type
...
status 8533: resolved fixed
2011-03-22 14:06:14 -07:00
alena
718386a2b6
bug 8862: added updateNetwork api command. Can update name/displayText only
2011-03-22 11:26:56 -07:00
alena
e9a10c53dc
bug 8831: added 2 new parameters to create/listNetworks api: "isdedicatedtodomain" and "dedicateddomainid"
2011-03-22 10:17:08 -07:00
alena
7c1a6e4884
bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left
2011-03-21 18:17:59 -07:00
Frank
b4e18b7fbe
Bug 8208 - bare metal provisioning
...
use hostTags in addHostCmd
2011-03-18 18:04:34 -07:00
alena
a27c4881ea
bug 7424: 0 value for network.throttling.rate global config param indicates that network throttling is disabled
...
status 7424: resolved fixed
2011-03-18 15:23:03 -07:00
Kelven Yang
65d4cc98be
Allow template re-deployment once template is deleted from hypervisor and CloudStack still holds out-dated status
2011-03-17 17:59:51 -07:00
alena
96e83fe97f
bug 8146: Elastic IP support in Basic zone.
...
Following was done as a part of checkin:
1) NetworkOffering/Network:
* add PF service support for default Guest network offering.
* Add one more additional network - Public.
* Allow to enable external firewall in Basic zone.
2) Don't allow to deployVm in Public Network.
3) Allow to add vlan ip ranges to Public networks in Basic zone.
4) Associate IP - allow to associate with Direct vms.
5) Allow to create PF/Static nat rules. Rules are being sent to External Firewall Rule only.
6) Add PF support to External Firewall element.
2011-03-17 17:19:36 -07:00
will
ae549ed4d1
bug 8208: Added first addHost dialog to take into account baremetal requirements in the resource page.
...
- Standardized the addHost optional parameters for baremetal.
2011-03-17 16:29:31 -07:00
Chiradeep Vittal
8d791777db
Introduce zone (datacenter) details
2011-03-15 15:44:36 -07:00
alena
d2f92f1c76
bug 8973: Create Virtual Guest network as a part of deployVm if corresponding networkOffering has availability=Required and no networkIds are specified
...
status 8973: resolved fixed
2011-03-15 15:06:52 -07:00
alena
d3f04b2b38
bug 8945: introduced "default.page.limit" config param (default value is 500). Used for pagination in API list* commands.
...
status 8945: resolved fixed
2011-03-15 15:06:52 -07:00
nit
f88fb1e505
bug 8887 : Stats Calculation Improvement - Storage stats wont update DB anymore and would be kept "in memory" just like other stats. For the listCapacityCmd which consumes it (sec. storage used and primary storage used) this would be constructed using the in memory maps rather than DB which wont have sec storage and primary storage used in the DB anymore.
2011-03-14 18:45:00 -07:00
Frank
ffb900fc86
Bug 8208 - bare metal provisioning
...
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -07:00
alena
bf1aae8413
bug 8730: perform permission check when listSshKeyPair
...
status 8730: resolved fixed
2011-03-14 16:03:25 -07:00
alena
c32198838f
bug 8724: can create sshKeyPair in behalf of other users now
...
status 8724: resolved fixed
2011-03-14 15:37:50 -07:00
prachi
402f275a9f
Change for Bug 3316 - manual live migration
...
The MigrateVMCmd response should be in all small case.
2011-03-11 17:49:54 -08:00
prachi
ed9a11c6b6
API changes for Bug 3316 - Manual live migration of Virtual Machines
...
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer will expose new API:
Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService will expose a new API: UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)
------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
Frank
e872996084
Bug 8208 - bare metal provisioning
...
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00
Frank
4324efea26
Bug 8208 - bare metal provisioning
...
able to get IP from external DHCP server
2011-03-11 14:09:23 -08:00
alena
346ca43714
bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count
...
Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion
2011-03-10 18:03:06 -08:00
alena
df3704e360
bug 8861: introduced optional zoneId parameter to listNetworkOfferings command
...
status 8861: resolved fixed
2011-03-09 18:05:53 -08:00
alena
b6ae35728e
bug 8816: 1) return linkLocal instead of private ip/netmask/mac in listRouters 2) return linkLocal/private ip/netmask/mac in listSystemVms response
2011-03-09 16:47:46 -08:00
alena
a0d79bda91
bug 8931: get account information for Action even from IP object, not from the Caller
...
status 8931: resolved fixed
2011-03-09 13:32:36 -08:00
alena
0c04007e04
bug 8734: search by keyword in listPublicIpAddresses command
...
status 8734: resolved fixed
2011-03-09 13:32:36 -08:00
alena
5129df106b
bug 8847: createUser api - "account" parameter is required now
...
status 8847: resolved fixed
2011-03-09 10:21:50 -08:00
alena
e2de70f363
bug 8884: deleteUser - id is required parameter
...
status 8884: resolved fixed
2011-03-09 09:44:50 -08:00
alena
e25fbe3a89
bug 8885: enableAccount - account/domainID are required parameters now
...
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
Frank
469280866d
Bug 8208 - bare metal provisioning
...
able to add external DHCP server
2011-03-08 17:29:33 -08:00
anthony
5b1a421e62
bug 8712: prepare from snapshot db migration
2011-03-08 17:10:27 -08:00
Frank
6c819c1491
Merge branch 'bareMetal'
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/offering/ServiceOffering.java
api/src/com/cloud/vm/UserVmService.java
client/tomcatconf/components.xml.in
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/service/ServiceOfferingVO.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
alena
5842392ec1
bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
...
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
alena
3db6d9cad4
Fixed Api doc for create/listNetworks
2011-03-04 15:24:54 -08:00
kishan
a61a92b0fe
bug 8675: Added action events for Domain commands
...
status 8675: resolved fixed
2011-03-04 16:59:19 +05:30
kishan
db7a0ddb75
bug 8672: Added action events for User commands
...
status 8672: resolved fixed
2011-03-04 16:45:49 +05:30
alena
715a929e91
Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone
2011-03-03 16:13:00 -08:00
alena
b3ff533244
bug 8795: start domR after corresponding network is shutdown - implement network before starting the domR
...
status 8795: resolved fixed
Conflicts:
api/src/com/cloud/deploy/DeployDestination.java
2011-03-02 13:46:57 -08:00
Frank
7fa053370e
Bug 8208 - bare metal provisioning
...
Add bare metal planner
2011-03-01 17:47:37 -08:00
Edison Su
53eb46dc2a
Add local storage support for kvm
2011-03-01 19:51:43 -05:00
Frank
ec7a6e6863
Bug 8208 - bare metal provisioning
...
Add LinMin username, password, apid fields in AddPxeServerCmd
2011-03-01 14:55:22 -08:00
Edison Su
a99029750f
fix NPE when failed to start VM
2011-03-01 16:38:18 -05:00
Frank
35b7c26689
Bug 8208 - bare metal provisioning
...
able to start, stop, reboot, destroy VM
2011-03-01 11:40:40 -08:00
kishan
65eaf27c5c
bug 8670, 8672: Added action events for account/user actions
...
status 8670: resolved fixed
2011-03-01 21:19:34 +05:30
prachi
889827b63a
Bug 7845 - Productize DeploymentPlanner
...
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages
Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
Edison Su
8240ae7e8c
fix migration
2011-02-28 12:16:40 -05:00
Edison Su
2705adb3b1
security group is per bridge
2011-02-28 12:16:40 -05:00
alena
62b3d548d6
bug 8753: never release public Ip address without ensuring that all corresponding resources (PF/StaticNat/Lb rules) are cleaned up.
...
Fixed couple of other problems along:
* when expunge PF/Static nat rules as a part of vmExpunge/IpRelease process, first mark all rules as Revoke, and then send commands to the backend. Group commands by Ip address.
Before we used to do Revoke/Send per rule basis.
* When release source nat rule, make sure that corresponding vpn (if exists) is being expunged.
2011-02-28 09:21:05 -08:00
alena
ec76406942
bug 8737: set entityOwnerId for all api commands including non-Async ones
...
status 8737: resolved fixed
2011-02-28 09:21:05 -08:00
anthony
1970161844
bug 8714: support paraleel recursive snapshot
...
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume
status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
Frank
a9728998ff
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
abhishek
bae62f844d
bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion
2011-02-25 12:00:27 -08:00
abhishek
8062d8d273
bug 8725: making disk offering id a reqd param; as we create vol from either 1. disk offering 2. snapshot (which takes in a snapshot id + private disk offering id)
2011-02-25 08:41:03 -08:00
kishan
0b9fa1cc8a
bug 5747: Added action events for system Vms commands
...
status 5747: resolved fixed
2011-02-25 16:29:16 +05:30
kishan
44d60576f9
bug 8606: changed network offering event names. Use Assign/remove instead of create/delete
...
status 8606: resolved fixed
2011-02-25 15:26:55 +05:30
Frank
5035778b1a
Bug 8208 - bare metal provisioning
...
StartCommand cloud reach to BareMetalResrouce
2011-02-24 19:22:34 -08:00
Edison Su
8a40371288
refactor security group in advanced network mode: use direct tagged network instead of public network
2011-02-24 19:58:18 -05:00
alena
039b11b9ba
1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
...
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 15:36:01 -08:00
Frank
f82dec999d
Bug 8208 - bare metal provisioning
...
complete createVirtualMachine method
2011-02-24 14:07:10 -08:00
Edison Su
2e91b702fc
fix createzone parameters
2011-02-24 15:35:35 -05:00
Edison Su
cf6d430f66
return security group status per zone
2011-02-24 14:16:35 -05:00
alena
b0aabc1b20
bug 8682: implemented search by id in listPortForwardingRules
...
status 8682: resolved fixed
2011-02-24 09:55:03 -08:00
alena
1f1e393b03
Release vnet during network shutdown for guest networks only
2011-02-23 18:50:23 -08:00
alena
6424042cac
bug 8659: deleteNetwork is async now
...
status 8659: resolved fixed
2011-02-23 18:01:33 -08:00
Frank
828f8c9493
Bug 8208 - bare metal provisioning
...
Able to add cluster and host
2011-02-23 17:20:43 -08:00
Edison Su
0a1af426df
remove test code
2011-02-23 16:01:00 -05:00
Edison Su
2f284d92b5
fix typo
2011-02-23 15:58:24 -05:00
Edison Su
adbd20ca5a
bug 8655: add security group for direct tagged network
2011-02-23 15:53:14 -05:00
keshav
ed465500a2
Added capability to keep track of what IPs a load balancing rule can be made on.
2011-02-23 11:44:14 -08:00
Frank
b313b7c852
Add bare metal stuff to addHost command
...
add ipmi.py
2011-02-22 19:07:07 -08:00
Alex Huang
c22b37e402
latest work on db migration
2011-02-22 18:23:05 -08:00
abhishek
1afc62e98f
bug 8216: creating a vol from a snapshot will take in a priv disk offering id, which is used only for the tags; size is still taken from the original vol which the snapshot is based off of
2011-02-22 12:06:00 -08:00
nit
d8e5fe7f12
bug 8664: Enforcing maximum pagesize limit to 500 to avoid DOS attack against the server.
2011-02-23 01:05:06 +05:30
abhishek
25f27674ce
bug 8641: adding a volume state in addition to volume status
...
status 8641: resolved fixed
2011-02-22 09:55:08 -08:00
alena
e4765fb32b
bug 6969: return jobId/jobStatus for IpAddress and SecurityGroup as ids for these objects were introduced in 2.2.x
2011-02-22 09:09:55 -08:00
nit
b5152e27ec
bug 8664: Enforcing maximum pagesize limit to 500 to avoid DOS attack against the server.
2011-02-22 19:25:53 +05:30
alena
15f59e6f58
bug 8637: throw ResourceAllocationException when resource limit is exceeded.
...
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
Kelven Yang
8695e7250c
Update template and storage manager to allow hypervisor based command delegation
2011-02-18 11:37:50 -08:00
alena
cd90bc7166
bug 8412: allow to delete network when it has dhcp/domRs
...
status 8412: resolved fixed
1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
alena
504ab73ae5
Sync on network instead of ipAddressId when do create PF/StaticNat/LB rules
2011-02-17 16:13:28 -08:00
abhishek
2275d8d833
bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state
2011-02-17 15:17:45 -08:00
alena
8978839d96
bug 8617: Disable firewall/lb/vpn service for Direct network offering, so when user tries to create PF/LB rule for direct IP address, it fails.
...
status 8617: resolved fixed
2011-02-17 14:31:05 -08:00
Kelven Yang
77ac07430e
Make Command be able to carry hypervisor or environment related info to help support dispatching same command towards multiple targets
2011-02-16 16:44:33 -08:00
Jessica Wang
eb7d531456
bug 8577: Make listAlerts API take in id parameter.
2011-02-16 15:35:34 -08:00
Jessica Wang
35397d7176
bug 8577: Make listEvents API take in id parameter.
2011-02-16 15:20:05 -08:00
Jessica Wang
c475aacc08
bug 8578: make listRouters API take in id parameter.
2011-02-16 15:06:11 -08:00
alena
1c97126f8c
Removed unused imports
2011-02-16 10:51:53 -08:00
alena
e573e66074
bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
...
status 8502: resolved fixed
2011-02-16 10:51:53 -08:00
alena
c11a9c18e2
bug 8381: disassociateIpAddress is async now
2011-02-15 12:24:18 -08:00
Kelven Yang
d9d128ee9d
Incremental refactoring - retire host_master table
2011-02-15 10:56:04 -08:00
alena
d80caf24fd
bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
...
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
alena
08c377ea55
Access static fields in static way.
2011-02-15 10:45:28 -08:00
Alex Huang
7dd54f079b
started vms with these latest
2011-02-11 17:03:04 -08:00
Alex Huang
b0f0efa29b
more changes to make it work better in a cluster
2011-02-11 17:03:04 -08:00
abhishek
5d1d9ec387
bug 8263: allowing a private zone to be made public
2011-02-11 11:35:07 -08:00
nit
e901ccfe07
bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed
2011-02-11 18:44:26 +05:30
alena
4054d7e2b5
Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables
2011-02-09 19:35:03 -08:00
alena
7b13c89956
bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
...
status 8493: resolved fixed
Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
Edison Su
08285af33f
fix capacity caclulation issue after migration
2011-02-09 13:33:42 -05:00
nit
82506ff8d0
bug 8493: Check for resource limit for manual snapshots.
2011-02-09 19:01:39 +05:30
nit
67a92e3f1d
bug 8493: Check for resource limit for copy templates/ISO between zones.
2011-02-09 15:49:33 +05:30
nit
3bd3dacf9e
bug 8493: Check for resource limit for create template from volume/snapshot.
2011-02-09 15:49:32 +05:30
alena
ab6ea4d6ef
bug 8491: remove corresponding record from resource_limits table when limit is updated with -1 value
...
status 8491: resolved fixed
2011-02-08 19:08:35 -08:00
abhishek
2d3b6cc310
changing the disk offering response object, to always return the disk size in gb
2011-02-08 15:43:52 -08:00
Alex Huang
b92fc074aa
added forced paramter to stop apis
2011-02-08 15:38:26 -08:00
Chiradeep Vittal
711c4eeaae
bug 8209,8370,8459: cleanup scripting
2011-02-08 12:10:07 -08:00
abhishek
73eb597ba6
bug 8335: adding the security group objects to the list virtual machines response
2011-02-08 11:48:39 -08:00
will
22d15d2624
bug 8335: Fixed UI to make use of the change from securitygrouplist to securitygroupids
2011-02-08 10:40:55 -08:00
alena
44607a8960
bug 8473: fixed NPE in listUserVms - do "includingRemoved" when search for vm's host.
...
status 9473: resolved fixed
2011-02-08 09:43:03 -08:00
abhishek
cb5b1e60f3
bug 8439: changes in service/disk offerings
...
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena
0082b8435a
Fixed account security checks for domain admins in following commands:
...
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang
c6fe6f2f45
Removed all the stats command/answer from debug logging
2011-02-07 12:50:22 -08:00
Alex Huang
bee6953e09
ha done? needs testing
2011-02-07 10:58:25 -08:00
alena
e299402243
Perform security check for deleteNetwork inside the management server method instead of api command itself
2011-02-07 10:02:10 -08:00
anthony
e14b8311cc
bug 7563: create snapshot in async create method
...
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
Alex Huang
86e51eb536
Made changes to the exceptions thrown by NetworkManagerImpl
2011-02-04 11:56:20 -08:00
Alex Huang
0105c03a27
initial HA work
2011-02-04 11:51:14 -08:00
alena
84fef40ce2
Refactored "allocate vlan to account" code
2011-02-04 09:54:16 -08:00
kishan
56f3343911
Added action events for VM, volume, Ip and snapshot actions
2011-02-04 19:59:41 +05:30
nit
5469916060
bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
...
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
kishan
a9fd67cab6
bug 8362: Included VmId in event description
...
status 8362: resolved fixed
2011-02-04 11:52:35 +05:30
alena
6f55c4dd7e
bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
...
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Edison Su
fd0752e995
bug 5811, 8261: When delete host, send a shutdownCommand to kvm agent, then kvm agent will not automatically reconnect to mgt server
...
status 5811: resolved fixed
status 8261: resolved fixed
2011-02-03 13:40:07 -05:00
keshav
66cb75ded3
Changed external network provider names to be model specific.
2011-02-03 11:55:39 -08:00
abhishek
2a38a58be0
bug 8335: changing the deployVm flow to take in a list of security group ids instead of a list of security group names
2011-02-03 11:37:49 -08:00
kishan
5bedf10cbf
Added action events for Ip and net rules
2011-02-03 18:13:23 +05:30
anthony
b226861783
bug 8194: add new storage pool type PreSetup,
...
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
server: "ip of storage "
path:"name of the SR"
2011-02-02 19:33:08 -08:00
alena
848cff6318
Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile)
2011-02-02 15:55:04 -08:00
abhishek
24acc66124
bug 8331: changing the revoke logic to work by taking in the entity id. All other params are obsolete at this point
...
status 8331: resolved fixed
2011-02-02 13:49:56 -08:00
alena
9aa9c34029
bug 8340: return networkId for private/public/guest networks in listRouters response. Implemented search by networkId
...
status 8340: resolved fixed
2011-02-02 13:25:28 -08:00
alena
5d2cc07768
bug 8201: accept "any" value for protocol when open port range for staticNat rule
...
status 8201: resolved fixed
2011-02-02 12:57:14 -08:00
Murali Reddy
86398a8546
bug 8290: Instance Limit set at account level however was able to create more vms than limit
...
adding additional exception handling
2011-02-02 02:40:26 -08:00
alena
d4b1831bf4
Added "status" field to listPublicIpAddresses response
2011-02-01 14:20:45 -08:00
alena
6544820e74
Moved networkRestart to the NetworkManager as it's up to the manager (not network elements) to decide what to do on restart (IpAssoc/ruleApply/etc..)
2011-02-01 12:16:19 -08:00
alena
f6f8a35c75
bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
...
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
Kelven Yang
a8fb44a148
Use exports for jar dependecy
2011-02-01 11:10:37 -08:00
will
49858cf189
- Exported all thirdpart jars in the deps project to make it available to other projects.
2011-02-01 10:59:11 -08:00
nit
98cb458bf1
bug 8257: ListVM's API - adding the functionality to invoke this api with the hypervisor filter.
...
status 8257: resolved fixed
2011-02-01 18:00:39 +05:30
Alex Huang
c38238c614
some improvements in checkSR
2011-01-31 17:48:24 -08:00
Alex Huang
b98961bcb1
fixed all the broken thirdparty stuff
2011-01-31 10:51:01 -08:00
nit
f53e18b0ab
bug 8257: Returning hypervisor type in Listvm command so that volume gets attached to the corresponding vm's
2011-01-31 19:10:56 +05:30
Alex Huang
60518dc226
storage rewrite
2011-01-28 15:37:00 -08:00
Alex Huang
f9a9698d96
more unused fields removed
2011-01-28 15:37:00 -08:00
Alex Huang
ea59085ae7
added type to startup commands to be used later
2011-01-28 15:37:00 -08:00
Alex Huang
4dd2e6df72
remove some methods from volume
2011-01-28 15:37:00 -08:00
keshav
1e591e1963
Added API constants for external networking.
2011-01-28 14:37:49 -08:00
abhishek
5d18c4c527
bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
...
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony
96d9776c20
remove preallocatedLun
2011-01-28 12:36:31 -08:00
Kelven Yang
4696b16d10
Normalize name convention for vmware hypervisor
2011-01-28 11:16:30 -08:00
alena
52dd679d95
bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
...
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su
f8778ea4c6
add sharedmountpoint storage pool to support all kinds of clustered file system
2011-01-28 04:37:31 -05:00
keshav
f8dddd6192
Changed inner class to be static.
2011-01-27 14:21:03 -08:00
alena
77e89b72ca
bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
...
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Kelven Yang
244d8c198b
Cleanup UserContext after execution for better security
2011-01-26 17:06:14 -08:00
alena
402506e8a0
Disable static nat for the IP address when corresponding vm gets expunged
2011-01-26 14:17:08 -08:00
Kelven Yang
34178bec61
1) add destroySystemVm command to allow destroying of system VMs
...
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
alena
46e1f6279a
Return vm information in listPublicIpAddress api response for the static nat ips
2011-01-26 12:03:30 -08:00
alena
976ec54eb3
Changed api command name from "enable/disableOneToOneNat" to "enable/disableStaticNat"
2011-01-26 11:02:35 -08:00
alena
731e78937f
Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
...
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Edison Su
fc97034000
refactor vmstatelistener
2011-01-26 11:01:43 -05:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
will
11b9733f0c
Removed sleep call that was accidentally checked in.
2011-01-25 11:36:40 -08:00
Kelven Yang
8f138d9330
Remove unused code in ConsoleProxyManager
2011-01-25 11:36:07 -08:00
kishan
a705b104e7
bug 8197: entity owner for create command is caller account id
...
status 8197: resolved fixed
2011-01-25 23:27:19 +05:30
alena
3a008ee699
Changed restartNetwork command flow:
...
* API requires network id to be passed in (it was optional before)
* restartNetwork calls restart() method of all network elements in the system, and it's up to the element to decide which actions to take on the restart (for example, for Virtual Router it's IPAssoc/applyPF/applyLBRules).
2011-01-24 18:37:57 -08:00
Alex Huang
9d3eedaf01
removed gateway and guestzonemacaddress from domr
2011-01-24 17:50:32 -08:00
Alex Huang
3dd7301fb2
removed unused gateway
2011-01-24 17:50:32 -08:00
Alex Huang
68464d6f66
removed unused dns
2011-01-24 17:50:32 -08:00
abhishek
b714f1170c
bug 8097: introducing an optional zoneId param whilst listing hypervisors
...
status 8097: resolved fixed
2011-01-24 17:24:31 -08:00
alena
0e4196448a
bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
...
status 7811: resolved fixed
Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
Alex Huang
4589446930
removed unused domain_router_id from uservm
2011-01-24 16:56:00 -08:00
Alex Huang
20891ae6f9
removed unused guest ip fields from uservm
2011-01-24 16:55:59 -08:00
Alex Huang
a55d395b86
removed unused vnet field
2011-01-24 16:55:59 -08:00
Alex Huang
fc33ef2be2
Removed several unused fields after the refactoring
2011-01-24 16:18:40 -08:00
Frank
38ab26bcb0
ovs tunnel network -- add lock entry in ovs_tunnel_account
2011-01-24 13:47:34 -08:00
alena
58b17b963e
Added no args constructor to LoadBalancerCommand to avoid gson deserialize exception
2011-01-24 11:08:38 -08:00
alena
6304a92c23
bug 7881: fixed publicIpAllocation to an account.
...
status 7881: resolved fixed
Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
kishan
057e76c65b
use caller account Id for entity owner id for create pf rule
2011-01-24 12:39:52 +05:30
kishan
956b678ed4
bug 7857: Added netwrork usage create command to router start command
...
status 7857: resolved fixed
2011-01-24 12:20:38 +05:30
Frank
276e37115b
open vswitch - Implement gre tunnel based network that doesn't use vlan
...
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek
3b46dbf26a
introducing an embedded response obj for account (user)
2011-01-21 15:43:37 -08:00
abhishek
61ce43bdff
bug 7892: introducing recursive listings for various artifacts based on the domain id and the isRecursive flag
2011-01-21 15:25:18 -08:00
alena
4d0d47f6fc
listVlanIpRanges api: for Account specific Virtual ip range return account information taken from account_vlan_map table instead of taking it from corresponding network
2011-01-21 10:57:14 -08:00
anthony
cd0f5e7c20
bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
...
status 7976: resolved fixed
2011-01-21 10:45:09 -08:00
alena
671cce23ad
bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
...
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
abhishek
31c9cce6c3
bug 7949: changing security group code to use ids instead of name
...
status 7949: resolved fixed
2011-01-20 14:21:32 -08:00
alena
a4cfe20db8
bug 7389: implemented listPortForwardingRules by ip/account/domainId. Also fixed broken pagination for this call
...
status 7389: resolved fixed
2011-01-20 11:35:40 -08:00
Alex Huang
2ec5bef63f
eclipse workspace changes
2011-01-20 10:31:18 -08:00
Alex Huang
57def20cf6
moved all agent commands to api.
2011-01-20 09:54:05 -08:00
kishan
94ec7bf27a
bug 7842: events refactoring. Still wrok in progress
2011-01-20 21:49:50 +05:30
abhishek
afcb202923
bug 7900: removing obsolete network domain param
...
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
kishan
fa2ae5793a
bug 7341: introduced search by id and vmId for listIpForwardingRules
...
status 7341: resolved fixed
2011-01-19 13:13:09 +05:30
alena
632d3c67f1
bug 6689: release source nat ip address as a part of domR/dhcp destroy
...
status 6689: resolved fixed
Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
will
5c5563dfdd
UI will now use the config param "allow.public.user.templates". If this is false, only admins will be able to set the "public" status of a template.
2011-01-18 19:08:31 -08:00
Edison Su
b55e7a5bf4
bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
...
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
kishan
8b928bc6a4
bug 7488: change port to integer from string for portforwarding and load balancer rules
...
status 7488: resolved fixed
2011-01-18 14:35:23 +05:30
alena
50540b2bba
Stop ConsoleProxy/SecondaryStorage vms: use the same code path as for user vms.
2011-01-14 17:57:15 -08:00
Alex Huang
d43717eef8
merge changes
2011-01-14 15:12:13 -08:00
Alex Huang
19edfdfcdb
migration code
2011-01-14 15:12:13 -08:00
Frank
e736919494
allocate _poolIds before use
2011-01-14 13:45:59 -08:00
abhishek
7c2fffe67a
bug 7989: fixing this regression
...
status 7989: resolved fixed
2011-01-13 17:07:03 -08:00
kishan
a2752c6207
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
388e689755
bug 7842: Move events to service layer from http api
2011-01-14 03:58:56 +05:30
Edison Su
a56e95ed3f
bug 7982: fix NPE
...
status 7982: resolved fixed
2011-01-14 07:13:15 -05:00
alena
80f6db937f
bug 6694: trim spaces for destPortStart/destPortEnd
...
status 6694: resolved fixed
2011-01-13 13:39:30 -08:00
alena
877741030c
bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
...
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
nit
be70b42722
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-13 16:03:31 +05:30
nit
f9a6d476b4
bug 7519 : Adding the extractable attribute in ListTemplates/ISOs/Volumes command
2011-01-13 15:52:23 +05:30
alena
381717854c
Fixed NPE in deleteAccount - search for all accounts (instead of searching for active accounts only) when do deleteNetwork
2011-01-12 16:34:56 -08:00
Ragnar B. Johannsson
4bb42e43cc
Get UserVm details via UserVmDao.loadDetails().
...
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson
3e59707dd2
Added user_vm_details table and corresponding access objects.
...
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
Alex Huang
6e6e8ff876
better expunge and destroy of volumes
2011-01-11 18:02:09 -08:00
Alex Huang
7f597e594c
added work list to vm start
2011-01-11 18:02:09 -08:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
abhishek
ff7bbe34cb
better param desc for createUser
2011-01-11 17:26:20 -08:00
alena
620e7e0305
Implemented list by trafficType in listNetworks command
2011-01-11 16:06:58 -08:00
alena
6ebbff60f4
Fixed Api xml doc generator
2011-01-11 15:26:04 -08:00
abhishek
45805db737
adding descriptions to lun commands, to be consumed by the xsl transformer
2011-01-11 14:24:59 -08:00
alena
5dfe399c1a
bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
...
status 7803: resolved fixed
Fix overview:
1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
abhishek
a8da46845d
adding some more descriptions, to be consumed by the xsl transformer
2011-01-11 10:46:07 -08:00
Frank
c6683c2eab
bug 7722: open vswitch -
...
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
alena
0c38485c19
Added missing descriptions to a bunch of api commands
2011-01-10 20:30:29 -08:00
abhishek
73e9d5f2e2
adding some descriptions to be consumed by my xsl transform engine
2011-01-10 18:23:37 -08:00
Frank
ec643c7e59
bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
...
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank
6f9f8b145b
bug 7722: open vswitch - complete
2011-01-08 16:28:47 -08:00
Frank
9d2916ffcc
it works
2011-01-08 16:28:47 -08:00
Frank
5c01c42ba7
fix bug 7722, code complete basic architecture
2011-01-08 16:20:39 -08:00
Kelven Yang
323fc6299d
Use volume state to determine whether or not we need to send volume DestroyCommand to hypervisor hosts.
2011-01-07 05:41:28 -08:00
alena
d0687f663f
bug 7863: fixed router cleanup thread
...
status 7863: resolved fixed
Router cleanp thread is fixed, here is functionality description:
* Runs every "router.cleanup.interval" period of time (1 day by default)
* Stops only domRs running in Advance zone
* Thread Flow:
- gets all Running domRs/dhcps, get their networks, select network that
has to be checked (see criteria below):
- checks that there is only one nic in the op_networks table for the
network, and this nic belongs to domR/dhcp
- Stops domR/dhcp
* Criteria to choose the network:
- Network has to be non-system.
- Network should be one of the following: Guest Virtual (TrafficType=Guest; GuestType=Virtual); Direct Tagged (TrafficType=Public; GuestType=Direct)
Couple of other fixes:
* Added isShared parameter to listNetworks command
* Moved guestType from NetworkOffering to Network
2011-01-07 16:57:47 -08:00
Chiradeep Vittal
70241d78ec
bug 6694: trim excess fat from passed in parameters
...
status 6694: resolved fixed
2011-01-07 14:43:52 -08:00
Alex Huang
6dc922408d
unit test working
2011-01-07 13:42:43 -08:00
Alex Huang
e496a99c1c
added processing for events
2011-01-07 13:42:43 -08:00
Alex Huang
2e29f21e5a
changes for injectors
2011-01-07 13:42:43 -08:00
Alex Huang
03128cadf6
got rid of monitor
2011-01-07 13:41:15 -08:00
alena
789912de6a
Removed guestIpType parameter from listNetwork offerings command
2011-01-07 10:54:45 -08:00
Chiradeep Vittal
d95c7a4ade
hypervisor type is required, right now the parameter exception is thrown inside the resource svc
2011-01-07 10:51:14 -08:00
abhishek
274edf1478
fixing sec group rules creation, and also adding some description in commands. checking in so that ui work can begin.
2011-01-07 10:34:00 -08:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
abhishek
f3e91de0bd
bug 7824: implementing search for pools by id
...
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
anthony
57ee66a22d
XenServer can tell if the VM is shutdowned from inside,
...
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
alena
edfbc5a782
bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
...
status 7267: resolved fixed
As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
Alex Huang
4eba6d10d7
Moved State into VirtualMachine like other States of objects
2011-01-04 15:01:34 -08:00
anthony
83f3884412
adding change VM guest os type api
2011-01-04 15:01:26 -08:00
kishan
fb6310e993
bug 6947: removed network type from service offering APIs
...
status 6947: resolved fixed
2011-01-04 13:22:41 +05:30
kishan
ce3c794bd3
bug 6916: check for removed account for ListVMs. Moved realated code to userVm Manager
...
status 6916: resolved fixed
2011-01-04 13:07:49 +05:30
alena
0b7a15ab99
bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
...
status 7348: resolved fixed
More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
kishan
02ae55cc96
bug 7389: made ip optinal for list pf rules, all rules for the account will be listed when ip is not available
...
status 7389: resolved fixed
2011-01-03 13:47:18 +05:30
Kelven Yang
9e2cbbe0dd
Make AddCluster Command return standard json object format
2010-12-30 16:38:31 -08:00
alena
5694cda19d
bug 7796: get updated PortForwarding rule before building api response
...
status 7796: resolved fixed
2010-12-30 16:14:27 -08:00
alena
dfecc1f448
Changed account state to be in lower case.
2010-12-30 09:57:59 -08:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
alena
bd788b1827
Fixed RemoteAccessVpn apis
2010-12-29 21:36:44 -08:00
abhishek
2d6875f711
bug 7386: fixing the recurrent snapshots
...
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
Alex Huang
a10ce22f99
remote access vpn from management server side is done
2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4
add deleteCluster API command
2010-12-29 11:05:01 -08:00
Alex Huang
090bc1edb4
more changes to fix up the merge
2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
Alex Huang
1afb34d38e
Added code to do migration
2010-12-29 09:32:54 -08:00
alena
085824d524
1) Updated schema for data_center - provider fields can have NULL values.
...
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
alena
88afdb3313
Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly
2010-12-28 15:15:24 -08:00
abhishek
e346c3b24f
import cleanup
2010-12-28 14:23:21 -08:00
anthony
68727778ba
bug 7620: this is caused by delayed volume creation,
...
doesn't make sence to create a template on empty volume, just don't allow it
status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
alena
bb088a2e4c
bug 7489: Added events for network create/delete
...
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a
bug 7705: deletePortForwardingRule is Async now
...
status 7705: resolved fixed
Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
abhishek
a619f71bbd
adding a new event type for custom certificates.
2010-12-27 11:57:51 -08:00
alena
ecc9aabbcc
Added no args constructors to IpAddressTO/LoadBalancerTO classes.
2010-12-27 11:23:29 -08:00
kishan
e51dc79000
bug 7504: Events refactoring
...
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
alena
928ab98dc6
Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services
2010-12-23 15:06:37 -08:00
alena
dfb736273c
PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1.
2010-12-23 12:45:49 -08:00
alena
b437b8b977
listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId.
2010-12-23 11:52:44 -08:00
alena
eb1f1da035
Assert when capability is not supported by service
2010-12-23 11:52:44 -08:00
alena
3775ba043e
Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering.
2010-12-23 09:40:15 -08:00
alena
ec9260ce62
bug 7619: Added list of Capabilities parameter for Network
...
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00
Chiradeep Vittal
cc5dea49dc
Add RemoteAccessVpn service
2010-12-21 11:04:27 -08:00
abhishek
aed200492d
bug 7459: honoring the isBootable flag for isos
...
status 7459: resolved fixed
2010-12-21 10:37:26 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
alena
724b8d80bd
Don't allow to remove a network with deleteNetwork api when the network has active nics assigned
2010-12-20 20:20:09 -08:00
Chiradeep Vittal
1597671e73
Merge branch 'fixloadbalancer2'
2010-12-20 17:52:21 -08:00
Chiradeep Vittal
d7c81b702e
WIP 3
2010-12-20 17:46:14 -08:00
will
86b06d16ef
Changed isCustomized to all lowercase to follow standard response returned as part of listDiskOffering
2010-12-20 17:34:50 -08:00
Chiradeep Vittal
6da6330c3f
WIP to fix domr network integration
2010-12-20 17:28:20 -08:00
alena
b228ae6acb
Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc
2010-12-20 17:22:52 -08:00
alena
769b89b530
RestartNetwork command is async now
2010-12-20 17:22:52 -08:00
Kelven Yang
228eba363b
Add clustertype field to response of ListHostCmd. Improve UI display related with cluster/host
2010-12-20 14:08:59 -08:00
alena
3cd989cbef
1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
...
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
abhishek
5eae8923b1
commenting out this assert for now as it might break code
2010-12-17 19:53:40 -08:00
Kelven Yang
f92482fabf
add clustertype and hypervisortype to ListClusterCmd API, improve addHost UI to deal with multi-hypervisor
2010-12-17 19:41:35 -08:00
Kelven Yang
769e47d158
How come this file is missed in git?
2010-12-17 16:32:32 -08:00
Kelven Yang
e03693f0aa
Make AddClusterCmd API generic to all hypervisors, change UI accordingly also
2010-12-17 16:30:27 -08:00
abhishek
a54c5e8949
fixing the issue wherein public network guru failed to get ip address for direct network in case of security groups
2010-12-17 16:16:51 -08:00
alena
59cf483043
Added "state" parameter to LoadBalancerRules response
2010-12-17 12:50:09 -08:00
alena
ca92c28e0e
Fixed setupNetwork command to use vlan tag instead of vlan dbId.
...
Changed LoadBalancerConfigCommand to use Array data structrue instead of List as list is not handled well by gson.
2010-12-17 12:07:06 -08:00
edison
5b39bd6872
fix a NPE when destroying a detached volume
2010-12-17 10:43:59 -08:00
alena
8807fc8677
Don't send applyLB command to the backend when domR is stopped.
2010-12-17 09:57:48 -08:00
alena
0049c74a5e
1) Different format for LoadBalancerCommand.
...
2) When apply lb rule for domR, resend all lb rules belonging to the lb network
2010-12-17 09:37:13 -08:00
Alex Huang
5b11649c55
Removed even more old code
2010-12-16 17:17:02 -08:00
abhishek
d73e06a938
bug 7509: adding search by id for security groups, also refactoring a few method names to use the new scheme
...
status 7509: resolved fixed
2010-12-16 16:47:57 -08:00
Kelven Yang
4a6933fa9e
1) Enable addExternalCluster API command
...
2) UI changes for new addExternalCluster API command (for vmware)
2010-12-16 16:40:32 -08:00
abhishek
5154ba1539
bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying
2010-12-16 15:37:19 -08:00
Alex Huang
a7a4d92739
Renamed Start2 to Start
2010-12-16 14:18:53 -08:00
Alex Huang
39cc371e78
network gc
2010-12-16 14:03:21 -08:00
alena
d427cdae1e
1) Return associatedIpAddress in listPublicIpAddresses command.
...
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -08:00
Kelven Yang
65c094a2c0
Add a API to allow adding external hypervisor cluster
2010-12-16 10:00:42 -08:00
alena
52e6e4d06e
bug 6930: return async job info in listHost/listStoragePools commands
...
status 6930: resolved fixed
2010-12-15 18:58:56 -08:00
alena
4ca2b8808b
Fixed ipAssoc command to throw an exception when virtual network is null
2010-12-15 17:25:45 -08:00
alena
b383aaceec
bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
...
status 7517: resolved fixed
Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start with a hyphen, and must not end with a hyphen
Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
Kelven Yang
2719972cf6
Let discovers be able to identify itself
2010-12-15 14:15:13 -08:00
abhishek
37996132ed
some more changes for the account creation
2010-12-15 13:47:45 -08:00
alena
c1db5b6fc0
1) Fixed associate/disassociateIP address commands. The procedure is changed from 2.1, right now on single ipAssoc command we get a new ip and reapply all exising ip associations.
...
2) Added restartNetwork API command. Currently the command reapplies ip addresses for the network. TODO - reapply PF/LB rules and restart the domR.
2010-12-15 11:39:30 -08:00
abhishek
6ae9e73c0b
bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock
2010-12-14 15:38:37 -08:00
alena
82d15fc8af
Set correct response name for updateNetworkOffering command
2010-12-14 14:52:02 -08:00
alena
d673686f5f
Added Availability field for NetworkOffering. Added updateNetworkOffering API command
2010-12-13 18:28:33 -08:00
alena
d077b127aa
bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
...
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
c7a9267225
Delete network as a part of account cleanup
2010-12-13 10:47:10 -08:00
Kelven Yang
dedfe57280
seraral fixes for VMFS storage
2010-12-11 11:08:39 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
alena
fd20002609
Made virtualMachineIds parameter required for assignToLoadBalancerRule command
2010-12-10 15:41:33 -08:00
alena
acef5c9f5c
Fixed listLoadBalancerRuleInstances to return all vms in the system for the ROOT admin
2010-12-10 15:35:07 -08:00
alena
88d6ff2136
bug 7467: release IP address works now.
...
status 7467: resolved fixed
Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
Alex Huang
d27c0c4b01
mac addresses for private ip addresses
2010-12-10 13:36:40 -08:00
Alex Huang
68932929fb
Changes to how public ip addresses are allocated
2010-12-10 08:38:20 -08:00
anthony
dcb40b5b15
Revert "add new api SetVMOSTypeCmd"
...
This reverts commit 543b2615db .
Conflicts:
api/src/com/cloud/api/commands/SetVMOSTypeCmd.java
2010-12-09 23:38:52 -08:00
keshav
f6f1d38724
- Added variable to keep track of a NicProfile's network
2010-12-09 22:25:42 -08:00
keshav
d9f5e63f69
Added a constructor for LoadBalancerConfigCommand, and a variable to keep track of a list of destinations.
2010-12-09 21:28:10 -08:00
alena
7e9579dab2
Fixed create/list LoadBalancerRules
2010-12-09 21:06:48 -08:00
root
471a0e73fe
fixing a bug wherein the template/iso gets deleted from the host once upload, on a ms restart. it still exists in db. any further attempt to create vm from this template/iso results in failure.
2010-12-09 18:56:30 -08:00
edison
712953156b
fix boot from iso/attach iso/disks issue
2010-12-09 14:25:44 -08:00
alena
52f2d646fd
Fixed NPE in listLoadBalancer command
2010-12-09 14:11:11 -08:00
alena
c34e2c6c54
Don't return nics for system vms and domain routers. Return private/public/guest ip info instead
2010-12-09 13:56:39 -08:00
alena
88fa5337ca
Fixed responses for userVm/domainRouter/SystemVm: added nic information.
2010-12-09 13:24:40 -08:00
keshav
198cab4dee
Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources.
2010-12-09 11:40:02 -08:00
alena
8fb948650f
Fixed createPortForwardingRule command.
...
Modified createVlanIpRange command: added optional networkId parameter; only startIp parameter is required now.
2010-12-09 11:12:29 -08:00
Jessica Wang
d2bd6e522e
bug 7448: add domain parameter in returned objects from listNetworks API. (changed by Alena)
2010-12-09 09:57:23 -08:00
Jessica Wang
e256a3a037
bug 7448: add forVirtualNetwork parameter to ListVLANIpRange. (by Alena)
2010-12-08 18:37:00 -08:00
Kelven Yang
b285bbb683
new networking change integration
2010-12-08 18:30:30 -08:00
alena
829d6fe8a0
Fixed listIpForwardingRules command: made ipAddress required, added vm and rule state info to the response.
2010-12-08 14:28:37 -08:00
alena
1f7d74dbec
1) Disabled updatePortForwardingRule api command.
...
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00
abhishek
5c689f3db7
bug 7437: the password is being set in the vm obj, but was being reset before returning the result obj. correcting the same
...
status 7437: resolved fixed
2010-12-08 12:09:09 -08:00
Alex Huang
2c42ebbf71
ip assoc working
2010-12-08 09:03:34 -08:00
Alex Huang
1134faea1b
ip addresses are now separated from domR
2010-12-08 09:03:34 -08:00
Alex Huang
f794abfdef
ip addresses are now separated from domR
2010-12-08 09:03:34 -08:00
alena
2547fc1f6a
More error logging to apis
2010-12-08 08:53:34 -08:00
nit
83145c38fd
bug 7410 : listTemplates and ListIsos - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
...
status 7410: resolved fixed
2010-12-08 19:46:04 +05:30
will
847e458e0e
You can now view the NICS attached to a VM.
2010-12-07 18:04:09 -08:00
alena
2ffcbb8815
Added isSystem parameter for listNetworks command, default value is false. If it's set to true, only system networks with trafficType=Public and and zone=Advanced are gonna be returned
2010-12-07 16:36:34 -08:00
alena
01b4af3006
Added more error logging to api commands.
2010-12-07 14:38:58 -08:00
alena
954756d69b
Introduced new NetworkElement - DhcpElement.
2010-12-07 13:47:59 -08:00
alena
e3e34be36d
ListVlanIpRanges can list by networkId now.
2010-12-07 10:17:44 -08:00
abhishek
495e85f452
bug 7417: fixing the password return val issue for an iso
...
status 7417: resolved fixed
2010-12-06 18:16:53 -08:00
alena
a67e91253f
Don't allow to create network offering of DirectPodBased type
2010-12-06 17:42:23 -08:00
alena
fb4c448762
Don't create default pod/zone
...
Create untagged network as a part of createZone command
2010-12-06 16:48:25 -08:00
Kelven Yang
51b55d8ae9
Carray storage pool uuid in VolumeTO to let hypervisor resource to identify storage easier
2010-12-06 15:57:40 -08:00
anthony
543b2615db
add new api SetVMOSTypeCmd
...
user can update to PV kernel or HVM kernel as they want,
2010-12-06 15:57:18 -08:00
Alex Huang
a87aac2640
missing file
2010-12-06 15:24:32 -08:00
Alex Huang
d890189a92
missing default values for providers
2010-12-06 15:20:13 -08:00
Alex Huang
87626bea6b
start vm is working
2010-12-06 14:17:53 -08:00
Alex Huang
f147bf5f94
start vm not working again
2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06
more checkin
2010-12-06 14:17:53 -08:00
abhishek
b4dd261fc2
introducing a new error state
2010-12-06 14:03:10 -08:00
alena
ade1b2665b
Removed podId from createNetwork api command
2010-12-06 13:25:37 -08:00
edison
fd7960f13d
fix secondary storage in new networking mode
2010-12-06 12:40:52 -08:00
alena
5571b444f2
1) Don't allow to delete a vlan if it has network associated with it. Also don't show such vlans in listIpRanges command.
...
2) Return vlan in create/list networks command.
3) Implemented list networks by type.
4) Changed listVlanIpRanges to return start/endIps in separate tags instead of returning them in description.
2010-12-06 12:36:09 -08:00
alena
8b99a8e15c
NetworkIds parameter is required now for deployVmCmd.
2010-12-06 10:57:35 -08:00
alena
31b3b79f5a
Changed create/updatePod to accept netmask/gateway instead of cidr
2010-12-06 10:08:07 -08:00
alena
cd8513598f
Return trafficType/networkType as a part of Nic information for listSystemVms/listDomainRouters/listUserVms.
2010-12-06 09:43:37 -08:00
alena
0dbd21fe23
createNetwork command accepts netmask/gateway instead of cidr. Also return start/endIp in the createNetwork response.
2010-12-06 09:18:02 -08:00
nit
a38c18220c
bug 7410 : listTemplate - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
2010-12-06 19:47:33 +05:30
nit
39eb645b04
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-06 14:07:24 +05:30
nit
14425ffe83
bug 7415 : listTemplatePermissions - Making it extend BaseCmd and not BaseListCmd since it never returns a list. This will also take care of the ClassCastException getting thrwon
...
status 7415: resolved fixed
2010-12-06 14:05:58 +05:30
Alex Huang
98eb58bf84
callCreate to create
2010-12-04 17:58:16 -08:00
Alex Huang
cf032b7a3a
more changes
2010-12-04 17:33:02 -08:00
Alex Huang
16cccf4f59
ip address modifications. removed old deploy
2010-12-04 17:32:32 -08:00
Alex Huang
16caf1954b
New ip address states and mode
2010-12-04 17:32:32 -08:00
Alex Huang
daa9add158
removed router stuff from network manager
2010-12-04 17:32:31 -08:00
edison
525cb3dd5d
don't break old code
2010-12-04 16:39:10 -08:00
edison
e591f56b25
add logs, and don't break old code
2010-12-04 15:02:03 -08:00
edison
b7cdae2688
fix for migration
2010-12-04 15:02:03 -08:00
edison
41fdbfc65e
new allocator
2010-12-04 14:59:39 -08:00
alena
150d684e05
1) isShared attribute belongs to Network now, not NetworkOffering
...
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang
280884f6d7
Work around VMware problem about detaching volume that has snapshot been linked with it
2010-12-03 18:59:23 -08:00
Kelven Yang
cc7dc5e6be
Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare
2010-12-03 18:59:23 -08:00
alena
2759e422f5
Return type/trafficType in the listNetworks response
2010-12-03 13:48:43 -08:00
Alex Huang
96ac136b8c
changed getAccountId to getEntityOwnerId
2010-12-03 11:59:45 -08:00
abhishek
b0abda3c49
some changes to domain specific offerings for the UI to consume
2010-12-03 09:37:02 -08:00
Alex Huang
a8b617c596
port forwarding is now in
2010-12-03 08:48:03 -08:00
Alex Huang
3aa19666cf
merge with master
2010-12-03 08:48:03 -08:00
Alex Huang
b859e103d8
ip nat rule forwarding done
2010-12-03 08:48:03 -08:00
Alex Huang
9a70ee54f0
portforwarding is working
2010-12-03 08:48:03 -08:00
Alex Huang
bb78986ddb
port forwarding working
2010-12-03 08:48:02 -08:00
Alex Huang
223688d0bf
Port forwarding rules and load balancing rules rewrite
2010-12-03 08:48:02 -08:00
nit
b543faeeee
bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
...
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
alena
f8a687ab23
1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
...
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony
6f1eb4bf44
bug 7144: return snapshotId with jobid
...
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql
status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
anthony
d184c56ef3
cleanup snapshot code
2010-12-02 19:23:33 -08:00
abhishek
d0fc07496f
search functionality for ip forwarding rules, with covering of cerner cases
2010-12-02 09:46:32 -08:00
will
2966dd637d
bug 6969: Added list async support for host
2010-12-01 18:22:21 -08:00
will
cd5afb3d7e
bug 6969: Fixed snapshots, templates, isos, routers, volumes, and system vms async commands to make use of the new job id/job status when listing objects with pending jobs.
2010-12-01 16:50:56 -08:00
abhishek
a477d6c33c
adding support for updating service and disk offerings, also adding domain and domainid back in the responses to the CRUD methods for both service and disk offerings
2010-12-01 10:40:08 -08:00
abhishek
b51a7fec50
adding a security checker whilst creating a volume from a disk offering
2010-12-01 09:53:13 -08:00
abhishek
4387e2ca0a
another good point to commit; the basic domain specific disk offering functionality is now in place
2010-12-01 09:53:13 -08:00
abhishek
1dfdcf51cb
another good point for checkin, added the domain checker for checks against service offerings, whilst deploying virtual machines
2010-12-01 09:53:13 -08:00
abhishek
9a6eaaf21f
this is a good point to commit the code; have the basic domain specific service offering working
2010-12-01 09:53:13 -08:00
will
c67d26cec4
bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work.
2010-11-30 19:12:09 -08:00
alena
5c8619903b
bug 7342: return ipaddress instead of publicip in listIpForwardingRules/listPortForwardingRules api responses.
...
status 7342: resolved fixed
2010-11-30 10:16:54 -08:00
anthony
d3325de5ae
1. limit xs-tools in xenserver related java file
...
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
alena
aa8aa6027a
Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field.
2010-11-24 14:29:08 -08:00
alena
44737d24c5
bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
...
status 7196: resolved fixed
Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit
841044e360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-24 18:38:23 +05:30
nit
8ea124ae79
bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
...
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan
f70071dc98
bug 6309: Added event VM.UPDATE along with changed fields
...
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
kishan
19dcbb8d8e
bug 7246: changed event name to TEMPLATE.CLEANUP when cleaning up templates on sec storage. Usage won't track this event
...
status 7246: resolved fixed
2010-11-24 17:48:19 +05:30
alena
6765e97976
Made ApiResponseHelper to use Long instead of long for response parameters to eliminate possible NPEs during building an api response.
2010-11-22 11:27:15 -08:00
Alex Huang
1e44925564
api refactoring
2010-11-21 12:00:21 -08:00
Alex Huang
bb843ab1fb
missing file
2010-11-19 15:48:40 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
edison
0c35f2f743
bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
...
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00
alena
dae39942f1
bug 7192: Added networktype parameter for the zone
...
status 7192: resolved fixed
1) Zone has networktype parameter now, 2 values are supported: Basic and Advanced. "networktype" field is created in data_center table. The parameter is being set at creation time; we don't allow to modify it with updateZone command.
2) Only vlan of Untagged Direct type can be created in Basic network zone; any other vlan except for Untagged Direct can be created in Advanced zone
3) Allow NULL guest vlan range for the zone. Only vlan of Direct type can be created in zone with NULL guest vlan.
4) "Default" zone is Basic by default.
5) Changed "vnet" parameter to "vlan" in updateZone command to be consistent with createZone
2010-11-16 16:54:44 -08:00
Alex Huang
17afeade00
better componentslocator
2010-11-16 04:28:14 -08:00
abhishek
6d943abf55
bug 7119: code refactor away from the ms calls, to the share and prepare methods based on alex's recommendations
...
status 7119: resolved fixed
2010-11-15 11:17:36 -08:00
edison
8ca6f1669e
start2command fro secondarys storage vm and make it work for KVM
2010-11-11 17:04:10 -08:00
Alex Huang
94250c1330
committing to update
2010-11-11 12:53:19 -08:00
alena
86e83bc4bd
Created new response objects for userVm/domainRouter/systemVm that going to be used by API after network refactorig is in place.
2010-11-11 10:43:18 -08:00
abhishek
11ea13fd7d
Added the domain checker code and checks for a host of commands. This replaces the previous mechanism, and provides a way for us to validate the command executor as to whether he has access to the zone.
2010-11-08 17:50:38 -08:00
Alex Huang
edf9ddd464
added reservation id to vnet
2010-11-08 12:29:38 -08:00
Alex Huang
aca8ef79cd
a bunch of other changes for network refactoring
2010-11-08 12:29:37 -08:00
Alex Huang
5f90a8adb0
Checking in to do git pull...stupid git
2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b
stop vm is now formalized
2010-11-05 16:10:22 -07:00
Alex Huang
d5d1808488
Added reservation context to the network gurus
2010-11-05 16:10:22 -07:00
edison
433c28fb16
bug 7041: fix npe in delete template from storage pool, if the template already marked as removed
...
status 7041: resolved fixed
2010-11-05 16:02:18 -07:00
Alex Huang
0fdca8be9a
changed back so everyone else can start the old way
2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2
Harmony amongst gurus
2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
Alex Huang
3348b56ab7
Successful creation of domr and uservm with all programming done correctly.....yahooo
2010-11-02 12:25:08 -07:00
Alex Huang
6311644e08
Successful creation of domr and uservm with all programming done correctly.....yahooo
2010-11-02 12:25:08 -07:00
Alex Huang
14f80f2e13
domain router up and running...now on to patching through the network between the domain router and the vm
2010-10-29 12:16:58 -07:00
Alex Huang
4f9f249218
make console proxy work again with the new network configuration
2010-10-26 17:37:29 -07:00
Alex Huang
1a641936da
no more alert on setup
2010-10-26 09:35:24 -07:00
Alex Huang
2bc938c3f8
checkins for problems.
2010-10-26 09:35:24 -07:00
Alex Huang
29a5b796d4
deploy vm completed...now for testing
2010-10-26 09:35:24 -07:00
Alex Huang
f58063911e
deploy vm completed
2010-10-26 09:35:24 -07:00
Alex Huang
25e4ed6997
more changes in the api
2010-10-21 16:53:42 -07:00
Alex Huang
d5d8f27cad
Added more changes to the api
2010-10-21 15:11:49 -07:00
kishan
fa4a16cb68
bug 5592: Added configurable domain for hosts.
...
status 5592: resolved fixed
2010-10-21 11:51:09 +05:30
Alex Huang
2da8035bd1
more changes for the rewrite
2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65
Added code to start domR
2010-10-19 11:52:01 -07:00
Alex Huang
b3da4cea1b
Forcing me to commit because of stupid git
2010-10-15 06:22:59 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
Alex Huang
94a26d2038
Still needs to add mac address allocation but basically console proxy is started and running
2010-10-06 10:18:09 -07:00
Alex Huang
5f88268ef2
console proxy vm is now started but it is not reading the disk correctly
2010-10-04 17:59:06 -07:00
Alex Huang
652d86956c
more files checked in
2010-10-04 12:04:59 -07:00
edison
7615f569ff
after rebase, fix bugs
2010-09-29 18:41:55 -07:00
edison
ad1ef80459
Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
...
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
edison
6fc7528809
create data volume is splitted into two stage:
...
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
8943cc6745
create volume
...
Conflicts:
api/src/com/cloud/vm/VmCharacteristics.java
core/src/com/cloud/dc/ClusterVO.java
core/src/com/cloud/server/ManagementServer.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang
d33d1a632d
Switch from VMDK to OVA on vmware image format
2010-09-29 18:40:50 -07:00
Kelven Yang
5b2740f3f9
Change VMware template extenstion to ova
2010-09-29 18:40:50 -07:00
edison
edb16aa117
change storage allocator policy based on hypervisor
2010-09-29 18:40:47 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
Alex Huang
dcea43ba0f
create is now complete
2010-09-27 15:14:38 -07:00
Alex Huang
c443867f28
more changes
2010-09-27 15:14:38 -07:00
root
979fcf8b78
finalized guru design
2010-09-22 10:44:00 -07:00
Alex Huang
c0d8422d69
more changes
2010-09-22 10:43:59 -07:00
Alex Huang
22652e7ace
got the vm created
2010-09-22 10:43:59 -07:00
Alex Huang
8acba8fbd1
more checkins
2010-09-22 10:43:59 -07:00
Alex Huang
286e78c849
moved account id, service offering id, and domain id into isntance
2010-09-22 10:43:59 -07:00
Alex Huang
bebe79ebc9
more work from alex
2010-09-17 13:37:53 -07:00
Alex Huang
131e487c32
allocation complete. Moving on to actual create and deploy
2010-09-16 12:01:56 -07:00
Alex Huang
e283bc7f05
no idea how these files were not committed
2010-09-15 18:00:55 -07:00
Alex Huang
84179cd561
add missing files
2010-09-15 18:00:54 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
alena
b26ac321de
bug 6177: Make VM group a first class object
...
1) Added new apis: createInstanceGroup, updateInstanceGroup, deleteInstanceGroup, listInstanceGroups
2) Group can be created using:
* createInsanceGroup api
* deployVirtualMachine/updateVirtualMachine commands (we create a group with name equal to "group" parameter value if the group doesn't exist already)
3) Group can be removed by:
* deleteInstanceGroup api
* when corresponding account is removed
4) Vm can be assigned to one group only. To move vm from one group to another, use updateVirtualMachine command with "group" parameter
5) Changed listVirtualMachines command to use "groupId" parameter instead of "group".
status 6177: resolved fixed
2010-09-14 19:08:01 -07:00
Kris McQueen
a8112f65de
When using session based authentication, we now store the parameters in the session as part of the login processing, instead of returning those parameters so that the caller has to update the session. Authentication now throws an exception on failure and the caught exception is where the session is invalidated.
2010-09-13 17:04:11 -07:00
root
077690cf15
switched from networkprofile to network configuration
2010-09-09 17:48:24 -07:00
Alex Huang
8d3f135115
more missing files
2010-09-09 13:35:16 -07:00
Alex Huang
d094ff3afb
more changes from merge
2010-09-09 13:29:24 -07:00
Alex Huang
7249f168d5
more file changes
2010-09-09 13:27:20 -07:00
Alex Huang
6134f7dfd2
more file changes
2010-09-09 11:52:12 -07:00
abhishek
b3803d563e
bug 5909: Implementing the enhancement for adding attach time for volumes. In the case of general VM creation, the attach time is usually~creation time. In the case of attaching a volume to a vm, the time significantly differs. The value is nulled out during the detaching of volume from the vm
...
status 5909: resolved fixed
2010-09-02 16:23:13 -07:00
Kelven Yang
0e2df1fe42
Use dummy template package to speed up debug
2010-08-26 09:43:37 -07:00
Kelven Yang
73fb80e424
Swich back to vmdk extention temporarily
2010-08-25 18:46:14 -07:00
Kelven Yang
23a38bc2be
Debug & Test template copy from secondary storage to primary stroage on vmware
2010-08-25 18:17:20 -07:00
Kelven Yang
0a401f7b91
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-25 09:40:57 -07:00
Kelven Yang
49900a8985
1) Add VMDK format
...
2) Make console proxy servlet explictly return content-type header for console proxy page (this is a bug fix change)
2010-08-24 18:58:38 -07:00
Alex Huang
415bc8ae20
bug 5764: checkin before I switch to work on 2.1.x
2010-08-24 14:40:29 -07:00
Alex Huang
fb389e8cd6
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-24 00:01:09 -07:00
Alex Huang
20b26082db
bug 5764: changing from networkoffering to network profile
2010-08-24 00:00:43 -07:00
abhishek
7454f0f24a
Incremental checkin for volume lineage
2010-08-23 16:02:45 -07:00
Alex Huang
bb06bc3d57
fixed merge conflict
2010-08-23 15:10:08 -07:00
Alex Huang
e0165dd2ef
my changes
2010-08-23 13:59:23 -07:00
Kelven Yang
08ae56d360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
...
Conflicts:
api/src/com/cloud/hypervisor/Hypervisor.java
build/build-cloud.xml
2010-08-23 12:12:45 -07:00
Kelven Yang
7bcff5acf3
Vmware incremental check-in
2010-08-20 18:50:33 -07:00
Alex Huang
4356eb7c26
Start2Command implementation for xenserver
2010-08-20 13:35:08 -07:00
Alex Huang
afc0adf28a
security checker
2010-08-19 09:23:03 -07:00
Alex Huang
20ffe6f13d
more changes
2010-08-18 12:28:30 -07:00
Alex Huang
b250b985ec
changes
2010-08-18 12:19:22 -07:00
Alex Huang
a89aad4d15
removed override
2010-08-17 10:16:16 -07:00
Alex Huang
c21bc7072c
more changes
2010-08-16 11:30:04 -07:00
Alex Huang
867b43dcf9
more changes for the rewrite.
2010-08-16 11:28:11 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00