feature_go_proto

package
v0.0.0-...-f58b238 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GNMIService_Method_name = map[int32]string{
		0: "MD_INVALID",
		1: "MD_GET",
		2: "MD_CAPABILITIES",
		3: "MD_SUBSCRIBE",
		4: "MD_SET",
	}
	GNMIService_Method_value = map[string]int32{
		"MD_INVALID":      0,
		"MD_GET":          1,
		"MD_CAPABILITIES": 2,
		"MD_SUBSCRIBE":    3,
		"MD_SET":          4,
	}
)

Enum value maps for GNMIService_Method.

View Source
var File_feature_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigPath

type ConfigPath struct {
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigPath) Descriptor deprecated

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

Deprecated: Use ConfigPath.ProtoReflect.Descriptor instead.

func (*ConfigPath) GetPath

func (x *ConfigPath) GetPath() string

func (*ConfigPath) ProtoMessage

func (*ConfigPath) ProtoMessage()

func (*ConfigPath) ProtoReflect

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

func (*ConfigPath) Reset

func (x *ConfigPath) Reset()

func (*ConfigPath) String

func (x *ConfigPath) String() string

type FeatureProfile

type FeatureProfile struct {

	// Unique identifier for the service profile.
	Id *FeatureProfileID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// A list of configuration and state paths that compose the feature profile.
	ConfigPath []*ConfigPath `protobuf:"bytes,2,rep,name=config_path,json=configPath" json:"config_path,omitempty"`
	// A list of configuration and state paths that compose the feature profile.
	TelemetryPath []*TelemetryPath `protobuf:"bytes,3,rep,name=telemetry_path,json=telemetryPath" json:"telemetry_path,omitempty"`
	// A list of feature profiles this feature profile depends on.  For example,
	// A iBGP feature profile might depend on the BGP base feature profile.
	FeatureProfileDependency []*FeatureProfileID `` /* 128-byte string literal not displayed */
	// A list of GNOI operational commands that compose the feature profile.
	GnoiService []*GNOIService `protobuf:"bytes,5,rep,name=gnoi_service,json=gnoiService" json:"gnoi_service,omitempty"`
	// A list of GNMI methods that compose the feature profile.
	GnmiService []*GNMIService `protobuf:"bytes,6,rep,name=gnmi_service,json=gnmiService" json:"gnmi_service,omitempty"`
	// contains filtered or unexported fields
}

func (*FeatureProfile) Descriptor deprecated

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

Deprecated: Use FeatureProfile.ProtoReflect.Descriptor instead.

func (*FeatureProfile) GetConfigPath

func (x *FeatureProfile) GetConfigPath() []*ConfigPath

func (*FeatureProfile) GetFeatureProfileDependency

func (x *FeatureProfile) GetFeatureProfileDependency() []*FeatureProfileID

func (*FeatureProfile) GetGnmiService

func (x *FeatureProfile) GetGnmiService() []*GNMIService

func (*FeatureProfile) GetGnoiService

func (x *FeatureProfile) GetGnoiService() []*GNOIService

func (*FeatureProfile) GetId

func (x *FeatureProfile) GetId() *FeatureProfileID

func (*FeatureProfile) GetTelemetryPath

func (x *FeatureProfile) GetTelemetryPath() []*TelemetryPath

func (*FeatureProfile) ProtoMessage

func (*FeatureProfile) ProtoMessage()

func (*FeatureProfile) ProtoReflect

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

func (*FeatureProfile) Reset

func (x *FeatureProfile) Reset()

func (*FeatureProfile) String

func (x *FeatureProfile) String() string

type FeatureProfileID

type FeatureProfileID struct {

	// Unique name for the feature profile.
	//
	// Example: bgp_base
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Version number for this instantiation of the profile.
	Version *int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*FeatureProfileID) Descriptor deprecated

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

Deprecated: Use FeatureProfileID.ProtoReflect.Descriptor instead.

func (*FeatureProfileID) GetName

func (x *FeatureProfileID) GetName() string

func (*FeatureProfileID) GetVersion

func (x *FeatureProfileID) GetVersion() int32

func (*FeatureProfileID) ProtoMessage

func (*FeatureProfileID) ProtoMessage()

func (*FeatureProfileID) ProtoReflect

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

func (*FeatureProfileID) Reset

func (x *FeatureProfileID) Reset()

func (*FeatureProfileID) String

func (x *FeatureProfileID) String() string

type GNMIService

type GNMIService struct {

	// The method that is covered within the gNMI protocol.
	MethodName *GNMIService_Method `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

GNMIService describes compliance with the gNMI service.

func (*GNMIService) Descriptor deprecated

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

Deprecated: Use GNMIService.ProtoReflect.Descriptor instead.

func (*GNMIService) GetMethodName

func (x *GNMIService) GetMethodName() GNMIService_Method

func (*GNMIService) ProtoMessage

func (*GNMIService) ProtoMessage()

func (*GNMIService) ProtoReflect

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

func (*GNMIService) Reset

func (x *GNMIService) Reset()

func (*GNMIService) String

func (x *GNMIService) String() string

type GNMIService_Method

type GNMIService_Method int32

method_name specifies the name of the method that is being tested. The methods are from the gnmi service (e.g., Get).

const (
	GNMIService_MD_INVALID      GNMIService_Method = 0
	GNMIService_MD_GET          GNMIService_Method = 1 // gNMI.Get
	GNMIService_MD_CAPABILITIES GNMIService_Method = 2 // gNMI.Capabilities
	GNMIService_MD_SUBSCRIBE    GNMIService_Method = 3 // gNMI.Subscribe
	GNMIService_MD_SET          GNMIService_Method = 4 // gNMI.Set
)

func (GNMIService_Method) Descriptor

func (GNMIService_Method) Enum

func (GNMIService_Method) EnumDescriptor deprecated

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

Deprecated: Use GNMIService_Method.Descriptor instead.

func (GNMIService_Method) Number

func (GNMIService_Method) String

func (x GNMIService_Method) String() string

func (GNMIService_Method) Type

func (*GNMIService_Method) UnmarshalJSON deprecated

func (x *GNMIService_Method) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GNOIService

type GNOIService struct {

	// Service name for the GNOI endpoint
	//
	// Example: gnoi.bgp.BGP
	ServiceName *string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
	// Method name for GNOI endpoint
	//
	// Example: ClearBGPNeighbor
	MethodName *string `protobuf:"bytes,2,opt,name=method_name,json=methodName" json:"method_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GNOIService) Descriptor deprecated

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

Deprecated: Use GNOIService.ProtoReflect.Descriptor instead.

func (*GNOIService) GetMethodName

func (x *GNOIService) GetMethodName() string

func (*GNOIService) GetServiceName

func (x *GNOIService) GetServiceName() string

func (*GNOIService) ProtoMessage

func (*GNOIService) ProtoMessage()

func (*GNOIService) ProtoReflect

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

func (*GNOIService) Reset

func (x *GNOIService) Reset()

func (*GNOIService) String

func (x *GNOIService) String() string

type TelemetryPath

type TelemetryPath struct {
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryPath) Descriptor deprecated

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

Deprecated: Use TelemetryPath.ProtoReflect.Descriptor instead.

func (*TelemetryPath) GetPath

func (x *TelemetryPath) GetPath() string

func (*TelemetryPath) ProtoMessage

func (*TelemetryPath) ProtoMessage()

func (*TelemetryPath) ProtoReflect

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

func (*TelemetryPath) Reset

func (x *TelemetryPath) Reset()

func (*TelemetryPath) String

func (x *TelemetryPath) String() string

Jump to

Keyboard shortcuts

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