| Branch: | Tag: | Revision:

root / logic @ 8007ba7b

# Date Author Comment
8007ba7b 05/25/2011 01:33 pm Giorgos Gousios

Initial (untested) impl of the Django reconciliation command

604b2bf8 05/25/2011 09:22 am Giorgos Gousios

Dispatcher configuration for reconciliation

9741b27e 05/23/2011 02:07 pm Giorgos Gousios

Cron tool and callback skeletons

03805fc8 05/11/2011 04:06 pm Vangelis Koukis

Fix PostgreSQL backend exception for empty IPv4

Fix exception is thrown in logic/
if the NIC configuration notification contains an empty IPv4
field, and Django uses the PostgreSQL backend.

This only happens with the PostgreSQL backend, because it has a...

26fef2b9 05/10/2011 02:08 pm Vangelis Koukis

Ignore uknown Ganeti opcodes in dispatcher

Have the backend notification handler ignore unknown Ganeti opcodes,

f891db99 05/10/2011 01:45 pm Vangelis Koukis

Merge branch 'synnefo-rabbit' into ui-0.3

ad2d6807 05/09/2011 06:43 pm Vangelis Koukis

Handle ganeti-net-status notifications

Implement handling of "ganeti-net-status" notifications in the
logic layer. For the time being, use the IPv4 address of NIC 0
to update the relevant field in the VirtualMachine model.

7ca9e930 05/09/2011 05:56 pm Vangelis Koukis

Improve AMQP-specific parts of

Add support in for fixing AMQP-specific variables
in settings after setting BACKEND_PREFIX_ID.

Temporarily use two different queues for routing messages of type
"ganeti-op-status" and "ganeti-net-status" independently....

41f2249e 05/09/2011 04:36 pm Vangelis Koukis

Fix minor stuff in README.develop, dispatcher

Have logic dispatcher create initial queue in AMQP server.
Have dispatcher wait for all children processes before exiting.
Improve AMQP-specific instructions in README.develop.

76343e61 05/09/2011 11:59 am Giorgos Gousios

A bit of documentation

c183005e 05/09/2011 11:40 am Giorgos Gousios

Fix fork-bomb bug when specifying workers by hand

Tell the cmd-line parser that the -w argument is an int

8861126f 05/05/2011 07:26 pm Georgios Gousios

Support for spawning worker processes

ae5965b6 05/03/2011 03:58 pm Georgios Gousios

Change logger names

6e8c2217 05/03/2011 01:28 pm Georgios Gousios

More appropriate location and naming

23c84263 05/03/2011 01:27 pm Georgios Gousios

End to end message delivery working

-Move dispatcher methods to seperate file
-configure, load and register them dynamically
-fix bug in cmd-line parameter parsing

fc6f01b7 04/30/2011 02:54 pm Markos Gogoulos

Merge remote branch 'origin/api-current' into ui-0.3

30f3b5e5 04/19/2011 04:13 pm Vangelis Koukis

Allow destroying machines being built

4e8566e4 04/19/2011 04:04 pm Vangelis Koukis

Merge branch 'network-api'

175ffa73 04/19/2011 11:49 am Giorgos Verigakis

Merge branch 'auth-mechanism' of into api-current

7e8b41e7 04/18/2011 10:53 pm Vangelis Koukis

Add content in README.deploy, minor fixes

Add a draft description of the various services that need to be
running for a working Synnefo installation. Add documentation for ganeti-0mqd,
db_controller and vncauthproxy.

Fix language error in comment in logic/

5231a38a 04/15/2011 07:08 pm Giorgos Verigakis

Raise if vm is deleted or being built

Fixes #351

12fd6446 04/15/2011 02:24 pm Giorgos Verigakis

Fix debugging hardcoded value

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
733ab79b 04/15/2011 11:14 am Georgios Gousios

Merge branch 'master' into auth-mechanism

fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

8af3b61f 04/12/2011 02:49 pm Georgios Gousios

Fix the remaing tests

8f377cd6 04/12/2011 02:38 pm Georgios Gousios

Shortcut in the aai module to make tests pass

Introduces a test-time runtime variable which allows REST-based (e.g.
api) tests to pass through the authentication module

faa26af8 04/07/2011 01:36 pm Georgios Gousios

Make most tests pass

1896d262 04/06/2011 06:08 pm Georgios Gousios

Fixes to pass some shibboleth related tests

dbf97ed2 04/05/2011 04:29 pm Georgios Gousios

Authentication routine, with comments

938e89ab 04/05/2011 04:28 pm Georgios Gousios

Authentication token duration settings and autogeneration

dd53338a 04/05/2011 02:16 pm Georgios Gousios

Make tests fail gracefully with assertions.

Also correct spelling of the word shibboleth

462c7e47 04/04/2011 04:03 pm Georgios Gousios

Simplistic implementation of Sibbolleth header parsing

44193110 04/04/2011 03:04 pm Georgios Gousios

User deletion test

76cc889c 04/04/2011 02:11 pm Georgios Gousios

Fix create user test case

de53d31c 04/04/2011 01:03 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

420f2c20 04/04/2011 12:16 pm Georgios Gousios

Some code and fixture data for authentication

685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...

5fb55fba 04/01/2011 11:46 am Georgios Gousios

Restructure authentication mechanism.

Move authentication mechanism to the correct place, implement a dummy
decorator, some test data etc

17fc7729 04/01/2011 09:52 am Georgios Gousios

Move authentication tests and code to logic

fb381fbe 03/31/2011 02:48 pm Markos Gogoulos

fix bug with vm.backendjobstatus

VirtualMachine models has attribute backendjobstatus instead of

234f8b07 03/31/2011 01:43 pm Vangelis Koukis

Fix breakage caused by the logic-refactoring merge

This commit fixes some breakage caused by the recent merge of
the logic-refactoring branch, mainly related to db/

The main reason was the different value of import path, fixed by
making sure all imports are rooted in synnefo....

dfd19c2d 03/30/2011 09:47 pm Vassilios Karakoidas

All VirtualMachine fields are now pubic

  • Update VirtualMachine reference in all modules
  • Updated fixtures accordingly (and tests)
8d97deff 03/28/2011 03:53 pm Vassilios Karakoidas

Still refactoring, separating the logic and the ORM layer

  • Moved all tests (except one) into the logic app
  • Introduced (again), moved miscellaneous functions there
  • has now minimal functionality (ui->logic->db)
7d52c0b4 03/23/2011 10:19 am Vassilios Karakoidas

Added missing VirtualMachine import

c8926262 03/22/2011 08:54 pm Vassilios Karakoidas

Test are now working for db, logic modules

  • Moved methods from -> to avoid
    circular dependency
111b2cda 03/22/2011 07:57 pm Vassilios Karakoidas

Move _get_costs (internal method) to

22e52ede 03/22/2011 07:39 pm Vassilios Karakoidas

Internal method calculate_cost moved to

02feca11 03/22/2011 07:21 pm Vassilios Karakoidas

Move process_backend_msg to

e3a99a08 03/22/2011 06:57 pm Vassilios Karakoidas

Moved id_from_instance_name static method to

92c53da1 03/22/2011 06:23 pm Vassilios Karakoidas

Refactored charge (from VM model) and fixed unit tests

  • remove backend_id (now it is inline in the model code)
  • charge now resides in (logic)
  • logic is now a proper django app
  • remove unused backend_id from
  • moved unit tests from db -> logic module
7b7f9205 03/22/2011 05:49 pm Vassilios Karakoidas

Moved SynnefoUser methods to logic.credits

  • debit_account moved to
  • credit_account moved to
09c936a7 03/22/2011 05:30 pm Vassilios Karakoidas

Add logic app in django configuration

  • Added that will contain the business logic for
    credit transactions and the charging
66099657 03/22/2011 01:54 pm Vassilios Karakoidas

Initialise logic-refactoring branch

  • Add logic package