/ams-clipw

AMS cloud info provider wrapper

Primary LanguagePython

Cloud info provider wrapper

Python script to publish cloud info to AMS.

ams-clipw -c <ConfigPath>

-c : Path to appropriate config file.

Installation

# git clone https://github.com/grnet/ams-clipw.git
# cd ams-clipw/
# edit the config file with the appropriate settings 
# python setup.py  install

Configuration

Use the settings.example to produce your conf file. The project should exist in AMS in advance.

[AMS]
# ams url
ams_host:
# under which ams project the message will be published
ams_project:
# under which ams topic the message will be published  it follows the patern 
#(SITE_<name of site in GOCDB>_ENDPOINT_<identifier of the endpoint in GOCDB> 
# e.g. SITE_HG-09-Okeanos-Cloud_ENDPOINT_11369G0
# It is expected that you have registered your provider in gocdb with 
# service_type eu.egi.cloud.infoProvider and marked to be in Production.
# e.g https://goc.egi.eu/portal/index.php?Page_Type=Service&id=11369
ams_topic:
# message body (path to the ldif that cloud info provider produces)
msg_file_path:
# executable to run to obtain ldif output
info_provider_path:

[AUTH]
# Use either token or cert_path and key_path
# token to access ams
token:
# certificate path
cert_path:
# key path
key_path: