https://github.com/lovi-cloud/go-dorado-sdk
go-dorado-sdk is golang SDK for Huawei OceanStor
https://github.com/lovi-cloud/go-dorado-sdk
dorado-sdk golang-bindings golang-sdk huawei-oceanstor-dorado
Last synced: 5 months ago
JSON representation
go-dorado-sdk is golang SDK for Huawei OceanStor
- Host: GitHub
- URL: https://github.com/lovi-cloud/go-dorado-sdk
- Owner: lovi-cloud
- License: mit
- Created: 2020-04-03T04:23:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-19T02:18:41.000Z (over 5 years ago)
- Last Synced: 2025-10-13T09:20:03.353Z (9 months ago)
- Topics: dorado-sdk, golang-bindings, golang-sdk, huawei-oceanstor-dorado
- Language: Go
- Homepage:
- Size: 301 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-dorado-sdk: Golang SDK for Huawei OceanStor Dorado
go-dorado-sdk is Golang SDK for Huawei OceanStor Dorado.
It provides operationally from Golang.
## Support Products
- OceanStor Dorado V3
## Usage
- Enable REST API
- Create system-user that call REST API
```go
package main
import (
"github.com/lovi-cloud/go-dorado-sdk/dorado"
)
func main() {
username := "username"
password := "password"
localIps := []string{"https://192.0.2.100:8088", "https://192.0.2.101:8088"}
remoteIps := []string{"https://192.0.2.200:8088", "https://192.0.2.201:8088"}
portgroupName := "Port_Group"
client, err := dorado.NewClient(localIps, remoteIps, username, password, portgroupName, nil)
// etc...
}
```
## Reference documents
- [Developer Documents by Huawei](https://support.huawei.com/enterprise/en/centralized-storage/oceanstor-dorado3000-v3-pid-23786734?category=developer-documents)
- require credential