This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.
Please use https://github.com/daos-stack/daos/tree/master/src/control/lib/ipmctl instead.
Go bindings for the libipmctl native C lib to enable management of DCPMMs from Go source
This is a Go interface for ipmctl
This is a Go project, so the Go development tools are naturally required. We recommend the most current Go release available. As of July 2018, the project has been built and tested with Go 1.11.5
The following steps assume ipmctl library is installed. To install please follow steps in the ipmctl github
Clone the repo:
git clone git@github.com:daos-stack/go-ipmctl.git
export GOIPMCTL=${HOME}/go-ipmctl
Setup your environment:
export GOPATH=${HOME}/go
export PATH=${PATH}:${GOPATH}/bin/
Install go-task:
go get -u -v github.com/go-task/task/cmd/task
Install golint:
go get -u -v golang.org/x/lint/golint
Install goimport:
go get -u -v golang.org/x/tools/cmd/goimports
Run task:
task main-task