module
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Jan 20, 2021
License: MIT
Opens a new window with license information.
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.
Usage
- Enable REST API
- Create system-user that call REST API
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
Directories
¶
Click to show internal directories.
Click to hide internal directories.