Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db @ 98cc8237

Name Size
  fixtures
  migrations
__init__.py 1.9 kB
admin.py 3.3 kB
models.py 23.6 kB
tests.py 2.4 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
d30f29aa 07/23/2012 11:39 am Christos Stavrakakis

Common functions for instance/network backend name

98cc8237 07/23/2012 11:39 am Christos Stavrakakis

Release resources when deleting network

Set as available in the pool the bridge and mac prefix that was
used by the deleted network.

e6a42a96 07/23/2012 11:36 am Christos Stavrakakis

Major modifications to Network model

Since Ganeti version 2.6, Ganeti is aware of private networks. We take
advantage of this by propagating network handling to Ganeti. Network
model is expanded to include information about the type of network
(public routed, physical vlan, private filtered), subnet, gateway, dhcp,...

fd65ab41 07/23/2012 11:36 am Christos Stavrakakis

Implement BackendNetwork model

Create a new model, to represent the state of each network in each
backend.

f5b4f2a3 07/23/2012 11:33 am Christos Stavrakakis

Use the Backend client instead of global RAPI

Replace use of global RAPI client, with the cached client from the
VirtualMachine or Backend model.

Dispatch network actions to all backends.

aed9b901 07/23/2012 11:32 am Christos Stavrakakis

Create Backend model to represent a ganeti backend

- Create Backend model holding info about credentials, status and resources
- Add Backend as foreign key to VirtualMachine
- Create a cache of Backend clients (RAPI) for better performance

924d8085 07/23/2012 11:32 am Christos Stavrakakis

Rename backend_id to backend_vm_id

Rename backend_id field of VirtualMachine model to avoid conflict between the
backend that hosts the VM and the id that the VM will have on the backend.

1bce82c0 07/23/2012 11:32 am Christos Stavrakakis

Fix white space and PEP8

28f83276 07/09/2012 03:38 pm Kostas Papadimitriou

Merge branch 'simplequotas' into queues+minor_net

ce55f211 07/02/2012 08:25 pm Kostas Papadimitriou

Simple per user quota mechanism for networks/vms

- New dict setting VMS_USER_QUOTA to allow setting per user quota
(overrides MAX_VMS_PER_USER setting)
- Private networks quota mechanism (based on MAX_NETWORKS_PER_USER and
NETWORKS_USER_QUOTA settings)...

View revisions

Also available in: Atom