1. 14 Dec, 2012 5 commits
  2. 13 Dec, 2012 1 commit
  3. 12 Dec, 2012 2 commits
  4. 11 Dec, 2012 1 commit
  5. 10 Dec, 2012 10 commits
  6. 06 Dec, 2012 1 commit
  7. 05 Dec, 2012 4 commits
  8. 04 Dec, 2012 8 commits
    • Giorgos Korfiatis's avatar
      Add quotaholder token for tests · 87a52574
      Giorgos Korfiatis authored
      87a52574
    • Dimitris Aragiorgis's avatar
      Migration files for network types · ac26799d
      Dimitris Aragiorgis authored
      ac26799d
    • 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
    • Giorgos Korfiatis's avatar
      Better version of the bug fix 39cefb25 · 9d1f6e82
      Giorgos Korfiatis authored
      9d1f6e82
    • Georgios D. Tsoukalas's avatar
      fix obscure bug in callpoint class that triggered db integrity errors · 30a44929
      Georgios D. Tsoukalas authored
      Callpoint class had a placeholder attribute original_calls
      which was initialized as an empty dictionary,
      and thus was usable. Class __init__() code did not initialize
      original_calls as it should but because the placeholder was
      usable it did not break. Alas, the placeholder is global
      to all subclasses and their instances and one instance
      leaked attributes and functionality to the other.
      
      This caused the kamaki quotaholder client to be hijacked
      and directly call the backend, which was available
      on the same system/gunicorn deployment in our tests.
      The backend was directly called from an astakos view that
      had no transaction active (i.e. was on auto-commit).
      Normally, the backend would be called from the
      quotaholder_app view, which explicitly sets up a transaction.
      30a44929
    • Georgios D. Tsoukalas's avatar
      5f927596
    • Georgios D. Tsoukalas's avatar
    • Georgios D. Tsoukalas's avatar
      9592318a
  9. 03 Dec, 2012 7 commits
  10. 01 Dec, 2012 1 commit