435 Commits

Author SHA1 Message Date
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