hms-shcd-parser

module
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: MIT

README

This project contains the logic to parse an SHCD Excel spreadsheet and gather information necessary for HMS purposes (like discovery) and output them in machine friendly format. The intention is for this image to be used directly without any specific knowledge required to make it as easy as possible for the end user.

To generate the output JSON run the following from in the directory where your SHCD Excel spreadsheet is:

$ docker run --rm -it --name hms-shcd-parser -v $(pwd)/sls_test_shcd-gamora.xlsx:/input/shcd_file.xlsx -v $(pwd):/output dtr.dev.cray.com/cray/hms-shcd-parser:latest
2020-06-12T20:17:22.078Z	INFO	shcd-parser/main.go:147	Wrote HMN connections to file.	{"outputFile": "/output/hmn_connections.json"}
2020-06-12T20:17:22.078Z	INFO	shcd-parser/main.go:150	Configuration generated.

In the directory you run that from you will now have a hmn_connections.json file.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL