extend GetVersion to expose:
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 22 Oct 2010 10:38:52 +0000 (12:38 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 22 Oct 2010 10:38:52 +0000 (12:38 +0200)
commitf5a6829ab1fd58a695c3e6a92bfbf905223c4693
treeb5e421f8c2c9952815da135913211c128d3754f0
parente48f94fcd37387275cb63891fb9440e988d86a8a
extend GetVersion to expose:
* interface :
    registry | slicemgr | aggregate | component
* peers (registry and slicemgr only)
    dictionary of (hrn => URL)
    for supporting introspection
* hrn : well, the hrn associated with this server (registry and slicemgr only)
* tag : the git tag
* hostname :

Example:
~/.sfi-vplc $  sfi.py -d . version -R
peers               : {'plc': 128.112.139.90:12345'}
hostname            : vplc10.pl.sophia.inria.fr
tag                 : sfa-1.0-6
hrn                 : ple
interface           : registry
geni_api            : 1
sfa                 : 1
Makefile
sfa.spec
sfa/client/sfi.py
sfa/managers/aggregate_manager_pl.py
sfa/managers/aggregate_manager_vini.py
sfa/managers/component_manager_pl.py
sfa/managers/registry_manager_pl.py
sfa/managers/slice_manager_pl.py
sfa/methods/GetVersion.py
sfa/util/version.py.in [new file with mode: 0644]