1. 04 Dec, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Remove DEFAULT_ROUTING_TABLE setting · 125ba5f1
      Christos Stavrakakis authored
      Do not have a default value from 'link' attribute of IP_LESS_ROUTED
      networks. Instead if the admin does not specify a value in
      network-create command, uniquely name the networks by with the
      BACKEND_PREFIX_ID and network id, e.g. snf-link-42.
      125ba5f1
  2. 29 Nov, 2013 2 commits
  3. 22 Nov, 2013 2 commits
    • Giorgos Korfiatis's avatar
      cyclades: Enforce quota · 4ab23c89
      Giorgos Korfiatis authored
      Introduce command enforce-resources-cyclades, which checks for quota
      violations and applies actions to enforce the limits. By default, it
      operates only on these resources: cpu, ram, floating_ip.
      4ab23c89
    • Christos Stavrakakis's avatar
      cyclades: Add name to Ganeti NICs · 1d546431
      Christos Stavrakakis authored
      Add 'name' attribute to newly created NICs. Currently, the name of the
      NICs will not be used to refer to NICs, as it will be in Synnefo 0.15.
      Names are added only to ease the migration to version 0.15. Also, this
      commit updates snf-dispatcher to preserve the name of the NIC, if any,
      when updating instance NICs.
      
      Finally, the commit updates handling of firewall tags by adding a second
      tag that contains the name of the NIC. The tags with the name of the
      NICs will be kept in Synnefo 0.15, and the old tags with the index of
      the NIC will be removed.
      1d546431
  4. 20 Nov, 2013 2 commits
  5. 15 Nov, 2013 1 commit
  6. 14 Nov, 2013 1 commit
  7. 08 Nov, 2013 1 commit
  8. 07 Nov, 2013 1 commit
  9. 06 Nov, 2013 5 commits
  10. 04 Nov, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Series of fixes regarding networks & ips · eea48fa9
      Christos Stavrakakis authored
      * 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
        on that network. Until now this check was for machines, but there may
        be ports that are not connected to any machine.
      * Delete subnet IP pools when network is deleted.
      * Get network in locked mode in network-remove cmd.
      * Log error if trying to release an IPv4 address that does not belong to
        any of the IP pools of the associated subnet.
      * Excluded deleted IPv4 addresses when reconciling IP pools.
      * Do not set the network action to destroy when removing network from
        some backend.
      eea48fa9
    • Dionysis Grigoropoulos's avatar
      cyclades: Add snf-manage subnet-inspect · 7de103cd
      Dionysis Grigoropoulos authored
      * Add snf-manage subnet-inspect
      * Update return_end and return_start function in IPPool
      7de103cd
  11. 02 Nov, 2013 3 commits
    • Christos Stavrakakis's avatar
      cyclades: Fix permissions when looking up ports · 136532c7
      Christos Stavrakakis authored
      Look up of ports should check the port userid and not the network
      userid.
      136532c7
    • Christos Stavrakakis's avatar
      b89f1e34
    • Christos Stavrakakis's avatar
      cyclades: Create server with existing ports · 8c29b065
      Christos Stavrakakis authored
      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
      specific IPv4 address. For example:
      
      {"network":  [{"uuid": 41, "fixed_ip": "192.168.2.0"}, {"port": 42}]}
      
      This patch also changes the 'floating_ips' attribute to contain not
      IPv4 addresses of floating IPs, but the UUIDs of the floating IPs that
      the user want to connect to the instance.
      8c29b065
  12. 01 Nov, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Create ports without 'device_id' · 4b649f24
      Christos Stavrakakis authored
      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
      been merged into 'logic.servers' module.
      4b649f24
  13. 31 Oct, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Fix bugs relative to pool allocation · 88676431
      Christos Stavrakakis authored
      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
      empty pool. However, if someone tried to allocate a specific value,
      'ValueNotAvailable' should be returned.
      88676431
    • Christos Stavrakakis's avatar
      cyclades: Add accounting for IP Addresses · c7834da6
      Christos Stavrakakis authored
      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
      allocated and released from the server.
      
      An entry in this table is created every time a NetworkInterface card
      that has an associated IP address is created in DB. The entry is updated
      with the 'released_at' timestamp when the NIC is destroyed in Ganeti.
      Currently, only IP addresses from public networks (network.public=True)
      are stored in this table.
      
      This commit also includes a DB data migration for all already allocated
      IP addresses. However, the 'allocated_at' timestamp of this entries will
      not be correct.
      c7834da6
  14. 30 Oct, 2013 3 commits
  15. 29 Oct, 2013 9 commits
  16. 24 Oct, 2013 2 commits
  17. 18 Oct, 2013 2 commits