Skip to content

Commit 66f5a54

Browse files
author
root
committed
fix(flowd-go-installer): use correct 'firefly' key name for v2.5.0+ YAML config
The flowd-go 2.5.0 release (adds firefly forwarding to global.scitags.org) changed the YAML configuration key from 'fireflyp' to 'firefly'. Update the installer script to generate the correct key name for compatibility. Tested on psumvm03: - Upgraded from flowd-go 2.4.2 to 2.5.0 - Verified both perfsonar and firefly plugins load (nPlugins=2) - Confirmed firefly plugin listening on UDP 127.0.0.1:10514 - Validated firefly packet forwarding to global.scitags.org
1 parent d1a80c5 commit 66f5a54

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/perfsonar/tools_scripts/perfSONAR-install-flowd-go.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,12 @@ build_config() {
191191
done
192192
iface_yaml+="]"
193193

194-
# Build optional fireflyp plugin block
194+
# Build optional firefly plugin block
195195
# Requires flowd-go >= 2.5.0 (scitags/flowd-go#49).
196+
# Note: In flowd-go 2.5.0+, the YAML key is 'firefly' (not 'fireflyp').
196197
local fireflyp_block=""
197198
if [ -n "$FIREFLY_RECEIVER" ]; then
198-
fireflyp_block=$(printf ' fireflyp:\n bindAddress: "127.0.0.1"\n bindPort: %s\n fireflyReceivers:\n - address: "%s"\n port: %s\n' \
199+
fireflyp_block=$(printf ' firefly:\n bindAddress: "127.0.0.1"\n bindPort: %s\n fireflyReceivers:\n - address: "%s"\n port: %s\n' \
199200
"$FIREFLY_BIND_PORT" "$FIREFLY_RECEIVER" "$FIREFLY_RECEIVER_PORT")
200201
fi
201202

docs/perfsonar/tools_scripts/scripts.sha256

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ e184c633ca9ca5d3d79321213843a4eaa951e5596d3dc05f082e5f76e860e580 install_tools_
2121
26ebf225dd223ed783190e395fd21b6346d95abf036434c4b51f8cc2db5cad68 perfSONAR-toolkit-install.sh
2222
cd0e7afd1ca7a20a972e585018802be0cb6f67cd3ffee449dea45d785c23145a perfSONAR-configure-exporter-acls.sh
2323
2615a29d65e285391adb547046584c4534ea548e69571b67e0cf35773b010c57 perfSONAR-diagnostic-report.sh
24-
ac0c8fd6f27cc156ec05c7e6ac3547e0732f436a7033dac34475ece5641a284f docs/perfsonar/tools_scripts/perfSONAR-install-flowd-go.sh
24+
6854dc66a5d11e4c2fe5a439c4f3649d93f4e376fe8567c96f6abec0d42c6a6b perfSONAR-install-flowd-go.sh
2525
39d226a857eb1a0956003c75ca8b558fcb55c63176286ca9597f031d08cb38a7 docs/perfsonar/tools_scripts/update-perfsonar-deployment.sh

0 commit comments

Comments
 (0)