remote

package
v0.0.0-...-b6df729 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLldpRemote

func GetLldpRemote(host, port string, auth *request.Auth) (string, error)

func NewCmdRemote

func NewCmdRemote() *cobra.Command

Types

type Capabilities

type Capabilities struct {
	Repeater        bool `json:"repeater"`
	Bridge          bool `json:"bridge"`
	WlanAccessPoint bool `json:"wlan_access_point"`
	Router          bool `json:"router"`
	Telephone       bool `json:"telephone"`
	CableDevice     bool `json:"cable_device"`
	StationOnly     bool `json:"station_only"`
}

type LldpRemoteDeviceElement

type LldpRemoteDeviceElement struct {
	Uri                     string
	LocalPort               string `json:"local_port"`
	ChassisType             string `json:"chassis_type"`
	ChassisID               string `json:"chassis_id"`
	PortType                string `json:"port_type"`
	PortID                  string `json:"port_id"`
	PortDescription         string `json:"port_description"`
	SystemName              string `json:"system_name"`
	SystemDescription       string `json:"system_description"`
	PvID                    int
	CapabilitiesSupported   Capabilities `json:"capabilities_supported"`
	CapabilitiesEnabled     Capabilities `json:"capabilities_enabled"`
	RemoteManagementAddress `json:"remote_management_address"`
	PoePlusInfo             `json:"poe_plus_info"`
}

type PoePlusInfo

type PoePlusInfo struct {
	PoeDeviceType         string `json:"poe_device_type"`
	PowerSource           string `json:"power_source"`
	PowerPriority         string `json:"power_priority"`
	RequestedPowerInWatts string `json:"requested_power_in_watts"`
	ActualPowerInWatts    string `json:"actual_power_in_watts"`
}

type RemoteManagementAddress

type RemoteManagementAddress []struct {
	Type    string
	Address string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL