1429 Commits

Author SHA1 Message Date
Frank
c94b6acadf bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next 2011-01-08 16:22:59 -08:00
Frank
5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
alena
140d704e2f Generate separate xml Api docs for regularUser/domainAdmin/rootAdmin 2011-01-07 18:40:47 -08:00
alena
93a49fcd72 Return shared networks for regular user 2011-01-07 18:22:32 -08:00
Edison Su
d2dab22437 enable snapshot for rhel 2011-01-08 11:08:21 -05: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
b8a17f4a97 Don't default isShared to false for listNetworks api command. 2011-01-07 17:39:00 -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
abhishek
ffb8d54dff changing a few obsolete names to std convention 2011-01-07 16:49:51 -08:00
abhishek
fec9a6d566 not iterating over cidr list if null 2011-01-07 16:22:28 -08:00
abhishek
d639854426 fixes for the security groups 2011-01-07 16:22:28 -08:00
alena
d3bac931b4 Deploy from server-setup.xml: Fixed createDefaultNetworks to use correct guru names 2011-01-07 15:05:10 -08:00
alena
335e81cc52 Fixed listNetworks for regular user to return system network information 2011-01-07 14:09:34 -08:00
Alex Huang
a1bdec8fa1 add missing libraries 2011-01-07 14:08:41 -08:00
anthony
1044a99756 check answer 2011-01-07 13:54:58 -08:00
anthony
be174f7f36 correct checking answer 2011-01-07 13:54:58 -08:00
Alex Huang
386d4a540d merge changes 2011-01-07 13:46:20 -08:00
Alex Huang
6dc922408d unit test working 2011-01-07 13:42:43 -08:00
Alex Huang
4b360258ee allow multiple ways to intercept 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
alena
789912de6a Removed guestIpType parameter from listNetwork offerings command 2011-01-07 10:54:45 -08:00
will
8284abedf5 bug 7902: Fixed problem with updating secstorage.ssl.cert.domain as it was incorrect set to be validated as a boolean and also was set to be validated as an ip range.
- Fixed error message returned when validating boolean to not return double-quotes as that breaks JSON.
2011-01-07 10:39:49 -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
keshav
d2196d169e Moved global lock inside storage cleanup method. 2011-01-06 17:46:36 -08:00
Ragnar B. Johannsson
a013640180 Bugfix: Do not URL-decode API parameters twice.
There's no need to call ApiServer's handleRequest with decode=true
since Tomcat has already url-decoded the parameters. URL-decoding
twice breaks all Base64 encoded data such as userData in deployVM,
since %2b decodes to ' ', not '+' as it should.
2011-01-06 14:25:59 +00: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
Kelven Yang
56d8fb6a0b Bug 7015: allow domain admin to be able to access domR console 2011-01-06 05:27:32 -08:00
alena
4ec3bc5865 bug 7244: delete corresponding untagged pod vlan ranges when pod is deleted
status 7244: resolved fixed
2011-01-06 16:16:09 -08: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
alena
02dc187a0c bug 7727: Don't create Public network with broadcast_domain_type=vlan for Basic zone
status 7727: resolved fixed
2011-01-06 15:44:13 -08:00
Kelven Yang
a0d821ca79 VMware local storage support 2011-01-05 06:14:43 -08:00
will
68d5c0919a bug 5482: Fixed malformed JSON when an error is returned by the API call. Also fixed the UI to make use of the new JSON object. 2011-01-05 18:06:59 -08:00
abhishek
20ec0beae5 bug 7829: fixed the keyword search for storage pools
status 7829: resolved fixed
2011-01-05 17:34:03 -08:00
Kelven Yang
8a263f34ba Fix jUnit reference issue in test project for Eclipse 2011-01-05 03:58:47 -08:00
Kelven Yang
ea88089fd2 Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
abhishek
1d25a33be1 bug 5915: removing the check to see if there are other hosts in maintenance, whilst enabling host maintenance
status 5915: resolved fixed
2011-01-05 13:47:39 -08:00
abhishek
f3e91de0bd bug 7824: implementing search for pools by id
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
Kelven Yang
cb7b6867c6 Bug 7370: Give domain admin permission to view user VM under its domain scope 2011-01-04 23:42:49 -08:00
Kelven Yang
496bbeba88 Bug 7860: protected from NPE whhile console proxy public address is not set during startup process 2011-01-04 22:31:44 -08:00
Kelven Yang
4be13ee8a4 Add sanity check to allow only adding the right hypervisor hosts to the matched cluster 2011-01-04 22:10:55 -08:00
alena
c74fd529be bug 7611: get directPodBased default network when deploy vm with no networkId specified
status 7611: resolved fixed
2011-01-04 18:43:03 -08:00
anthony
1352e5b8a6 use new VM state 2011-01-04 17:51:57 -08:00
will
a92dd2a81e bug 7611: VM wizard will no longer pass in any network ids if the zone only support basic network type 2011-01-04 17:46:34 -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
abhishek
3aa1726009 bug 7822: fixing the storage maintenance failures centered around domr stop/start
status 7822: resolved fixed
2011-01-04 17:37:50 -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
Kelven Yang
6ebdafd4c3 Add vmware cluster will automatically bring in all hosts under the cluster 2011-01-04 04:12:47 -08:00
abhishek
58f2f37fc9 adding more range checks in the createZone functionality 2011-01-04 15:22:34 -08:00
abhishek
e28ed752fc bug 7835: fixing the vnet range issues for add zone and edit zone
status 7835: resolved fixed
2011-01-04 15:14:55 -08:00