Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api / subnets.py @ c204fcff

History | View | Annotate | Download (9.3 kB)

# Date Author Comment
0fd8d1bd 02/12/2014 12:01 pm Christos Stavrakakis

cyclades: Log userid in create requests

3d870b05 01/27/2014 02:17 pm Dionysis Grigoropoulos

cyclades: Update api/networks.py and typo fixes

  • Update api/networks.py to use the updated get_attribute from commit
    14402edcf6d19fc42a64ef93da3d66ef7969327b.
  • Add corresponding test case
  • Typo fix in an error message in api/subnets.py

Refs #4979

7219c7a3 01/20/2014 01:39 pm Christos Stavrakakis

cyclades: Add deleted attribute for changes-since

Extend API response for servers, networks, subnets and floating IPs,
to support HTTP 'changes-since' queries.

bdedfd9d 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Add 'userid' and 'public' to subnets

Extend 'Subnet' model with 'userid' and 'public' attributes. This is
required in order to avoid an expensive join when listing subnets. This
commit also includes a database migration for existing subnets.

bf58eed3 12/19/2013 04:36 pm Dionysis Grigoropoulos

cyclades: Set detail=True by default

  • Set detail=True by default for networks and ports
  • Update subnets to support /detail
01def7a4 12/19/2013 04:36 pm Dionysis Grigoropoulos

cyclades: Properly handle subnet/floating_ip IDs

  • Propery handle IDs that weren't an integer
b7e79bf3 12/18/2013 11:51 am Christos Stavrakakis

cyclades: Do not prefetch related in get()

883c1f94 12/17/2013 05:11 pm Christos Stavrakakis

cyclades: Optimize network related DB queries

Use 'prefetch_related' and 'select_related' to optimize DB queries.

ef761fe4 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update success code on subnet create

5b9f9c52 11/14/2013 08:41 am Dionysis Grigoropoulos

cyclades: Fix a bug in api/subnets.py

  • Allow users to view subnets that are attached to a public network
210e5933 11/11/2013 11:11 am Christos Stavrakakis

cyclades: Simplify code of 'api.subnets' module

24ea227b 11/06/2013 06:58 pm Dionysis Grigoropoulos

cyclades: Return 'links' in subnet and port calls

  • Return 'links' attribute in subnet api response
  • Return 'links' attribute in port api response
cad4793e 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Fix a typo in api/subnets.py

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...
99718617 10/29/2013 04:03 pm Dionysis Grigoropoulos

cyclades: Small bug fixes in logic/subnets.py

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
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....
5d83d2ff 10/24/2013 04:49 pm Dionysis Grigoropoulos

cyclades: Bug fixes in subnets

9cd6d7e9 10/24/2013 03:33 pm Dionysis Grigoropoulos

cyclades: Update api/subnets.py to use logic files

097009bf 10/16/2013 06:28 pm Dionysis Grigoropoulos

cyclades: s/slac/enable_slac in api/subnets.py

868e4ce0 10/16/2013 01:57 pm Dionysis Grigoropoulos

cyclades: Fix a typo in api/subnets.py

911a1bc1 10/16/2013 01:26 pm Dionysis Grigoropoulos

cyclades: Various fixes in api/subnets.py

4445f97a 10/16/2013 01:26 pm Dionysis Grigoropoulos

cyclades: Fully support ip pools in subnets

812a1114 10/14/2013 05:42 pm Dionysis Grigoropoulos

cyclades: Add two functions to validate IP Pools

a996065e 10/14/2013 05:42 pm Dionysis Grigoropoulos

cyclades: Update subnets.py to support IP Pools

Update subnets.py to use the two functions introduced in commit 2a1e6fb

97ca522f 10/14/2013 05:42 pm Dionysis Grigoropoulos

cyclades: Update subnets.py to support slac

IPv6 subnets now support a boolean attribute called slac.
If a request for a subnet contains both a slac field and an enable_dhcp
field, only the slac one will be used. If no slac field is found for an
IPv6 subnet, the field enable_dhcp will be used instead....

6a959c73 10/10/2013 06:12 pm Dionysis Grigoropoulos

cyclades: Update api/subnets.py and tests

Commit 4e3a667 introduced a new model for Subnets, this commit contains
the following changes:

  • Update api/subnets.py to match the new model
  • Create tests/subnets.py to test the above api calls
  • Update api/urls and tests/__init__.py to reflect the above changes
16f7d0d9 10/09/2013 07:36 pm Dionysis Grigoropoulos

cyclades: Add api/subnets.py