History | View | Annotate | Download (9.3 kB)
cyclades: Update api/networks.py and typo fixes
Refs #4979
cyclades: Add deleted attribute for changes-since
Extend API response for servers, networks, subnets and floating IPs,to support HTTP 'changes-since' queries.
cyclades: Add 'userid' and 'public' to subnets
Extend 'Subnet' model with 'userid' and 'public' attributes. This isrequired in order to avoid an expensive join when listing subnets. Thiscommit also includes a database migration for existing subnets.
cyclades: Set detail=True by default
cyclades: Properly handle subnet/floating_ip IDs
cyclades: Do not prefetch related in get()
cyclades: Optimize network related DB queries
Use 'prefetch_related' and 'select_related' to optimize DB queries.
cyclades: Update success code on subnet create
cyclades: Fix a bug in api/subnets.py
cyclades: Simplify code of 'api.subnets' module
cyclades: Return 'links' in subnet and port calls
cyclades: Fix a typo in api/subnets.py
cyclades: Various refactors in subnets
cyclades: Small bug fixes in logic/subnets.py
cyclades: Update docstrings, remove old functions
cyclades: Fix some bugs in subnets
cyclades: Bug fixes in subnets
cyclades: Update api/subnets.py to use logic files
cyclades: s/slac/enable_slac in api/subnets.py
cyclades: Various fixes in api/subnets.py
cyclades: Fully support ip pools in subnets
cyclades: Add two functions to validate IP Pools
cyclades: Update subnets.py to support IP Pools
Update subnets.py to use the two functions introduced in commit 2a1e6fb
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_dhcpfield, only the slac one will be used. If no slac field is found for anIPv6 subnet, the field enable_dhcp will be used instead....
cyclades: Update api/subnets.py and tests
Commit 4e3a667 introduced a new model for Subnets, this commit containsthe following changes:
cyclades: Add api/subnets.py