1. 04 Dec, 2013 1 commit
  2. 29 Nov, 2013 1 commit
  3. 27 Nov, 2013 1 commit
  4. 25 Nov, 2013 2 commits
  5. 13 Nov, 2013 1 commit
  6. 11 Nov, 2013 2 commits
  7. 09 Nov, 2013 1 commit
  8. 06 Nov, 2013 3 commits
  9. 30 Oct, 2013 1 commit
  10. 14 Oct, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Fix some network management commands · 651382b9
      Christos Stavrakakis authored
      * Fix network-list to properly display networks. Add optionally
        'subnets' fields to display the IDs of all subnets
      * Fix network-modify to externally reserve the IPs in DB
      * Fix network-create to not require a name and subnet4 or subnet6
        options.
      651382b9
  11. 13 Oct, 2013 1 commit
  12. 11 Oct, 2013 1 commit
  13. 05 Aug, 2013 1 commit
  14. 26 Jul, 2013 1 commit
  15. 25 Jul, 2013 1 commit
  16. 24 Jul, 2013 1 commit
  17. 22 Jul, 2013 1 commit
  18. 17 Jul, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Refactor code relative to networks · 0263ea07
      Christos Stavrakakis authored
      Move code checks from network-create management command to
      logic/networks.py.
      
      Also create common decorator for management commands to convert api
      faults to command errors.
      0263ea07
    • Christos Stavrakakis's avatar
      cyclades: Support IPv6 only networks · a0ad2412
      Christos Stavrakakis authored
      Make Cyclades support IPv6 only networks. Such networks will have
      the 'subnet' attribute set to None, in the same way that IPv4 only
      networks have the 'subnet6' attribute set to None.
      
      Because currently Ganeti does not support IPv6 only networks, we create the
      corresponding Ganeti network with a dummy IPv4 subnet(10.0.0.0/24) that will be
      never used, since Cyclades will connect instances to IPv6 networks with
      'address' attribute set to None.
      a0ad2412
  19. 07 Jul, 2013 2 commits
  20. 02 Jul, 2013 1 commit
  21. 13 May, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Implement lazy networks · 8aff3951
      Christos Stavrakakis authored
      Implement "lazy networks", which are not created to all Ganeti backends
      upon creation, but only when an instance that resides in a Ganeti is
      connected to that network.
      
      Update 'create_network' to create the Network object in DB without
      creating network in Ganeti, or correspoding BackendNetwork entries. The
      state of the Network becomes 'ACTIVE' upon creation, instead of
      'PENDING' that was until now. Also, update 'delete_network' function to
      delete the network only from the backends that it is not in 'DELETED'
      state. The state of the network will become 'DELETED' only when all
      corresponding backend networks become 'DELETED' (including offline
      backends).
      
      Extend code that connects a VM to a network to check if the network
      already exists and is in 'ACTIVE' state in the Ganeti backend that hosts
      the VM.  If not, it will create the network and then connect the VM
      (using Ganeti chained-jobs to ensure correct ordering of jobs).
      
      Update 'reconcile-networks' management command to work with lazy
      networks. Specifically, do not check if private networks exist in all
      backends.
      
      Update 'network-add' management command to create the network in the
      Ganeti, only if a backend is specified.
      
      Finally, when using Ganeti chained-jobs to impose ordering of jobs, do
      not depend only on 'success' of a job, but also on 'error' and 'cancel'.
      This is needed to cover case that a job fails (e.g. create network)
      because the resource already exists.
      8aff3951
    • Christos Stavrakakis's avatar
      cyclades: add commissioning to create/remove cmds · df89c0a7
      Christos Stavrakakis authored
      Update create/remove management commands to issue commission when
      needed.
      df89c0a7
  22. 30 Apr, 2013 1 commit
  23. 16 Apr, 2013 1 commit
  24. 14 Mar, 2013 2 commits
  25. 18 Feb, 2013 1 commit
  26. 04 Dec, 2012 1 commit
    • Dimitris Aragiorgis's avatar
      Introduce network flavors to replace network types · 9bbc33bd
      Dimitris Aragiorgis authored
      
      
      Add tags and mode to network db model. Replace existing type with
      flavor. Introduce 4 different flavors. Each flavor has mode, link,
      mac_prefix, tags. Supported flavors are CUSTOM, IP_LESS_ROUTED,
      MAC_FILTERED, PHYSICAL_VLAN and are hardcoded in db models.
      
      Introduce new function that returns flavor's mode, link, mac_prefix,
      tags.
      
      In settings only DEFAULT_ROUTING_TABLE, DEFAULT_BRIDGE and
      DEFAULT_MAC_PREFIX, DEFAULT_PRIVATE_BRIDGE exist.
      
      Introduce FIELD_POOL_MAP to map flavor fields to pool tables.
      
      Make snf-manage network-create command as flexible as possible. It is
      now able to create a network based on an existing flavor and overide
      defaults by passing mode, link, mac_prefix, tags option. Resource pools
      cannot be used by CUSTOM flavors. Currently MAC_FILTERED and
      PHYSICAL_VLAN use MacPrefixPoolTable for mac_prefix and BridgePoolTable
      for link accordingly and cannot be overriden.
      
      API blocks creation of public networks. Introduce new setting
      API_ENABLED_NETWORK_FLAVORS to indicate which flavors can the end-user
      use to create private networks.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      9bbc33bd
  27. 09 Nov, 2012 1 commit
  28. 08 Nov, 2012 1 commit
  29. 05 Nov, 2012 1 commit
  30. 30 Oct, 2012 1 commit
  31. 19 Sep, 2012 2 commits