Commit Graph

192 Commits

Author SHA1 Message Date
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
alena 21bb9df292 Fixed accountCleanup to release all public ip addresses and delete the corresponding networks. 2010-12-20 20:20:09 -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
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
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 e613ecaba0 unit test passed 2010-12-16 14:04:32 -08:00
Alex Huang 39cc371e78 network gc 2010-12-16 14:03:21 -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
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 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
alena c7a9267225 Delete network as a part of account cleanup 2010-12-13 10:47:10 -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
Alex Huang 8ac694bf55 changes from testing 2010-12-10 09:29:23 -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
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
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
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
Alex Huang 9bae18d915 merge changes 2010-12-08 09:17:44 -08:00
Alex Huang 2c42ebbf71 ip assoc working 2010-12-08 09:03:34 -08:00
Alex Huang beee7aac2c merge changes 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 c2bec9fec4 Set network state to Implemented when implement network in Setup state. 2010-12-07 19:57:58 -08:00
alena e279389c2b Added created/removed fields to Nics and Networks tables. 2010-12-07 18:08:05 -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 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
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
alena a230a5fed9 createNetwork - specifyVlan parameter applies for regular users only. 2010-12-06 14:11:53 -08:00
alena ade1b2665b Removed podId from createNetwork api command 2010-12-06 13:25:37 -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 619d378095 Set specifyVlan=true for default Direct network offering 2010-12-06 09:23:15 -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
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
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
alena cb605e626a listNetworks api - return only networks belonging to the caller plus Shared networks when command is called without any parameters 2010-12-03 14:15:30 -08:00
alena 9f11f52611 listNetworks - don't return Networks created from systemOnly network offerings 2010-12-03 12:31:30 -08:00
Alex Huang a8b617c596 port forwarding is now in 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