/hpe-cty

A golang SDK for integrated Lights out under Hewlette Packard Enterprise

Primary LanguageGo

HPE-NIE-CTY-Group-2

GOLang library for HPE iLO Restful Operations
(Team members: Aman Narayan Singh, Swathi BJ, Aditya Mishra, Shreesh Kulkarni)

How this idea matters to HPE:

HPE is leader in server software which comprises of Integrated Lights out(iLO). To manage iLO using Restful Redfish APIs, Golang library is the first step. Library should be independently used to develop new Golang tools to manage HPE servers.

Phase 1

Objective:
Learning about Golang, Restful, Redfish, Client/Server etc.
Description:
The learning should include:
• What is Restful Architecture
• Basics of Golang.
• Basics of DMTF Redfish.
• Identify Tools needed like VS code/GoLand etc.
• Setting up development environment like ubuntu VM etc.
• Identify dependencies and design intended library.

Deliverable:


Design document of Golang library for Rest/Redfish.

So hereby I am attaching the ppt for the project understanding: Click here to go to the PPT
Feature Specific Template link of the project: Feature Specific Template

Phase 2

Objective: Coding and debugging/testing
Description:
• Coding of GET/PUT/PATCH/POST/DELETE operations.
• Code Review
• Unit testing
• Examples to demonstrate the working of library.

Deliverable:

Presentation of working of library using example programs.

References:

https://github.com/HewlettPackard/python-ilorest-library/
https://github.com/HewlettPackard/python-ilorest-library/tree/master/examples/Redfish/
https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/
https://www.dmtf.org/standards/redfish
## Requirements
  • Install golang

  • Clone project in gopath (~/go/src/github.com/sgkul2000/hpe-cty)

  • Get required packages (go mod tidy)

Run program

go run cmd/main.go

Currently we had uploaded the GET operation and soon we will be uploading the design document and code for other operations.