Commit Graph

20 Commits

Author SHA1 Message Date
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
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
anthony 6419e49977 add guid in cluster table 2010-12-16 16:28:56 -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
abhishek aad17a9896 removing the @DB annotation as I am not using a txn anymore 2010-12-08 10:43:05 -08:00
abhishek f2b2066afb bug 7204: adding an upgrade step. This updates all zones to basic networking if direct.attach.untagged.vlan.enabled is true, else to advanced.
status 7204: resolved fixed
2010-12-08 10:34:45 -08:00
Alex Huang daa9add158 removed router stuff from network manager 2010-12-04 17:32:31 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Alex Huang aca8ef79cd a bunch of other changes for network refactoring 2010-11-08 12:29:37 -08:00
Alex Huang e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
Kris McQueen 2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
edison edb16aa117 change storage allocator policy based on hypervisor 2010-09-29 18:40:47 -07:00
Kris McQueen 848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
alena 0c659af24a Implemented DB migration from 2.1.x to 2.2.x for Instance Grous feature. Added missing Daos to migration-components.xml (AccountDao, ResourceCoundDao, InstanceGroupDao, InstanceGroupVmMapDao).1 2010-09-21 18:53:18 -07:00
alena 8525992d41 Preparation for 2.1 to 2.2 DB migration: create instance group object if "vm_instance.group" field is not empty for user vm 2010-09-15 14:06:55 -07:00
Kris McQueen df10af0688 cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
root 76e5cf3321 renamed dao methods to correctly reflect what they do 2010-09-09 18:01:50 -07:00
Alex Huang e0165dd2ef my changes 2010-08-23 13:59:23 -07:00
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00