1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

3072 Commits

Author SHA1 Message Date
Ruben S. Montero
76243c5ea8 Merge branch 'bug-868' 2011-10-27 01:43:28 +02:00
Hector Sanjuan
ff0a469cb1 Task #933: Re-enable image type when doing save_as of a VM 2011-10-26 19:04:31 +02:00
Carlos Martín
dfa0d07bc6 Remove json from Configuration.rb 2011-10-24 18:29:35 +02:00
Ruben S. Montero
b777701c6b feature #940: NIC/VLAN_ID is also a restricted attribute 2011-10-24 17:09:03 +02:00
Ruben S. Montero
cf4f66069e Bug: Uses wrong variable for SQL statement 2011-10-22 22:43:47 +02:00
Ruben S. Montero
03c9e6bc9a feature #940: Removed security check in tm_context drivers. Added check for restricted attributes to
VirtualMachineTemplate class. VM creation check templates for non-oneadmin users.
2011-10-22 22:38:00 +02:00
Hector Sanjuan
9cd6a57c37 Bug #932: Add listener to cancel button in simple confirm dialogs
(cherry picked from commit 0e6f5f54ffb9022a93eb2c31d4c7e977a44dcb3d)
2011-10-22 01:46:35 +02:00
Ruben S. Montero
d37865d277 Merge branch 'feature-789' 2011-10-22 00:37:16 +02:00
Carlos Martín
f0b1a28d89 Bug #868: Add new one.image.chtype method, in core, ruby & java oca, and CLI. Needs testing 2011-10-21 18:50:04 +02:00
Carlos Martín
395d98a274 Bug #868: Add option to set the image type in one.vm.savedisk; done in core, ruby & java oca, CLI 2011-10-21 18:00:52 +02:00
Hector Sanjuan
d481b332bb Feature #789: Whitespace cleanup, correct indentation in OZones ruby files
That means, no spaces at the end of lines, no tabs, 4-space indent...
2011-10-20 12:21:26 +02:00
Ruben S. Montero
d690e728d0 bug #867: Postpone qcow2 management to integrate it with quota system 2011-10-20 11:21:38 +02:00
Hector Sanjuan
a48ba32dfd Feature #789, Task #905: Fix access to subresources in onezone command.
Capitalization/symbolization of hash keys after previous commits.
2011-10-20 11:19:47 +02:00
Hector Sanjuan
8b7c02b914 Feature #789: Symbolize the keys from resource data hashes.
This means accessing properties of a resource should primarily be done with a symbol name: vdc[:HOSTS] instead of vdc["HOSTS"]. All client code updated accordingly.

In practice, and to easy the task of developers it will still work if Strings are used (.to_sym performed by default).
2011-10-20 10:53:47 +02:00
Ruben S. Montero
cee35c0750 Merge branch 'feature-873' 2011-10-19 23:51:39 +02:00
Ruben S. Montero
ee76f711fd bug #867: Minor change to du function 2011-10-19 23:04:15 +02:00
Hector Sanjuan
de9423c69c Task #905: Capitalize ozones data
All data is now represented with keys in capital letters. Resources attributes must be accessed with capital letters.

Server JSON is directly parsed with symbolize_keys => true.
2011-10-19 18:13:14 +02:00
Jaime Melis
dfa237b2ee Bug #867: Image size is not accurate for empty files. 2011-10-19 13:09:34 +02:00
Daniel Molina
612dc31489 feature #849: Add OCCI PUT compute tests 2011-10-17 18:40:19 +02:00
Daniel Molina
f1272b23d8 feature #849: Improve OCCI PUT compute 2011-10-17 18:37:45 +02:00
Carlos Martín
7aff65c28c Bug in previous commit:75324dab, a file was renamed but install.sh was not updated 2011-10-17 09:06:22 -07:00
Carlos Martín
75324dab26 onedb: The 3.0 migrator was renamed to 3.0.0 in one-3.0, but not in master. See commit:ac2f9966 2011-10-17 17:31:46 +02:00
Hector Sanjuan
c806c7288d Feature #789: Move ozones api files one level up
zona.rb can be found directly in ozones lib/ dir. Install script updated accordingly.
2011-10-17 01:45:00 +02:00
Hector Sanjuan
5ab4becd3f Task #904: Document new oZones API
Added comments to all "module zona" files. Comments can be processed with YARD to produce nice documentation.
2011-10-17 01:36:42 +02:00
Hector Sanjuan
241ea1265a Add missing license header to onevdc 2011-10-16 18:58:25 +02:00
Ruben S. Montero
1122f2f2d3 Merge branch 'master' of git.opennebula.org:one 2011-10-15 00:07:32 +02:00
Ruben S. Montero
cd4c5d5dcb bug #866: Removed unneeded check after starting the server 2011-10-15 00:06:51 +02:00
Javi Fontan
66134fa087 typo in install_gems (nokogiri)
(cherry picked from commit 19029f7f761af3a8b494275f1984e29df560d36d)
2011-10-14 17:30:24 +02:00
Carlos Martín
a61cd0bb0a Bug #871: Avoid locked tables in onedb upgrade. Thanks to jan horacek <jahor@jhr.cz> 2011-10-14 16:51:29 +02:00
Carlos Martín
9ed5b738a4 Bug #848: Take into account bug #871, avoid table lock 2011-10-14 16:49:13 +02:00
Daniel Molina
faa3a8b8c6 feature #801: Add onequota unset 2011-10-14 16:47:56 +02:00
Daniel Molina
1040d34766 feature #873: Add OCCI GET /user tests 2011-10-14 15:54:01 +02:00
Daniel Molina
409b565dc8 feature #873: Add UserOCCI and UserPoolOCCI classes 2011-10-14 15:53:32 +02:00
Daniel Molina
5911824045 feature #873: Add quota information to OCCI 2011-10-14 15:52:54 +02:00
Daniel Molina
20a0a78184 feature #873: Add mapping for errno to HTTP codes 2011-10-14 15:51:52 +02:00
Daniel Molina
bb6ee69f29 feature #873: Add errno value to the OpenNebula Error class 2011-10-14 15:50:54 +02:00
Carlos Martín
057e20531c Bug #848: Fix tests 2011-10-14 15:37:10 +02:00
Carlos Martín
ba8399c9f5 Bug #848: Add 3.1.0 migrator, it will truncate existing names with more than 128 chars. 2011-10-14 15:13:56 +02:00
Hector Sanjuan
d28dd0b445 Task #908: Integrate OzonesClient in zona.rb api.
This commit deletes OzonesClient.rb. All functionality has been merged to zona.rb and OzonesJSON.rb.

All dependent files have been accordingly updated. Cli operations have been manually tested. API operations have not been tested yet.
2011-10-13 20:12:03 +02:00
Ruben S. Montero
5412c6fec2 feature #789: Fixes parser for NAME attributes 2011-10-13 17:09:13 +02:00
Ruben S. Montero
0d66f1e53f Merge remote-tracking branch 'remotes/github-hector/feature-789' into feature-789 2011-10-11 16:27:15 +02:00
Hector Sanjuan
6dc5797bd9 Feature #789: Update install file
Include OZones API files among the client files to be installed with ozones or opennebula client files
2011-10-11 15:24:19 +02:00
Hector Sanjuan
067879d770 Feature #789: First version of ozones api
Slightly tested. Uncommented. To be extended with some utils (like printing helpers).
2011-10-11 15:21:49 +02:00
Carlos Martín
ee28c22f53 Bug #848: Fix tests 2011-10-10 18:56:19 +02:00
Carlos Martín
771a4ac8d9 Bug #848: Set name columns to 128 chars. The name length is checked for new objects 2011-10-10 17:48:06 +02:00
Carlos Martín
21bca20780 Bug #848: Add error message and stop oned execution if bootstrap fails 2011-10-10 06:14:46 -07:00
Ruben S. Montero
e37bae5253 feature #780: OpenNebula version is shown in log file 2011-10-07 20:38:30 +02:00
Ruben S. Montero
3f14c7fe17 Merge branch 'feature-789'
Conflicts:
	src/oca/ruby/OpenNebula/Group.rb
2011-10-07 15:06:02 +02:00
Ruben S. Montero
d6f1f5b1fc feature #789: Moved Configuration.rb to OCA. Added support to print configuration files in JSON. Updated OZones client to use Configuration.rb parser 2011-10-07 15:02:31 +02:00
Ruben S. Montero
e8a19ee45c Merge branch 'feature-789' 2011-10-07 13:52:16 +02:00