ietf

package
v5.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Interface_LinkUpDownTrapEnableType_name = map[int32]string{
		0: "TRAP_DISABLED",
		1: "TRAP_ENABLED",
	}
	Interface_LinkUpDownTrapEnableType_value = map[string]int32{
		"TRAP_DISABLED": 0,
		"TRAP_ENABLED":  1,
	}
)

Enum value maps for Interface_LinkUpDownTrapEnableType.

View Source
var (
	InterfaceState_AdminStatusType_name = map[int32]string{
		0: "ADMIN_DOWN",
		1: "ADMIN_TESTING",
		2: "ADMIN_UP",
	}
	InterfaceState_AdminStatusType_value = map[string]int32{
		"ADMIN_DOWN":    0,
		"ADMIN_TESTING": 1,
		"ADMIN_UP":      2,
	}
)

Enum value maps for InterfaceState_AdminStatusType.

View Source
var (
	InterfaceState_OperStatusType_name = map[int32]string{
		0: "DORMANT",
		1: "LOWER_LAYER_DOWN",
		2: "UNKNOWN",
		3: "TESTING",
		4: "UP",
		5: "DOWN",
		6: "NOT_PRESENT",
	}
	InterfaceState_OperStatusType_value = map[string]int32{
		"DORMANT":          0,
		"LOWER_LAYER_DOWN": 1,
		"UNKNOWN":          2,
		"TESTING":          3,
		"UP":               4,
		"DOWN":             5,
		"NOT_PRESENT":      6,
	}
)

Enum value maps for InterfaceState_OperStatusType.

View Source
var File_voltha_protos_ietf_interfaces_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Interface

type Interface struct {
	Name                 string                             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description          string                             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type                 string                             `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Enabled              bool                               `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	LinkUpDownTrapEnable Interface_LinkUpDownTrapEnableType `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Interface) Descriptor deprecated

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

Deprecated: Use Interface.ProtoReflect.Descriptor instead.

func (*Interface) GetDescription

func (x *Interface) GetDescription() string

func (*Interface) GetEnabled

func (x *Interface) GetEnabled() bool

func (*Interface) GetLinkUpDownTrapEnable

func (x *Interface) GetLinkUpDownTrapEnable() Interface_LinkUpDownTrapEnableType

func (*Interface) GetName

func (x *Interface) GetName() string

func (*Interface) GetType

func (x *Interface) GetType() string

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) ProtoReflect added in v5.7.1

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

func (*Interface) Reset

func (x *Interface) Reset()

func (*Interface) String

func (x *Interface) String() string

type InterfaceState

type InterfaceState struct {
	Name          string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type          string                         `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	AdminStatus   InterfaceState_AdminStatusType `` /* 136-byte string literal not displayed */
	OperStatus    InterfaceState_OperStatusType  `` /* 132-byte string literal not displayed */
	LastChange    string                         `protobuf:"bytes,5,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	IfIndex       int32                          `protobuf:"varint,6,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"`
	PhysAddress   string                         `protobuf:"bytes,7,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
	HigherLayerIf []string                       `protobuf:"bytes,8,rep,name=higher_layer_if,json=higherLayerIf,proto3" json:"higher_layer_if,omitempty"`
	LowerLayerIf  []string                       `protobuf:"bytes,9,rep,name=lower_layer_if,json=lowerLayerIf,proto3" json:"lower_layer_if,omitempty"`
	Speed         uint64                         `protobuf:"varint,10,opt,name=speed,proto3" json:"speed,omitempty"`
	// contains filtered or unexported fields
}

func (*InterfaceState) Descriptor deprecated

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

Deprecated: Use InterfaceState.ProtoReflect.Descriptor instead.

func (*InterfaceState) GetAdminStatus

func (x *InterfaceState) GetAdminStatus() InterfaceState_AdminStatusType

func (*InterfaceState) GetHigherLayerIf

func (x *InterfaceState) GetHigherLayerIf() []string

func (*InterfaceState) GetIfIndex

func (x *InterfaceState) GetIfIndex() int32

func (*InterfaceState) GetLastChange

func (x *InterfaceState) GetLastChange() string

func (*InterfaceState) GetLowerLayerIf

func (x *InterfaceState) GetLowerLayerIf() []string

func (*InterfaceState) GetName

func (x *InterfaceState) GetName() string

func (*InterfaceState) GetOperStatus

func (x *InterfaceState) GetOperStatus() InterfaceState_OperStatusType

func (*InterfaceState) GetPhysAddress

func (x *InterfaceState) GetPhysAddress() string

func (*InterfaceState) GetSpeed

func (x *InterfaceState) GetSpeed() uint64

func (*InterfaceState) GetType

func (x *InterfaceState) GetType() string

func (*InterfaceState) ProtoMessage

func (*InterfaceState) ProtoMessage()

func (*InterfaceState) ProtoReflect added in v5.7.1

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

func (*InterfaceState) Reset

func (x *InterfaceState) Reset()

func (*InterfaceState) String

func (x *InterfaceState) String() string

type InterfaceState_AdminStatusType

type InterfaceState_AdminStatusType int32
const (
	InterfaceState_ADMIN_DOWN    InterfaceState_AdminStatusType = 0
	InterfaceState_ADMIN_TESTING InterfaceState_AdminStatusType = 1
	InterfaceState_ADMIN_UP      InterfaceState_AdminStatusType = 2
)

func (InterfaceState_AdminStatusType) Descriptor added in v5.7.1

func (InterfaceState_AdminStatusType) Enum added in v5.7.1

func (InterfaceState_AdminStatusType) EnumDescriptor deprecated

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

Deprecated: Use InterfaceState_AdminStatusType.Descriptor instead.

func (InterfaceState_AdminStatusType) Number added in v5.7.1

func (InterfaceState_AdminStatusType) String

func (InterfaceState_AdminStatusType) Type added in v5.7.1

type InterfaceState_OperStatusType

type InterfaceState_OperStatusType int32
const (
	InterfaceState_DORMANT          InterfaceState_OperStatusType = 0
	InterfaceState_LOWER_LAYER_DOWN InterfaceState_OperStatusType = 1
	InterfaceState_UNKNOWN          InterfaceState_OperStatusType = 2
	InterfaceState_TESTING          InterfaceState_OperStatusType = 3
	InterfaceState_UP               InterfaceState_OperStatusType = 4
	InterfaceState_DOWN             InterfaceState_OperStatusType = 5
	InterfaceState_NOT_PRESENT      InterfaceState_OperStatusType = 6
)

func (InterfaceState_OperStatusType) Descriptor added in v5.7.1

func (InterfaceState_OperStatusType) Enum added in v5.7.1

func (InterfaceState_OperStatusType) EnumDescriptor deprecated

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

Deprecated: Use InterfaceState_OperStatusType.Descriptor instead.

func (InterfaceState_OperStatusType) Number added in v5.7.1

func (InterfaceState_OperStatusType) String

func (InterfaceState_OperStatusType) Type added in v5.7.1

type Interface_LinkUpDownTrapEnableType

type Interface_LinkUpDownTrapEnableType int32
const (
	Interface_TRAP_DISABLED Interface_LinkUpDownTrapEnableType = 0
	Interface_TRAP_ENABLED  Interface_LinkUpDownTrapEnableType = 1
)

func (Interface_LinkUpDownTrapEnableType) Descriptor added in v5.7.1

func (Interface_LinkUpDownTrapEnableType) Enum added in v5.7.1

func (Interface_LinkUpDownTrapEnableType) EnumDescriptor deprecated

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

Deprecated: Use Interface_LinkUpDownTrapEnableType.Descriptor instead.

func (Interface_LinkUpDownTrapEnableType) Number added in v5.7.1

func (Interface_LinkUpDownTrapEnableType) String

func (Interface_LinkUpDownTrapEnableType) Type added in v5.7.1

type Interfaces

type Interfaces struct {
	AllInterfaces []*Interface `protobuf:"bytes,1,rep,name=all_interfaces,json=allInterfaces,proto3" json:"all_interfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Interfaces) Descriptor deprecated

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

Deprecated: Use Interfaces.ProtoReflect.Descriptor instead.

func (*Interfaces) GetAllInterfaces

func (x *Interfaces) GetAllInterfaces() []*Interface

func (*Interfaces) ProtoMessage

func (*Interfaces) ProtoMessage()

func (*Interfaces) ProtoReflect added in v5.7.1

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

func (*Interfaces) Reset

func (x *Interfaces) Reset()

func (*Interfaces) String

func (x *Interfaces) String() string

type InterfacesState

type InterfacesState struct {
	AllInterfacs []*InterfaceState `protobuf:"bytes,1,rep,name=all_interfacs,json=allInterfacs,proto3" json:"all_interfacs,omitempty"`
	// contains filtered or unexported fields
}

func (*InterfacesState) Descriptor deprecated

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

Deprecated: Use InterfacesState.ProtoReflect.Descriptor instead.

func (*InterfacesState) GetAllInterfacs

func (x *InterfacesState) GetAllInterfacs() []*InterfaceState

func (*InterfacesState) ProtoMessage

func (*InterfacesState) ProtoMessage()

func (*InterfacesState) ProtoReflect added in v5.7.1

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

func (*InterfacesState) Reset

func (x *InterfacesState) Reset()

func (*InterfacesState) String

func (x *InterfacesState) String() string

Jump to

Keyboard shortcuts

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