macAddress

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 GetMacCountAtPort

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

func GetPortWithMac

func GetPortWithMac(host, mac string, auth *request.Auth) (string, error)

func NewCmdMacAddress

func NewCmdMacAddress() *cobra.Command

Types

type MacTableEntryElement

type MacTableEntryElement struct {
	Uri        string
	MacAddress string `json:"mac_address"`
	PortID     string `json:"port_id"`
	VlanID     int    `json:"vlan_id"`
}

type Response

type Response struct {
	request.CollectionResult `json:"collection_result"`
	MacTableEntryElement     []MacTableEntryElement `json:"mac_table_entry_element"`
}

Jump to

Keyboard shortcuts

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