nokia

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_nokia_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Component

type Component struct {

	// Chassis slot number of the line card.
	Slot uint32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Line card (IMM) model, e.g. "imm36-400g-qsfpdd". When empty, the default
	// line card of the node model is used. Valid values are defined by the
	// srl-controller Srlinux CRD.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Component is a line card installed in a chassis slot.

func (*Component) Descriptor deprecated

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetSlot

func (x *Component) GetSlot() uint32

func (*Component) GetType

func (x *Component) GetType() string

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

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

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

type SRLinuxConfig

type SRLinuxConfig struct {

	// Line cards installed in the chassis. When empty, for modular models (ixr6,
	// ixr10, ixr6e, ixr10e) one line card of the model's default type is
	// installed per slot referenced by interface names (eX-Y and eX-Y-Z use
	// slot X); otherwise the model's default line cards are used.
	Components []*Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

Nokia SR Linux specific config data for KNE, set in Config.vendor_data.

func (*SRLinuxConfig) Descriptor deprecated

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

Deprecated: Use SRLinuxConfig.ProtoReflect.Descriptor instead.

func (*SRLinuxConfig) GetComponents

func (x *SRLinuxConfig) GetComponents() []*Component

func (*SRLinuxConfig) ProtoMessage

func (*SRLinuxConfig) ProtoMessage()

func (*SRLinuxConfig) ProtoReflect

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

func (*SRLinuxConfig) Reset

func (x *SRLinuxConfig) Reset()

func (*SRLinuxConfig) String

func (x *SRLinuxConfig) String() string

Jump to

Keyboard shortcuts

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