cyclades: Update snf-manage network-create
cyclades: Better handling of deleted subnets
cyclades: Update success code on subnet create
cyclades: Catch an unhandled exception
cyclades: Fix a bug in logic/subnets.py
cyclades: Add default owner for port
Consider as default owner for a port the owner of the machine that theport will be connected to.
astakos: Add resource visibility flags
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.The former entails the latter.
cyclades: Small fixes to server-import command
cyclades: Catch exception in verify_personality
The verify_personality function assumes that the contents of apersonality is encoded in base64 and tries to decode them. But if theclient didn't encode them a TypeError `Incorrect padding' will beraised. Catch this exception and raise a BadRequest.
Rename 'cpu' and 'ram' resources
Rename CPU and RAM relative resources to avoid data migrations.Specifically, the resources that are renamed are the following:
cyclades: Allow deletion of ports from public nets
Move check about deleting a port from a public network. This check isonly enforced in the API, but is allowed in logic layer, e.g. snf-managecommands.
cyclades: Add '--active' filter to ip-list cmd
Add filter to display only IPs that are currently active.
cyclades: Rename attribute to 'router:external'
Rename 'external_router' attribute of network to 'router:external' asdefined in the API.
cyclades: Fix a bug in api/subnets.py
cyclades: Fix location of 'ip-list' command
cyclades: Fix and rename snf-command
Replace snf-manage floating-ip-history with ip-listsnf-manage ip-list (--address <ip_address>) (--server <server-id>)This is a normal ListCommand so it can take other options like--filter-by.
cyclades: Rename option
Rename '--allocation-pools' option to '--allocation-pool'.
cyclades: Fix broken tests
Fix some tests that broke because of recent changes in astakosclient.The 'token' argument has been removed, so all mocking arguments areshifted by one.
cyclades: sed 's/astakos_url/astakos_auth_url/g'
cyclades: Replace ASTAKOS_BASE_URL
Replace ASTAKOS_BASE_URL with ASTAKOS_AUTH_URL.
Merge branch 'feature-cyclades-networks' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/server-inspect.py snf-cyclades-app/synnefo/app_settings/urls.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/backend_allocator.py...
cyclades: Fix some broking tests
cyclades: Rename snf-manage floating-ip-state
New name is snf-manage floating-ip-history <floating-ip-address>Get info about which servers this ip is or was connected to.
cyclades: Fix a bug in network and subnet create
cyclades: Add a new function in logic/subnets.py
cyclades: Fix --allocation-pool in subnet-create
Update the way allocation-pools work in subnet-create. Now,--allocation-pool can be used multiple times, each time for a differentpool. Eg.,snf-manage subnet-create --network-id 1 --cidr 192.168.42.0/24...
Merge branch 'master' into develop
Conflicts: Changelog astakosclient/astakosclient/keypath.py ci/utils.py docs/admin-guide.rst snf-astakos-app/astakos/im/cookie.py snf-astakos-app/astakos/im/functions.py snf-astakos-app/astakos/im/quotas.py snf-astakos-app/astakos/im/views/projects.py...
cyclades: Simplify code of 'api.subnets' module
cyclades: Fix bug in floating-ip-remove
Add decorator convert_api_faults
cyclades: snf-manage floating-ip-state
snf-manage floating-ip-state <floating_ip_state>Find if a floating-ip is attached to a server or not.IPAddressLog now can contain multiple entries for the same ip.
cyclades: snf-manage por-list --server --public
List only ports connected to public networksList only ports connected to a specific server
cyclades: snf-manage server-create --port
cyclades: Change default value for dhcp option
Change default value of 'dhcp' option in snf-manage network-create command.
cyclades: Handle 'drained' flag of networks
cyclades: Optimize *-list commands
Use prefetch_related and select-related to importive the DB queries thatare generated by *-list snf-manage commands.
cyclades: Code refactoring to backend module
cyclades: Add option to display IPs in server-list
cyclades: Retrieve image names only if needed
Retrieve images from plankton only if the user asked for the image name.Otherwise just display the image ID. This will significantly speed upthe execution time of 'server-list' management command.
cyclades: Changes service type of net resources
cyclades: Remove old networks API
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: Return 'links' in subnet and port calls
cyclades: Fix bugs in subnets and ports
cyclades: Create 'cyclades_network' service
Create 'cyclades_network' service which is part of Cyclades, of 'network'type and with 'network' prefix to hold all API endpoints that arerelative with networks. So, for example, the endpoint for networks will...
cyclades: Merge subnet-create with network-create
cyclades: Fix bug in tests
Fix bug in port tests that were introduced by latest changes in IPPoolmanager.
Cyclades: Rename 'Can not' to 'Cannot' to all msgs
cyclades: Add a test for subnet creation
cyclades: Update snf-manage subnet-create
cyclades: Fix a typo in api/subnets.py
cyclades: Fix default/forced server networking
Fix the default behaviour for networking of servers that are beingcreated. There are two settings controlling this behaviour:
docs: Update admin guide and rename mngmt command
cyclades: Refactor code
Move code relative with allocating ips and floating IPs to 'logic.ips'module.
cyclades: Workaround for race condition in Ganeti
Workaround for race where OP_INSTANCE_REMOVE starts executing on Ganetibefore OP_INSTANCE_CREATE. If this is the case, OP_INSTANCE_REMOVE willnot wait for locks, instead it will fail because the instance has not...
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: Create server in public net with FIP
Remove 'floating_ips' extension attribute to POST /servers API call.Instead use the 'fixed_ip' attribute of 'networks' attribute to specifythe IPv4 address of a floating IP. So in order to create a serverconnected to a private network and a public network, the 'networks'...
cyclades: Series of fixes regarding networks & ips
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: 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: 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: 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: 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: 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: 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 bug in network test
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: Fix tests for ports
cyclades: Improve subnet-list management command
Remove unnecessary functions.
cyclades: Fix subnet-list management command
Remove stale imports
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
Update snf-manage subnet-create. Previous version was pushed withoutbeing tested, thus it wasn't working at all.
cyclades: Fix some bugs in subnets
snf-cyclades-app: Use the new AstakosClient
Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to theAstakos service, instead of ASTAKOS_BASE_URL it was using until now.
Remove ASTAKOS_BASE_URL from Cyclades settings, replace it withASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and...
cyclades: Remove stale references to vm.router
Revert "cyclades: Add /routers api"
This reverts commit 69dadbe4e3223dc4d8cbaa5b09dde755c15679ed. Temporaryremove the /routers API.