gosdn

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IETFInterfacesInterfaceType_name = map[int32]string{
		0: "IETFINTERFACESINTERFACETYPE_UNSET",
	}
	IETFInterfacesInterfaceType_value = map[string]int32{
		"IETFINTERFACESINTERFACETYPE_UNSET": 0,
	}
)

Enum value maps for IETFInterfacesInterfaceType.

View Source
var (
	Interfaces_Interface_State_AdminStatus_name = map[int32]string{
		0: "ADMINSTATUS_UNSET",
		1: "ADMINSTATUS_UP",
		2: "ADMINSTATUS_DOWN",
		3: "ADMINSTATUS_TESTING",
	}
	Interfaces_Interface_State_AdminStatus_value = map[string]int32{
		"ADMINSTATUS_UNSET":   0,
		"ADMINSTATUS_UP":      1,
		"ADMINSTATUS_DOWN":    2,
		"ADMINSTATUS_TESTING": 3,
	}
)

Enum value maps for Interfaces_Interface_State_AdminStatus.

View Source
var (
	Interfaces_Interface_State_OperStatus_name = map[int32]string{
		0: "OPERSTATUS_UNSET",
		2: "OPERSTATUS_UP",
		3: "OPERSTATUS_DOWN",
		4: "OPERSTATUS_TESTING",
		5: "OPERSTATUS_UNKNOWN",
		6: "OPERSTATUS_DORMANT",
		7: "OPERSTATUS_NOT_PRESENT",
		8: "OPERSTATUS_LOWER_LAYER_DOWN",
	}
	Interfaces_Interface_State_OperStatus_value = map[string]int32{
		"OPERSTATUS_UNSET":            0,
		"OPERSTATUS_UP":               2,
		"OPERSTATUS_DOWN":             3,
		"OPERSTATUS_TESTING":          4,
		"OPERSTATUS_UNKNOWN":          5,
		"OPERSTATUS_DORMANT":          6,
		"OPERSTATUS_NOT_PRESENT":      7,
		"OPERSTATUS_LOWER_LAYER_DOWN": 8,
	}
)

Enum value maps for Interfaces_Interface_State_OperStatus.

View Source
var (
	Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus_name = map[int32]string{
		0: "ADMINSTATUS_UNSET",
		1: "ADMINSTATUS_UP",
		2: "ADMINSTATUS_DOWN",
		3: "ADMINSTATUS_TESTING",
	}
	Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus_value = map[string]int32{
		"ADMINSTATUS_UNSET":   0,
		"ADMINSTATUS_UP":      1,
		"ADMINSTATUS_DOWN":    2,
		"ADMINSTATUS_TESTING": 3,
	}
)

Enum value maps for Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus.

View Source
var (
	Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_name = map[int32]string{
		0: "OPERSTATUS_UNSET",
		2: "OPERSTATUS_UP",
		3: "OPERSTATUS_DOWN",
		4: "OPERSTATUS_TESTING",
		5: "OPERSTATUS_UNKNOWN",
		6: "OPERSTATUS_DORMANT",
		7: "OPERSTATUS_NOT_PRESENT",
		8: "OPERSTATUS_LOWER_LAYER_DOWN",
	}
	Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_value = map[string]int32{
		"OPERSTATUS_UNSET":            0,
		"OPERSTATUS_UP":               2,
		"OPERSTATUS_DOWN":             3,
		"OPERSTATUS_TESTING":          4,
		"OPERSTATUS_UNKNOWN":          5,
		"OPERSTATUS_DORMANT":          6,
		"OPERSTATUS_NOT_PRESENT":      7,
		"OPERSTATUS_LOWER_LAYER_DOWN": 8,
	}
)

Enum value maps for Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus.

View Source
var File_openconfig_enums_enums_proto protoreflect.FileDescriptor
View Source
var File_openconfig_openconfig_interfaces_openconfig_interfaces_proto protoreflect.FileDescriptor
View Source
var File_openconfig_openconfig_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Device

type Device struct {
	Interfaces *Interfaces `protobuf:"bytes,85031486,opt,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

func (*Device) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetInterfaces

func (x *Device) GetInterfaces() *Interfaces

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type IETFInterfacesInterfaceType

type IETFInterfacesInterfaceType int32

IETFInterfacesInterfaceType represents an enumerated type generated for the YANG identity interface-type.

const (
	IETFInterfacesInterfaceType_IETFINTERFACESINTERFACETYPE_UNSET IETFInterfacesInterfaceType = 0
)

func (IETFInterfacesInterfaceType) Descriptor

func (IETFInterfacesInterfaceType) Enum

func (IETFInterfacesInterfaceType) EnumDescriptor deprecated

func (IETFInterfacesInterfaceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IETFInterfacesInterfaceType.Descriptor instead.

func (IETFInterfacesInterfaceType) Number

func (IETFInterfacesInterfaceType) String

func (IETFInterfacesInterfaceType) Type

type Interfaces

type Interfaces struct {
	Interface []*Interfaces_InterfaceKey `protobuf:"bytes,422482938,rep,name=interface,proto3" json:"interface,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces) Descriptor deprecated

func (*Interfaces) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces.ProtoReflect.Descriptor instead.

func (*Interfaces) GetInterface

func (x *Interfaces) GetInterface() []*Interfaces_InterfaceKey

func (*Interfaces) ProtoMessage

func (*Interfaces) ProtoMessage()

func (*Interfaces) ProtoReflect

func (x *Interfaces) ProtoReflect() protoreflect.Message

func (*Interfaces) Reset

func (x *Interfaces) Reset()

func (*Interfaces) String

func (x *Interfaces) String() string

type Interfaces_Interface

type Interfaces_Interface struct {
	Config        *Interfaces_Interface_Config        `protobuf:"bytes,334174827,opt,name=config,proto3" json:"config,omitempty"`
	HoldTime      *Interfaces_Interface_HoldTime      `protobuf:"bytes,175931092,opt,name=hold_time,json=holdTime,proto3" json:"hold_time,omitempty"`
	State         *Interfaces_Interface_State         `protobuf:"bytes,387556140,opt,name=state,proto3" json:"state,omitempty"`
	Subinterfaces *Interfaces_Interface_Subinterfaces `protobuf:"bytes,327798165,opt,name=subinterfaces,proto3" json:"subinterfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface) Descriptor deprecated

func (*Interfaces_Interface) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface) GetConfig

func (*Interfaces_Interface) GetHoldTime

func (*Interfaces_Interface) GetState

func (*Interfaces_Interface) GetSubinterfaces

func (*Interfaces_Interface) ProtoMessage

func (*Interfaces_Interface) ProtoMessage()

func (*Interfaces_Interface) ProtoReflect

func (x *Interfaces_Interface) ProtoReflect() protoreflect.Message

func (*Interfaces_Interface) Reset

func (x *Interfaces_Interface) Reset()

func (*Interfaces_Interface) String

func (x *Interfaces_Interface) String() string

type Interfaces_InterfaceKey

type Interfaces_InterfaceKey struct {
	Name      string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Interface *Interfaces_Interface `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_InterfaceKey) Descriptor deprecated

func (*Interfaces_InterfaceKey) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_InterfaceKey.ProtoReflect.Descriptor instead.

func (*Interfaces_InterfaceKey) GetInterface

func (x *Interfaces_InterfaceKey) GetInterface() *Interfaces_Interface

func (*Interfaces_InterfaceKey) GetName

func (x *Interfaces_InterfaceKey) GetName() string

func (*Interfaces_InterfaceKey) ProtoMessage

func (*Interfaces_InterfaceKey) ProtoMessage()

func (*Interfaces_InterfaceKey) ProtoReflect

func (x *Interfaces_InterfaceKey) ProtoReflect() protoreflect.Message

func (*Interfaces_InterfaceKey) Reset

func (x *Interfaces_InterfaceKey) Reset()

func (*Interfaces_InterfaceKey) String

func (x *Interfaces_InterfaceKey) String() string

type Interfaces_Interface_Config

type Interfaces_Interface_Config struct {
	Description  *ywrapper.StringValue       `protobuf:"bytes,418535860,opt,name=description,proto3" json:"description,omitempty"`
	Enabled      *ywrapper.BoolValue         `protobuf:"bytes,37224301,opt,name=enabled,proto3" json:"enabled,omitempty"`
	LoopbackMode *ywrapper.BoolValue         `protobuf:"bytes,253516347,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"`
	Mtu          *ywrapper.UintValue         `protobuf:"bytes,376210342,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Name         *ywrapper.StringValue       `protobuf:"bytes,51804187,opt,name=name,proto3" json:"name,omitempty"`
	Type         IETFInterfacesInterfaceType `protobuf:"varint,144596894,opt,name=type,proto3,enum=openconfig.enums.IETFInterfacesInterfaceType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Config) Descriptor deprecated

func (*Interfaces_Interface_Config) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_Config.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Config) GetDescription

func (x *Interfaces_Interface_Config) GetDescription() *ywrapper.StringValue

func (*Interfaces_Interface_Config) GetEnabled

func (*Interfaces_Interface_Config) GetLoopbackMode

func (x *Interfaces_Interface_Config) GetLoopbackMode() *ywrapper.BoolValue

func (*Interfaces_Interface_Config) GetMtu

func (*Interfaces_Interface_Config) GetName

func (*Interfaces_Interface_Config) GetType

func (*Interfaces_Interface_Config) ProtoMessage

func (*Interfaces_Interface_Config) ProtoMessage()

func (*Interfaces_Interface_Config) ProtoReflect

func (*Interfaces_Interface_Config) Reset

func (x *Interfaces_Interface_Config) Reset()

func (*Interfaces_Interface_Config) String

func (x *Interfaces_Interface_Config) String() string

type Interfaces_Interface_HoldTime

type Interfaces_Interface_HoldTime struct {
	Config *Interfaces_Interface_HoldTime_Config `protobuf:"bytes,316512729,opt,name=config,proto3" json:"config,omitempty"`
	State  *Interfaces_Interface_HoldTime_State  `protobuf:"bytes,483010990,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_HoldTime) Descriptor deprecated

func (*Interfaces_Interface_HoldTime) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_HoldTime.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_HoldTime) GetConfig

func (*Interfaces_Interface_HoldTime) GetState

func (*Interfaces_Interface_HoldTime) ProtoMessage

func (*Interfaces_Interface_HoldTime) ProtoMessage()

func (*Interfaces_Interface_HoldTime) ProtoReflect

func (*Interfaces_Interface_HoldTime) Reset

func (x *Interfaces_Interface_HoldTime) Reset()

func (*Interfaces_Interface_HoldTime) String

type Interfaces_Interface_HoldTime_Config

type Interfaces_Interface_HoldTime_Config struct {
	Down *ywrapper.UintValue `protobuf:"bytes,171181656,opt,name=down,proto3" json:"down,omitempty"`
	Up   *ywrapper.UintValue `protobuf:"bytes,62026235,opt,name=up,proto3" json:"up,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_HoldTime_Config) Descriptor deprecated

func (*Interfaces_Interface_HoldTime_Config) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_HoldTime_Config.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_HoldTime_Config) GetDown

func (*Interfaces_Interface_HoldTime_Config) GetUp

func (*Interfaces_Interface_HoldTime_Config) ProtoMessage

func (*Interfaces_Interface_HoldTime_Config) ProtoMessage()

func (*Interfaces_Interface_HoldTime_Config) ProtoReflect

func (*Interfaces_Interface_HoldTime_Config) Reset

func (*Interfaces_Interface_HoldTime_Config) String

type Interfaces_Interface_HoldTime_State

type Interfaces_Interface_HoldTime_State struct {
	Down *ywrapper.UintValue `protobuf:"bytes,167887721,opt,name=down,proto3" json:"down,omitempty"`
	Up   *ywrapper.UintValue `protobuf:"bytes,223847598,opt,name=up,proto3" json:"up,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_HoldTime_State) Descriptor deprecated

func (*Interfaces_Interface_HoldTime_State) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_HoldTime_State.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_HoldTime_State) GetDown

func (*Interfaces_Interface_HoldTime_State) GetUp

func (*Interfaces_Interface_HoldTime_State) ProtoMessage

func (*Interfaces_Interface_HoldTime_State) ProtoMessage()

func (*Interfaces_Interface_HoldTime_State) ProtoReflect

func (*Interfaces_Interface_HoldTime_State) Reset

func (*Interfaces_Interface_HoldTime_State) String

type Interfaces_Interface_State

type Interfaces_Interface_State struct {
	AdminStatus  Interfaces_Interface_State_AdminStatus `` /* 180-byte string literal not displayed */
	Counters     *Interfaces_Interface_State_Counters   `protobuf:"bytes,83645964,opt,name=counters,proto3" json:"counters,omitempty"`
	Description  *ywrapper.StringValue                  `protobuf:"bytes,389435287,opt,name=description,proto3" json:"description,omitempty"`
	Enabled      *ywrapper.BoolValue                    `protobuf:"bytes,330927518,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Ifindex      *ywrapper.UintValue                    `protobuf:"bytes,116108202,opt,name=ifindex,proto3" json:"ifindex,omitempty"`
	LastChange   *ywrapper.UintValue                    `protobuf:"bytes,127348880,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	Logical      *ywrapper.BoolValue                    `protobuf:"bytes,440460216,opt,name=logical,proto3" json:"logical,omitempty"`
	LoopbackMode *ywrapper.BoolValue                    `protobuf:"bytes,372935512,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"`
	Mtu          *ywrapper.UintValue                    `protobuf:"bytes,96390485,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Name         *ywrapper.StringValue                  `protobuf:"bytes,503495278,opt,name=name,proto3" json:"name,omitempty"`
	OperStatus   Interfaces_Interface_State_OperStatus  `` /* 176-byte string literal not displayed */
	Type         IETFInterfacesInterfaceType            `protobuf:"varint,358148579,opt,name=type,proto3,enum=openconfig.enums.IETFInterfacesInterfaceType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_State) Descriptor deprecated

func (*Interfaces_Interface_State) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_State.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_State) GetAdminStatus

func (*Interfaces_Interface_State) GetCounters

func (*Interfaces_Interface_State) GetDescription

func (x *Interfaces_Interface_State) GetDescription() *ywrapper.StringValue

func (*Interfaces_Interface_State) GetEnabled

func (*Interfaces_Interface_State) GetIfindex

func (*Interfaces_Interface_State) GetLastChange

func (x *Interfaces_Interface_State) GetLastChange() *ywrapper.UintValue

func (*Interfaces_Interface_State) GetLogical

func (*Interfaces_Interface_State) GetLoopbackMode

func (x *Interfaces_Interface_State) GetLoopbackMode() *ywrapper.BoolValue

func (*Interfaces_Interface_State) GetMtu

func (*Interfaces_Interface_State) GetName

func (*Interfaces_Interface_State) GetOperStatus

func (*Interfaces_Interface_State) GetType

func (*Interfaces_Interface_State) ProtoMessage

func (*Interfaces_Interface_State) ProtoMessage()

func (*Interfaces_Interface_State) ProtoReflect

func (*Interfaces_Interface_State) Reset

func (x *Interfaces_Interface_State) Reset()

func (*Interfaces_Interface_State) String

func (x *Interfaces_Interface_State) String() string

type Interfaces_Interface_State_AdminStatus

type Interfaces_Interface_State_AdminStatus int32
const (
	Interfaces_Interface_State_ADMINSTATUS_UNSET   Interfaces_Interface_State_AdminStatus = 0
	Interfaces_Interface_State_ADMINSTATUS_UP      Interfaces_Interface_State_AdminStatus = 1
	Interfaces_Interface_State_ADMINSTATUS_DOWN    Interfaces_Interface_State_AdminStatus = 2
	Interfaces_Interface_State_ADMINSTATUS_TESTING Interfaces_Interface_State_AdminStatus = 3
)

func (Interfaces_Interface_State_AdminStatus) Descriptor

func (Interfaces_Interface_State_AdminStatus) Enum

func (Interfaces_Interface_State_AdminStatus) EnumDescriptor deprecated

func (Interfaces_Interface_State_AdminStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_State_AdminStatus.Descriptor instead.

func (Interfaces_Interface_State_AdminStatus) Number

func (Interfaces_Interface_State_AdminStatus) String

func (Interfaces_Interface_State_AdminStatus) Type

type Interfaces_Interface_State_Counters

type Interfaces_Interface_State_Counters struct {
	CarrierTransitions *ywrapper.UintValue `protobuf:"bytes,270803130,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"`
	InBroadcastPkts    *ywrapper.UintValue `protobuf:"bytes,280201989,opt,name=in_broadcast_pkts,json=inBroadcastPkts,proto3" json:"in_broadcast_pkts,omitempty"`
	InDiscards         *ywrapper.UintValue `protobuf:"bytes,11979514,opt,name=in_discards,json=inDiscards,proto3" json:"in_discards,omitempty"`
	InErrors           *ywrapper.UintValue `protobuf:"bytes,456697578,opt,name=in_errors,json=inErrors,proto3" json:"in_errors,omitempty"`
	InFcsErrors        *ywrapper.UintValue `protobuf:"bytes,501559027,opt,name=in_fcs_errors,json=inFcsErrors,proto3" json:"in_fcs_errors,omitempty"`
	InMulticastPkts    *ywrapper.UintValue `protobuf:"bytes,113269128,opt,name=in_multicast_pkts,json=inMulticastPkts,proto3" json:"in_multicast_pkts,omitempty"`
	InOctets           *ywrapper.UintValue `protobuf:"bytes,333138891,opt,name=in_octets,json=inOctets,proto3" json:"in_octets,omitempty"`
	InPkts             *ywrapper.UintValue `protobuf:"bytes,412843491,opt,name=in_pkts,json=inPkts,proto3" json:"in_pkts,omitempty"`
	InUnicastPkts      *ywrapper.UintValue `protobuf:"bytes,272792307,opt,name=in_unicast_pkts,json=inUnicastPkts,proto3" json:"in_unicast_pkts,omitempty"`
	InUnknownProtos    *ywrapper.UintValue `protobuf:"bytes,241475497,opt,name=in_unknown_protos,json=inUnknownProtos,proto3" json:"in_unknown_protos,omitempty"`
	LastClear          *ywrapper.UintValue `protobuf:"bytes,186014919,opt,name=last_clear,json=lastClear,proto3" json:"last_clear,omitempty"`
	OutBroadcastPkts   *ywrapper.UintValue `protobuf:"bytes,338589668,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"`
	OutDiscards        *ywrapper.UintValue `protobuf:"bytes,254055111,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"`
	OutErrors          *ywrapper.UintValue `protobuf:"bytes,471103047,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"`
	OutMulticastPkts   *ywrapper.UintValue `protobuf:"bytes,457840757,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"`
	OutOctets          *ywrapper.UintValue `protobuf:"bytes,201005514,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"`
	OutPkts            *ywrapper.UintValue `protobuf:"bytes,437582090,opt,name=out_pkts,json=outPkts,proto3" json:"out_pkts,omitempty"`
	OutUnicastPkts     *ywrapper.UintValue `protobuf:"bytes,36542246,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_State_Counters) Descriptor deprecated

func (*Interfaces_Interface_State_Counters) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_State_Counters.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_State_Counters) GetCarrierTransitions

func (x *Interfaces_Interface_State_Counters) GetCarrierTransitions() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetInBroadcastPkts

func (x *Interfaces_Interface_State_Counters) GetInBroadcastPkts() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetInDiscards

func (*Interfaces_Interface_State_Counters) GetInErrors

func (*Interfaces_Interface_State_Counters) GetInFcsErrors

func (*Interfaces_Interface_State_Counters) GetInMulticastPkts

func (x *Interfaces_Interface_State_Counters) GetInMulticastPkts() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetInOctets

func (*Interfaces_Interface_State_Counters) GetInPkts

func (*Interfaces_Interface_State_Counters) GetInUnicastPkts

func (*Interfaces_Interface_State_Counters) GetInUnknownProtos

func (x *Interfaces_Interface_State_Counters) GetInUnknownProtos() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetLastClear

func (*Interfaces_Interface_State_Counters) GetOutBroadcastPkts

func (x *Interfaces_Interface_State_Counters) GetOutBroadcastPkts() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetOutDiscards

func (*Interfaces_Interface_State_Counters) GetOutErrors

func (*Interfaces_Interface_State_Counters) GetOutMulticastPkts

func (x *Interfaces_Interface_State_Counters) GetOutMulticastPkts() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) GetOutOctets

func (*Interfaces_Interface_State_Counters) GetOutPkts

func (*Interfaces_Interface_State_Counters) GetOutUnicastPkts

func (x *Interfaces_Interface_State_Counters) GetOutUnicastPkts() *ywrapper.UintValue

func (*Interfaces_Interface_State_Counters) ProtoMessage

func (*Interfaces_Interface_State_Counters) ProtoMessage()

func (*Interfaces_Interface_State_Counters) ProtoReflect

func (*Interfaces_Interface_State_Counters) Reset

func (*Interfaces_Interface_State_Counters) String

type Interfaces_Interface_State_OperStatus

type Interfaces_Interface_State_OperStatus int32
const (
	Interfaces_Interface_State_OPERSTATUS_UNSET            Interfaces_Interface_State_OperStatus = 0
	Interfaces_Interface_State_OPERSTATUS_UP               Interfaces_Interface_State_OperStatus = 2
	Interfaces_Interface_State_OPERSTATUS_DOWN             Interfaces_Interface_State_OperStatus = 3
	Interfaces_Interface_State_OPERSTATUS_TESTING          Interfaces_Interface_State_OperStatus = 4
	Interfaces_Interface_State_OPERSTATUS_UNKNOWN          Interfaces_Interface_State_OperStatus = 5
	Interfaces_Interface_State_OPERSTATUS_DORMANT          Interfaces_Interface_State_OperStatus = 6
	Interfaces_Interface_State_OPERSTATUS_NOT_PRESENT      Interfaces_Interface_State_OperStatus = 7
	Interfaces_Interface_State_OPERSTATUS_LOWER_LAYER_DOWN Interfaces_Interface_State_OperStatus = 8
)

func (Interfaces_Interface_State_OperStatus) Descriptor

func (Interfaces_Interface_State_OperStatus) Enum

func (Interfaces_Interface_State_OperStatus) EnumDescriptor deprecated

func (Interfaces_Interface_State_OperStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_State_OperStatus.Descriptor instead.

func (Interfaces_Interface_State_OperStatus) Number

func (Interfaces_Interface_State_OperStatus) String

func (Interfaces_Interface_State_OperStatus) Type

type Interfaces_Interface_Subinterfaces

type Interfaces_Interface_Subinterfaces struct {
	Subinterface []*Interfaces_Interface_Subinterfaces_SubinterfaceKey `protobuf:"bytes,464802819,rep,name=subinterface,proto3" json:"subinterface,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces) Descriptor deprecated

func (*Interfaces_Interface_Subinterfaces) Descriptor() ([]byte, []int)

Deprecated: Use Interfaces_Interface_Subinterfaces.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces) GetSubinterface

func (*Interfaces_Interface_Subinterfaces) ProtoMessage

func (*Interfaces_Interface_Subinterfaces) ProtoMessage()

func (*Interfaces_Interface_Subinterfaces) ProtoReflect

func (*Interfaces_Interface_Subinterfaces) Reset

func (*Interfaces_Interface_Subinterfaces) String

type Interfaces_Interface_Subinterfaces_Subinterface

type Interfaces_Interface_Subinterfaces_Subinterface struct {
	Config *Interfaces_Interface_Subinterfaces_Subinterface_Config `protobuf:"bytes,175001476,opt,name=config,proto3" json:"config,omitempty"`
	State  *Interfaces_Interface_Subinterfaces_Subinterface_State  `protobuf:"bytes,501974173,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces_Subinterface) Descriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces_Subinterface) GetConfig

func (*Interfaces_Interface_Subinterfaces_Subinterface) GetState

func (*Interfaces_Interface_Subinterfaces_Subinterface) ProtoMessage

func (*Interfaces_Interface_Subinterfaces_Subinterface) ProtoReflect

func (*Interfaces_Interface_Subinterfaces_Subinterface) Reset

func (*Interfaces_Interface_Subinterfaces_Subinterface) String

type Interfaces_Interface_Subinterfaces_SubinterfaceKey

type Interfaces_Interface_Subinterfaces_SubinterfaceKey struct {
	Index        uint64                                           `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Subinterface *Interfaces_Interface_Subinterfaces_Subinterface `protobuf:"bytes,2,opt,name=subinterface,proto3" json:"subinterface,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) Descriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_SubinterfaceKey.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) GetIndex

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) GetSubinterface

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) ProtoMessage

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) ProtoReflect

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) Reset

func (*Interfaces_Interface_Subinterfaces_SubinterfaceKey) String

type Interfaces_Interface_Subinterfaces_Subinterface_Config

type Interfaces_Interface_Subinterfaces_Subinterface_Config struct {
	Description *ywrapper.StringValue `protobuf:"bytes,280671199,opt,name=description,proto3" json:"description,omitempty"`
	Enabled     *ywrapper.BoolValue   `protobuf:"bytes,297236390,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Index       *ywrapper.UintValue   `protobuf:"bytes,279269781,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) Descriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface_Config.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) GetDescription

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEnabled

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) GetIndex

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) ProtoMessage

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) ProtoReflect

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) Reset

func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) String

type Interfaces_Interface_Subinterfaces_Subinterface_State

type Interfaces_Interface_Subinterfaces_Subinterface_State struct {
	AdminStatus Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus `` /* 207-byte string literal not displayed */
	Counters    *Interfaces_Interface_Subinterfaces_Subinterface_State_Counters   `protobuf:"bytes,483442783,opt,name=counters,proto3" json:"counters,omitempty"`
	Description *ywrapper.StringValue                                             `protobuf:"bytes,49943526,opt,name=description,proto3" json:"description,omitempty"`
	Enabled     *ywrapper.BoolValue                                               `protobuf:"bytes,468513843,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Ifindex     *ywrapper.UintValue                                               `protobuf:"bytes,511987815,opt,name=ifindex,proto3" json:"ifindex,omitempty"`
	Index       *ywrapper.UintValue                                               `protobuf:"bytes,80745756,opt,name=index,proto3" json:"index,omitempty"`
	LastChange  *ywrapper.UintValue                                               `protobuf:"bytes,29904521,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	Logical     *ywrapper.BoolValue                                               `protobuf:"bytes,294124401,opt,name=logical,proto3" json:"logical,omitempty"`
	Name        *ywrapper.StringValue                                             `protobuf:"bytes,279346681,opt,name=name,proto3" json:"name,omitempty"`
	OperStatus  Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus  `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) Descriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface_State.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetAdminStatus

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetCounters

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetDescription

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetEnabled

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetIfindex

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetIndex

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetLastChange

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetLogical

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetName

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetOperStatus

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) ProtoMessage

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) ProtoReflect

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) Reset

func (*Interfaces_Interface_Subinterfaces_Subinterface_State) String

type Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus

type Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus int32
const (
	Interfaces_Interface_Subinterfaces_Subinterface_State_ADMINSTATUS_UNSET   Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = 0
	Interfaces_Interface_Subinterfaces_Subinterface_State_ADMINSTATUS_UP      Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = 1
	Interfaces_Interface_Subinterfaces_Subinterface_State_ADMINSTATUS_DOWN    Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = 2
	Interfaces_Interface_Subinterfaces_Subinterface_State_ADMINSTATUS_TESTING Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = 3
)

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) Descriptor

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) Enum

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) EnumDescriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus.Descriptor instead.

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) Number

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) String

func (Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus) Type

type Interfaces_Interface_Subinterfaces_Subinterface_State_Counters

type Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct {
	CarrierTransitions *ywrapper.UintValue `protobuf:"bytes,141120277,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"`
	InBroadcastPkts    *ywrapper.UintValue `protobuf:"bytes,120244022,opt,name=in_broadcast_pkts,json=inBroadcastPkts,proto3" json:"in_broadcast_pkts,omitempty"`
	InDiscards         *ywrapper.UintValue `protobuf:"bytes,307490461,opt,name=in_discards,json=inDiscards,proto3" json:"in_discards,omitempty"`
	InErrors           *ywrapper.UintValue `protobuf:"bytes,319720873,opt,name=in_errors,json=inErrors,proto3" json:"in_errors,omitempty"`
	InFcsErrors        *ywrapper.UintValue `protobuf:"bytes,169858424,opt,name=in_fcs_errors,json=inFcsErrors,proto3" json:"in_fcs_errors,omitempty"`
	InMulticastPkts    *ywrapper.UintValue `protobuf:"bytes,320618859,opt,name=in_multicast_pkts,json=inMulticastPkts,proto3" json:"in_multicast_pkts,omitempty"`
	InOctets           *ywrapper.UintValue `protobuf:"bytes,530205868,opt,name=in_octets,json=inOctets,proto3" json:"in_octets,omitempty"`
	InPkts             *ywrapper.UintValue `protobuf:"bytes,441153352,opt,name=in_pkts,json=inPkts,proto3" json:"in_pkts,omitempty"`
	InUnicastPkts      *ywrapper.UintValue `protobuf:"bytes,177838880,opt,name=in_unicast_pkts,json=inUnicastPkts,proto3" json:"in_unicast_pkts,omitempty"`
	InUnknownProtos    *ywrapper.UintValue `protobuf:"bytes,146059814,opt,name=in_unknown_protos,json=inUnknownProtos,proto3" json:"in_unknown_protos,omitempty"`
	LastClear          *ywrapper.UintValue `protobuf:"bytes,518046966,opt,name=last_clear,json=lastClear,proto3" json:"last_clear,omitempty"`
	OutBroadcastPkts   *ywrapper.UintValue `protobuf:"bytes,501221245,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"`
	OutDiscards        *ywrapper.UintValue `protobuf:"bytes,159539762,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"`
	OutErrors          *ywrapper.UintValue `protobuf:"bytes,466636898,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"`
	OutMulticastPkts   *ywrapper.UintValue `protobuf:"bytes,326155776,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"`
	OutOctets          *ywrapper.UintValue `protobuf:"bytes,50579235,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"`
	OutPkts            *ywrapper.UintValue `protobuf:"bytes,29497115,opt,name=out_pkts,json=outPkts,proto3" json:"out_pkts,omitempty"`
	OutUnicastPkts     *ywrapper.UintValue `protobuf:"bytes,297910971,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Descriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface_State_Counters.ProtoReflect.Descriptor instead.

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ProtoMessage

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ProtoReflect

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Reset

func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) String

type Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus

type Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus int32
const (
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_UNSET            Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 0
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_UP               Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 2
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_DOWN             Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 3
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_TESTING          Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 4
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_UNKNOWN          Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 5
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_DORMANT          Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 6
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_NOT_PRESENT      Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 7
	Interfaces_Interface_Subinterfaces_Subinterface_State_OPERSTATUS_LOWER_LAYER_DOWN Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = 8
)

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) Descriptor

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) Enum

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) EnumDescriptor deprecated

Deprecated: Use Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus.Descriptor instead.

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) Number

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) String

func (Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus) Type

Jump to

Keyboard shortcuts

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