Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 3f18f035

# Date Author Comment
3f18f035 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Forbid new ports no deleting network

Do not allow creation of new ports and reservation of floating IPs on
network that are being deleted. Currently the state of the network
changes only when the network gets deleted from all backends. So we
check if a network is being deleted by checking if the action of the...

c82f57ad 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Series of fixes regarding networks & ips

  • Do not delete the network from the DB if it has associated floating
    IPs. This should never be the case because a check is made before
    deleting the network, however this check is added for safety.
  • Do not allow deleting a network if there are still ports configured on...
e8234183 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Delete backend networks with network

Delete backend network when network is deleted (marked as deleted=True)
in DB. Backend networks are useless as history and they may be recreated
if needed. Also fix some tests.

aab200c6 11/04/2013 11:46 am Dionysis Grigoropoulos

docs: Update admin-guide to reflect subnet changes

  • Add a short description of new snf-manage commands
  • Beautify output of snf-manage subnet-inspect
e4758367 11/04/2013 11:12 am Dionysis Grigoropoulos

cyclades: Add snf-manage subnet-inspect

  • Add snf-manage subnet-inspect
  • Update return_end and return_start function in IPPool
446ceca5 11/04/2013 10:13 am Kostas Papadimitriou

vmapi: Allow vmapi base host configuration

dec4cd84 11/04/2013 09:53 am Kostas Papadimitriou

ui: Better generated ssh key naming

b51b21db 11/04/2013 09:53 am Kostas Papadimitriou

ui: Verbal changes

a681ab44 11/04/2013 09:52 am Kostas Papadimitriou

ui: Private network remove action fixes

fff8bd58 11/04/2013 09:14 am Kostas Papadimitriou

ui: Neutron models module

includes models/collection objects for Network, Port, Subnet, FloatingIP
neutron APIs.

2c2e8ce4 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional styles

664f05f0 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored networks views

based on introduced neutron models/collections

75aedbe3 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored floating ips view

- Use neutron API
- Display as an additional tab within the main content area of the app instead
of using layout view.

ac07ff0d 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored public keys view

b70f6510 11/04/2013 09:14 am Kostas Papadimitriou

ui: Include additional required js libs

209a38bc 11/04/2013 09:14 am Kostas Papadimitriou

ui: Update included js scripts in home.html

7237e429 11/04/2013 09:14 am Kostas Papadimitriou

ui: Update home.html

4e8e2834 11/04/2013 09:14 am Kostas Papadimitriou

ui: Improve main view tab hover title display

extract title from data-hover-title

f0c38b0e 11/04/2013 09:14 am Kostas Papadimitriou

ui: Register additional views

for floating ip's and public keys tabs

6db98d7c 11/04/2013 09:14 am Kostas Papadimitriou

ui: Register additional collection fetchers in main view

0c88707e 11/04/2013 09:14 am Kostas Papadimitriou

ui:

dbb907bc 11/04/2013 09:14 am Kostas Papadimitriou

ui: Merge floating ips in single container

fb1c2da8 11/04/2013 09:14 am Kostas Papadimitriou

ui: Fix floating ip's in vm create view

major refactoring on network/ip's step view is on the way

00a67605 11/04/2013 09:14 am Kostas Papadimitriou

ui: Model view fix

handle classes which do not define element for model view to be rendered to

342acb45 11/04/2013 09:14 am Kostas Papadimitriou

cyclades: Register url for ports detail view

7977bbc9 11/04/2013 09:14 am Kostas Papadimitriou

ui: Respect silent option on model destroy action

silent destroy means that model will not be immediately removed from the
collection once destroy action gets called. Α subsequent collection refresh
will handle the model removal.

87a459ff 11/04/2013 09:14 am Kostas Papadimitriou

ui: API url sanitization

95ff92b4 11/04/2013 09:14 am Kostas Papadimitriou

ui: Extra base model helpers

model_actions
-------------
Define available model actions, attribute dependencies and a callback which
result is used to decide whether or not the action can be executed.

proxy_attrs
-----------
Allows us to define extra virtual model attributes which value depends on...

6be6f0b6 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional base collection option

to handle model removals for collections for which we cannot identify if model
has been removed by checking some of its attributes (e.g. DELETED state).

d7d154c9 11/04/2013 09:14 am Kostas Papadimitriou

ui: Remove NICS, Networks, PublicIPs models

models depricated. Models wil be provided in upcoming neutron module

45b964d3 11/04/2013 09:14 am Kostas Papadimitriou

ui: Models module cleanup and models improvements

cf4c9298 11/04/2013 09:14 am Kostas Papadimitriou

ui: Base view object improvements

- pre/post hide/show hooks
- set parent_view attribute if set in options

4b997f54 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional view helper objects

6dcc461e 11/04/2013 09:14 am Kostas Papadimitriou

ui: Include required js libraries

34f802f7 11/04/2013 09:14 am Kostas Papadimitriou

ui: Custom rivets.js adapter

09b76b7e 11/02/2013 02:39 pm Christos Stavrakakis

cyclades: Fix permissions when looking up ports

Look up of ports should check the port userid and not the network
userid.

db908bb1 11/02/2013 02:30 pm Christos Stavrakakis

cyclades: Choose networks in server-create cmd

d7862097 11/02/2013 01:59 pm Christos Stavrakakis

cyclades: Port userid can not be null

99988465 11/02/2013 01:43 pm Christos Stavrakakis

cyclades: Create server with existing ports

Extend POST /servers API call to support creation of servers that will
be using existing ports. Networking of the instance is defined via the
'networks' attribute which can contain either network UUIDs or port
UUIDs. In case of network UUIDs, the user can also request for a...

ae2da8a2 11/02/2013 01:08 pm Christos Stavrakakis

cyclades: Fix double double creation of IP log

The port creation command called 'associate_port_with_machine' function
in order to associate the port with the machine and create an
IPAddressLog entry. However, this is already done by the connect
function which sends the job in the Ganeti backend. This resulted in...

4cbd934b 11/01/2013 04:17 pm Christos Stavrakakis

cyclades: Reconcile pools only for IPv4+dhcp subs

Perform IP pools reconciliation only for networks with an IPv4 subnet
that has enabled the dhcp option.

fae6e5f0 11/01/2013 04:17 pm Christos Stavrakakis

cyclades: Create ports without 'device_id'

Allow creation of ports that are not connected to any instance. Such
ports will be in 'DOWN' state. To allow this, 'machine' attribute of
NetworkInterface model has been made to allow null values. Finally, the
'logic.ports' module has been remove, and the corresponding code has...

6731a6ac 11/01/2013 04:10 pm Christos Stavrakakis

cyclades: Fix bug in floating-ip-list

dfbe006a 11/01/2013 11:55 am Christos Stavrakakis

cyclades: Specify IPv4 address in port-create cmd

7421d45e 11/01/2013 12:55 am Christos Stavrakakis

cyclades: Add 'SNF:floating_ip_pool' to networks

Extend network API methods to include the 'SNF:floating_ip_pool'
attribute which indicates whether floating IP can be allocated from the
network or not. Trying to allocate a floating IP from a network which is...

69c8d65d 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Create port with specified IPv4 Address

Extend POST /ports API method to respsect 'fixed_ips' attribute. If this
attribute contains a valid IPv4 address, the new port will get this
address instead of trying to allocate one from the available IP pools of...

ff863a80 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Add accounting for IP Addresses

Create IPAddressLog DB table to hold information about allocation of IP
addresses to virtual servers. The information that is currently saved
contains the IP address, the ID of the virtual server, the ID of the
virtual network along with the datetime that the address has been...

691c98cf 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Fix bugs relative to pool allocation

Fix bug when trying to allocate a specified IPv4 address. Only one of
the IP pools will contain this address, so you must bypass InvalidValue
exceptions until searching all pools.

Also PoolManager raised 'EmptyPool' exception when trying to allocate from an...

5055b4c7 11/01/2013 12:03 am Marios Kogias

cyclades: PEP8 Fix

51a681ac 10/31/2013 04:40 pm Marios Kogias

cyclades: Fix bug in port-create

Check if floating-ip belongs to the given network

5f9edd1e 10/31/2013 03:15 pm Marios Kogias

cyclades: Fix bug in snf-manage network-remove

Add decorator to convert api faults

4edfc376 10/31/2013 11:52 am Christos Stavrakakis

cyclades: Get floating IP without specifying pools

Extend GET /floatingips API method, to allow requests that do not
specify the 'floating_network_id' attribute. In this case it will try
to allocate a floating IP address from one of the available floating IP...

8b178e6b 10/30/2013 07:23 pm Christos Stavrakakis

cyclades: Fix server-create and server-inspect

Fix output of server-inspect command. Also, add --wait option to
server-create command and pretty-print the newly created server.

0723a85c 10/30/2013 06:29 pm Christos Stavrakakis

cyclades: --wait option to port-{create,remove}

6b8dc47c 10/30/2013 06:27 pm Christos Stavrakakis

cyclades: Common code for creating ports

Merge code for creating ports that was duplicated between
'logic.servers' and 'logic.ports' modules.

8c15a209 10/30/2013 06:27 pm Christos Stavrakakis

cyclades: Mock Ganeti in ports tests

f32e8021 10/30/2013 06:27 pm Christos Stavrakakis

cyclades: Mock GANETI_USE_HOTPLUG on ports tests

Test that you can not create or delete a port on a machine
that is started if GANETI_USE_HOTPLUG is set to False.

9a73f94d 10/30/2013 05:43 pm Marios Kogias

cyclades: Fix bugs in floating-ip tests

8b388efe 10/30/2013 05:30 pm Christos Stavrakakis

cyclades: Fix typo

b7311f3d 10/30/2013 04:56 pm Dionysis Grigoropoulos

cyclades: Various refactors in subnets

  • Remove unused functions and imports from logic/subnets.py
  • Remove --network-id option from snf-manage subnet-modify and make
    it an argument
  • Fix --ip-version, --dhcp and --gateway options in snf-manage
    subnet-create...
1fb3293d 10/30/2013 04:31 pm Christos Stavrakakis

cyclades: Fix typo

b968e8e6 10/30/2013 04:23 pm Christos Stavrakakis

cyclades: Get VM for update when creating port

53b0ea25 10/30/2013 04:23 pm Christos Stavrakakis

cyclades: Fix floating ips API response

Return 'floatingips' instead of 'floating_ips'.

d610698e 10/30/2013 04:23 pm Christos Stavrakakis

cyclades: Do not allow updating a floating IP

Do not allow attaching and detaching floating IPs to instance with
Neutron floating IP API. Instead floating IPs will be attached/detach to
instances using the /ports API, by specifying the address of the
floating IP in the 'fixed_ips' attribute.

b9364b15 10/30/2013 03:27 pm Marios Kogias

cyclades: Fix bug in floating-ips api tests

b48697f0 10/30/2013 02:26 pm Christos Stavrakakis

cyclades: Fix stale references to moved function

4911365b 10/30/2013 01:14 pm Christos Stavrakakis

cyclades: Fix bug in network test

96feddae 10/30/2013 12:56 pm Christos Stavrakakis

cyclades: Update state of NICs if VM creation fail

Set the state of NICs(ports) to ERROR if the OP_INSTANCE_CREATE job
fails.

3a6be177 10/30/2013 12:51 pm Christos Stavrakakis

cyclades: Rename Port state from BUILDING to BUILD

Neutron API defines the 'BUILD' status. This commit renames BUILDING
state of NIC to BUILD.
e4f484da 10/30/2013 12:43 pm Marios Kogias

cyclades: Update floating-ips api

Make changes to the floating-ips ip so that it complies with the
Openstack Quantum API.

d5a4a8d1 10/30/2013 12:36 pm Christos Stavrakakis

cyclades: Common module for pretty-printing

Create common module for pretty-printing database objects. Currently it
contains only functions for pretty-printing networks and ports.

0711e5aa 10/30/2013 12:56 am Christos Stavrakakis

cyclades: Fix default values for IP pool

Temporary commit to change default offset and size of IPPoolTable
factory.

3b2984dc 10/30/2013 12:40 am Christos Stavrakakis

cyclades: Make tests work with multiple IP pools

Refactor tests so that they are aware that a network can have multiple
IP pools. Also, add extra check to PoolManager methods in order to check
whether a value is contained in the pool.

e59cda53 10/29/2013 11:20 pm Christos Stavrakakis

cyclades: Fix bugs in IP pools

Fix default value for 'external' argument of release_address method of
Network model. Also fix how is checked whether an IP pool contains an
address.

2c2d4f0a 10/29/2013 08:22 pm Christos Stavrakakis

cyclades: Fix tests for ports

  • Mock GanetiRapiClient
  • Fix some wrong checks about response codes
  • PEP8 fixes
53162472 10/29/2013 07:46 pm Christos Stavrakakis

cyclades: Improve subnet-list management command

Remove unnecessary functions.

e537f85f 10/29/2013 07:41 pm Christos Stavrakakis

cyclades: Fix subnet-list management command

Remove stale imports

f82dfec6 10/29/2013 07:38 pm Christos Stavrakakis

cyclades: Various fixes to networks/subnets/pools

  • Fix IP pools of subnets to take into account the 'offset' when searching
    if a pool contains an IP address and when converting from value to index
    and from index to value.
  • Fix the way subnets are created from 'logic/networks'...
0e0a6ef9 10/29/2013 07:38 pm Christos Stavrakakis

cyclades: Fix reconciliation for network and pools

Fix reconciliation to work with multiple IP pools per network:
  • Fix reconcile-networks command to check if a reserved_ip in a Ganeti
    network is reserved in the pool that contains this IP (if any)
  • Fix reconcile-pools to reconcile each of the networks IP pools and...
9c15e488 10/29/2013 07:36 pm Christos Stavrakakis

cyclades: Fix output of port-inspect command

65566d61 10/29/2013 06:50 pm Dionysis Grigoropoulos

cyclades: Add snf-manage subnet-update

  • Add snf-manage subnet-update. For the time being only the name of
    subnet can be updated.
99718617 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Small bug fixes in logic/subnets.py

cfc33ff7 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Add snf-manage subnet-create command

6f99f94f 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Bug fixes in snf-manage subnet-list

  • Subnet-list now prints correctly the user ID and network ID of a subnet
  • Remove non-existing field "created"
316787ab 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Update docstrings, remove old functions

  • Update docstrings in api/subnets.py and logic/subnets.py
  • Remove duplicate and unused functions from logic/subnets.py
c068e75d 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-create

Update snf-manage subnet-create. Previous version was pushed without
being tested, thus it wasn't working at all.

8646e606 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Fix some bugs in subnets

  • Fix a bug, where a user could change the name of a subnet without
    being the owner of said subnet.
  • Fix two bugs in snf-manage subnet-create. Fix no-dhcp option and a
    potential crash if the user specified an invalid IP version type....
014df29c 10/29/2013 03:40 pm Christos Stavrakakis

cyclades: Remove stale references to vm.router

87105bf9 10/29/2013 03:06 pm Christos Stavrakakis

cyclades: Remove stale reference to 'router'

a859190b 10/29/2013 02:57 pm Christos Stavrakakis

cyclades: Fix output of network-inspect command

437e1eee 10/29/2013 02:42 pm Christos Stavrakakis

cyclades: Create network in backend if missing

Automatically create a network in a Ganeti backend if missing.
Currently, this was done only for private networks. This commit changes
this to be done for any kind of networks.

a15114a0 10/29/2013 02:26 pm Christos Stavrakakis

cyclades: Default name for ports and subnets

3d63d954 10/29/2013 02:22 pm Christos Stavrakakis

cyclades: Set external_router for public networks

Set 'external_router' attribute of created networks to True, if a
network is a public network.

7f7f49e3 10/29/2013 02:20 pm Christos Stavrakakis

cyclades: Add migratrion for external_router field

Add data migration for 'external_router' fields. This field is set to
True for all 'public' networks.

495e2be8 10/29/2013 02:17 pm Christos Stavrakakis

Revert "cyclades: Add /routers api"

This reverts commit 69dadbe4e3223dc4d8cbaa5b09dde755c15679ed. Temporary
remove the /routers API.

9c74cc19 10/25/2013 04:25 pm Marios Kogias

cyclades: Fix POST /ports

Modify port create api call. If the user gives a public network
he has to give a valid floating ip as well.

79f4eec0 10/25/2013 03:41 pm Christos Stavrakakis

cyclades: Use existing IP when creating port

Extend port creation with the option to use an existing IPAddress. This
will be used to create a port with an existing Floating IP. Also, extend
port-creata management command with the '--floating-ip' option.

6d5c0344 10/25/2013 03:03 pm Christos Stavrakakis

cyclades: Fixes to port-create command

Verbal and code-style fixes to port-create command.

54f13218 10/25/2013 02:30 pm Christos Stavrakakis

cyclades: PEP8 fix

69dadbe4 10/25/2013 12:35 am Marios Kogias

cyclades: Add /routers api

  • Add support for /routers api calls
  • Add tests for the api