Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api / tests / ports.py @ 182b2e2a

History | View | Annotate | Download (16.3 kB)

# Date Author Comment
14402edc 01/24/2014 07:12 pm Christos Stavrakakis

cyclades: Validate fields of API requests

Make sure that all fields of a request (user input) have a valid type.
This commit validates 'ports', 'servers' and 'floating_ips' APIs.

Refs #4979

03d430b5 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Comment out unused tests

Security groups are not working yet. Comment out relevant tests.

cdd6fc06 11/06/2013 04:06 pm Christos Stavrakakis

cyclades: Create 'cyclades_network' service

Create 'cyclades_network' service which is part of Cyclades, of 'network'
type and with 'network' prefix to hold all API endpoints that are
relative with networks. So, for example, the endpoint for networks will...

f8ce6d44 11/06/2013 02:00 pm Christos Stavrakakis

cyclades: Fix bug in tests

Fix bug in port tests that were introduced by latest changes in IPPool
manager.

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.

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...

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...

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.

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
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.

7bff4d2f 10/25/2013 12:33 am Marios Kogias

cyclades: Add a port deletion test

a3b8aaf6 10/11/2013 04:54 pm Marios Kogias

cyclades: Add more port tests

5db2001a 10/11/2013 11:07 am Marios Kogias

cyclades: Syntactic refactor ports

593851e0 10/10/2013 12:40 pm Build Bot

cyclades: Add /ports api call