Skip to main content

GetDeviceInterfaces

frontend


frontend / types/graphql/GetDeviceInterfaces

types/graphql/GetDeviceInterfaces

Type Aliases

GetDeviceInterfacesData

GetDeviceInterfacesData = object

Defined in: types/graphql/GetDeviceInterfaces.ts:83

Properties

data

data: object

Defined in: types/graphql/GetDeviceInterfaces.ts:84

device

device: object

device.l1interfaces

l1interfaces: L1Interfaces

errors?

optional errors: object[]

Defined in: types/graphql/GetDeviceInterfaces.ts:89

message

message: string


GetDeviceInterfacesVars

GetDeviceInterfacesVars = object

Defined in: types/graphql/GetDeviceInterfaces.ts:92

Properties

id

id: string

Defined in: types/graphql/GetDeviceInterfaces.ts:93


InterfaceEdge

InterfaceEdge = object

Defined in: types/graphql/GetDeviceInterfaces.ts:75

Properties

node

node: InterfaceNode

Defined in: types/graphql/GetDeviceInterfaces.ts:76


InterfaceNode

InterfaceNode = object

Defined in: types/graphql/GetDeviceInterfaces.ts:44

Properties

cdpcachedeviceid?

optional cdpcachedeviceid: string | null

Defined in: types/graphql/GetDeviceInterfaces.ts:65

cdpcachedeviceport

cdpcachedeviceport: string

Defined in: types/graphql/GetDeviceInterfaces.ts:66

cdpcacheplatform

cdpcacheplatform: string

Defined in: types/graphql/GetDeviceInterfaces.ts:67

duplex

duplex: string

Defined in: types/graphql/GetDeviceInterfaces.ts:62

idxDevice

idxDevice: number

Defined in: types/graphql/GetDeviceInterfaces.ts:46

idxL1interface

idxL1interface: string

Defined in: types/graphql/GetDeviceInterfaces.ts:45

ifalias?

optional ifalias: string | null

Defined in: types/graphql/GetDeviceInterfaces.ts:63

ifinDiscards

ifinDiscards: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:60

ifinErrors

ifinErrors: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:58

ifinNucastPkts

ifinNucastPkts: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:54

ifinOctets

ifinOctets: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:56

ifinUcastPkts

ifinUcastPkts: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:52

ifname

ifname: string

Defined in: types/graphql/GetDeviceInterfaces.ts:47

ifoperstatus

ifoperstatus: number

Defined in: types/graphql/GetDeviceInterfaces.ts:49

ifoutDiscards

ifoutDiscards: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:61

ifoutErrors

ifoutErrors: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:59

ifoutNucastPkts

ifoutNucastPkts: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:55

ifoutOctets

ifoutOctets: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:57

ifoutUcastPkts

ifoutUcastPkts: number | null

Defined in: types/graphql/GetDeviceInterfaces.ts:53

ifspeed

ifspeed: number

Defined in: types/graphql/GetDeviceInterfaces.ts:51

lldpremportdesc

lldpremportdesc: string

Defined in: types/graphql/GetDeviceInterfaces.ts:68

lldpremsyscapenabled

lldpremsyscapenabled: string[]

Defined in: types/graphql/GetDeviceInterfaces.ts:71

lldpremsysdesc

lldpremsysdesc: string

Defined in: types/graphql/GetDeviceInterfaces.ts:70

lldpremsysname

lldpremsysname: string

Defined in: types/graphql/GetDeviceInterfaces.ts:69

macports

macports: MacPort

Defined in: types/graphql/GetDeviceInterfaces.ts:72

nativevlan

nativevlan: number

Defined in: types/graphql/GetDeviceInterfaces.ts:48

trunk

trunk: boolean

Defined in: types/graphql/GetDeviceInterfaces.ts:64

tsIdle

tsIdle: number

Defined in: types/graphql/GetDeviceInterfaces.ts:50


L1Interfaces

L1Interfaces = object

Defined in: types/graphql/GetDeviceInterfaces.ts:79

Properties

edges

edges: InterfaceEdge[]

Defined in: types/graphql/GetDeviceInterfaces.ts:80


Mac

Mac = object

Defined in: types/graphql/GetDeviceInterfaces.ts:27

Properties

mac

mac: string

Defined in: types/graphql/GetDeviceInterfaces.ts:28

oui

oui: OrganizationOui | null

Defined in: types/graphql/GetDeviceInterfaces.ts:29


MacPort

MacPort = object

Defined in: types/graphql/GetDeviceInterfaces.ts:40

Properties

edges

edges: MacsEdge[]

Defined in: types/graphql/GetDeviceInterfaces.ts:41


MacsEdge

MacsEdge = object

Defined in: types/graphql/GetDeviceInterfaces.ts:36

Properties

node

node: MacsNode

Defined in: types/graphql/GetDeviceInterfaces.ts:37


MacsNode

MacsNode = object

Defined in: types/graphql/GetDeviceInterfaces.ts:32

Properties

macs

macs: Mac[]

Defined in: types/graphql/GetDeviceInterfaces.ts:33


OrganizationOui

OrganizationOui = object

Defined in: types/graphql/GetDeviceInterfaces.ts:23

Type definitions for GraphQL queries related to device interfaces. These types are used to structure the data returned from the GraphQL API. They include definitions for MAC addresses, OUI (Organizationally Unique Identifier), and device interfaces.

Remarks

This file defines the types used in the GraphQL queries for fetching device interfaces. It includes types for MAC addresses, OUI, and the structure of device interfaces. The types are used to ensure type safety when working with the data returned from the API. The Oui type represents the organization associated with a MAC address, while the Mac type represents a MAC address and its associated OUI. The MacsNode type represents a collection of MAC addresses, and the MacPorts type represents the edges of MAC addresses. The InterfaceNode type represents a device interface with various properties, including its name, status, speed, and associated MAC addresses. The InterfaceEdge type represents an edge in the list of interfaces, and the L1Interfaces type represents a collection of these edges. Finally, the GetDeviceInterfacesData type represents the overall structure of the data returned from the GraphQL query for device interfaces, including any potential errors. The GetDeviceInterfacesVars type defines the variables required for the GraphQL query, specifically the device ID.

Properties

organization

organization: string

Defined in: types/graphql/GetDeviceInterfaces.ts:24