X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config%2Fsfa_config;h=6b646b2a69eda69ff690139d0e6a478dbe4484bf;hb=1c8efd5f2f2865cd6bdfa0dfe50d798f9ab65342;hp=f8d59e93cfd683bc2e3f6afe9a77f8fe9d7666e0;hpb=1d15635c313f9fe13a977a347382ab716fd4e52b;p=sfa.git diff --git a/config/sfa_config b/config/sfa_config index f8d59e93..6b646b2a 100644 --- a/config/sfa_config +++ b/config/sfa_config @@ -1,27 +1,32 @@ -# Directory where SFA interfaces are installed -SFA_BASE_DIR="/usr/share/sfa/" - # HRN -# Human readable name for the interfaces +# Human readable name for this interface SFA_INTERFACE_HRN="plc" - # API Debug # Are we logging SFA_API_DEBUG=1 +## ============================================================ # Registry Configuration # # Enabled # Enable the registry interface SFA_REGISTRY_ENABLED=1 +# Registry Type +# +# The type of backend server for this registry +# Some registries may not be myplc +SFA_REGISTRY_TYPE='pl' + # Root Auth # The hrn of the registry's root auth SFA_REGISTRY_ROOT_AUTH="plc" # Level1 Auth -# The hrn of the registry's level1 auth +# The hrn of the registry's level1 auth (sub authority) +# The full name of this interface (only secify if this +# interface is a sub authority) # xxx could be determined from hrn above SFA_REGISTRY_LEVEL1_AUTH="" @@ -33,12 +38,20 @@ SFA_REGISTRY_HOST="localhost" # Geni registry port SFA_REGISTRY_PORT=12345 - +## ============================================================== ## Aggregate Configuration ## ## Enable aggregate inteface ## Enable the aggregate inteface. SFA_AGGREGATE_ENABLED=1 + +# Aggregate Type +# +# The type of backend server for this aggregate +# Some aggregates may not be myplc +SFA_AGGREGATE_TYPE='pl' + +# # ## Hostname ## The fully qualified hostname of the aggregate server @@ -48,11 +61,20 @@ SFA_AGGREGATE_HOST="localhost" ## Geni aggregate server port SFA_AGGREGATE_PORT=12346 +## ============================================================== # Slice Manager Configuration # # Enabled # Enable the slice manager -SFA_SM_ENABLED=1 +SFA_SM_ENABLED=1 + +# Slice Manager type +# +## The type of backend server for this slice manager +## The slice manager doesnt rely on a specific backend server so +## you probably will never need to change this type unless you +## need to reimplement the slice manager +SFA_SM_TYPE='pl' # Host ## The fully qualified hostname or IP address of the slice manager server @@ -62,6 +84,28 @@ SFA_SM_HOST="localhost" # Geni slice manager server port SFA_SM_PORT=12347 +## =============================================================== +# Component Manager Configuration +# +# Enabled +## Enable the slice manager +SFA_CM_ENABLED=1 + +# Component Manager type +# +# The type of backend server for this component manager +SFA_CM_TYPE='pl' +# +# Host +## The fully qualified hostname or IP address of the slice manager server +SFA_SM_HOST="localhost" +# +# Port +# Geni slice manager server port +SFA_SM_PORT=12346 + + + # PLC Interface Access Configuration # # PLC user @@ -73,19 +117,14 @@ SFA_PLC_USER='root@localhost.localdomain' # Password for user account SFA_PLC_PASSWORD='root' -# Hostname -# Fully qualified hostname of PLC interface +# Full URL of PLC interface SFA_PLC_URL='https://localhost:443/PLCAPI/' -# PLC Shell PATH -# This only applies if sfa services and PLC interface are running on the same machine -SFA_PLC_SHELL_PATH='/usr/share/plc_api' - # PLC DB Name SFA_PLC_DB_NAME='planetlab5' # PLC DB Host -SFA_PLC_DB_HOST='www.planet-lab.org' +SFA_PLC_DB_HOST='localhost' # PLC DB port SFA_PLC_DB_PORT=5432 @@ -95,3 +134,11 @@ SFA_PLC_DB_USER='pgsqluser' # PLC DB Password SFA_PLC_DB_PASSWORD='' + +# Directory internal data gets stored +# using /etc/sfa until gec5 but /var/lib/sfa would be a more reasonable choice +SFA_CONFIG_DIR="/etc/sfa" + +# Directory internal data gets stored +SFA_DATA_DIR="/var/lib/sfa" +