Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
fb70097
Various Updates
Jun 15, 2022
3d2764b
Updating go.mod
Jun 15, 2022
924e65a
Add support for Dell R650 and R750 in GetAggHealthDataDell
Sep 1, 2022
e768237
Handling null network address
Sep 28, 2022
a1dc09f
Add Support for Fetching Network Switch Info
May 23, 2023
79d4bd4
Update GetNetworkSwitchInfoDell Function Return Type
May 23, 2023
7a06b8c
Update Dell LC Logging Methods
May 24, 2023
be78f47
Add Interfaces
Jun 21, 2023
4ee39dd
"Add Functions to Interface"
Jun 21, 2023
6c7e7ab
"Add Bios PXE Attributes"
Jul 25, 2023
172d5dc
"Remove Comments"
Jul 26, 2023
2397f48
Merge pull request #1 from vnikolin/add_interfaces
vnikolin Feb 8, 2024
1711a61
Add Service Tag Type for GetSystemInfoDell Method Return
vnikolin Feb 9, 2024
fdf0dd0
Revert "Add Interfaces"
vnikolin Feb 12, 2024
6746814
Merge pull request #2 from vnikolin/revert-1-add_interfaces
vnikolin Feb 12, 2024
5f4a9c0
Revert "Revert "Add Interfaces""
vnikolin Feb 12, 2024
86a7e1a
Merge pull request #3 from vnikolin/revert-2-revert-1-add_interfaces
vnikolin Feb 12, 2024
07b9275
Merge pull request #4 from vnikolin/serial_macs
vnikolin Feb 12, 2024
48cdb4f
Add Dell iDRAC License Checks
vnikolin Feb 13, 2024
436255b
Add GetIdracLicenses to RedfishProvider
vnikolin Feb 13, 2024
9c33295
Merge pull request #5 from vnikolin/idrac_licenses
vnikolin May 2, 2024
eeb0a04
Semver Clean Up
vnikolin May 6, 2024
f40d30e
Merge pull request #6 from vnikolin/security_uplift
vnikolin May 6, 2024
0a0b68d
Update GO Version
vnikolin May 6, 2024
90e83e9
Add Support for Dell OEM License API
vnikolin Jul 16, 2024
4d7a63e
Update iDRAC Redfish OEM License URI
vnikolin Jul 16, 2024
006ac97
Merge pull request #7 from vnikolin/idrac_licenses2
vnikolin Jul 16, 2024
6ca4483
Update RAID Check for Controller ID
vnikolin Jul 3, 2024
2029ef2
Add Raid Controller Reset Logic
vnikolin Jul 3, 2024
b09127f
Add Job Checking Method
vnikolin Jul 3, 2024
56a72ad
Add Job Queue Force Clear
vnikolin Jul 5, 2024
e22e6c4
Add Job State Definitions
vnikolin Jul 5, 2024
c5d765f
Add Dell iDRAC Flea Drain
vnikolin Jul 5, 2024
6550c3c
Change FleaDrainDell for Testing
vnikolin Jul 5, 2024
678dc9f
Update Flea Drain and Power Actions
vnikolin Jul 6, 2024
e816b8c
Add Task Percent Complete
vnikolin Jul 6, 2024
c5bffba
Add Task State and Status
vnikolin Jul 6, 2024
c86b662
Update BIOS Update Logic
vnikolin Aug 21, 2024
263d9bb
Clean Up Debug Logging
vnikolin Aug 23, 2024
eadc3f8
Merge pull request #8 from vnikolin/autofix
vnikolin Aug 23, 2024
7938dca
Add Firmware Push API
vnikolin Sep 19, 2024
dfc8456
Add UpdateFirmwareDell to RedfishProvider
vnikolin Sep 19, 2024
67a1e52
Update HTTP Request Status
vnikolin Sep 25, 2024
3c076e0
Clean Up Comment
vnikolin Sep 26, 2024
95efe89
Merge pull request #9 from vnikolin/firmware_push
vnikolin Sep 27, 2024
41018a9
Add TLS Cert Support
vnikolin Jan 15, 2025
cb5fac4
Remove Parameter
vnikolin Jan 15, 2025
9b6ac27
Refactor Helper
vnikolin Jan 15, 2025
f8d9e80
Add Logging for Debug
vnikolin Jan 15, 2025
ff661b0
Clean Up Comments
vnikolin Jan 17, 2025
b7626cc
Clean Up
vnikolin Jan 17, 2025
edfbe67
Remove Comments
vnikolin Jan 17, 2025
3b767fe
Merge pull request #10 from vnikolin/tls_certs
vnikolin Jan 17, 2025
ad9e089
Add SSL Reset
vnikolin Jan 23, 2025
65490dd
Refactor Dell User Delete
vnikolin Feb 18, 2025
58d9b9a
Minor Cleanup
vnikolin Feb 19, 2025
2a5b039
Add User Id to UserListDell Struct
vnikolin Feb 19, 2025
179eff7
Merge pull request #11 from vnikolin/tls_cert_reset
vnikolin Feb 22, 2025
d01f652
Add Link Speed Field
vnikolin Jul 15, 2025
508d5eb
Merge pull request #12 from vnikolin/nic_speed
vnikolin Jul 24, 2025
0ebe91d
Add Dell 17G Support
vanjams Mar 16, 2026
bb8b1eb
Update SetBootOrderDell
vanjams Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
Title: RedFish API Go
Description: Redfish api to support any server type that is enabled with Redfish standards
Author: kgrvamsi
Maintainer: vnikolin
-->

# Redfish API

This Library supports both Dell and Hp Servers which have Redfish API enabled.

[![GoDoc](https://godoc.org/github.com/kgrvamsi/redfishapi?status.svg)](https://godoc.org/github.com/kgrvamsi/redfishapi)
[![Go Report Card](https://goreportcard.com/badge/github.com/kgrvamsi/redfishapi)](https://goreportcard.com/report/github.com/kgrvamsi/redfishapi)
[![GoDoc](https://godoc.org/github.com/vnikolin/redfishapi?status.svg)](https://godoc.org/github.com/vnikolin/redfishapi)
[![Go Report Card](https://goreportcard.com/badge/github.com/vnikolin/redfishapi)](https://goreportcard.com/report/github.com/vnikolin/redfishapi)

## Usage

Expand All @@ -18,7 +19,7 @@ This Library supports both Dell and Hp Servers which have Redfish API enabled.
package main

import "fmt"
import "github.com/kgrvamsi/redfishapi"
import "github.com/vnikolin/redfishapi"

func main() {
client := redfishapi.NewIloClient("https://hostname-0", "username", "password")
Expand Down
41 changes: 30 additions & 11 deletions client.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,37 @@
package redfishapi

//IloClient ... Contstructor required Variables
type IloClient struct {
Hostname string
Username string
Password string
// //IloClient ... Contstructor required Variables
// type IloClient struct {
// Hostname string
// Username string
// Password string
// }

// //NewIloClient ... Initializes the Constructor with the above variables
// func NewIloClient(hostname string, username string, password string) *IloClient {

// return &IloClient{
// Hostname: hostname,
// Username: username,
// Password: password,
// }
// }

// redfishProvider ... Contstructor required Variables
type redfishProvider struct {
Hostname string
Username string
Password string
Certificate string
}

//NewIloClient ... Initializes the Constructor with the above variables
func NewIloClient(hostname string, username string, password string) *IloClient {
// NewRedfishProvider ... Initializes the Constructor with the above variables
func NewRedfishProvider(hostname string, username string, password string, certificate string) RedfishProvider {

return &IloClient{
Hostname: hostname,
Username: username,
Password: password,
return &redfishProvider{
Hostname: hostname,
Username: username,
Password: password,
Certificate: certificate,
}
}
Loading