History | View | Annotate | Download (6.2 kB)
cyclades: Various fixes to networks/subnets/pools
cyclades: Set external_router for public networks
Set 'external_router' attribute of created networks to True, if anetwork is a public network.
cyclades: Create IPv4 pool when creating network
Create IPv4 address pool when creating the network. This is a temporarycommit to make logic network work, since subnet and pool creation mustbe moved out of the network creation part.
cyclades: Fix code for networks logic and API
cyclades: Make logic tests pass
Refactor Cyclades code so that it follows the new models for Networks,Subnets and IPAddresses. This refactor is not complete. Instead is thenecessary refactor for making tests for server API calls succeed.
cyclades: Fix condition for network netmask size
cyclades: Check that IPv6 network netmask is /64
Check that IPv6 network netmask is /64, because this is imposed by the'mac2eui64' utility that generates EUI-64 addresses from 48-bit MACaddresses.
Refs #4201
cyclades: Move code for validating network values
Move code for network parameters validation from 'api' module to 'logic'.
cyclades: Add network to multiple backends
Update snf-manage network-create command to take a list of commaseperated backend IDs to create the network to.
cyclades: Add check for link during network create
Add a check when creating IP_LESS_ROUTED networks, that the connectivitylink is not already used by another network.
cyclades: Fixes in network management commands
Merge code from logic/networks.py and network management commands.
cyclades: No commission for public networks
Do not issue commission for public networks, since they do not have anowner.
cyclades: Refactor code relative to networks
Move code checks from network-create management command tologic/networks.py.
Also create common decorator for management commands to convert apifaults to command errors.
cyclades: Separate logic for networks from API
Remove code handling networks from network API views to logic.networks