History | View | Annotate | Download (6 kB)
cyclades: Add a function to check name legnth
cyclades: Fix bug in network link validation
cyclades: Remove DEFAULT_ROUTING_TABLE setting
Do not have a default value from 'link' attribute of IP_LESS_ROUTEDnetworks. Instead if the admin does not specify a value innetwork-create command, uniquely name the networks by with theBACKEND_PREFIX_ID and network id, e.g. snf-link-42.
cyclades: Add --drained option to network-create
cyclades: Fix wrong state of deleted networks
Before deleting a network, the network is marked as drained to beexcluded from automatic IP allocation. The state of the network that isexposed in the API is always 'SNF:DRAINED' if the drained flag is set....
cyclades: Fix network-create management command
Fix when network is created in the Ganeti backends. The network must becreated in the Ganeti backends only after IPv4 or/and IPv6 subnet hasbeen created. This commit moves the code that created the network in the...
cyclades: Merge subnet-create with network-create
Cyclades: Rename 'Can not' to 'Cannot' to all msgs
cyclades: Forbid new ports no deleting network
Do not allow creation of new ports and reservation of floating IPs onnetwork that are being deleted. Currently the state of the networkchanges only when the network gets deleted from all backends. So wecheck if a network is being deleted by checking if the action of the...
cyclades: Series of fixes regarding networks & ips
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