404 Commits

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