1. 04 Dec, 2012 7 commits
    • Dimitris Aragiorgis's avatar
      Migration files for network types · ac26799d
      Dimitris Aragiorgis authored
    • 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>
    • Giorgos Korfiatis's avatar
      Better version of the bug fix 39cefb25 · 9d1f6e82
      Giorgos Korfiatis authored
    • 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.
    • Georgios D. Tsoukalas's avatar
    • Georgios D. Tsoukalas's avatar
    • Georgios D. Tsoukalas's avatar
  2. 03 Dec, 2012 7 commits
  3. 01 Dec, 2012 2 commits
  4. 30 Nov, 2012 18 commits
  5. 29 Nov, 2012 6 commits