1. 05 Aug, 2013 1 commit
    • Christos Stavrakakis's avatar
      snf-django: Move ListCommand to snf-django · c34a8574
      Christos Stavrakakis authored
      snf-webproject contained the generic ListCommand, and because of this it
      had a dependency from snf-django-lib. This commit moves this command from
      snf-webproject to snf-django-lib and removes this dependency. Also,
      updates all imports of ListCommand.
      Refs #4041
  2. 02 Jul, 2013 1 commit
    • Christos Stavrakakis's avatar
      Distinquish between networks and Floating IP pools · b755a9c9
      Christos Stavrakakis authored
      Extend Network model with the 'floating_ip_pool' boolean field, to
      indicate whether a Network can be a floating IP pool or not. Networks
      that are floating IP pools must exist in all Backends, and so
      'snf-manage backend-add' should try to add them.
      Also, update reconciliation to create networks that are floating IP
      pools to the Ganeti backends that do not exist.
  3. 28 Jun, 2013 2 commits
  4. 07 Jun, 2013 1 commit
  5. 03 Jun, 2013 1 commit
    • Georgios D. Tsoukalas's avatar
      make synnefo URLs consistent and configurable · 79f2ca3b
      Georgios D. Tsoukalas authored
      |___________________________________| |__________| |________| |_______|
                   BASE_HOST                  BASE_PATH    PREFIX    Hardcoded
      - Introduce <SERVICE>_BASE_URL setting, and <API>_PREFIX constants
        for all services. Extract BASE_HOST, BASE_PATH from the setting.
      - Use settings and constants to construct top-level patterns
        (base-path/api-prefix) in services' urls.py
      - Refactor/extend proxy() to be compatible with the above.
      - Change URLs passed around (ui, e-mails) to be compatible.
        (needs more work)
      This configuration REQUIRES that any rewriting and proxying on the
      front-end must eventually result in the application server (gunicorn)
      getting the original path of the request, otherwise the view-generated
      URLs will be different.
      - set top-level urlpatterns from <SERVICE>_BASE_URL
      - rename setting: APP_INSTALL_URL to CYCLADES_BASE_URL
      - rename setting: ASTAKOS_URL to ASTAKOS_BASE_URL everywhere
      - introduce setting: PITHOS_BASE_URL
      - update shipped .confs, quick install admin guide, upgrade guide
      - fix urls/views/reverse()/other that were broken
      - (more not listed)
  6. 31 May, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Add 'drained' flag to Network · d7f41fac
      Christos Stavrakakis authored
      Extend Network model with the 'drained' attribute, to indicate whether a
      network should be used in public IP allocation when creating servers.
      This option is only useful for public networks.
  7. 23 May, 2013 1 commit
  8. 30 Apr, 2013 1 commit
  9. 07 Apr, 2013 1 commit
  10. 20 Mar, 2013 1 commit
  11. 14 Mar, 2013 1 commit
    • Christos Stavrakakis's avatar
      Add ListCommand to be used for all *-list commands · c6b36078
      Christos Stavrakakis authored
      Create a generic ListCommand to be user for all *-list management
      commands. ListCommand handles must tasks that are common to all
      management commands, like retrieving objects from db, filtering
      results and formating output to a pretty table, json or csv.
      Also, implement server-list, network-list, backend-list and flavor-list
      as subclasses of this command.
  12. 07 Mar, 2013 4 commits
  13. 18 Feb, 2013 1 commit
  14. 14 Feb, 2013 2 commits
  15. 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,
      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>
  16. 22 Nov, 2012 1 commit
  17. 13 Nov, 2012 1 commit
    • Christos Stavrakakis's avatar
      Add --filter-by option to *-list commands · 8d4176e5
      Christos Stavrakakis authored
      Add --filter-by option to server-list, network-list and flavor-list
      management commands. The value of this option is a comma-seperated list
      of key 'cond' val pairs and, when used, only the DB entries that satisfy all of
      the specified conditions are displayed.
      The exact keys that can be used are displayed in the help message. Also
      when a wrong key is used, all the available keys are displayed to the
      error message. No attempt is made to "sanitize" the keys.
      snf-manage server-list --filter-by "deleted=True,state=STARTED"
      snf-manage server-list --filter-by userid=cstavr@grnet.gr,flavor__cpu=2
      snf-manage flavor-list --filter-by "ram>=1024,disk<20"
  18. 09 Nov, 2012 1 commit
  19. 06 Nov, 2012 1 commit
  20. 29 Oct, 2012 1 commit
  21. 26 Sep, 2012 1 commit
  22. 23 Jul, 2012 4 commits
  23. 19 Mar, 2012 2 commits