- 04 Dec, 2012 7 commits
-
-
Dimitris Aragiorgis authored
-
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:
Dimitris Aragiorgis <dimara@grnet.gr>
-
Giorgos Korfiatis authored
-
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 authored
-
Georgios D. Tsoukalas authored
-
Georgios D. Tsoukalas authored
-
- 03 Dec, 2012 7 commits
-
-
Christos Stavrakakis authored
Implement quotas-init and quotas-verify management commands. - quotas-init sets quotas of Quotaholder to the state of quotas in Cyclades DB - quotas-verify detects incosistencies between quotas in Quotaholder and Cycldes DB.
-
Georgios D. Tsoukalas authored
list_holdings() to be used to get all holdings for multiple resources without having to call list_resources/get_holding for each entity/holding.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
-
Giorgos Korfiatis authored
-
- 01 Dec, 2012 2 commits
- 30 Nov, 2012 18 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Stratos Psomadakis authored
This reverts commit 5cb79e68bb1e0b443b62ec1ffe7b005bbf806b91.
-
Giorgos Korfiatis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Georgios D. Tsoukalas authored
- initialize quotaholder client with the token from setting CYCLADES_QUOTAHOLDER_TOKEN - rename setting USE_QUOTAHOLDER to CYCLADES_USE_QUOTAHOLDER
-
Georgios D. Tsoukalas authored
Quotaholder returns 403 invalid token if the request's X-AUTH-TOKEN header does not match settings.QUOTAHOLDER_TOKEN
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Christos Stavrakakis authored
-
Giorgos Korfiatis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
- 29 Nov, 2012 6 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Stratos Psomadakis authored
-
Christos Stavrakakis authored
-
Georgios D. Tsoukalas authored
Conflicts: snf-cyclades-app/synnefo/api/servers.py
-