You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/runner-mei/go-dorado-sdk

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/runner-mei/go-dorado-sdk

v0.9.0
Source
Go
Version published
Created
Source

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

  • Developer Documents by Huawei
    • require credential

FAQs

Package last updated on 20 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts