Revert "common: Do not encode key paths as string"
This reverts commit b10f66b9a20fb9dca0a56c88d5d224f1e3fa25ea.
astakos: Adapt to new project/app scheme
common: Do not encode key paths as string
Handle explicitly key paths as lists of keys. This allows the keyto be any python object, as is the case in python dicts.
Provide utility unpack() to convert from a string representation toa list of keys. It assumes that a key is either a string or an integer...
Add some missing Copyright notices
Also add 2013 in package COPYRIGHT files.
common: Support parsing, printing inf numbers
By convention, infinite is represented by 2**63-1, the max value fora signed 64 bit field.
common: Handle non existent entry point dependencies
common: add list index support in keypath util
common: get/set/del path utility for nested dicts
astakos: Support units in resource-related commands
Add library synnefo.util.units for parsing numerical valueswith an optional unit suffix and printing integer values basedon a given style.
Styles `b', `kb', `mb', etc allow printing in the respective multiples...
Remove obsolete Ganeti RAPI client from snf-common
This Ganeti RAPI client has been moved to snf-cyclades-app.
Move common test code to snf_django.lib.testing
Common synnefo testing utils lib
New synnefo.util.testing lib added. Currently including helper decorator andcontext processor to override django settings.
udec: decode an object into a unicode object
Remove mac2eui64 dependency
Import mac2eui64 code which is already shipped under util/mac2eui64 insteadof shipping it as a seperate script.
pep8 fixes to snf-common
Grammar fix
uenc: convert to repr(utf8) if encoding fails.
uenc: utility function for encoding unicode to str
1. Motivation.
Too often a programmer outputs an object that can either be str orunicode. The default python encoding of 'ascii' cannot handle all ofunicode text, but this will not crash until such a text is encountered....
strbigdec: smart big decimal number-to-string
Remove devflow form build dependency
Restore Ganeti RAPI client to snf-common
Temporary commit in order to restore Ganeti RAPI client to snf-commonuntil snf-cyclades-app 0.11 is released.
Pool Ganeti RAPI clients
- Move Ganeti RAPI client from snf-common to snf-cyclades-app/logic.- Create GanetiRapiClientPool for pooling GanetiRapiClient objects- Create context manager in db.models for pool handling- Update code using the RAPI client
Remove add_reserved_ips from rapi client
In order to be compatible with grnet and upstream ganeti
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Update rapi to reflect to the upstream ganeti
reserved_ips->add_reserved_ipsRemove Network*All()
Do not send reserved_ips argument
In rapi CreateNetwork method
Include common date utc formatting methods
Fix bug in RAPI
None tags in gnt-network create does not validate.
Pass tags to ganeti CreateNetwork RAPI call
Import Ganeti v2.5 rapi client.
Import latest version of ganeti rapi client. Include rapi calls formanaging networks that also support chain-job.
Switch to the logging middleware
Fixed version extraction from git describe
Refs #2022
Updated changelogs for snf-common and snf-webproject
Entry points utils improvements
- Skip entry points for python distributions names existing in ``SYNNEFO_EXCLUDE_PACKAGES`` environmental variable- Avoid duplicate entries in list setting objects
Include vcs information in version files
Improved get_component_version
first try to retrieve version from version module, fallback tovcs_info
vcs_info change
added --tags in `git describe`
Added helper function to collect all default_settings
Remove commit id from vcs_version
Improved packaging
- Improved automatic version tagging from git repo.- Added auto generated synnefo.<package>.version module to contain each package version.
Initial commit for snf-webproject
- new package snf-webproject- moved basic django related settings in snf-webproject- added new entry point utils to ease the extension mechanism of snf-webproject (urlpatterns, middleware, static_files, installed_apps)...
snf-common fixes
Added snf-common package
split out of some commonly used code in a seperate package