Statistics
| Branch: | Tag: | Revision:

root @ 039e3e61

# Date Author Comment
039e3e61 01/07/2013 11:15 am Christos Stavrakakis

Refactor tests

b66e4833 12/20/2012 05:29 pm Christos Stavrakakis

Add more tests for db, logic and api

fcf2479a 12/20/2012 05:22 pm Christos Stavrakakis

Fix wrong count of reserved pool entries

Padding should not be considered when counting unavailable entries.

5480daec 12/20/2012 05:22 pm Christos Stavrakakis

Remove dummy function

499010bc 12/19/2012 05:32 pm Christos Stavrakakis

Fix bug in images API

Use image_backend context manager to ensure that ImageBackend is always
closed. list_images method did not close the ImageBackend, which
resulted in depletion of the Pithos backend connection pool.

cc964746 12/19/2012 05:32 pm Christos Stavrakakis

Properly configure plankton as an app

All django apps need a models.py file

37f87d98 12/19/2012 05:32 pm Christos Stavrakakis

Add basic tests for plankton

ce9abd26 12/19/2012 05:32 pm Christos Stavrakakis

Fix bugs in models methods

c8908e51 12/19/2012 05:32 pm Christos Stavrakakis

Add more tests for db and logic

52194c77 12/19/2012 05:32 pm Christos Stavrakakis

Refactor some test code

e6f6627c 12/14/2012 06:22 pm Christos Stavrakakis

Misc minor bug fixes

672db045 12/14/2012 06:22 pm Christos Stavrakakis

Add object factories for most db models

Use 'factory_boy' library for creating Django ORM objects as test data.
These factories can be used as fixtures replacement since they are
easier to write and maintain.

6de5850a 12/14/2012 06:22 pm Christos Stavrakakis

Fix test settings

LOGGING has been renamed to LOGGING_SETUP

35e2f2d4 12/14/2012 06:22 pm Christos Stavrakakis

Include Pool tests to Django testsuite

47eeffa9 12/14/2012 06:22 pm Christos Stavrakakis

Fix current db, logic and api tests

b7f21824 12/14/2012 06:20 pm Kostas Papadimitriou

Fix handling of firewallProfile action

Refs #3097

04a95cf3 12/14/2012 06:20 pm Kostas Papadimitriou

Fix variable scope

4ec8c043 12/13/2012 05:53 pm Giorgos Korfiatis

add_quota API call

f45a7ac4 12/12/2012 02:05 pm Christos Stavrakakis

Fix variable scope bug in process_net_status

21c9042c 12/12/2012 11:12 am Christos Stavrakakis

Do not allow creation of more than one pools

Do not allow creation of more than one Bridge or MacPrefix pool, since
we can not handle them yet.

007ba2b4 12/11/2012 11:22 am Giorgos Korfiatis

Replace commit_on_success with commit_manually.
The callpoint takes care of committing.

eeba67ab 12/10/2012 07:34 pm Giorgos Korfiatis

Make side-effecting quotaholder API calls fail completely,
if part of the request is rejected.

If such a call returns a non-empty list, this means that
the entire call failed due to the actions mentioned in the list.

5d996aea 12/10/2012 05:58 pm Giorgos Korfiatis

select_for_update for quotaholder

e36a8c21 12/10/2012 05:17 pm Giorgos Korfiatis

Simplify set_quota implementation

0caece02 12/10/2012 05:17 pm Giorgos Korfiatis

Keep the DB but flush it at start up of testing

8f93a57a 12/10/2012 05:17 pm Giorgos Korfiatis

Use a postgres DB for testing

f7dd3d17 12/10/2012 05:17 pm Giorgos Korfiatis

Check list_entities on sorted output

4eb170f3 12/10/2012 05:17 pm Giorgos Korfiatis

Disallow commission when source == target

c414bc87 12/10/2012 04:14 pm Christos Stavrakakis

Add backend-id option to reconcile-servers

Make reconcile-servers perform reconciliation only for the specified
backend.

6dbd90c0 12/10/2012 01:14 pm Christos Stavrakakis

Import quotaholder settings only if needed

6a7c88d7 12/10/2012 12:40 pm Christos Stavrakakis

Import by default the quotas settings

c6ad2f2d 12/06/2012 02:02 pm Christos Stavrakakis

reconciliation:avoid double asking Ganeti

Modify reconcile-servers to not communicate 2 times with Ganeti
to get the operstate and the NICs of the VMs. Merge this two one
call.

f83ebc98 12/05/2012 02:33 pm Christos Stavrakakis

Modify backend-modify --drained and --offline args

Make backend-modify drained argument as --drained=True|False instead
of --drained and --no-drained. The same for offline.

88b8f176 12/05/2012 02:08 pm Christos Stavrakakis

Mark as drained newly added backends

cc3c59b3 12/05/2012 01:33 pm Christos Stavrakakis

Rename reconcile command to reconcile-servers

Rename `snf-manage reconcile` management command to `snf-manage
reconcile-servers`, to be consistent with `snf-manage
reconcile-networks`. Also, treat '--detect-all' option as default
when no other '--detect-*' is specified.

8a904c14 12/05/2012 11:33 am Giorgos Korfiatis

Merge two tests for quotaholder api

3c877c34 12/04/2012 06:36 pm Giorgos Korfiatis

Add quotaholder token for tests

b7d38981 12/04/2012 04:51 pm Dimitris Aragiorgis

Introduce network flavors to replace network types

Add tags and mode to network db model. Replace existing type with
flavor. Introduce 4 different flavors. Each flavor has mode, link,
mac_prefix, tags. Supported flavors are CUSTOM, IP_LESS_ROUTED,
MAC_FILTERED, PHYSICAL_VLAN and are hardcoded in db models....

1ef9dac4 12/04/2012 04:51 pm Dimitris Aragiorgis

Migration files for network types

c05b0cbe 12/04/2012 03:22 pm Giorgos Korfiatis

Better version of the bug fix 39cefb25

39cefb25 12/04/2012 02:36 pm Georgios D. Tsoukalas

fix obscure bug in callpoint class that triggered db integrity errors

Callpoint class had a placeholder attribute original_calls
which was initialized as an empty dictionary,
and thus was usable. Class init() code did not initialize
original_calls as it should but because the placeholder was...

6b4e7a64 12/04/2012 02:02 pm Georgios D. Tsoukalas

remove obsolete import get_callpoint

140513a9 12/04/2012 12:17 pm Georgios D. Tsoukalas

allocate quotaholder serials via database sequence

6f512a6f 12/04/2012 12:17 pm Georgios D. Tsoukalas

make quotaholder token a required setting

600a3d4d 12/03/2012 02:59 pm Christos Stavrakakis

Implement quotas-init and quotas-verify

Implement quotas-init and quotas-verify management commands.
- quotas-init sets quotas of Quotaholder to the state of quotas in
Cyclades DB
- quotas-verify detects incosistencies between quotas in Quotaholder and...

65f214a2 12/03/2012 01:15 pm Georgios D. Tsoukalas

add list_holdings quotaholder api call

list_holdings() to be used to get all holdings for multiple resources
without having to call list_resources/get_holding for each entity/holding.

9cc620ab 12/03/2012 12:50 pm Giorgos Korfiatis

First unpack, then consider options, while checking canonicals

18e54648 12/03/2012 12:48 pm Giorgos Korfiatis

Cleanup

763b4da1 12/03/2012 12:35 pm Giorgos Korfiatis

A couple of more tests for quotaholder

2a7e6762 12/03/2012 12:06 pm Kostas Papadimitriou

Merge branch 'ui-0.13' into devel-0.13

4c00b904 12/03/2012 12:02 pm Giorgos Korfiatis

Implement reset_holding API call

97f9c50c 12/01/2012 04:36 pm root

Fix metatada and personality of vmapi

718a601d 12/01/2012 04:35 pm root

Fix renamed setting

187bd5d9 11/30/2012 06:30 pm Giorgos Korfiatis

Test issue_commission

004e947d 11/30/2012 05:01 pm Giorgos Korfiatis

Avoid negative indexing, not supported by django lists

bc998b67 11/30/2012 03:47 pm Stratos Psomadakis

Revert "snf-webproject: Don't disable existing loggers by default"

This reverts commit 5cb79e68bb1e0b443b62ec1ffe7b005bbf806b91.

b0701351 11/30/2012 03:42 pm Giorgos Korfiatis

Merge remote-tracking branch 'origin/quota' into devel-0.13

287a6408 11/30/2012 03:10 pm Christos Stavrakakis

Fix quotaholder settings

2e1e6844 11/30/2012 02:47 pm Christos Stavrakakis

Temporary fix for allocating archipelagos VMs

45855947 11/30/2012 02:43 pm Georgios D. Tsoukalas

cyclades: authenticate to quotaholder with token

- initialize quotaholder client with the token from
setting CYCLADES_QUOTAHOLDER_TOKEN

- rename setting USE_QUOTAHOLDER to CYCLADES_USE_QUOTAHOLDER

51c1544c 11/30/2012 02:36 pm Georgios D. Tsoukalas

authenticate quotaholder http calls with a token

Quotaholder returns 403 invalid token if the request's
X-AUTH-TOKEN header does not match settings.QUOTAHOLDER_TOKEN

b0a1d46e 11/30/2012 02:27 pm Giorgos Korfiatis

One more test for quotaholder

e893482e 11/30/2012 02:15 pm Giorgos Korfiatis

Change testing port

ccdb658a 11/30/2012 01:55 pm Giorgos Korfiatis

Disallow empty names in _random_choice

c1e48243 11/30/2012 01:17 pm Sofia Papagiannaki

Fix astakos docs

7767f77a 11/30/2012 01:12 pm Sofia Papagiannaki

Remove quotaholder migrations

006c6249 11/30/2012 12:49 pm Christos Stavrakakis

Fix typos

68c8e18d 11/30/2012 12:48 pm Giorgos Korfiatis

Use SYNNEFO_SETTINGS_DIR in quotaholder testing

2a599282 11/30/2012 12:20 pm Christos Stavrakakis

Merge handling of ext_<provider> disk templates

6ec4694f 11/30/2012 11:44 am Christos Stavrakakis

Use helper function for verifying personalities

3e6588f0 11/30/2012 11:43 am Christos Stavrakakis

Merge branch 'quota' into devel-0.13

c9f1cf17 11/29/2012 07:02 pm Giorgos Korfiatis

Update quotaholder testing configuration

f4b5454c 11/29/2012 07:02 pm Giorgos Korfiatis

Clean up testing config

fb2aacf2 11/29/2012 07:02 pm Giorgos Korfiatis

Add more tests for quotaholder

5cb79e68 11/29/2012 04:36 pm Stratos Psomadakis

snf-webproject: Don't disable existing loggers by default

7ced3e6b 11/29/2012 04:29 pm Christos Stavrakakis

Use CYCLADES_QUOTAHOLDER_URL

33050118 11/29/2012 03:55 pm Georgios D. Tsoukalas

Merge branch 'origin/devel-0.13' into quota

Conflicts:
snf-cyclades-app/synnefo/api/servers.py

7be6bfa2 11/29/2012 03:32 pm Georgios D. Tsoukalas

fix auto-generation in get_doc()

6a88bbb9 11/29/2012 02:39 pm Georgios D. Tsoukalas

remove stub docstrings to allow their generation from canonicals

2f35d7a9 11/29/2012 02:38 pm Georgios D. Tsoukalas

auto-generate missing api call docstrings

4350ac98 11/29/2012 02:15 pm Georgios D. Tsoukalas

provide random Name

095c307f 11/29/2012 02:14 pm Georgios D. Tsoukalas

fixes in canonical randoms

3de20492 11/29/2012 01:30 pm Giorgos Korfiatis

Separate concerns of unpack and check in Args

00a67c28 11/28/2012 06:24 pm Giorgos Korfiatis

Move implementation details to argmap.py

c294cb93 11/28/2012 05:45 pm Georgios D. Tsoukalas

allow '-' in quotaholder entity names

32464501 11/28/2012 05:32 pm Giorgos Korfiatis

Move resource if > 0

cceadca8 11/28/2012 05:30 pm Giorgos Korfiatis

Check for pending commissions per entity, resource

807c1992 11/28/2012 05:15 pm Giorgos Korfiatis

Raise AssertionError when exhausted

d13a447b 11/28/2012 04:57 pm Giorgos Korfiatis

Add missing import

b9426097 11/28/2012 04:51 pm Giorgos Korfiatis

Remove parse and _parse from canonicals

ab132890 11/28/2012 04:50 pm Giorgos Korfiatis

Fixes in unpack

f3327431 11/28/2012 04:08 pm Giorgos Korfiatis

Show input canonical

f78e128d 11/28/2012 04:06 pm Georgios D. Tsoukalas

integrate Args and argmap, change argmap magic pos

3f4d77bb 11/28/2012 02:09 pm Georgios D. Tsoukalas

csrf_excempt quotaholder view

e8051c20 11/28/2012 02:01 pm Georgios D. Tsoukalas

rename betteron to argmap, add manipulation methods

e16cf080 11/27/2012 06:01 pm Georgios D. Tsoukalas

set quotaholder urls

- quotaholder base url is of the form 'http://host/quotaholder/v/'
- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL

3b59f34b 11/27/2012 05:18 pm Georgios D. Tsoukalas

eliminate unused imports

74459c12 11/27/2012 04:13 pm Christos Stavrakakis

Fix wrong setting

PUBLIC_ROUTED_USE_POOL has been renamed to PUBLIC_USE_POOL

e3187d7a 11/27/2012 04:13 pm Christos Stavrakakis

Fix bugs from merging

b14f55b5 11/27/2012 04:13 pm Christos Stavrakakis

Add USE_QUOTAHOLDER setting

Add setting indicating whether to use the Quotaholder service or
use the static limits.