Commit Graph

1250 Commits

Author SHA1 Message Date
anthony 2be0b45297 support xenserver 5.6 fp1 in oss 2010-12-20 14:18:10 -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
abhishek 583d4a2c2e bug 7582: there was an error in re-starting user vm, due to the master refactor which happened. Fixed that regression
status 7582: resolved fixed
2010-12-20 12:40:44 -08:00
alena ddc69cdd47 Assign sourceNat ip address to domR only, skip DHCP. 2010-12-20 10:47:06 -08:00
alena 116ddb3cae Port forwarding rules support for domainRouterElement. When new pf rule is created for a public ip address, we resend all existing rules for this address to the domR. 2010-12-20 10:01:19 -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
anthony baa6666897 create xenserver 5.6 patch file 2010-12-17 20:21:28 -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
alena ecc4297219 Use Equal instead of Like when listPublicIpAddresses by ip 2010-12-17 17:30:01 -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
abhishek 75b02e806d bug 7484: Fixing the issue of management server crashes on setting values for timer intervals to be 0 or less
status 7484: resolved fixed
2010-12-17 12:39:39 -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 a826655740 minor fix: retry if network is unavailable 2010-12-17 11:52:53 -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 ec1749a3bc Removed unused code that was commented out previously. 2010-12-17 09:41:10 -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
anthony 7faf41e04e pass pooluuid to xen.configure 2010-12-16 18:55:40 -08:00
abhishek 376d5da45d bug 7106: fixing the account updating bug
status 7106: resolved fixed
2010-12-16 17:32:22 -08:00
Kelven Yang 294332c6e0 fix issues in addExternalCluster command 2010-12-16 17:24:54 -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
anthony 6419e49977 add guid in cluster table 2010-12-16 16:28:56 -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
keshav a25aeb4007 Added a configuration variable to keep track of the number of bits to reserve for VLAN information in guest network subnets. 2010-12-16 15:15:21 -08:00
Alex Huang a7a4d92739 Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
Alex Huang e613ecaba0 unit test passed 2010-12-16 14:04:32 -08:00
Alex Huang 65d0b32182 removed a bunch of old code 2010-12-16 14:04:32 -08:00
Alex Huang 39cc371e78 network gc 2010-12-16 14:03:21 -08:00
edison 5279ac1468 fix expunge 2010-12-16 13:22:42 -08:00
alena 0d1c529175 Fixed revokeRule method to set FirewallRule state to Revoke in the DB. 2010-12-16 12:19:53 -08:00
alena d427cdae1e 1) Return associatedIpAddress in listPublicIpAddresses command.
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -08:00
alena 7224e1ccd2 Implemented applyLoadBalancer rules in domainRouterManager 2010-12-16 10:40:58 -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 2da50d881b bug 7498: fixed search by keyword in listVolumes
status 7498: resolved fixed
2010-12-15 16:23:07 -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
will 7385118528 Fixed the build due to including some wrong class. 2010-12-14 15:54:47 -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
edison e39f664e89 fix storage creation bugs 2010-12-13 20:48:31 -08:00
alena 58f2c90608 listLoadBalancerInstances command: don't show vms as available for LB assign when it's Nic ipv4 field is NULL. 2010-12-13 18:33:47 -08:00
alena d673686f5f Added Availability field for NetworkOffering. Added updateNetworkOffering API command 2010-12-13 18:28:33 -08:00
abhishek 5e61be67fd fix bugs in allocator 2010-12-13 16:42:25 -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 65f53e3910 1) Create default networks for zones specified in server-setup.xml file
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
abhishek 33f71e1250 bug 7408: returning the source id and source type for vol creation
status 7408: resolved fixed
2010-12-13 12:38:43 -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
alena 7d7817ecba Delete corresponding networks during zone deletion. 2010-12-10 20:42:38 -08:00
alena 8db9f9fbdb Fixed listLoadBalancerRuleInstances to list only instances belonging to LB rule network 2010-12-10 20:42:37 -08:00
alena cc98337eb6 Create default networks when zone is created 2010-12-10 19:25:23 -08:00
alena 87ee0cae79 Fixed createPod command 2010-12-10 18:26:07 -08:00
Alex Huang 7cfbd5b7e0 missing mac fields 2010-12-10 17:20:31 -08:00
Alex Huang 790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
alena d9c77e0d16 bug 7416: return guest/private/public ip/netmask/gateway info for the domR instead of returning list of nics
status 7416: resolved fixed
2010-12-10 16:35:05 -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
abhishek 9c8d8d1dc4 bug 7474: implementing search for public ip address for a zone, without the filter for vlan db id.
status 7474: resolved fixed
2010-12-10 15:04:18 -08:00
abhishek cebf829f13 fixing add host failure 2010-12-10 14:03:36 -08:00
Alex Huang d27c0c4b01 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
abhishek d8f771e05b more changes to the attach/detach iso and bootloader flow 2010-12-10 13:24:57 -08:00
abhishek 7bab80895c fixing a npe in listIsos call; the pageSize is being passed as null. For this release, defaulting it to a large value if null. May need to revisit later 2010-12-10 10:58:18 -08:00
Alex Huang 8ac694bf55 changes from testing 2010-12-10 09:29:23 -08:00
Alex Huang 3f9d797594 Changes to how public ip addresses are allocated 2010-12-10 08:38:21 -08:00
Alex Huang 68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
Alex Huang 2d4432d87e network shutdown code 2010-12-10 08:38:20 -08:00
edison b24cf4715b bug 6278: fix the race condition that take snapshot/and delete snapshot at the same time
status 6278: resolved fixed
2010-12-10 00:27:44 -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
edison f48af6ec43 bug 7317,7013: return error message if creating snapshot from KVM host os that not supported snapshot
status 7317: resolved fixed
status 7013: resolved fixed
2010-12-09 21:19:35 -08:00
alena 2f0f78ff73 Set trafficType to Public insteand of Guest for Direct network 2010-12-09 21:06:48 -08:00
alena 7e9579dab2 Fixed create/list LoadBalancerRules 2010-12-09 21:06:48 -08:00
edison 04f3a4baa9 bug 7441: fix ipassoc when starting router
status 7441: resolved fixed
2010-12-09 20:25:27 -08:00
Kelven Yang 68e6706fbe Fix a number of issues related with vmware on new networking 2010-12-09 19:33:30 -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 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
abhishek 3681991b38 adding some comments around tag edit disabling for service and disk offerings 2010-12-09 13:04:38 -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 157156dd35 1)Introduced new Network Guru - used for direct tagged network.
2)Made vm start with multiple networks
2010-12-09 11:12:29 -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
abhishek b0703c2298 removing misleading comment as we do not user the msid in custom cert flow 2010-12-08 18:09:03 -08:00
edison ea71ade08f bug 7454: return the full version number
status 7454: resolved fixed
2010-12-08 17:34:10 -08:00
Alex Huang f497e8eab3 Make VMWare work 2010-12-08 17:08:30 -08:00
Alex Huang 28aa64287f removed VirtualMachineGuru from UserVmManagerImpl 2010-12-08 17:08:29 -08:00
abhishek 8ea2959f71 sending back a account_error errorcode for trying to log into a locked account. also, changing the domainId to domainname for this error 2010-12-08 16:11:16 -08:00
abhishek 61cf2308a1 bug 7264: removing the unused param direct.attach.untagged.vlan.enabled; also changing the use of this param to Data_center.networktype.basic usage as this maps to the removed param in the case of direct untagged network. This is used in a check in recreatehostallocator 2010-12-08 16:11:16 -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
alena d1331b26bf Fixed Dhcp instance - set dhcp range to the first ip address of the subnet instead of cidr. 2010-12-08 12:11:34 -08:00
alena a5d2f8ba5c Removed check for default nic 2010-12-08 12:11:34 -08:00
alena 013ed05ca7 Don't do transition from Implemented to Setup for network 2010-12-08 12:11:34 -08:00