1. 06 Nov, 2012 1 commit
  2. 02 Nov, 2012 1 commit
  3. 07 Sep, 2012 1 commit
    • Christos Stavrakakis's avatar
      Implement multiple public networks · 2b00bd8f
      Christos Stavrakakis authored
      Implement multiple public networks in order to support:
      - different public networks per backend
      - non-consecutive IP ranges in each backend
      
      To support this, public networks are treated different from private
      ones. Namely, they are correlated with one backend (and so have
      only one BackendNetwork entry) instead of private which are expanded
      to all available backends.
      
      Also the backend allocator is modified in order to exclude the backends
      that have only full networks.
      
      Finally GANETI_PUBLIC_NETWORK became obsolete, and so removed.
      
      Currently, choice of public network is done by synnefo, but in the
      future the user may be able to choose it (needs extension of the
      api with network-id)
      2b00bd8f
  4. 06 Aug, 2012 1 commit
  5. 27 Jul, 2012 5 commits
    • Christos Stavrakakis's avatar
      Add check for maximum secret encryption key · 75165452
      Christos Stavrakakis authored
      SECRET_ENCRYPTION_KEY can be up to 32 bytes long, since bigger keys are
      not supported by AES encryption. Add comment to the setting and better
      message to exception.
      75165452
    • Christos Stavrakakis's avatar
      Rename setting · 37dc8e4c
      Christos Stavrakakis authored
      Rename ENCRYPTION_KEY to SECRET_ENCRYPTION_KEY to prevent from being
      displayed at django debug traces.
      37dc8e4c
    • Christos Stavrakakis's avatar
      Revert "Start pool indexing from 0" · 2ae2ac99
      Christos Stavrakakis authored
      This reverts commit 2f998a3756c6fc7ddce9e0f83dea738e473320b8.
      2ae2ac99
    • Christos Stavrakakis's avatar
      Start pool indexing from 0 · 154f63b4
      Christos Stavrakakis authored
      154f63b4
    • Christos Stavrakakis's avatar
      Implement MAC Prefix Management · b189fa23
      Christos Stavrakakis authored
      In order to guarantee uniqueness of MAC address accross all backends,
      synnefo assignes a unique mac prefix to each network in each backend.
      
      A mac-prefix of 20 bits, which is picked from the MacPrefixPool, is
      assigned to each Network. The mac-prefix of the network in each
      backend results from combining the mac-prefix of the Network with the
      unique index of the Backend, resulting in a 3-byte mac-prefix (up to 16
      Backends).
      
      Settings PRIVATE_MAC_FILTERED_BASE_MAC_PREFIX and
      PRIVATE_MAC_FILTERED_MAX_PREFIX_NUMBER have been converted to
      MAC_POOL_BASE and MAC_POOL_LIMIT, since mac-prefixes are now assigned to
      all networks.
      b189fa23
  6. 24 Jul, 2012 1 commit
  7. 23 Jul, 2012 6 commits
    • Christos Stavrakakis's avatar
      Setting for using IP Pool to public network · 626be971
      Christos Stavrakakis authored
      Introduce new setting 'PUBLIC_ROUTED_USE_POOL', to indicate whether
      synnefo will be responsible for the IP management of the public network,
      or this responsibility will be delegated to Ganeti.
      626be971
    • Christos Stavrakakis's avatar
      Limit allowed network size · 285ce552
      Christos Stavrakakis authored
      Limit the size of networks that users can create, since big IP
      pools can have negative impact on performance. Allowed network
      size is controled by 'MAX_CIDR_BLOCK' setting.
      285ce552
    • Christos Stavrakakis's avatar
      Update network settings · 21c8e5de
      Christos Stavrakakis authored
      21c8e5de
    • Christos Stavrakakis's avatar
      Encrypt Backend password · bd491ac0
      Christos Stavrakakis authored
      Use cipher to encrypt the passwords of the Ganeti backends in the DB.
      Encryption/decryption is based on a configurable key, defined by the
      ENCRYPTION_KEY setting. After modifying this setting, synnefo will be
      unable to decrypt already stored passwords, and passwords must be
      re-entered, using 'snf-manage backend-modify' command and restaring the
      server. A migration file is responsible for initially encrypting already
      stored passwords.
      bd491ac0
    • Christos Stavrakakis's avatar
      7fec465c
    • Christos Stavrakakis's avatar
      Major modifications to Network model · 82763c03
      Christos Stavrakakis authored
      Since Ganeti version 2.6, Ganeti is aware of private networks. We take
      advantage of this by propagating network handling to Ganeti. Network
      model is expanded to include information about the type of network
      (public routed, physical vlan, private filtered), subnet, gateway, dhcp,
      link and mac_prefix.
      
      - Update Network Model and delete NetworkLink model
      - Create MacPrefixPool and BridgePool models
      - Default constant settings for MacPrefix management
      82763c03
  8. 10 Jul, 2012 1 commit
  9. 02 Jul, 2012 2 commits
    • Kostas Papadimitriou's avatar
      Update Changelog for snf-cyclades-app · 09827815
      Kostas Papadimitriou authored
      Also improve documentation of quota settings.
      09827815
    • Kostas Papadimitriou's avatar
      Simple per user quota mechanism for networks/vms · 81a40e3b
      Kostas Papadimitriou authored
      - New dict setting VMS_USER_QUOTA to allow setting per user quota
        (overrides MAX_VMS_PER_USER setting)
      - Private networks quota mechanism (based on MAX_NETWORKS_PER_USER and
        NETWORKS_USER_QUOTA settings)
      - Different response message for GANETI_MAX_LINK_NUMBER overlimit
        errors (To differentiate from user quota overlimit error). Backend
        not raises NetworkLink.NotAvailable exception when no available link
        can be created.
      - Additional unittests for vms/networks quotas
      81a40e3b
  10. 01 Jun, 2012 1 commit
  11. 30 Jan, 2012 1 commit
  12. 27 Jan, 2012 1 commit
  13. 16 Jan, 2012 1 commit
  14. 13 Jan, 2012 1 commit
    • Kostas Papadimitriou's avatar
      Improved packaging · cad199c7
      Kostas Papadimitriou authored
      - Improved automatic version tagging from git repo.
      - Added auto generated synnefo.<package>.version module to contain each
        package version.
      cad199c7
  15. 09 Jan, 2012 1 commit
  16. 24 Nov, 2011 1 commit
  17. 22 Nov, 2011 1 commit
  18. 18 Nov, 2011 1 commit
  19. 15 Nov, 2011 2 commits
  20. 10 Nov, 2011 1 commit
  21. 23 Sep, 2011 1 commit
  22. 17 Jul, 2011 1 commit
    • Vangelis Koukis's avatar
      Make RAPI CreateInstance() arguments configurable · ea57ae2c
      Vangelis Koukis authored
      Make RAPI CreateInstance() arguments deployment-specific.
      Add the GANETI_CREATEINSTANCE_KWARGS setting, which allows the administrator
      to set arbitrary arguments to RAPI CreateInstance().
      
      Also add initial version of README.Upgrade, detailing
      upgrades of Synnefo deployments.
      
      Fixes #835
      ea57ae2c
  23. 14 Jul, 2011 1 commit
  24. 11 Jul, 2011 2 commits
    • Vangelis Koukis's avatar
      Agree on consistent instance tags for firewalling · dda1c736
      Vangelis Koukis authored
      Update both the default API settings and the kvm-vif-bridge script
      to use consistent {protected, unprotected, limited} tags to determine
      the firewall profile to use on public network interfaces.
      
      The API spec still defines the {ENABLED, DISABLED, PROTECTED} keywords,
      which are used between the UI and the API and will updated at a later stage.
      dda1c736
    • Vangelis Koukis's avatar
      Make Ganeti disk template a configurable setting · 7d840219
      Vangelis Koukis authored
      Make the disk template to use for Ganeti instances (e.g., 'plain'
      or 'drbd') a configurable setting in settings.d/20-api.conf,
      fixes #777.
      7d840219
  25. 07 Jul, 2011 3 commits
  26. 30 Jun, 2011 1 commit