1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00
Commit Graph

432 Commits

Author SHA1 Message Date
Tino Vázquez
2309552eef Fix typo in comments 2010-08-30 18:21:21 +02:00
Carlos Martín
90a58ce066 one.vmpool.info xml-rpc method now has 2 more parameters
The method keeps compatibility, and can be called with 2 or 4 parameters

It now returns the the extended info upon request, reading only the vm_pool
table in the DB if the Histoy and username are not needed

The last parameter allows filtering by VM status
2010-08-27 16:11:28 +02:00
Ruben S. Montero
f05fb71f13 feature #307: Now the IM protocol is MONITOR hid hostname update 2010-08-17 00:28:48 +02:00
Ruben S. Montero
92c31a5052 a faster mem_collector, tests also updated 2010-08-10 16:30:54 +02:00
Ruben S. Montero
62fd74e890 Solved minor memory leaks when parser error occurs. Solved leaks in unit tests 2010-08-08 13:20:24 +02:00
Ruben S. Montero
b4c0fa6046 bug #274: Added Cluster allocate messages 2010-08-05 19:37:37 +02:00
Ruben S. Montero
7ac6121da9 bug #274: Error messages are now sent to the user when allocating objects 2010-08-05 19:28:28 +02:00
Carlos Martín
6ed71133b6 feature #192: tests for image persistence. 2010-08-05 17:49:06 +02:00
Ruben S. Montero
4f82f078b8 Merge branch 'bug-295' into one-2.0
Conflicts:
	include/Image.h
	src/image/Image.cc
2010-08-04 17:42:53 +02:00
Carlos Martín
fa002ca701 feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB. 2010-08-04 16:55:00 +02:00
Carlos Martín
8faeadaf72 feature #282: ImageTemplate moved from its own table to a image_pool column. 2010-08-04 11:02:55 +02:00
Carlos Martín
24987794c5 feature #282: VirtualNetworkTemplate moved from its own table to a network_pool column. 2010-08-04 10:54:22 +02:00
Carlos Martín
7221ae061c feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column. 2010-08-04 10:30:31 +02:00
Tino Vázquez
3ed14a9f68 bug #295: Adding persistence to images 2010-08-03 19:22:13 +02:00
Ruben S. Montero
04874dbf7a bug #295: Hooks can be specified without absolute path. Adjusted share location for system-wide installations 2010-08-02 11:24:01 +02:00
Carlos Martín
be0ae40820 feature #282: HostTemplate moved from its own table to a host_pool column. 2010-07-29 19:19:03 +02:00
Carlos Martín
8384abf0a2 feature #282: Templates can be now parsed from xml-formatted strings.
(cherry picked from commit 35aa6ade2c)
2010-07-29 18:49:02 +02:00
Javi Fontan
1114fcce4e Changed software version to 1.9.80 2010-07-27 12:46:33 +02:00
Carlos Martín
f98e5bbf7c bug #293: Enable/disable transitions fixed. 2010-07-23 16:49:52 +02:00
Carlos Martín
007f5f6b9c feature #200: XML-RPC method for saving images while a VM is executing. 2010-07-21 18:10:58 +02:00
Ruben S. Montero
2eafe51805 feature #200: Added default DISK_ID, simplified states 2010-07-21 17:50:04 +02:00
Ruben S. Montero
6e3d697d9e Updates image when acquired/released 2010-07-21 15:19:27 +02:00
Carlos Martín
5997d7ffe7 feature #281: VM can only use now one OS image and one CDROM image. 2010-07-20 20:09:37 +02:00
Carlos Martín
49d045b12f feature #286: RM method for changing user password. 2010-07-20 15:47:20 +02:00
Tino Vázquez
f3fc078b6c feature #203: Adding comments, fixing pools accesors in RM 2010-07-15 12:43:27 +02:00
Ruben S. Montero
0dbb3330fe feature #203: authorization now in RM.*allocate for IMAGEs and NETs 2010-07-14 19:37:43 +02:00
Ruben S. Montero
235186a998 Merge branch 'feature-203' of dsa-research.org:one into feature-203 2010-07-14 18:11:54 +02:00
Ruben S. Montero
34b2ed6c5c feature #203: Authorization method for VMs now in RM 2010-07-14 18:11:29 +02:00
Tino Vázquez
f19887fab0 feature #203: RM log funtions, -2 introduced for (allocate, parse, ...) errors 2010-07-14 17:28:33 +02:00
Ruben S. Montero
1035fe7722 feature #203: Removed Auth from allocate (VM, IMAGE & NET). Added NETWORK and NETWORK_ID for NICs and IMAGE and IMAGE_ID for DISKS 2010-07-14 16:21:41 +02:00
Tino Vázquez
24ec057a9c feature #203: Changing RM log message codes 2010-07-13 19:26:43 +02:00
Tino Vázquez
0659115f70 feature #203: Finishing RM authorization task 2010-07-13 18:16:05 +02:00
Tino Vázquez
fcb7ac0a23 feature #203: Changed RM to use log functions 2010-07-13 13:49:16 +02:00
Tino Vázquez
16f7982cf3 feature #203: Added error log functions to RM 2010-07-12 20:10:48 +02:00
Tino Vázquez
2708f83e46 Merge branch 'feature-203' of dsa-research.org:one into feature-203 2010-07-12 19:03:39 +02:00
Tino Vázquez
89d60d65ea feature #203: Removed unused user info method 2010-07-12 19:03:16 +02:00
Ruben S. Montero
0fac49b28a Merge branch 'master' into feature-203
Conflicts:
	install.sh
2010-07-12 16:33:25 +02:00
Ruben S. Montero
a778c8be0c Merge branch 'feature-201'
Conflicts:
	install.sh
	src/cli/client_utilities.rb
	src/host/test/HostPoolTest.cc
	src/oca/ruby/test/MockClient.rb
	src/rm/SConstruct
2010-07-11 20:39:10 +02:00
Ruben S. Montero
fc15b99792 feature #201: Minor changes to cluster core component 2010-07-11 19:45:10 +02:00
Carlos Martín
ddb9f27ca0 feature #201: When a cluster is deleted, the hosts assigned to it are moved to the default cluster. 2010-07-11 17:58:30 +02:00
Carlos Martín
00ebe0dd36 feature #201: Initial commit adding cluster support in the core, and new XML-RPC methods. 2010-07-11 17:57:59 +02:00
Tino Vázquez
aea644f944 feature #203: Auth for USERS 2010-07-09 20:12:19 +02:00
Ruben S. Montero
edea2edf2b feature #203: Integrated VM allocation with AuthManager 2010-07-09 12:10:05 +02:00
Ruben S. Montero
c752146975 feature #203: Encode object_ids (templates) for CREATE operations 2010-07-09 09:14:35 +02:00
Ruben S. Montero
04a85b90ad feature #203: New authorize method for users that use the AuthManager subsystem 2010-07-08 19:45:00 +02:00
Ruben S. Montero
284a2db716 feature #203: Authenticate now uses the Auth Manager infrastructure 2010-07-08 19:29:01 +02:00
Ruben S. Montero
2cc7ff67be feature #203: Nebula deamon starts a generic auth manager if defined 2010-07-08 19:28:10 +02:00
Ruben S. Montero
76e83df632 feature #203: Simplified driver load procedure and getter 2010-07-08 18:50:32 +02:00
Ruben S. Montero
53c06533d3 Better scope for the hook driver name, removed unused variable 2010-07-08 18:49:37 +02:00
Ruben S. Montero
b14eefeeec feature #203: Plain authn/authz policies 2010-07-08 17:50:49 +02:00
Ruben S. Montero
7f646b8b66 feature 203: Requests now follow the new format 2010-07-08 16:36:33 +02:00
Ruben S. Montero
3388563a9d feature #203: Conforming new protocol spec 2010-07-08 15:45:00 +02:00
Ruben S. Montero
11b39a6a34 Merge branch 'master' into feature-203 2010-07-08 01:42:49 +02:00
Ruben S. Montero
0139994dcf Merge branch 'feature-200' 2010-07-08 00:56:25 +02:00
Ruben S. Montero
a707f730f2 feature #203: Prevent race condition when a AuthRequests timeout. Now timeout timers are handled by the AuthManager. 2010-07-06 12:35:47 +02:00
Ruben S. Montero
fdc007cb46 feature #266: Changes in VirtualNetwork insert and allocate methods 2010-07-01 19:04:52 +02:00
Ruben S. Montero
fa5684c894 feature #200:Fix tests 2010-07-01 16:26:03 +02:00
Tino Vázquez
66697573f2 feature #200: Now VirtualMachine uses the same OID for VM and its templates 2010-07-01 13:30:42 +02:00
Tino Vázquez
5cb829cd2f feature #200: Removing unneeded callbacks from TemplateSQL 2010-07-01 13:29:03 +02:00
Ruben S. Montero
85fd79c029 feature #200: Slight modification of configuration attributes for the pool 2010-06-30 17:08:11 +02:00
Carlos Martín
f8df7cb595 feature #200: Image initialization code refactor 2010-06-30 16:48:24 +02:00
Tino Vázquez
b3fd7ef2d1 feature #200: Adding VN publish/unpublish methods 2010-06-29 19:40:03 +02:00
Tino Vázquez
eb4bb13dec feature #200: Added publish method to virtual network 2010-06-29 18:32:55 +02:00
Ruben S. Montero
1d54c60f45 Merge branch 'feature-261' 2010-06-28 17:19:16 +02:00
Tino Vázquez
b3466572fa feature #200: Some minor fixes 2010-06-28 12:17:21 +02:00
Ruben S. Montero
2d9d78a03a Merge branch 'master' into feature-200
Conflicts:
	include/VirtualNetwork.h
	src/vm/VirtualMachine.cc
2010-06-25 19:16:14 +02:00
Ruben S. Montero
2e06f4f26d Merge branch 'feature-189'
Conflicts:
	include/VirtualMachine.h
	include/VirtualMachinePool.h
	include/VirtualNetwork.h
	share/etc/oned.conf
	src/scheduler/src/xml/expr_arith.cc
	src/scheduler/src/xml/expr_arith.h
	src/scheduler/src/xml/expr_bool.cc
	src/scheduler/src/xml/expr_bool.h
	src/scheduler/src/xml/expr_parser.c
	src/template/template_parser.c
	src/template/template_syntax.cc
	src/template/template_syntax.h
	src/vm/VirtualMachine.cc
	src/vm/VirtualMachinePool.cc
	src/vm/vm_var_parser.c
	src/vm/vm_var_syntax.cc
	src/vm/vm_var_syntax.h
2010-06-25 14:34:44 +02:00
Ruben S. Montero
cacbe7bf5e feature #200: Integrates ImagePool and VirtualMachinePool. Now you can requests Images from VM templates! 2010-06-25 13:24:54 +02:00
Ruben S. Montero
694685a959 feature #200: Disks attribute generation includes image acquire. 2010-06-25 12:51:55 +02:00
Ruben S. Montero
74aa41baec feature #206: New methods to get NIC & DISK attributes 2010-06-25 12:08:05 +02:00
Tino Vázquez
f045b2ade4 Merge branch 'feature-200' of dsa-research.org:one into feature-200 2010-06-24 18:51:15 +02:00
Tino Vázquez
f718cd310a feature #200: Adding enable, publish & remove attribute for images to RM 2010-06-24 18:50:41 +02:00
Ruben S. Montero
11fbfb5636 feature #200: Generate Disk attributes with the ImagePool metadata 2010-06-24 18:35:18 +02:00
Tino Vázquez and Ruben S. Montero
1c9e70dd80 feature #200: New enable/publish methods, changed ImagePool interface for modifying template attributes. 2010-06-24 16:47:39 +02:00
Tino Vázquez and Ruben S. Montero
09adf06c4b feature #200: Disable/Enable methods for the Image Class 2010-06-24 16:22:05 +02:00
Tino Vázquez and Ruben S. Montero
3fd53cc4c2 feature #200: New states for Images and associated life-cycle functions 2010-06-24 16:12:45 +02:00
Ruben S. Montero
d175a07831 feature #261: Moved host_limit to the information manager to ease configuratio 2010-06-18 00:20:01 +02:00
Carlos Martin and Ruben S. Montero
37f8c0d4dc feature #261: Added support for limiting the number of VMs processed per monitoring interval. 2010-06-17 23:55:01 +02:00
Tino Vázquez
ac2ed32178 Merge branch 'master' into feature-200 2010-06-14 13:04:08 +02:00
Carlos Martín
0280c88bb6 Performance improvements for VMs SQL queries. 2010-06-11 20:25:49 +02:00
Carlos Martín
6d60b1c0b2 bug #259: Callback functions are locked until the DB query answer is processed. 2010-06-11 19:11:12 +02:00
Constantino Vázquez Blanco
06657604b4 feature #200: Update image in DB after modifying attribute 2010-06-11 16:23:34 +02:00
Constantino Vázquez Blanco
5623814f03 feature #200: Fixed public attribute wrong type (from string to int) 2010-06-11 16:04:51 +02:00
Carlos Martín
7745093bd0 feature #253: some improvements, and PUBLIC attribute changed from TEXT to INTEGER for Virtual Networks. 2010-06-11 15:42:04 +02:00
Carlos Martín
5ddee46cc4 feature #200: PUBLIC attribute changed from TEXT to INTEGER. 2010-06-11 15:41:49 +02:00
Carlos Martín
151b73e616 features #200 & #253: Default public attribute removed. 2010-06-11 15:41:43 +02:00
Constantino Vázquez Blanco
b8de290197 feature #200: Addde Image Update method 2010-06-10 18:54:48 +02:00
Constantino Vázquez Blanco
9ca75314b4 feature #200: Added Image Delete RM method 2010-06-08 17:42:18 +02:00
Constantino Vázquez Blanco
1a956aa355 feature #200: Making ImageInfo aware of the Public attribute 2010-06-08 15:30:15 +02:00
Carlos Martín
125690380a feature #253: Add PUBLIC column to sql table for VirtualMachinePool. 2010-06-08 13:00:31 +02:00
Carlos Martín
9b8862eb4c feature #200: Public attribute moved to main image sql table. 2010-06-08 12:36:39 +02:00
Ruben S. Montero
ad57e2b2c6 Removed unneeded locks and updated Pool tests 2010-06-03 11:47:03 +02:00
Constantino Vázquez Blanco
328f3efca2 feature #200: Added ImageAllocate method to RM 2010-06-02 19:41:05 +02:00
Ruben S. Montero
4be783e9be Back-port of REQUIREMENTS parsing for VM templates 2010-06-02 14:51:05 +02:00
Constantino Vázquez Blanco
d1e3eb66a4 feature #200: Added Image Info method to Request Manager 2010-06-01 19:35:42 +02:00
Constantino Vázquez Blanco
f41a74cd02 feature #200: Initial integration of ImagePool 2010-06-01 18:00:44 +02:00
Constantino Vázquez Blanco
75cd62bc03 feature #200: Preparing RM for Image methods 2010-05-31 18:40:38 +02:00
Carlos Martín
2ff230cd79 feature #200: New erase method for Template class: removes and frees attributes with the given name. 2010-05-31 18:07:48 +02:00
Carlos Martín
9fe40f27c9 feature #200: ImagePool's contructor changed to load existing images from the DB. 2010-05-31 18:02:21 +02:00
Carlos Martín
2cb9de488d feature #200: Image's get_disk_attribute now adds SOURCE attribute as well. 2010-05-31 15:17:14 +02:00
Ruben S. Montero
42161d1ac5 feature #203: Syncrhonization functions for the AuthRequest. Added basic tests for the Authentication Manager 2010-05-29 03:42:30 +02:00
Carlos Martín
8035bd5c81 feature #200: Fixed default type check. 2010-05-28 19:18:07 +02:00
Carlos Martín
c16631873f feature #200: Images can now modify a DISK attribute vector to include correct BUS and TARGET. 2010-05-28 19:13:35 +02:00
Ruben S. Montero
baca5e4a44 feature #203: Initial version for the Authorization Manager and Drivers 2010-05-28 00:27:29 +02:00
Tino Vazquez and Carlos Martin
6f631907a0 feature #200: Insert, replace and remove methods for Image update the DB immediately. 2010-05-27 16:02:29 +02:00
Tino Vazquez and Carlos Martin
2b14a20a5b feature #200: Description and bus type columns removed for Image elements. 2010-05-27 16:02:22 +02:00
Tino Vazquez and Carlos Martin
4e2c544c4c feature #200: Source path generation fixed, and removed target attribute. 2010-05-27 15:56:35 +02:00
Constantino Vázquez Blanco and Carlos Martín
6b320815b4 feature-#200: Finishing image pool 2010-05-25 18:20:40 +02:00
Constantino Vázquez Blanco
484013d9b1 feature-#200: Polishing ImagePool classes 2010-05-24 11:31:09 +02:00
Carlos Martín
9cf8af1c9b feature #200: More code for Image Pool 2010-05-21 12:40:47 +02:00
Constantino Vázquez Blanco
8dd2d1a031 Initial commit of the Image pool 2010-05-20 18:58:17 +02:00
Ruben S. Montero
091a736d24 feature #212: Put attribute data within CDDATA 2010-05-18 23:43:50 +02:00
Ruben S. Montero
2b5ffb2c1a feature #192: Fix compilation issues for the tests 2010-05-18 00:01:49 +02:00
Carlos Martin and Ruben S. Montero
60d1dd70ec feature #212: get rid of rank & req methods for Host class 2010-05-14 03:36:04 +02:00
Ruben S. Montero
a156dca7e3 feature #212: Initial Refactor of Scheduler code. Added XML base class to use the XML-RPC interface, the commit includes some tests for this class 2010-05-09 01:58:07 +02:00
Ruben S. Montero
a8905b2704 feature #206: OpenNebula can now be compiled with several DB backends 2010-05-07 14:45:27 +02:00
Ruben S. Montero
1d4653f793 feature #206: Thread safe for MySQL class 2010-05-06 16:16:50 +02:00
Ruben S. Montero
b80e688d05 Merge branch 'feature-206' of dsa-research.org:one into feature-206 2010-05-04 12:17:31 +02:00
Carlos Martin
75112ebd06 feature #192: Tests now uses the same DB 2010-05-04 12:16:58 +02:00
Tino Vázquez
28c7f107db feature-#206: History is updated now, not inserted. 2010-05-03 19:29:08 +02:00
Constantino Vázquez Blanco
56e49136e0 feature #206: Isolation of INSERT and REPLACE SQL queries for History objects 2010-05-03 19:13:37 +02:00
Constantino Vázquez Blanco
f91f9de99c feature-#206: Modified return value of VM pool allocate to comply with virtual definition 2010-05-03 17:21:35 +02:00
Carlos Martin and Ruben S. Montero
31dad56bfc feature #192: More tests for Vnet allocation. It also solves some bugs. 2010-05-03 15:57:52 +02:00
Carlos Martin
8349f1ac37 feature #206: VirtualNetworks now MySQL compliant 2010-05-03 13:13:47 +02:00
Carlos Martin
f27c991dfb feature #192: More checks for the PoolTest tests 2010-05-03 13:02:56 +02:00
Constantino Vázquez Blanco
eb07cd9425 feature #206: Isolation of INSERT and REPLACE SQL queries for VirtualMachine objects. 2010-04-29 18:11:04 +02:00
Carlos Martin
f48cf0b8c5 feature #192: Tests now can be run for sqlite and MySQL backends 2010-04-28 18:43:56 +02:00
Carlos Martin and Ruben S. Montero
7043f80c51 bug: better comments for the UserPool and erro returning oid in allocate 2010-04-28 18:37:45 +02:00
Carlos Martin and Ruben S. Montero
321ee27472 bug : Rollback Host objects while inserting in DB, better comments for HostPool.h and return oid in method allocate 2010-04-28 18:25:43 +02:00
Constantino Vázquez Blanco
0e1a364736 feature #206: Isolation of INSERT and REPLACE SQL queries for Host objects. 2010-04-28 15:00:07 +02:00
Constantino Vázquez Blanco
5cf9d453e1 feature #206: Formatting, indenting and commenting hosts clases 2010-04-27 17:42:37 +02:00
Carlos Martín
4d0d92ec46 feature #206: Isolation of INSERT and REPLACE SQL queries for User objects. 2010-04-26 18:29:31 +02:00
Ruben S. Montero
e98aff5510 feature #192: Logs set to DEBUG level 2010-04-26 18:00:19 +02:00
Ruben S. Montero
238644743d feature #192: free log resources in NebulaLog and base PoolTest class 2010-04-22 23:27:39 +02:00
Carlos Martin
b1190c16e5 feature #192: Base tests for Pool classes 2010-04-22 00:46:48 +02:00
Ruben S. Montero
bbd8f7c869 Add dump method to base class PoolSQL 2010-04-22 00:13:52 +02:00
Carlos Martin
ba790e2337 Minor log fix and style 2010-04-22 00:13:46 +02:00
Ruben S. Montero
21b729dbdd feature #192: Decouple Logger from Nebula class 2010-04-21 00:40:16 +02:00
Ruben S. Montero
84709c2cde feature #192: Decoupled logger classes from Nebula 2010-04-21 00:39:34 +02:00
Carlos Martin
e60e22da70 feature #206: New Class to interface MySQL DBs 2010-04-17 00:25:04 +02:00
Ruben S. Montero
b85ff59abd feature #206: moved Nebula to SqlDB and missing file for Virtual Netwokrs 2010-04-10 22:19:49 +02:00
Ruben S. Montero
d215c5dccd feature #206: Some minor fixes 2010-04-10 22:19:16 +02:00
Ruben S. Montero
ce7d0681e3 feature #206: VirtualMachine uses SqlDB 2010-04-10 22:16:47 +02:00
Ruben S. Montero
aeb27c1004 feature #206: Moved the Virtual Network to new DB classes 2010-04-10 22:15:47 +02:00
Ruben S. Montero
4f74172044 feature #206: update casting in generic sqlite callback function 2010-04-07 17:25:39 +02:00
Carlos Martin and Ruben S. Montero
36d27746ba feature #204: Drop method now in the base class PoolSQL 2010-04-05 23:34:09 +02:00
Ruben S. Montero
7d16e4b0c8 feature #206: User classes ported to the new SQL interface 2010-04-05 00:07:31 +02:00
Ruben S. Montero
47108138e7 feature #206: Host moved to the new SQL classes 2010-04-04 01:12:52 +02:00
Ruben S. Montero
e20171a581 feature #206: Template Class now uses the new SQL interface 2010-04-04 01:11:13 +02:00
Ruben S. Montero
9b9fa8b196 feature #206: initialize error string pointer 2010-04-03 18:47:38 +02:00
Ruben S. Montero
ed3994ab75 feature #206: Removed unneeded reference 2010-04-03 18:46:23 +02:00
Ruben S. Montero
88f7cbe8c1 feature #206: Moved Pool classes to the new DB interface 2010-04-03 16:54:54 +02:00
Ruben S. Montero
4aaac043d0 feature #206: New interace for callbacks 2010-04-03 16:54:09 +02:00
Ruben S. Montero
eacaa30e12 feature #206: sqlite class implements the SqlDB interface 2010-04-03 15:56:57 +02:00
Ruben S. Montero
31ef166ee2 featrure #206: Abstract interface for generic DB engine. Callback interface for ObjectSQL class 2010-04-03 15:55:12 +02:00
Ruben S. Montero
b211fc3b43 feature #206: Interface for DB backends. 2010-03-29 13:57:33 +02:00
Ruben S. Montero
61d7079cc2 bug #196: Added parsing of share variables, it includes RUNNING_VMS, USED_CPU, USED_MEMORY...
(cherry picked from commit b59616d00a)
2010-03-08 17:22:54 +01:00
Ruben S. Montero
3366abdb7f feature #189: Support to access NETWORK templates in VM CONTEXT (e.g. $NETWORK[DNS]) 2010-03-06 00:15:03 +01:00
Ruben S. Montero
28e9d41ab1 feature #189: Moved attribute parsing to VirtualMachine class (get rid of cross references). Added Requirements parsing and initial vnc_port generation 2010-03-05 19:17:52 +01:00
Javier Fontán Muiños
fdfe10407e Changed copyright notice 2010-02-22 18:00:30 +01:00
Rubén S. Montero
88e97aca68 parse requirements
git-svn-id: http://svn.opennebula.org/one/branches/DEVELOPMENT/Context_Requirements@960 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-12-21 12:07:26 +00:00
Rubén S. Montero
fc4f60822a Trunk is now 1.5, the new development release of OpenNebula
git-svn-id: http://svn.opennebula.org/one/trunk@941 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-12-12 15:36:03 +00:00
Rubén S. Montero
67817d6fba Merging differences back from 1.4 branch
git-svn-id: http://svn.opennebula.org/one/trunk@940 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-12-12 15:35:04 +00:00
Rubén S. Montero
ee3f8585f4 Merging back scheduler fix in r910
git-svn-id: http://svn.opennebula.org/one/trunk@911 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-11-02 22:05:12 +00:00
Constantino Vázquez Blanco
29ce40f113 Change version to 1.3.85
git-svn-id: http://svn.opennebula.org/one/trunk@906 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-10-30 12:21:38 +00:00
Rubén S. Montero
88e4922486 Removed unused code
git-svn-id: http://svn.opennebula.org/one/trunk@760 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-08-06 15:31:06 +00:00
Rubén S. Montero
c126e1b7dd Now trunk is OpenNebula 1.4 Beta1
git-svn-id: http://svn.opennebula.org/one/trunk@744 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-23 14:01:25 +00:00
Javier Fontán Muiños
bd16206345 Fixes to mm_sched
git-svn-id: http://svn.opennebula.org/one/trunk@689 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-14 16:40:33 +00:00
Rubén S. Montero
12d756a96b #126 The Transfer and VirtualMachine Managers use oneadmin drivers
git-svn-id: http://svn.opennebula.org/one/trunk@677 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-13 13:47:42 +00:00
Rubén S. Montero
581f50d600 Bug when deleting host, user and vn objects.
git-svn-id: http://svn.opennebula.org/one/trunk@676 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-13 12:21:14 +00:00
Rubén S. Montero
d965eb44aa Merge of the OpenNebulaXML branch (-r535:HEAD)
git-svn-id: http://svn.opennebula.org/one/trunk@667 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-09 14:34:34 +00:00
Rubén S. Montero
a3d6025224 New method to get the pool through the xml-rpc interface. Some work to have XML format and plain text for the objects.
git-svn-id: http://svn.opennebula.org/one/trunk@521 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-22 00:46:52 +00:00
Javier Fontán Muiños
e66508330a OneApi is now compatible with C
git-svn-id: http://svn.opennebula.org/one/trunk@520 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-20 15:20:03 +00:00
Rubén S. Montero
8a547d4d7e #104: Adds the VM name (deploy id) to the RESTORE Action. KVM & XEN driver
has been updated.


git-svn-id: http://svn.opennebula.org/one/trunk@517 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-08 21:26:42 +00:00
Rubén S. Montero
38cf7b15d7 More unused code
git-svn-id: http://svn.opennebula.org/one/trunk@510 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-06 18:19:27 +00:00
Rubén S. Montero
5e800bc65e get rid of unused code
git-svn-id: http://svn.opennebula.org/one/trunk@509 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-06 18:12:33 +00:00
Rubén S. Montero
13562c8d7b Added missing methods in the client API
git-svn-id: http://svn.opennebula.org/one/trunk@474 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-16 20:13:47 +00:00
Rubén S. Montero
3ae441a176 Re-design of State Hooks. Added some pre-defined state hooks to VM Pool
git-svn-id: http://svn.opennebula.org/one/trunk@461 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-09 23:08:54 +00:00
Rubén S. Montero
bf2f68ed93 Bug in Vm Hooks
git-svn-id: http://svn.opennebula.org/one/trunk@460 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-09 01:01:17 +00:00
Rubén S. Montero
ea6a1050d6 Implementation of the VM State Hooks. Get rid of check function for the Hook
base class.



git-svn-id: http://svn.opennebula.org/one/trunk@459 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-09 00:58:43 +00:00
Rubén S. Montero
a0b869996e #15 : Brought back threads for HM
git-svn-id: http://svn.opennebula.org/one/trunk@457 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-05 20:34:33 +00:00
Rubén S. Montero
7a144a8e1e #15 define hooks in the oned.conf file
git-svn-id: http://svn.opennebula.org/one/trunk@456 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-04 23:10:02 +00:00
Rubén S. Montero
89eee6b1c4 #15 : Removed action support from HookManager. Delete HM on Nebula destruction
git-svn-id: http://svn.opennebula.org/one/trunk@455 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-04 22:07:06 +00:00
Rubén S. Montero
ba0856229c #15 : Added driver wrapper. Driver files in install program. Added the
HookManager and HookManagerDriver. Included the Hook driver in conf file


git-svn-id: http://svn.opennebula.org/one/trunk@453 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-03 23:34:33 +00:00
Rubén S. Montero
258c8c4abf #15 : VirtualMachine Hooks, allocate (stub now). Needs to be integrated
with the Execution Manager to actually execute the hook. 


git-svn-id: http://svn.opennebula.org/one/trunk@447 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-02 10:56:09 +00:00
Rubén S. Montero
4c2d9df0a9 Simplified parsers (Flex include files).
Moved the VM attribute parser to VirtualMachine
Made some optimizations on the parsing


git-svn-id: http://svn.opennebula.org/one/trunk@446 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-02 10:14:54 +00:00
Rubén S. Montero
19289a455b Allocate from string template method in OneClient
git-svn-id: http://svn.opennebula.org/one/trunk@434 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-30 14:55:46 +00:00
Rubén S. Montero
3d9dd71e5d Added support for Hook types and to mask them
git-svn-id: http://svn.opennebula.org/one/trunk@433 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-29 21:34:37 +00:00
Rubén S. Montero
fd5aed789a Prevents memory leak when replacing a template attribute
git-svn-id: http://svn.opennebula.org/one/trunk@432 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-29 21:27:55 +00:00
Rubén S. Montero
80bd74457b The Pool is now Hookable so we can hook on database updates
git-svn-id: http://svn.opennebula.org/one/trunk@430 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-27 00:32:02 +00:00
Rubén S. Montero
7b1f4a93ae New arguments for the hook
git-svn-id: http://svn.opennebula.org/one/trunk@429 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-23 15:03:09 +00:00
Rubén S. Montero
5147af2fca First version og the generic Hook interface
git-svn-id: http://svn.opennebula.org/one/trunk@428 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-21 01:23:35 +00:00
Constantino Vázquez Blanco
06dbeae737 Changed XML template element tag name to avoid possible future conflicts.
git-svn-id: http://svn.opennebula.org/one/trunk@398 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-10 17:32:04 +00:00
Rubén S. Montero
7791a6e3ba better deal with context attributes
git-svn-id: http://svn.opennebula.org/one/trunk@395 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-08 00:06:16 +00:00
Rubén S. Montero
ee35b3db66 Now prolog generates the context file and includes a new CONTEXT action
in the transfer script


git-svn-id: http://svn.opennebula.org/one/trunk@393 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:56:26 +00:00
Rubén S. Montero
c13cbce13a Get rid of not used defaults for IM and TM drivers
git-svn-id: http://svn.opennebula.org/one/trunk@390 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:50:05 +00:00
Rubén S. Montero
1d94e0ba52 Cosmetic changes...
git-svn-id: http://svn.opennebula.org/one/trunk@389 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 15:54:57 +00:00
Rubén S. Montero
e799c8b3ad Functions to generate the context file for a VM, and some minor
modifications and new functionality to deal with the Teamplates


git-svn-id: http://svn.opennebula.org/one/trunk@386 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 12:10:15 +00:00
Rubén S. Montero
23cc92c69c Added defaults values for EC2 drivers, removed the EC2 core driver. Now,
we fully support the XML driver to extend  OpenNebula. Other minor 
changes to improve EC2.



git-svn-id: http://svn.opennebula.org/one/trunk@365 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 00:24:39 +00:00
Rubén S. Montero
dd6c5655f4 New names for XML root element documents: VM, HOST and NETWORK
git-svn-id: http://svn.opennebula.org/one/trunk@364 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-14 22:32:21 +00:00
Rubén S. Montero
075e016cf5 New XML driver implementation
git-svn-id: http://svn.opennebula.org/one/trunk@331 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-26 18:27:03 +00:00
Rubén S. Montero
60aff2d402 Trunk now is OpenNebula 1.3. New raw XML vmm drvier type. updated date in license
git-svn-id: http://svn.opennebula.org/one/trunk@330 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-26 18:25:15 +00:00
Rubén S. Montero
77681ccfc8 Address ticket #59
git-svn-id: http://svn.opennebula.org/one/trunk@294 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-02 14:58:51 +00:00
Rubén S. Montero
ba94c5bd31 Version information for the oned programm
git-svn-id: http://svn.opennebula.org/one/trunk@274 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-12-02 17:26:22 +00:00
Rubén S. Montero
8be88f795f Better printing of Template objects
git-svn-id: http://svn.opennebula.org/one/trunk@243 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-17 17:02:12 +00:00
Rubén S. Montero
2566d2fe23 Now a VM can ask for a specific lease, based on the IP
git-svn-id: http://svn.opennebula.org/one/trunk@239 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-15 00:40:27 +00:00
Rubén S. Montero
6c722bc64d Added method get_leases to make VirtualMachine::insert cleaner
git-svn-id: http://svn.opennebula.org/one/trunk@237 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-14 19:51:33 +00:00
Rubén S. Montero
7c251044a5 Minor leak in Nebula class
git-svn-id: http://svn.opennebula.org/one/trunk@233 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-13 20:12:52 +00:00
Constantino Vázquez Blanco
ee411e7963 Merged TransferManager and VirtualNetworkManager branches.
git-svn-id: http://svn.opennebula.org/one/trunk@230 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-13 16:21:17 +00:00
Rubén S. Montero
8be041503e Updated OneClient API, solved minor bugs when reading the template. Added a C Wrapper to ease the implementation of the libvirt driver
git-svn-id: http://svn.opennebula.org/one/trunk@135 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-10-10 23:24:47 +00:00
Constantino Vázquez Blanco
67bb553001 Fix for ticket #36 - Not compiling under gcc 4.3.0
git-svn-id: http://svn.opennebula.org/one/trunk@110 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-10-02 16:09:12 +00:00
Rubén S. Montero
0adc262a8d simple API to invoke the oned functionality
git-svn-id: http://svn.opennebula.org/one/trunk@109 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 16:09:26 +00:00
Constantino Vázquez Blanco
4a231d5192 Rolling back unnecesary Cancel method in Request Manager
It was already implemented as an action.

git-svn-id: http://svn.opennebula.org/one/trunk@104 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 14:13:08 +00:00
Rubén S. Montero
510b6c5700 Ticket #38: Wrong handling of Vector Attributes
git-svn-id: http://svn.opennebula.org/one/trunk@102 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 11:55:22 +00:00
Rubén S. Montero
f30f3bd7bd simple API to invoke the oned functionality, added constructor
git-svn-id: http://svn.opennebula.org/one/trunk@101 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-29 22:29:36 +00:00
Rubén S. Montero
73436c0c41 simple API to invoke the oned functionality
git-svn-id: http://svn.opennebula.org/one/trunk@100 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-29 22:26:51 +00:00
Constantino Vázquez Blanco
27664b123d Adding the ability to CANCEL a virtual machine
Added it in the Dispatch Manager (lcm already prepared),
the Request Manager and the ruby CLI

git-svn-id: http://svn.opennebula.org/trunk@88 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-08 10:57:52 +00:00
Rubén S. Montero
4906d91bdf Some minor bugs
git-svn-id: http://svn.opennebula.org/trunk@75 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 18:19:39 +00:00
Rubén S. Montero
20ac09e4a7 Fix a problem when attrs where not defined. Prevents memory leaks in Log
git-svn-id: http://svn.opennebula.org/trunk@73 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 17:51:35 +00:00
Constantino Vázquez Blanco
315cea65e5 fix for ticket #31
Now log files are just open each time something needs to be written into, rather
that all along the lifecycle of the VM or oned

git-svn-id: http://svn.opennebula.org/trunk@69 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 14:43:40 +00:00
Rubén S. Montero
a08d1c2d06 Adds a new attribute (from the POLL string) to the VM template. It replaces the
attribute if it already exists. 


git-svn-id: http://svn.opennebula.org/trunk@65 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-20 22:41:20 +00:00
Rubén S. Montero
7b3e12cbe7 Initial commit of EC2 drivers
git-svn-id: http://svn.opennebula.org/trunk@62 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-17 23:32:05 +00:00
Constantino Vázquez Blanco
077b71d41f Merge ssh://ursa/home/tinova/dev/nebula
git-svn-id: http://svn.opennebula.org/trunk@40 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-07 13:51:52 +00:00
Rubén S. Montero
45663d6c33 Moved default conf file managemnt to VirtualMachineManagerDriver class so it
can be used by all the drivers
Added vector attribute support for defaults
Moved xen paths to driver rc file


git-svn-id: http://svn.opennebula.org/trunk@37 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-05 15:46:29 +00:00
Constantino Vázquez Blanco
39f766b512 Added KVM Driver support (Not finished yet, XML creation pending)
Renamed some file for coherence.

git-svn-id: http://svn.opennebula.org/trunk@31 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-04 16:55:49 +00:00
Rubén S. Montero
462268c1a7 address bug reported by Alvaro Canales in the one-user mailing list
git-svn-id: http://svn.opennebula.org/trunk@22 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-26 11:52:06 +00:00
Rubén S. Montero
cc15bae5eb support for STATE='d', reported by the POLL command when the VM has been deleted
git-svn-id: http://svn.opennebula.org/trunk@13 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-23 18:43:44 +00:00
Constantino Vázquez Blanco
504368f077 Fixed template displaying bug in
onevm show <id>
   onehost show <id>


git-svn-id: http://svn.opennebula.org/trunk@11 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-23 17:11:14 +00:00
Rubén S. Montero
06fd90a2c0 Improved life-cycle (address ticket #4), new action when monitor returns paused or error states. Reason attribute for history records is now updated
git-svn-id: http://svn.opennebula.org/trunk@10 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-22 22:38:55 +00:00
Rubén S. Montero
92b17d4eef Simplified history handling in VM
Solved some history timer issues
Improved life-cycle (address ticket #4)
Solved a couple of deadlocks in some RequestManager methods

git-svn-id: http://svn.opennebula.org/trunk@9 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-22 01:51:49 +00:00
Constantino Vázquez Blanco
3db8342e8f Added DEBUG_LEVEL to oned.conf. Task for ticket #5.
git-svn-id: http://svn.opennebula.org/trunk@3 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-18 15:58:44 +00:00
Javier Fontán Muiños
6eb9fed97d Initial commit of ONE code
git-svn-id: http://svn.opennebula.org/trunk@2 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-17 16:27:32 +00:00