diff options
author | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2015-05-12 15:54:39 +0200 |
---|---|---|
committer | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2015-05-12 15:56:16 +0200 |
commit | 129ffe434c010508f26416983835e80dec0cc1d8 (patch) | |
tree | 7ba38349007080e0825fdcd99936ef452cd120a0 /fuel/prototypes/auto-deploy/documentation/5-dea-api.txt | |
parent | 82acf9fc006912f50ca799dee2489b53c712d936 (diff) |
Corrected directory name
It was never meant for the first level to be called anything
else than auto-deploy - really needed to get rid of the
terrible .../deploy/deploy/deploy.sh!
JIRA
Change-Id: Ifa68e5922ca8da9cc72df963e8138a8fc0b8b63b
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'fuel/prototypes/auto-deploy/documentation/5-dea-api.txt')
-rw-r--r-- | fuel/prototypes/auto-deploy/documentation/5-dea-api.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/fuel/prototypes/auto-deploy/documentation/5-dea-api.txt b/fuel/prototypes/auto-deploy/documentation/5-dea-api.txt new file mode 100644 index 0000000..d5c6f5c --- /dev/null +++ b/fuel/prototypes/auto-deploy/documentation/5-dea-api.txt @@ -0,0 +1,47 @@ +The structure is being reworked. This page describes the DEA interface. + +The DEA API is internal to the deployer, but documented here for information. + +*** DEA API definition version 1.1 *** + +# Get the DEA API version supported by this adapter +dea_getApiVersion () + +# Node numbering is sequential. +# Get the role for this node +# Argument 1: node id +dea_getNodeRole() + +# Get IP address of Fuel master +dea_getFuelIp() + +# Get netmask Fuel master +dea_getFuelNetmask() + +# Get gateway address of Fuel master +dea_getFuelGateway() + +# Get gateway address of Fuel master +dea_getFuelHostname() + +# Get DNS address of Fuel master +dea_getFuelDns() + +# Convert a normal MAC to a Fuel short mac for --node-id +dea_convertMacToShortMac() + +# Get property from DEA file +# Argument 1: search path, as e.g. "fuel ADMIN_NETWORK ipaddress" +dea_getProperty() + +# Convert DHA node id to Fuel cluster node id +# Look for lowest Fuel node number, this will be DHA node 1 +# Argument: node id +dea_getClusterNodeId() + +# Entry point for dea functions +# Typically do not call "dea_node_zeroMBR" but "dea node_ZeroMBR" +# Before calling dea, the adapter file must gave been sourced with +# the DEA file name as argument +dea() + |