cyclades: Register url for ports detail view
cyclades: Fix permissions when looking up ports
Look up of ports should check the port userid and not the networkuserid.
cyclades: Choose networks in server-create cmd
cyclades: Port userid can not be null
cyclades: Create server with existing ports
Extend POST /servers API call to support creation of servers that willbe using existing ports. Networking of the instance is defined via the'networks' attribute which can contain either network UUIDs or portUUIDs. In case of network UUIDs, the user can also request for a...
cyclades: Fix double double creation of IP log
The port creation command called 'associate_port_with_machine' functionin order to associate the port with the machine and create anIPAddressLog entry. However, this is already done by the connectfunction which sends the job in the Ganeti backend. This resulted in...
cyclades: Reconcile pools only for IPv4+dhcp subs
Perform IP pools reconciliation only for networks with an IPv4 subnetthat has enabled the dhcp option.
cyclades: Create ports without 'device_id'
Allow creation of ports that are not connected to any instance. Suchports will be in 'DOWN' state. To allow this, 'machine' attribute ofNetworkInterface model has been made to allow null values. Finally, the'logic.ports' module has been remove, and the corresponding code has...
cyclades: Fix bug in floating-ip-list
cyclades: Specify IPv4 address in port-create cmd
cyclades: Add 'SNF:floating_ip_pool' to networks
Extend network API methods to include the 'SNF:floating_ip_pool'attribute which indicates whether floating IP can be allocated from thenetwork or not. Trying to allocate a floating IP from a network which is...
cyclades: Create port with specified IPv4 Address
Extend POST /ports API method to respsect 'fixed_ips' attribute. If thisattribute contains a valid IPv4 address, the new port will get thisaddress instead of trying to allocate one from the available IP pools of...
cyclades: Add accounting for IP Addresses
Create IPAddressLog DB table to hold information about allocation of IPaddresses to virtual servers. The information that is currently savedcontains the IP address, the ID of the virtual server, the ID of thevirtual network along with the datetime that the address has been...
cyclades: Fix bugs relative to pool allocation
Fix bug when trying to allocate a specified IPv4 address. Only one ofthe IP pools will contain this address, so you must bypass InvalidValueexceptions until searching all pools.
Also PoolManager raised 'EmptyPool' exception when trying to allocate from an...
cyclades: PEP8 Fix
cyclades: Fix bug in port-create
Check if floating-ip belongs to the given network
cyclades: Fix bug in snf-manage network-remove
Add decorator to convert api faults
cyclades: Get floating IP without specifying pools
Extend GET /floatingips API method, to allow requests that do notspecify the 'floating_network_id' attribute. In this case it will tryto allocate a floating IP address from one of the available floating IP...
cyclades: Fix server-create and server-inspect
Fix output of server-inspect command. Also, add --wait option toserver-create command and pretty-print the newly created server.
cyclades: --wait option to port-{create,remove}
cyclades: Common code for creating ports
Merge code for creating ports that was duplicated between'logic.servers' and 'logic.ports' modules.
cyclades: Mock Ganeti in ports tests
cyclades: Mock GANETI_USE_HOTPLUG on ports tests
Test that you can not create or delete a port on a machinethat is started if GANETI_USE_HOTPLUG is set to False.
cyclades: Fix bugs in floating-ip tests
cyclades: Fix typo
cyclades: Various refactors in subnets
cyclades: Get VM for update when creating port
cyclades: Fix floating ips API response
Return 'floatingips' instead of 'floating_ips'.
cyclades: Do not allow updating a floating IP
Do not allow attaching and detaching floating IPs to instance withNeutron floating IP API. Instead floating IPs will be attached/detach toinstances using the /ports API, by specifying the address of thefloating IP in the 'fixed_ips' attribute.
cyclades: Fix bug in floating-ips api tests
cyclades: Fix stale references to moved function
cyclades: Fix bug in network test
cyclades: Update state of NICs if VM creation fail
Set the state of NICs(ports) to ERROR if the OP_INSTANCE_CREATE jobfails.
cyclades: Rename Port state from BUILDING to BUILD
Neutron API defines the 'BUILD' status. This commit renames BUILDING state of NIC to BUILD.
cyclades: Update floating-ips api
Make changes to the floating-ips ip so that it complies with theOpenstack Quantum API.
cyclades: Common module for pretty-printing
Create common module for pretty-printing database objects. Currently itcontains only functions for pretty-printing networks and ports.
cyclades: Fix default values for IP pool
Temporary commit to change default offset and size of IPPoolTablefactory.
cyclades: Make tests work with multiple IP pools
Refactor tests so that they are aware that a network can have multipleIP pools. Also, add extra check to PoolManager methods in order to checkwhether a value is contained in the pool.
cyclades: Fix bugs in IP pools
Fix default value for 'external' argument of release_address method ofNetwork model. Also fix how is checked whether an IP pool contains anaddress.
cyclades: Fix tests for ports
cyclades: Improve subnet-list management command
Remove unnecessary functions.
cyclades: Fix subnet-list management command
Remove stale imports
cyclades: Various fixes to networks/subnets/pools
cyclades: Fix reconciliation for network and pools
cyclades: Fix output of port-inspect command
cyclades: Add snf-manage subnet-update
cyclades: Small bug fixes in logic/subnets.py
cyclades: Add snf-manage subnet-create command
cyclades: Bug fixes in snf-manage subnet-list
cyclades: Update docstrings, remove old functions
cyclades: Update snf-manage subnet-create
Update snf-manage subnet-create. Previous version was pushed withoutbeing tested, thus it wasn't working at all.
cyclades: Fix some bugs in subnets
cyclades: Remove stale references to vm.router
cyclades: Remove stale reference to 'router'
cyclades: Fix output of network-inspect command
cyclades: Create network in backend if missing
Automatically create a network in a Ganeti backend if missing.Currently, this was done only for private networks. This commit changesthis to be done for any kind of networks.
cyclades: Default name for ports and subnets
cyclades: Set external_router for public networks
Set 'external_router' attribute of created networks to True, if anetwork is a public network.
cyclades: Add migratrion for external_router field
Add data migration for 'external_router' fields. This field is set toTrue for all 'public' networks.
Revert "cyclades: Add /routers api"
This reverts commit 69dadbe4e3223dc4d8cbaa5b09dde755c15679ed. Temporaryremove the /routers API.
cyclades: Fix POST /ports
Modify port create api call. If the user gives a public networkhe has to give a valid floating ip as well.
cyclades: Use existing IP when creating port
Extend port creation with the option to use an existing IPAddress. Thiswill be used to create a port with an existing Floating IP. Also, extendport-creata management command with the '--floating-ip' option.
cyclades: Fixes to port-create command
Verbal and code-style fixes to port-create command.
cyclades: PEP8 fix
cyclades: Fix snf-manage floating-ip-list
A minor fix to the snf-manage floating-ip-list command to complyto the new models
cyclades: snf-manage floating-ip-attach
snf-manage floating-ip-attach <address> --machine <server_id/router_id>
cyclades: snf-manage floating-ip-dettach <address>
cyclades: Fix bug in snf-manage network-modify
There was no field floating_ips, ips instead.
cyclades: Add /routers api
cyclades: snf-manage floating-ip-release <address>
cyclades: Add a port deletion test
cyclades: Fix snf-manage port-create command
In order to create a new port on a server you give --server <server_id>In order to create a new port on a router you give --router <router_id>
cyclades: Start the snf-manage floating-ip commands
cyclades: Add snf-manage subnet-list command
cyclades: Bug fixes in subnets
cyclades: Update api/subnets.py to use logic files
cyclades: move subnets.py from api to logic
Move api/subnets.py to logic/subnets.py, for further code refactoring
cyclades: Add get_subnet in management/common.py
cyclades: Add message to exceptions
cyclades: Fix bug in port-inspect command
cyclades: Fix network inspect management command
cyclades: Add backend code to Ports API/logic
Add backend code to create and remove ports from Ganeti backends. Alsoadd some imporovements and fixes to logic, API code and managementcommands.
cyclades: Fix bug when creating networks
cyclades: PEP8 fixes
cyclades: Hack-ish commit for old IP pools
cyclades: Update subnet tests
cyclades: s/slac/enable_slac in api/subnets.py
cyclades: Fix a typo in api/subnets.py
cyclades: Various fixes in api/subnets.py
cyclades: Fully support ip pools in subnets
cyclades: Add snf-manage port-inspect command
This command will provide info about the port concerning the DB andthe Ganeti state. For now, it provides only DB info.
cyclades: Add snf-manage port-remove command
cyclades: Add logic ports.py
Created a new file for ports in logic directory. This will havethe code about port manipulation in the backend. For now it is justused for db filling.Use the new function 'create' in the ports API.
cyclades: snf-manage port-create
cyclades: Fix some network management commands
cyclades: Refactor backend code for new networks
cyclades: Neutron API, update tests for 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....