Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ c6fe2f41

# Date Author Comment
a53b5141 11/10/2013 06:21 pm Marios Kogias

cyclades: snf-manage por-list --server --public

List only ports connected to public networks
List only ports connected to a specific server

c6fe2f41 11/10/2013 06:21 pm Marios Kogias

cyclades: snf-manage server-create --port

Use --port multiple times to configure server connections.
Possible forms are:
  • --port network:<network_id>(,address=<ip_address>)
  • --port id:<port_id>
  • --port floatingip:<floatingip_id>.
a9c1db43 11/09/2013 08:15 pm Christos Stavrakakis

cyclades: Fix some typos

b5e0d5c9 11/09/2013 07:51 pm Christos Stavrakakis

cyclades: Change default value for dhcp option

Change default value of 'dhcp' option in snf-manage network-create command.

bac6ed1e 11/09/2013 07:48 pm Christos Stavrakakis

cyclades: Do not print IP pool for IPv6 only nets

Do not print IP pool of Ganeti network in case the network is an IPv6
only network. The Ganeti network has a dummy IPv5 subnet, just because
it is needed. Only change this dummy subnet to /30 to reduce space in...

8f335041 11/08/2013 05:19 pm Christos Stavrakakis

cyclades: Handle 'drained' flag of networks

  • Export 'SNF:DRAINED' status for drained networks.
  • Do not allow creation of new ports in drained networks.
  • Do not allow allocation of new IPs in drained networks.
ec4e0acc 11/08/2013 04:49 pm Christos Stavrakakis

cyclades: Fix corner case in reconciliation

If at the end of reconciliation the state of the network is not ACTIVE,
try to recompute the state of the network based on the state of the
networks in each backend. This step is mostly needed in case that the
network does not exist in any backend.

6a03d89f 11/08/2013 03:50 pm Christos Stavrakakis

cyclades: More strict 'on_delete' for models

Use 'models.PROTECT' for 'on_delete' attribute for some ForeignKey
relationship between networking models. This will create a more "strict"
database and protect for unexpected data loss.

84a0469b 11/07/2013 09:32 pm Christos Stavrakakis

cyclades: Fix reconciliation of floating IP pools

Remove special handling of floating IP pools in reconciliation
mechanism since floating IP pools are treated the same way with other
networks.

f5c5fb5e 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Single IP addresesses view improvement

36f338d0 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Styles fix

21d2d544 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Single vm view ip addresses fix

13925182 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Display resize in vm actions list

e481c282 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Update network api endpoint

32a58fdf 11/07/2013 06:43 pm Kostas Papadimitriou

ui: IP addresses togger in single vm view

af505a94 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Truncate template helper

a2bd0802 11/07/2013 04:31 pm Christos Stavrakakis

cyclades: Pass 'nfdhcp' tag to IPv6 networks

Pass 'nfdhcp' tag even if network is IPv6 only.

68129b44 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Optimize *-list commands

Use prefetch_related and select-related to importive the DB queries that
are generated by *-list snf-manage commands.

d2036274 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Code refactoring to backend module

  • Create function 'ensure_network_is_active' to check if a network
    exists in backend and create it if not.
  • Create function 'create_job_dependencies' to transaform a list of job
    IDs to the 'depends' attribute as expected by Ganeti....
0e02a709 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Fix bug in SeparatedValuesField

Return [] instead of None, if the field is null.

6b5cdb0f 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Fix init of networks in backend-add

Fix which networks are going to be initialized in the new backend and
how the are printed in the output!

64303189 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Add option to display IPs in server-list

ae6ab1c7 11/07/2013 12:39 pm Christos Stavrakakis

cyclades: Changes service type of net resources

b4f491c1 11/07/2013 12:35 pm Christos Stavrakakis

cyclades: Remove old networks API

7b5263e4 11/06/2013 09:51 pm Christos Stavrakakis

cyclades: Fix network-create management command

Fix when network is created in the Ganeti backends. The network must be
created in the Ganeti backends only after IPv4 or/and IPv6 subnet has
been created. This commit moves the code that created the network in the...

24ea227b 11/06/2013 06:58 pm Dionysis Grigoropoulos

cyclades: Return 'links' in subnet and port calls

  • Return 'links' attribute in subnet api response
  • Return 'links' attribute in port api response
3549cb2f 11/06/2013 06:58 pm Dionysis Grigoropoulos

cyclades: Fix bugs in subnets and ports

  • Return subnets from public networks, in GET subnets
  • Fix a bug in list ports, where only attached ports to servers were
    listed
bfb3f9c2 11/06/2013 05:50 pm Christos Stavrakakis

cyclades: Create IPv6 Addresses from dispatcher

When ports are created from the API they do not have an IPv6 address.
The IPv6 address is only available after the MAC address of the
NIC is known which is only available after the message from the
Ganeti backend has been received. However, dispatcher did not created...

cdd6fc06 11/06/2013 04:06 pm Christos Stavrakakis

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 are
relative with networks. So, for example, the endpoint for networks will...

3785b737 11/06/2013 02:56 pm Dionysis Grigoropoulos

cyclades: Merge subnet-create with network-create

  • Merge snf-manage subnet-create into snf-manage network-create
f8ce6d44 11/06/2013 02:00 pm Christos Stavrakakis

cyclades: Fix bug in tests

Fix bug in port tests that were introduced by latest changes in IPPool
manager.

8d5795b4 11/06/2013 02:00 pm Christos Stavrakakis

Cyclades: Rename 'Can not' to 'Cannot' to all msgs

f8714db8 11/06/2013 01:43 pm Christos Stavrakakis

cyclades: Fix bug and typo in IPPool

ee688a71 11/06/2013 01:28 pm Christos Stavrakakis

cyclades: Do not allow any action on 'ERROR' vms

Do not allow any action, other than 'DESTROY' in servers that are in
'ERROR' state. If the server is in 'ERROR' state then the corresponding
Ganeti instance may not exist, so all actions will fail.

833f2ad5 11/06/2013 11:16 am Christos Stavrakakis

cyclades: Fix handling of old IP pools

Before implementing the Neutron API, each network had one IP pool that
contained the whole subnet CIDR. This changed since now we have multiple
IP Pools(with base and offset attributes) per network and this IP pools...

fef04862 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Add a test for subnet creation

c52f91ad 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-create

  • Print info of newly created subnet after snf-manage subnet-create
cad4793e 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Fix a typo in api/subnets.py

c68ad72e 11/05/2013 04:54 pm Kostas Papadimitriou

ui: Initial refactoring for network view in vm wizard

f9f43e09 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Base view object fixes

9ce06363 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Styles update

additional styles for active status indicators

31bc4729 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Additional storage_attrs funcionality

allow custom model id resolver

d233867a 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Private network view improvements

display subnet cidr when available

e38e7fcf 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Separate network/subnet create calls

ba7421ce 11/05/2013 04:52 pm Kostas Papadimitriou

ui: VM status typo

365af933 11/05/2013 04:52 pm Kostas Papadimitriou

ui: IP addresses subview in icon vms view

02effd9c 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Port connect/disconnect api calls

3aecadc8 11/05/2013 11:07 am Christos Stavrakakis

cyclades: Fix default/forced server networking

Fix the default behaviour for networking of servers that are being
created. There are two settings controlling this behaviour:

  • CYCLADES_DEFAULT_SERVER_NETWORKS: This setting contains list of
    networks to connect a newly created server to, if the user has not...
3c96580c 11/04/2013 04:29 pm Christos Stavrakakis

cyclades: Add missing 'ips' module

f61f3fa7 11/04/2013 04:07 pm Christos Stavrakakis

docs: Update admin guide and rename mngmt command

0292883e 11/04/2013 03:52 pm Christos Stavrakakis

cyclades: Refactor code

Move code relative with allocating ips and floating IPs to 'logic.ips'
module.

3f18f035 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Forbid new ports no deleting network

Do not allow creation of new ports and reservation of floating IPs on
network that are being deleted. Currently the state of the network
changes only when the network gets deleted from all backends. So we
check if a network is being deleted by checking if the action of the...

d2c3c533 11/04/2013 12:18 pm Christos Stavrakakis

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 specify
the IPv4 address of a floating IP. So in order to create a server
connected to a private network and a public network, the 'networks'...

c82f57ad 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Series of fixes regarding networks & ips

  • Do not delete the network from the DB if it has associated floating
    IPs. This should never be the case because a check is made before
    deleting the network, however this check is added for safety.
  • Do not allow deleting a network if there are still ports configured on...
e8234183 11/04/2013 12:18 pm Christos Stavrakakis

cyclades: Delete backend networks with network

Delete backend network when network is deleted (marked as deleted=True)
in DB. Backend networks are useless as history and they may be recreated
if needed. Also fix some tests.

aab200c6 11/04/2013 11:46 am Dionysis Grigoropoulos

docs: Update admin-guide to reflect subnet changes

  • Add a short description of new snf-manage commands
  • Beautify output of snf-manage subnet-inspect
e4758367 11/04/2013 11:12 am Dionysis Grigoropoulos

cyclades: Add snf-manage subnet-inspect

  • Add snf-manage subnet-inspect
  • Update return_end and return_start function in IPPool
446ceca5 11/04/2013 10:13 am Kostas Papadimitriou

vmapi: Allow vmapi base host configuration

dec4cd84 11/04/2013 09:53 am Kostas Papadimitriou

ui: Better generated ssh key naming

b51b21db 11/04/2013 09:53 am Kostas Papadimitriou

ui: Verbal changes

a681ab44 11/04/2013 09:52 am Kostas Papadimitriou

ui: Private network remove action fixes

fff8bd58 11/04/2013 09:14 am Kostas Papadimitriou

ui: Neutron models module

includes models/collection objects for Network, Port, Subnet, FloatingIP
neutron APIs.

2c2e8ce4 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional styles

664f05f0 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored networks views

based on introduced neutron models/collections

75aedbe3 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored floating ips view

- Use neutron API
- Display as an additional tab within the main content area of the app instead
of using layout view.

ac07ff0d 11/04/2013 09:14 am Kostas Papadimitriou

ui: Refactored public keys view

b70f6510 11/04/2013 09:14 am Kostas Papadimitriou

ui: Include additional required js libs

209a38bc 11/04/2013 09:14 am Kostas Papadimitriou

ui: Update included js scripts in home.html

7237e429 11/04/2013 09:14 am Kostas Papadimitriou

ui: Update home.html

4e8e2834 11/04/2013 09:14 am Kostas Papadimitriou

ui: Improve main view tab hover title display

extract title from data-hover-title

f0c38b0e 11/04/2013 09:14 am Kostas Papadimitriou

ui: Register additional views

for floating ip's and public keys tabs

6db98d7c 11/04/2013 09:14 am Kostas Papadimitriou

ui: Register additional collection fetchers in main view

0c88707e 11/04/2013 09:14 am Kostas Papadimitriou

ui:

dbb907bc 11/04/2013 09:14 am Kostas Papadimitriou

ui: Merge floating ips in single container

fb1c2da8 11/04/2013 09:14 am Kostas Papadimitriou

ui: Fix floating ip's in vm create view

major refactoring on network/ip's step view is on the way

00a67605 11/04/2013 09:14 am Kostas Papadimitriou

ui: Model view fix

handle classes which do not define element for model view to be rendered to

342acb45 11/04/2013 09:14 am Kostas Papadimitriou

cyclades: Register url for ports detail view

7977bbc9 11/04/2013 09:14 am Kostas Papadimitriou

ui: Respect silent option on model destroy action

silent destroy means that model will not be immediately removed from the
collection once destroy action gets called. Α subsequent collection refresh
will handle the model removal.

87a459ff 11/04/2013 09:14 am Kostas Papadimitriou

ui: API url sanitization

95ff92b4 11/04/2013 09:14 am Kostas Papadimitriou

ui: Extra base model helpers

model_actions
-------------
Define available model actions, attribute dependencies and a callback which
result is used to decide whether or not the action can be executed.

proxy_attrs
-----------
Allows us to define extra virtual model attributes which value depends on...

6be6f0b6 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional base collection option

to handle model removals for collections for which we cannot identify if model
has been removed by checking some of its attributes (e.g. DELETED state).

d7d154c9 11/04/2013 09:14 am Kostas Papadimitriou

ui: Remove NICS, Networks, PublicIPs models

models depricated. Models wil be provided in upcoming neutron module

45b964d3 11/04/2013 09:14 am Kostas Papadimitriou

ui: Models module cleanup and models improvements

cf4c9298 11/04/2013 09:14 am Kostas Papadimitriou

ui: Base view object improvements

- pre/post hide/show hooks
- set parent_view attribute if set in options

4b997f54 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional view helper objects

6dcc461e 11/04/2013 09:14 am Kostas Papadimitriou

ui: Include required js libraries

34f802f7 11/04/2013 09:14 am Kostas Papadimitriou

ui: Custom rivets.js adapter

09b76b7e 11/02/2013 02:39 pm Christos Stavrakakis

cyclades: Fix permissions when looking up ports

Look up of ports should check the port userid and not the network
userid.

db908bb1 11/02/2013 02:30 pm Christos Stavrakakis

cyclades: Choose networks in server-create cmd

d7862097 11/02/2013 01:59 pm Christos Stavrakakis

cyclades: Port userid can not be null

99988465 11/02/2013 01:43 pm Christos Stavrakakis

cyclades: Create server with existing ports

Extend POST /servers API call to support creation of servers that will
be using existing ports. Networking of the instance is defined via the
'networks' attribute which can contain either network UUIDs or port
UUIDs. In case of network UUIDs, the user can also request for a...

ae2da8a2 11/02/2013 01:08 pm Christos Stavrakakis

cyclades: Fix double double creation of IP log

The port creation command called 'associate_port_with_machine' function
in order to associate the port with the machine and create an
IPAddressLog entry. However, this is already done by the connect
function which sends the job in the Ganeti backend. This resulted in...

4cbd934b 11/01/2013 04:17 pm Christos Stavrakakis

cyclades: Reconcile pools only for IPv4+dhcp subs

Perform IP pools reconciliation only for networks with an IPv4 subnet
that has enabled the dhcp option.

fae6e5f0 11/01/2013 04:17 pm Christos Stavrakakis

cyclades: Create ports without 'device_id'

Allow creation of ports that are not connected to any instance. Such
ports will be in 'DOWN' state. To allow this, 'machine' attribute of
NetworkInterface model has been made to allow null values. Finally, the
'logic.ports' module has been remove, and the corresponding code has...

6731a6ac 11/01/2013 04:10 pm Christos Stavrakakis

cyclades: Fix bug in floating-ip-list

dfbe006a 11/01/2013 11:55 am Christos Stavrakakis

cyclades: Specify IPv4 address in port-create cmd

7421d45e 11/01/2013 12:55 am Christos Stavrakakis

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 the
network or not. Trying to allocate a floating IP from a network which is...

69c8d65d 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Create port with specified IPv4 Address

Extend POST /ports API method to respsect 'fixed_ips' attribute. If this
attribute contains a valid IPv4 address, the new port will get this
address instead of trying to allocate one from the available IP pools of...

ff863a80 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Add accounting for IP Addresses

Create IPAddressLog DB table to hold information about allocation of IP
addresses to virtual servers. The information that is currently saved
contains the IP address, the ID of the virtual server, the ID of the
virtual network along with the datetime that the address has been...

691c98cf 11/01/2013 12:45 am Christos Stavrakakis

cyclades: Fix bugs relative to pool allocation

Fix bug when trying to allocate a specified IPv4 address. Only one of
the IP pools will contain this address, so you must bypass InvalidValue
exceptions until searching all pools.

Also PoolManager raised 'EmptyPool' exception when trying to allocate from an...