imagestatus

package
v0.0.0-...-1768917 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExtensionInstallStatus_name = map[int32]string{
		0: "EXTENSION_INSTALL_STATUS_UNSPECIFIED",
		1: "EXTENSION_INSTALL_STATUS_NOT_INSTALLED",
		2: "EXTENSION_INSTALL_STATUS_INSTALLED",
		3: "EXTENSION_INSTALL_STATUS_FORCE_INSTALLED",
	}
	ExtensionInstallStatus_value = map[string]int32{
		"EXTENSION_INSTALL_STATUS_UNSPECIFIED":     0,
		"EXTENSION_INSTALL_STATUS_NOT_INSTALLED":   1,
		"EXTENSION_INSTALL_STATUS_INSTALLED":       2,
		"EXTENSION_INSTALL_STATUS_FORCE_INSTALLED": 3,
	}
)

Enum value maps for ExtensionInstallStatus.

View Source
var (
	SoftwareComplianceCode_name = map[int32]string{
		0: "SOFTWARE_COMPLIANCE_CODE_UNSPECIFIED",
		1: "SOFTWARE_COMPLIANCE_CODE_IN_SYNC",
		2: "SOFTWARE_COMPLIANCE_CODE_OUT_OF_SYNC",
	}
	SoftwareComplianceCode_value = map[string]int32{
		"SOFTWARE_COMPLIANCE_CODE_UNSPECIFIED": 0,
		"SOFTWARE_COMPLIANCE_CODE_IN_SYNC":     1,
		"SOFTWARE_COMPLIANCE_CODE_OUT_OF_SYNC": 2,
	}
)

Enum value maps for SoftwareComplianceCode.

View Source
var (
	DiffOp_name = map[int32]string{
		0: "DIFF_OP_UNSPECIFIED",
		1: "DIFF_OP_NOP",
		2: "DIFF_OP_ADD",
		3: "DIFF_OP_DELETE",
		4: "DIFF_OP_CHANGE",
	}
	DiffOp_value = map[string]int32{
		"DIFF_OP_UNSPECIFIED": 0,
		"DIFF_OP_NOP":         1,
		"DIFF_OP_ADD":         2,
		"DIFF_OP_DELETE":      3,
		"DIFF_OP_CHANGE":      4,
	}
)

Enum value maps for DiffOp.

View Source
var (
	ErrorCode_name = map[int32]string{
		0:  "ERROR_CODE_UNSPECIFIED",
		1:  "ERROR_CODE_SUPPORT_NOT_INTRODUCED",
		2:  "ERROR_CODE_SUPPORT_REMOVED",
		3:  "ERROR_CODE_DEVICE_UNREACHABLE",
		4:  "ERROR_CODE_VALIDATION_FAILED",
		5:  "ERROR_CODE_GET_PROPOSED_IMAGE_INFO_FAILED",
		6:  "ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED",
		7:  "ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED",
		8:  "ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE",
		9:  "ERROR_CODE_TA_CV_INCOMPATIBLE",
		10: "ERROR_CODE_EOS_CV_INCOMPATIBLE",
		11: "ERROR_CODE_EOS_SUPPORT_NOT_INTRODUCED",
		12: "ERROR_CODE_EOS_SUPPORT_REMOVED",
		13: "ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE",
		14: "ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE",
	}
	ErrorCode_value = map[string]int32{
		"ERROR_CODE_UNSPECIFIED":                                          0,
		"ERROR_CODE_SUPPORT_NOT_INTRODUCED":                               1,
		"ERROR_CODE_SUPPORT_REMOVED":                                      2,
		"ERROR_CODE_DEVICE_UNREACHABLE":                                   3,
		"ERROR_CODE_VALIDATION_FAILED":                                    4,
		"ERROR_CODE_GET_PROPOSED_IMAGE_INFO_FAILED":                       5,
		"ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED": 6,
		"ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED":   7,
		"ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE":                     8,
		"ERROR_CODE_TA_CV_INCOMPATIBLE":                                   9,
		"ERROR_CODE_EOS_CV_INCOMPATIBLE":                                  10,
		"ERROR_CODE_EOS_SUPPORT_NOT_INTRODUCED":                           11,
		"ERROR_CODE_EOS_SUPPORT_REMOVED":                                  12,
		"ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE":                     13,
		"ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE":                          14,
	}
)

Enum value maps for ErrorCode.

View Source
var (
	WarningCode_name = map[int32]string{
		0:  "WARNING_CODE_UNSPECIFIED",
		1:  "WARNING_CODE_NOT_APPLICABLE",
		2:  "WARNING_CODE_SKUINFO_UNAVAILABLE",
		3:  "WARNING_CODE_DEVICE_SKU_UNAVAILABLE",
		4:  "WARNING_CODE_SWI_UNKNOWN",
		5:  "WARNING_CODE_TA_EOS_INCOMPATIBLE",
		6:  "WARNING_CODE_TA_CV_INCOMPATIBLE",
		7:  "WARNING_CODE_EOS_CV_INCOMPATIBLE",
		8:  "WARNING_CODE_EOS_ARCH_UNKNOWN",
		9:  "WARNING_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE",
		10: "WARNING_CODE_ARCH_INCOMPATIBLE",
		11: "WARNING_CODE_EOS_END_OF_LIFE_DATE_PASSED",
		12: "WARNING_CODE_SUPPORT_NOT_INTRODUCED",
		13: "WARNING_CODE_SUPPORT_REMOVED",
		14: "WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION",
	}
	WarningCode_value = map[string]int32{
		"WARNING_CODE_UNSPECIFIED":                            0,
		"WARNING_CODE_NOT_APPLICABLE":                         1,
		"WARNING_CODE_SKUINFO_UNAVAILABLE":                    2,
		"WARNING_CODE_DEVICE_SKU_UNAVAILABLE":                 3,
		"WARNING_CODE_SWI_UNKNOWN":                            4,
		"WARNING_CODE_TA_EOS_INCOMPATIBLE":                    5,
		"WARNING_CODE_TA_CV_INCOMPATIBLE":                     6,
		"WARNING_CODE_EOS_CV_INCOMPATIBLE":                    7,
		"WARNING_CODE_EOS_ARCH_UNKNOWN":                       8,
		"WARNING_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE":            9,
		"WARNING_CODE_ARCH_INCOMPATIBLE":                      10,
		"WARNING_CODE_EOS_END_OF_LIFE_DATE_PASSED":            11,
		"WARNING_CODE_SUPPORT_NOT_INTRODUCED":                 12,
		"WARNING_CODE_SUPPORT_REMOVED":                        13,
		"WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION": 14,
	}
)

Enum value maps for WarningCode.

View Source
var File_arista_imagestatus_v1_imagestatus_proto protoreflect.FileDescriptor
View Source
var File_arista_imagestatus_v1_services_gen_proto protoreflect.FileDescriptor
View Source
var SummaryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.imagestatus.v1.SummaryService",
	HandlerType: (*SummaryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _SummaryService_GetOne_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _SummaryService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _SummaryService_Subscribe_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/imagestatus.v1/services.gen.proto",
}

SummaryService_ServiceDesc is the grpc.ServiceDesc for SummaryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSummaryServiceServer

func RegisterSummaryServiceServer(s grpc.ServiceRegistrar, srv SummaryServiceServer)

Types

type ComplianceStatus

type ComplianceStatus struct {

	// software_image_compliance_code is the compliance code for images.
	SoftwareImageComplianceCode SoftwareComplianceCode `` /* 197-byte string literal not displayed */
	// terminattr_compliance_code is the compliance code for TerminAttr.
	TerminattrComplianceCode SoftwareComplianceCode `` /* 186-byte string literal not displayed */
	// extensions_compliance_code is the compliance code for extensions.
	ExtensionsComplianceCode SoftwareComplianceCode `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

ComplianceStatus indicates compliance status for software image, terminattr and extensions.

func (*ComplianceStatus) Descriptor deprecated

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

Deprecated: Use ComplianceStatus.ProtoReflect.Descriptor instead.

func (*ComplianceStatus) GetExtensionsComplianceCode

func (x *ComplianceStatus) GetExtensionsComplianceCode() SoftwareComplianceCode

func (*ComplianceStatus) GetSoftwareImageComplianceCode

func (x *ComplianceStatus) GetSoftwareImageComplianceCode() SoftwareComplianceCode

func (*ComplianceStatus) GetTerminattrComplianceCode

func (x *ComplianceStatus) GetTerminattrComplianceCode() SoftwareComplianceCode

func (*ComplianceStatus) ProtoMessage

func (*ComplianceStatus) ProtoMessage()

func (*ComplianceStatus) ProtoReflect

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

func (*ComplianceStatus) Reset

func (x *ComplianceStatus) Reset()

func (*ComplianceStatus) String

func (x *ComplianceStatus) String() string

type ComplianceStatusBySup

type ComplianceStatusBySup struct {

	// values is the mapping of supervisor type to compliance code.
	Values map[string]*ComplianceStatus `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ComplianceStatusBySup is a map that indicates the compliance code for each supervisor.

func (*ComplianceStatusBySup) Descriptor deprecated

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

Deprecated: Use ComplianceStatusBySup.ProtoReflect.Descriptor instead.

func (*ComplianceStatusBySup) GetValues

func (x *ComplianceStatusBySup) GetValues() map[string]*ComplianceStatus

func (*ComplianceStatusBySup) ProtoMessage

func (*ComplianceStatusBySup) ProtoMessage()

func (*ComplianceStatusBySup) ProtoReflect

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

func (*ComplianceStatusBySup) Reset

func (x *ComplianceStatusBySup) Reset()

func (*ComplianceStatusBySup) String

func (x *ComplianceStatusBySup) String() string

type DiffOp

type DiffOp int32

DiffOp represents the operation performed to get from one side of the diff to the other.

const (
	// DIFF_OP_UNSPECIFIED indicates op code is unspecified.
	DiffOp_DIFF_OP_UNSPECIFIED DiffOp = 0
	// DIFF_OP_NOP indicates no change.
	DiffOp_DIFF_OP_NOP DiffOp = 1
	// DIFF_OP_ADD is an addition of a software.
	DiffOp_DIFF_OP_ADD DiffOp = 2
	// DIFF_OP_DELETE is deletion of a software.
	DiffOp_DIFF_OP_DELETE DiffOp = 3
	// DIFF_OP_CHANGE is an update to the software.
	DiffOp_DIFF_OP_CHANGE DiffOp = 4
)

func (DiffOp) Descriptor

func (DiffOp) Descriptor() protoreflect.EnumDescriptor

func (DiffOp) Enum

func (x DiffOp) Enum() *DiffOp

func (DiffOp) EnumDescriptor deprecated

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

Deprecated: Use DiffOp.Descriptor instead.

func (DiffOp) Number

func (x DiffOp) Number() protoreflect.EnumNumber

func (DiffOp) String

func (x DiffOp) String() string

func (DiffOp) Type

func (DiffOp) Type() protoreflect.EnumType

type ErrorCode

type ErrorCode int32

ErrorCode indicates errors produced during image validations.

const (
	// ERROR_CODE_UNSPECIFIED indicates error code is unspecified.
	ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0
	// ERROR_CODE_SUPPORT_NOT_INTRODUCED represents case where the given EOS version does
	// not support the SKU.
	// Deprecated - use ERROR_CODE_EOS_SUPPORT_NOT_INTRODUCED
	//
	// Deprecated: Do not use.
	ErrorCode_ERROR_CODE_SUPPORT_NOT_INTRODUCED ErrorCode = 1
	// ERROR_CODE_SUPPORT_REMOVED represents case where the given EOS version no longer
	// supports the SKU.
	// Deprecated - use ERROR_CODE_EOS_SUPPORT_REMOVED
	//
	// Deprecated: Do not use.
	ErrorCode_ERROR_CODE_SUPPORT_REMOVED ErrorCode = 2
	// ERROR_CODE_DEVICE_UNREACHABLE represents the case where the device
	// is unreachable during a compliance computation.
	ErrorCode_ERROR_CODE_DEVICE_UNREACHABLE ErrorCode = 3
	// ERROR_CODE_VALIDATION_FAILED represents case where the validations checks
	// failed.
	ErrorCode_ERROR_CODE_VALIDATION_FAILED ErrorCode = 4
	// ERROR_CODE_GET_PROPOSED_IMAGE_INFO_FAILED represents case where we are
	// unable to get proposed image information for a device.
	ErrorCode_ERROR_CODE_GET_PROPOSED_IMAGE_INFO_FAILED ErrorCode = 5
	// ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED represents case where we
	// fail to get running image information from an active supervisor.
	//
	// Deprecated: Do not use.
	ErrorCode_ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED ErrorCode = 6
	// ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED represents case when we
	// fail to get information from peer supervisor.
	//
	// Deprecated: Do not use.
	ErrorCode_ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED ErrorCode = 7
	// ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE represents the case where EOS architecture and
	// TerminAttr architecture are incompatible.
	ErrorCode_ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE ErrorCode = 8
	// ERROR_CODE_TA_CV_INCOMPATIBLE represents the case where TerminAttr is incompatible with
	// CloudVision; i.e., the TerminAttr version is below CloudVision's minimum supported version.
	ErrorCode_ERROR_CODE_TA_CV_INCOMPATIBLE ErrorCode = 9
	// ERROR_CODE_EOS_CV_INCOMPATIBLE represents the case where the EOS version is incompatible with
	// CloudVision; i.e., the EOS version is outside of CloudVision's supported range of versions.
	ErrorCode_ERROR_CODE_EOS_CV_INCOMPATIBLE ErrorCode = 10
	// ERROR_CODE_EOS_SUPPORT_NOT_INTRODUCED represents the case where the given EOS version does
	// not support the SKU.
	ErrorCode_ERROR_CODE_EOS_SUPPORT_NOT_INTRODUCED ErrorCode = 11
	// ERROR_CODE_EOS_SUPPORT_REMOVED represents the case where the given EOS version no longer
	// supports the SKU.
	ErrorCode_ERROR_CODE_EOS_SUPPORT_REMOVED ErrorCode = 12
	// ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE represents the case where the physical device
	// does not support the given EOS type.
	ErrorCode_ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE ErrorCode = 13
	// ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE represents the case where the extension TerminAttr
	// version is lower than the embedded TerminAttr version in SWI.
	ErrorCode_ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE ErrorCode = 14
)

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type Extension

type Extension struct {

	// name is the name of the extension.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// version is the version of the extension.
	Version *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// reboot_required indicates whether applying/deleting this extension
	// would result in a reboot.
	RebootRequired *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=reboot_required,json=rebootRequired,proto3" json:"reboot_required,omitempty"`
	// present indicates whether the extension is present in the device
	// or not.
	Present *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=present,proto3" json:"present,omitempty"`
	// installed indicates whether the extension is installed, not
	// installed or force installed.
	Installed ExtensionInstallStatus `protobuf:"varint,5,opt,name=installed,proto3,enum=arista.imagestatus.v1.ExtensionInstallStatus" json:"installed,omitempty"`
	// status_detail gives the details behind installation of the extension.
	StatusDetail *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
	// is_embedded indicates whether the extension is embedded in the EOS swi
	// or not.
	IsEmbedded *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=is_embedded,json=isEmbedded,proto3" json:"is_embedded,omitempty"`
	// contains filtered or unexported fields
}

Extension provides information of the running/designed extensions.

func (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetInstalled

func (x *Extension) GetInstalled() ExtensionInstallStatus

func (*Extension) GetIsEmbedded

func (x *Extension) GetIsEmbedded() *wrapperspb.BoolValue

func (*Extension) GetName

func (x *Extension) GetName() *wrapperspb.StringValue

func (*Extension) GetPresent

func (x *Extension) GetPresent() *wrapperspb.BoolValue

func (*Extension) GetRebootRequired

func (x *Extension) GetRebootRequired() *wrapperspb.BoolValue

func (*Extension) GetStatusDetail

func (x *Extension) GetStatusDetail() *wrapperspb.StringValue

func (*Extension) GetVersion

func (x *Extension) GetVersion() *wrapperspb.StringValue

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

type ExtensionDiff

type ExtensionDiff struct {

	// code indicates the operation performed to get from one side of the diff
	// to the other.
	Code DiffOp `protobuf:"varint,1,opt,name=code,proto3,enum=arista.imagestatus.v1.DiffOp" json:"code,omitempty"`
	// a is the extension on the a side (left hand side).
	A *Extension `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"`
	// b is the extension on the b side (right hand side).
	B *Extension `protobuf:"bytes,3,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

ExtensionDiff is the diff for the running/designed extensions.

func (*ExtensionDiff) Descriptor deprecated

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

Deprecated: Use ExtensionDiff.ProtoReflect.Descriptor instead.

func (*ExtensionDiff) GetA

func (x *ExtensionDiff) GetA() *Extension

func (*ExtensionDiff) GetB

func (x *ExtensionDiff) GetB() *Extension

func (*ExtensionDiff) GetCode

func (x *ExtensionDiff) GetCode() DiffOp

func (*ExtensionDiff) ProtoMessage

func (*ExtensionDiff) ProtoMessage()

func (*ExtensionDiff) ProtoReflect

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

func (*ExtensionDiff) Reset

func (x *ExtensionDiff) Reset()

func (*ExtensionDiff) String

func (x *ExtensionDiff) String() string

type ExtensionDiffs

type ExtensionDiffs struct {

	// values is an ordered list of extension diffs applied to the device.
	Values []*ExtensionDiff `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ExtensionDiffs is a list of extension diff information in the order they will be applied.

func (*ExtensionDiffs) Descriptor deprecated

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

Deprecated: Use ExtensionDiffs.ProtoReflect.Descriptor instead.

func (*ExtensionDiffs) GetValues

func (x *ExtensionDiffs) GetValues() []*ExtensionDiff

func (*ExtensionDiffs) ProtoMessage

func (*ExtensionDiffs) ProtoMessage()

func (*ExtensionDiffs) ProtoReflect

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

func (*ExtensionDiffs) Reset

func (x *ExtensionDiffs) Reset()

func (*ExtensionDiffs) String

func (x *ExtensionDiffs) String() string

type ExtensionDiffsBySup

type ExtensionDiffsBySup struct {

	// values is the mapping of supervisor type to extension diff.
	Values map[string]*ExtensionDiffs `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ExtensionDiffsBySup is the extension diff information for each supervisor.

func (*ExtensionDiffsBySup) Descriptor deprecated

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

Deprecated: Use ExtensionDiffsBySup.ProtoReflect.Descriptor instead.

func (*ExtensionDiffsBySup) GetValues

func (x *ExtensionDiffsBySup) GetValues() map[string]*ExtensionDiffs

func (*ExtensionDiffsBySup) ProtoMessage

func (*ExtensionDiffsBySup) ProtoMessage()

func (*ExtensionDiffsBySup) ProtoReflect

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

func (*ExtensionDiffsBySup) Reset

func (x *ExtensionDiffsBySup) Reset()

func (*ExtensionDiffsBySup) String

func (x *ExtensionDiffsBySup) String() string

type ExtensionInstallStatus

type ExtensionInstallStatus int32

ExtensionInstallStatus indicates whether an extension is installed, not installed or force installed.

const (
	// EXTENSION_INSTALL_STATUS_UNSPECIFIED indicates extensions install status is unspecified.
	ExtensionInstallStatus_EXTENSION_INSTALL_STATUS_UNSPECIFIED ExtensionInstallStatus = 0
	// EXTENSION_INSTALL_STATUS_NOT_INSTALLED indicates extension is not installed on the device.
	ExtensionInstallStatus_EXTENSION_INSTALL_STATUS_NOT_INSTALLED ExtensionInstallStatus = 1
	// EXTENSION_INSTALL_STATUS_INSTALLED indicates extension is installed on the device.
	ExtensionInstallStatus_EXTENSION_INSTALL_STATUS_INSTALLED ExtensionInstallStatus = 2
	// EXTENSION_INSTALL_STATUS_FORCE_INSTALLED indicates extension is force installed on
	// device.
	ExtensionInstallStatus_EXTENSION_INSTALL_STATUS_FORCE_INSTALLED ExtensionInstallStatus = 3
)

func (ExtensionInstallStatus) Descriptor

func (ExtensionInstallStatus) Enum

func (ExtensionInstallStatus) EnumDescriptor deprecated

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

Deprecated: Use ExtensionInstallStatus.Descriptor instead.

func (ExtensionInstallStatus) Number

func (ExtensionInstallStatus) String

func (x ExtensionInstallStatus) String() string

func (ExtensionInstallStatus) Type

type Extensions

type Extensions struct {

	// values represents extension information.
	Values []*Extension `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Extensions provides an ordered list of running/designed extensions.

func (*Extensions) Descriptor deprecated

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

Deprecated: Use Extensions.ProtoReflect.Descriptor instead.

func (*Extensions) GetValues

func (x *Extensions) GetValues() []*Extension

func (*Extensions) ProtoMessage

func (*Extensions) ProtoMessage()

func (*Extensions) ProtoReflect

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

func (*Extensions) Reset

func (x *Extensions) Reset()

func (*Extensions) String

func (x *Extensions) String() string

type ImageError

type ImageError struct {

	// sku represents the name of the sku.
	Sku *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	// error_code is the error code.
	ErrorCode ErrorCode `` /* 126-byte string literal not displayed */
	// error_msg provides a description of the error.
	ErrorMsg *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

ImageError wraps `ErrorCode` enum with a reason string.

func (*ImageError) Descriptor deprecated

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

Deprecated: Use ImageError.ProtoReflect.Descriptor instead.

func (*ImageError) GetErrorCode

func (x *ImageError) GetErrorCode() ErrorCode

func (*ImageError) GetErrorMsg

func (x *ImageError) GetErrorMsg() *wrapperspb.StringValue

func (*ImageError) GetSku

func (x *ImageError) GetSku() *wrapperspb.StringValue

func (*ImageError) ProtoMessage

func (*ImageError) ProtoMessage()

func (*ImageError) ProtoReflect

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

func (*ImageError) Reset

func (x *ImageError) Reset()

func (*ImageError) String

func (x *ImageError) String() string

type ImageErrors

type ImageErrors struct {

	// values is a list of image errors.
	Values []*ImageError `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ImageErrors is the list of errors reported by CVP when handling image validations.

func (*ImageErrors) Descriptor deprecated

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

Deprecated: Use ImageErrors.ProtoReflect.Descriptor instead.

func (*ImageErrors) GetValues

func (x *ImageErrors) GetValues() []*ImageError

func (*ImageErrors) ProtoMessage

func (*ImageErrors) ProtoMessage()

func (*ImageErrors) ProtoReflect

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

func (*ImageErrors) Reset

func (x *ImageErrors) Reset()

func (*ImageErrors) String

func (x *ImageErrors) String() string

type ImageMetadata

type ImageMetadata struct {

	// version is the version of the EOS image.
	Version *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// release is the release name of the EOS image.
	Release *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
	// flavor is the flavor information of the EOS image.
	// default flavor is DEFAULT. Other flavors can be DPE, 2GB, etc.
	Flavor *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=flavor,proto3" json:"flavor,omitempty"`
	// variant is the variant information of the EOS image.
	// possible values: INT or US.
	Variant *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	// arch is the architecture of the EOS image.
	Arch *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

ImageMetadata provides information regarding the software image.

func (*ImageMetadata) Descriptor deprecated

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

Deprecated: Use ImageMetadata.ProtoReflect.Descriptor instead.

func (*ImageMetadata) GetArch

func (x *ImageMetadata) GetArch() *wrapperspb.StringValue

func (*ImageMetadata) GetFlavor

func (x *ImageMetadata) GetFlavor() *wrapperspb.StringValue

func (*ImageMetadata) GetRelease

func (x *ImageMetadata) GetRelease() *wrapperspb.StringValue

func (*ImageMetadata) GetVariant

func (x *ImageMetadata) GetVariant() *wrapperspb.StringValue

func (*ImageMetadata) GetVersion

func (x *ImageMetadata) GetVersion() *wrapperspb.StringValue

func (*ImageMetadata) ProtoMessage

func (*ImageMetadata) ProtoMessage()

func (*ImageMetadata) ProtoReflect

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

func (*ImageMetadata) Reset

func (x *ImageMetadata) Reset()

func (*ImageMetadata) String

func (x *ImageMetadata) String() string

type ImageSummary

type ImageSummary struct {

	// sku indicates the top-level sku or model number.
	Sku *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	// running_image_update_time is the most recent timestamp at which one of
	// running image side properties is updated.
	RunningImageUpdateTime *timestamppb.Timestamp `` /* 131-byte string literal not displayed */
	// designed_image_update_time is the most recent timestamp at which one of
	// designed image side properties is updated.
	DesignedImageUpdateTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */
	// dual_sup indicates if a device is a dual supervisor.
	DualSup *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=dual_sup,json=dualSup,proto3" json:"dual_sup,omitempty"`
	// active_slot indicates the physical slot number for the the active
	// supervisor.
	ActiveSlot *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=active_slot,json=activeSlot,proto3" json:"active_slot,omitempty"`
	// standby_slot indicates the physical slot number for the standby
	// supervisor.
	StandbySlot *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=standby_slot,json=standbySlot,proto3" json:"standby_slot,omitempty"`
	// software_image_diff indicates the image diff for each supervisor.
	SoftwareImageDiff *SoftwareImageDiffsBySup `protobuf:"bytes,7,opt,name=software_image_diff,json=softwareImageDiff,proto3" json:"software_image_diff,omitempty"`
	// terminattr_diff indicates the terminattr diff for each supervisor.
	TerminattrDiff *TerminAttrDiffsBySup `protobuf:"bytes,8,opt,name=terminattr_diff,json=terminattrDiff,proto3" json:"terminattr_diff,omitempty"`
	// extensions_diff indicates the extension diff for each supervisor.
	ExtensionsDiff *ExtensionDiffsBySup `protobuf:"bytes,9,opt,name=extensions_diff,json=extensionsDiff,proto3" json:"extensions_diff,omitempty"`
	// compliance_status is the aggregated compliance status (including both
	// active/standby and image/TA/extension compliance).
	ComplianceStatus SoftwareComplianceCode `` /* 161-byte string literal not displayed */
	// compliance provides compliance information for each supervisor.
	Compliance *ComplianceStatusBySup `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty"`
	// reboot_required indicates whether a reboot is required if the designed
	// image is pushed to the device.
	RebootRequired *RebootRequired `protobuf:"bytes,12,opt,name=reboot_required,json=rebootRequired,proto3" json:"reboot_required,omitempty"`
	// digest is the digest of the image summary. It can use SHA-256 hash
	// algorithm for example. It is computed by stringifying the
	//software_image_diff, terminattr_diff and extensions_diff and computing the
	// hash.
	Digest *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

ImageSummary represents device image summary.

func (*ImageSummary) Descriptor deprecated

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

Deprecated: Use ImageSummary.ProtoReflect.Descriptor instead.

func (*ImageSummary) GetActiveSlot

func (x *ImageSummary) GetActiveSlot() *wrapperspb.Int32Value

func (*ImageSummary) GetCompliance

func (x *ImageSummary) GetCompliance() *ComplianceStatusBySup

func (*ImageSummary) GetComplianceStatus

func (x *ImageSummary) GetComplianceStatus() SoftwareComplianceCode

func (*ImageSummary) GetDesignedImageUpdateTime

func (x *ImageSummary) GetDesignedImageUpdateTime() *timestamppb.Timestamp

func (*ImageSummary) GetDigest

func (x *ImageSummary) GetDigest() *wrapperspb.StringValue

func (*ImageSummary) GetDualSup

func (x *ImageSummary) GetDualSup() *wrapperspb.BoolValue

func (*ImageSummary) GetExtensionsDiff

func (x *ImageSummary) GetExtensionsDiff() *ExtensionDiffsBySup

func (*ImageSummary) GetRebootRequired

func (x *ImageSummary) GetRebootRequired() *RebootRequired

func (*ImageSummary) GetRunningImageUpdateTime

func (x *ImageSummary) GetRunningImageUpdateTime() *timestamppb.Timestamp

func (*ImageSummary) GetSku

func (x *ImageSummary) GetSku() *wrapperspb.StringValue

func (*ImageSummary) GetSoftwareImageDiff

func (x *ImageSummary) GetSoftwareImageDiff() *SoftwareImageDiffsBySup

func (*ImageSummary) GetStandbySlot

func (x *ImageSummary) GetStandbySlot() *wrapperspb.Int32Value

func (*ImageSummary) GetTerminattrDiff

func (x *ImageSummary) GetTerminattrDiff() *TerminAttrDiffsBySup

func (*ImageSummary) ProtoMessage

func (*ImageSummary) ProtoMessage()

func (*ImageSummary) ProtoReflect

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

func (*ImageSummary) Reset

func (x *ImageSummary) Reset()

func (*ImageSummary) String

func (x *ImageSummary) String() string

type ImageWarning

type ImageWarning struct {

	// sku represents the name of the sku.
	Sku *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	// warning_code is the warning code.
	WarningCode WarningCode `` /* 134-byte string literal not displayed */
	// warning_msg provides a description of the warning.
	WarningMsg *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=warning_msg,json=warningMsg,proto3" json:"warning_msg,omitempty"`
	// contains filtered or unexported fields
}

ImageWarning wraps `WarningCode` enum with a reason string.

func (*ImageWarning) Descriptor deprecated

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

Deprecated: Use ImageWarning.ProtoReflect.Descriptor instead.

func (*ImageWarning) GetSku

func (x *ImageWarning) GetSku() *wrapperspb.StringValue

func (*ImageWarning) GetWarningCode

func (x *ImageWarning) GetWarningCode() WarningCode

func (*ImageWarning) GetWarningMsg

func (x *ImageWarning) GetWarningMsg() *wrapperspb.StringValue

func (*ImageWarning) ProtoMessage

func (*ImageWarning) ProtoMessage()

func (*ImageWarning) ProtoReflect

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

func (*ImageWarning) Reset

func (x *ImageWarning) Reset()

func (*ImageWarning) String

func (x *ImageWarning) String() string

type ImageWarnings

type ImageWarnings struct {

	// values is a list of image warnings.
	Values []*ImageWarning `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ImageWarnings is the list of warnings reported by CVP when handling image validations.

func (*ImageWarnings) Descriptor deprecated

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

Deprecated: Use ImageWarnings.ProtoReflect.Descriptor instead.

func (*ImageWarnings) GetValues

func (x *ImageWarnings) GetValues() []*ImageWarning

func (*ImageWarnings) ProtoMessage

func (*ImageWarnings) ProtoMessage()

func (*ImageWarnings) ProtoReflect

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

func (*ImageWarnings) Reset

func (x *ImageWarnings) Reset()

func (*ImageWarnings) String

func (x *ImageWarnings) String() string

type RebootRequired

type RebootRequired struct {

	// software_image_reboot_required indicates whether reboot is required
	// for the software image being applied.
	SoftwareImageRebootRequired *wrapperspb.BoolValue `` /* 146-byte string literal not displayed */
	// terminattr_reboot_required indicates whether reboot is required
	// for the terminattr being applied/deleted.
	TerminattrRebootRequired *wrapperspb.BoolValue `` /* 135-byte string literal not displayed */
	// extension_reboot_required indicates whether reboot is required
	// for the extensions being applied/deleted.
	ExtensionRebootRequired *wrapperspb.BoolValue `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

RebootRequired indicates the reboot information per software image, terminattr and extension for the switch as a whole.

func (*RebootRequired) Descriptor deprecated

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

Deprecated: Use RebootRequired.ProtoReflect.Descriptor instead.

func (*RebootRequired) GetExtensionRebootRequired

func (x *RebootRequired) GetExtensionRebootRequired() *wrapperspb.BoolValue

func (*RebootRequired) GetSoftwareImageRebootRequired

func (x *RebootRequired) GetSoftwareImageRebootRequired() *wrapperspb.BoolValue

func (*RebootRequired) GetTerminattrRebootRequired

func (x *RebootRequired) GetTerminattrRebootRequired() *wrapperspb.BoolValue

func (*RebootRequired) ProtoMessage

func (*RebootRequired) ProtoMessage()

func (*RebootRequired) ProtoReflect

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

func (*RebootRequired) Reset

func (x *RebootRequired) Reset()

func (*RebootRequired) String

func (x *RebootRequired) String() string

type SoftwareComplianceCode

type SoftwareComplianceCode int32

SoftwareComplianceCode indicates possible compliance status.

const (
	// SOFTWARE_COMPLIANCE_CODE_UNSPECIFIED indicates compliance code is unspecified.
	SoftwareComplianceCode_SOFTWARE_COMPLIANCE_CODE_UNSPECIFIED SoftwareComplianceCode = 0
	// SOFTWARE_COMPLIANCE_CODE_IN_SYNC indicates designed and running images/extensions
	// are identical.
	SoftwareComplianceCode_SOFTWARE_COMPLIANCE_CODE_IN_SYNC SoftwareComplianceCode = 1
	// SOFTWARE_COMPLIANCE_CODE_OUT_OF_SYNC indicates designed and running images/extensions
	// are not identical.
	SoftwareComplianceCode_SOFTWARE_COMPLIANCE_CODE_OUT_OF_SYNC SoftwareComplianceCode = 2
)

func (SoftwareComplianceCode) Descriptor

func (SoftwareComplianceCode) Enum

func (SoftwareComplianceCode) EnumDescriptor deprecated

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

Deprecated: Use SoftwareComplianceCode.Descriptor instead.

func (SoftwareComplianceCode) Number

func (SoftwareComplianceCode) String

func (x SoftwareComplianceCode) String() string

func (SoftwareComplianceCode) Type

type SoftwareImage

type SoftwareImage struct {

	// name is the name of the EOS image.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// version is the version of the EOS image.
	Version *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// metadata  is the metadata of EOS image.
	Metadata *ImageMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

SoftwareImage provides information of the running/designed EOS image.

func (*SoftwareImage) Descriptor deprecated

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

Deprecated: Use SoftwareImage.ProtoReflect.Descriptor instead.

func (*SoftwareImage) GetMetadata

func (x *SoftwareImage) GetMetadata() *ImageMetadata

func (*SoftwareImage) GetName

func (x *SoftwareImage) GetName() *wrapperspb.StringValue

func (*SoftwareImage) GetVersion

func (x *SoftwareImage) GetVersion() *wrapperspb.StringValue

func (*SoftwareImage) ProtoMessage

func (*SoftwareImage) ProtoMessage()

func (*SoftwareImage) ProtoReflect

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

func (*SoftwareImage) Reset

func (x *SoftwareImage) Reset()

func (*SoftwareImage) String

func (x *SoftwareImage) String() string

type SoftwareImageDiff

type SoftwareImageDiff struct {

	// code indicates the operation performed to get from one side of the diff
	// to the other.
	Code DiffOp `protobuf:"varint,1,opt,name=code,proto3,enum=arista.imagestatus.v1.DiffOp" json:"code,omitempty"`
	// a is the software image on the a side (left hand side).
	A *SoftwareImage `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"`
	// b is the software image on the b side (right hand side).
	B *SoftwareImage `protobuf:"bytes,3,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

SoftwareImageDiff is the diff for the running/designed images.

func (*SoftwareImageDiff) Descriptor deprecated

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

Deprecated: Use SoftwareImageDiff.ProtoReflect.Descriptor instead.

func (*SoftwareImageDiff) GetA

func (x *SoftwareImageDiff) GetA() *SoftwareImage

func (*SoftwareImageDiff) GetB

func (x *SoftwareImageDiff) GetB() *SoftwareImage

func (*SoftwareImageDiff) GetCode

func (x *SoftwareImageDiff) GetCode() DiffOp

func (*SoftwareImageDiff) ProtoMessage

func (*SoftwareImageDiff) ProtoMessage()

func (*SoftwareImageDiff) ProtoReflect

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

func (*SoftwareImageDiff) Reset

func (x *SoftwareImageDiff) Reset()

func (*SoftwareImageDiff) String

func (x *SoftwareImageDiff) String() string

type SoftwareImageDiffsBySup

type SoftwareImageDiffsBySup struct {

	// values is the mapping of supervisor type to image diff.
	Values map[string]*SoftwareImageDiff `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

SoftwareImageDiffsBySup is software image diff information for each supervisor.

func (*SoftwareImageDiffsBySup) Descriptor deprecated

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

Deprecated: Use SoftwareImageDiffsBySup.ProtoReflect.Descriptor instead.

func (*SoftwareImageDiffsBySup) GetValues

func (x *SoftwareImageDiffsBySup) GetValues() map[string]*SoftwareImageDiff

func (*SoftwareImageDiffsBySup) ProtoMessage

func (*SoftwareImageDiffsBySup) ProtoMessage()

func (*SoftwareImageDiffsBySup) ProtoReflect

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

func (*SoftwareImageDiffsBySup) Reset

func (x *SoftwareImageDiffsBySup) Reset()

func (*SoftwareImageDiffsBySup) String

func (x *SoftwareImageDiffsBySup) String() string

type Summary

type Summary struct {

	// key represents the image summary key.
	Key *SummaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// summary is the image diff summary.
	Summary *ImageSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// errors are the image errors encountered while validating the image. These are
	// displayed on the change control review page (for changes made outside the workspace).
	Errors *ImageErrors `protobuf:"bytes,3,opt,name=errors,proto3" json:"errors,omitempty"`
	// warnings are the image warnings encountered while validating the image. These are
	// displayed on the change control review page (for changes made outside the workspace).
	Warnings *ImageWarnings `protobuf:"bytes,4,opt,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

Summary represents the device image summary.

func (*Summary) Descriptor deprecated

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

Deprecated: Use Summary.ProtoReflect.Descriptor instead.

func (*Summary) GetErrors

func (x *Summary) GetErrors() *ImageErrors

func (*Summary) GetKey

func (x *Summary) GetKey() *SummaryKey

func (*Summary) GetSummary

func (x *Summary) GetSummary() *ImageSummary

func (*Summary) GetWarnings

func (x *Summary) GetWarnings() *ImageWarnings

func (*Summary) ProtoMessage

func (*Summary) ProtoMessage()

func (*Summary) ProtoReflect

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

func (*Summary) Reset

func (x *Summary) Reset()

func (*Summary) String

func (x *Summary) String() string

type SummaryKey

type SummaryKey struct {

	// device_id is the serial number of the device
	DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

SummaryKey uniquely identifies a device summary request.

func (*SummaryKey) Descriptor deprecated

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

Deprecated: Use SummaryKey.ProtoReflect.Descriptor instead.

func (*SummaryKey) GetDeviceId

func (x *SummaryKey) GetDeviceId() *wrapperspb.StringValue

func (*SummaryKey) ProtoMessage

func (*SummaryKey) ProtoMessage()

func (*SummaryKey) ProtoReflect

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

func (*SummaryKey) Reset

func (x *SummaryKey) Reset()

func (*SummaryKey) String

func (x *SummaryKey) String() string

type SummaryRequest

type SummaryRequest struct {

	// Key uniquely identifies a Summary instance to retrieve.
	// This value must be populated.
	Key *SummaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryRequest) Descriptor deprecated

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

Deprecated: Use SummaryRequest.ProtoReflect.Descriptor instead.

func (*SummaryRequest) GetKey

func (x *SummaryRequest) GetKey() *SummaryKey

func (*SummaryRequest) GetTime

func (x *SummaryRequest) GetTime() *timestamppb.Timestamp

func (*SummaryRequest) ProtoMessage

func (*SummaryRequest) ProtoMessage()

func (*SummaryRequest) ProtoReflect

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

func (*SummaryRequest) Reset

func (x *SummaryRequest) Reset()

func (*SummaryRequest) String

func (x *SummaryRequest) String() string

type SummaryResponse

type SummaryResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *Summary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// Summary instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryResponse) Descriptor deprecated

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

Deprecated: Use SummaryResponse.ProtoReflect.Descriptor instead.

func (*SummaryResponse) GetTime

func (x *SummaryResponse) GetTime() *timestamppb.Timestamp

func (*SummaryResponse) GetValue

func (x *SummaryResponse) GetValue() *Summary

func (*SummaryResponse) ProtoMessage

func (*SummaryResponse) ProtoMessage()

func (*SummaryResponse) ProtoReflect

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

func (*SummaryResponse) Reset

func (x *SummaryResponse) Reset()

func (*SummaryResponse) String

func (x *SummaryResponse) String() string

type SummaryServiceClient

type SummaryServiceClient interface {
	GetOne(ctx context.Context, in *SummaryRequest, opts ...grpc.CallOption) (*SummaryResponse, error)
	GetAll(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (SummaryService_GetAllClient, error)
	Subscribe(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (SummaryService_SubscribeClient, error)
}

SummaryServiceClient is the client API for SummaryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SummaryServiceServer

type SummaryServiceServer interface {
	GetOne(context.Context, *SummaryRequest) (*SummaryResponse, error)
	GetAll(*SummaryStreamRequest, SummaryService_GetAllServer) error
	Subscribe(*SummaryStreamRequest, SummaryService_SubscribeServer) error
	// contains filtered or unexported methods
}

SummaryServiceServer is the server API for SummaryService service. All implementations must embed UnimplementedSummaryServiceServer for forward compatibility

type SummaryService_GetAllClient

type SummaryService_GetAllClient interface {
	Recv() (*SummaryStreamResponse, error)
	grpc.ClientStream
}

type SummaryService_GetAllServer

type SummaryService_GetAllServer interface {
	Send(*SummaryStreamResponse) error
	grpc.ServerStream
}

type SummaryService_SubscribeClient

type SummaryService_SubscribeClient interface {
	Recv() (*SummaryStreamResponse, error)
	grpc.ClientStream
}

type SummaryService_SubscribeServer

type SummaryService_SubscribeServer interface {
	Send(*SummaryStreamResponse) error
	grpc.ServerStream
}

type SummaryStreamRequest

type SummaryStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*Summary `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each Summary at end.
	//     * Each Summary response is fully-specified (all fields set).
	//   * start: Returns the state of each Summary at start, followed by updates until now.
	//     * Each Summary response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each Summary at start, followed by updates
	//     until end.
	//     * Each Summary response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryStreamRequest) Descriptor deprecated

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

Deprecated: Use SummaryStreamRequest.ProtoReflect.Descriptor instead.

func (*SummaryStreamRequest) GetPartialEqFilter

func (x *SummaryStreamRequest) GetPartialEqFilter() []*Summary

func (*SummaryStreamRequest) GetTime

func (x *SummaryStreamRequest) GetTime() *time.TimeBounds

func (*SummaryStreamRequest) ProtoMessage

func (*SummaryStreamRequest) ProtoMessage()

func (*SummaryStreamRequest) ProtoReflect

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

func (*SummaryStreamRequest) Reset

func (x *SummaryStreamRequest) Reset()

func (*SummaryStreamRequest) String

func (x *SummaryStreamRequest) String() string

type SummaryStreamResponse

type SummaryStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *Summary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this Summary's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the Summary value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryStreamResponse) Descriptor deprecated

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

Deprecated: Use SummaryStreamResponse.ProtoReflect.Descriptor instead.

func (*SummaryStreamResponse) GetTime

func (*SummaryStreamResponse) GetType

func (*SummaryStreamResponse) GetValue

func (x *SummaryStreamResponse) GetValue() *Summary

func (*SummaryStreamResponse) ProtoMessage

func (*SummaryStreamResponse) ProtoMessage()

func (*SummaryStreamResponse) ProtoReflect

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

func (*SummaryStreamResponse) Reset

func (x *SummaryStreamResponse) Reset()

func (*SummaryStreamResponse) String

func (x *SummaryStreamResponse) String() string

type TerminAttrDiffsBySup

type TerminAttrDiffsBySup struct {

	// values is the mapping of supervisor type to terminattr diff.
	Values map[string]*ExtensionDiff `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

TerminAttrDiffsBySup is the terminattr diff information for each supervisor.

func (*TerminAttrDiffsBySup) Descriptor deprecated

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

Deprecated: Use TerminAttrDiffsBySup.ProtoReflect.Descriptor instead.

func (*TerminAttrDiffsBySup) GetValues

func (x *TerminAttrDiffsBySup) GetValues() map[string]*ExtensionDiff

func (*TerminAttrDiffsBySup) ProtoMessage

func (*TerminAttrDiffsBySup) ProtoMessage()

func (*TerminAttrDiffsBySup) ProtoReflect

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

func (*TerminAttrDiffsBySup) Reset

func (x *TerminAttrDiffsBySup) Reset()

func (*TerminAttrDiffsBySup) String

func (x *TerminAttrDiffsBySup) String() string

type UnimplementedSummaryServiceServer

type UnimplementedSummaryServiceServer struct {
}

UnimplementedSummaryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSummaryServiceServer) GetAll

func (UnimplementedSummaryServiceServer) GetOne

func (UnimplementedSummaryServiceServer) Subscribe

type UnsafeSummaryServiceServer

type UnsafeSummaryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSummaryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SummaryServiceServer will result in compilation errors.

type WarningCode

type WarningCode int32

WarningCode indicates warnings produced during image validations.

const (
	// WARNING_CODE_UNSPECIFIED indicates warning code is unspecified.
	WarningCode_WARNING_CODE_UNSPECIFIED WarningCode = 0
	// WARNING_CODE_NOT_APPLICABLE represents cases where EOS <-> SKU/TA compatibility
	// is not applicable for non physical switches like vEos.
	WarningCode_WARNING_CODE_NOT_APPLICABLE WarningCode = 1
	// WARNING_CODE_SKUINFO_UNAVAILABLE represents case where
	// information about certain skus is missing.
	WarningCode_WARNING_CODE_SKUINFO_UNAVAILABLE WarningCode = 2
	// WARNING_CODE_DEVICE_SKU_UNAVAILABLE represents unavailability of skus for an EOS Device.
	WarningCode_WARNING_CODE_DEVICE_SKU_UNAVAILABLE WarningCode = 3
	// WARNING_CODE_SWI_UNKNOWN represents cases where EOS version is not found in release database.
	WarningCode_WARNING_CODE_SWI_UNKNOWN WarningCode = 4
	// WARNING_CODE_TA_EOS_INCOMPATIBLE represents cases where TA and EOS are not compatible.
	// TA is lower than embedded TA in swi or given TA is unsupported by the EOS.
	WarningCode_WARNING_CODE_TA_EOS_INCOMPATIBLE WarningCode = 5
	// WARNING_CODE_TA_CV_INCOMPATIBLE represents cases where TA is incompatible with CV.
	// TA is lower than minimum supported TA on CV.
	// Deprecated - use ERROR_CODE_TA_CV_INCOMPATIBLE.
	//
	// Deprecated: Do not use.
	WarningCode_WARNING_CODE_TA_CV_INCOMPATIBLE WarningCode = 6
	// WARNING_CODE_EOS_CV_INCOMPATIBLE represents cases where EOS is no longer or not yet
	// supported by CV. Given EOS is outside range of CV's minimum and maximum EOS.
	// Deprecated - use ERROR_CODE_EOS_CV_INCOMPATIBLE.
	//
	// Deprecated: Do not use.
	WarningCode_WARNING_CODE_EOS_CV_INCOMPATIBLE WarningCode = 7
	// WARNING_CODE_EOS_ARCH_UNKNOWN represents cases where the specified architecture is
	// not valid for EOS.
	WarningCode_WARNING_CODE_EOS_ARCH_UNKNOWN WarningCode = 8
	// WARNING_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE represents cases where TA extension is lower
	// in version than embedded TA in SWI.
	WarningCode_WARNING_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE WarningCode = 9
	// WARNING_CODE_ARCH_INCOMPATIBLE represents cases where EOS arch and TA arch are
	// different. Deprecated.
	//
	// Deprecated: Do not use.
	WarningCode_WARNING_CODE_ARCH_INCOMPATIBLE WarningCode = 10
	// WARNING_CODE_EOS_END_OF_LIFE_DATE_PASSED represents cases where the given EOS has passed
	// its end of life date.
	WarningCode_WARNING_CODE_EOS_END_OF_LIFE_DATE_PASSED WarningCode = 11
	// WARNING_CODE_SUPPORT_NOT_INTRODUCED represents cases where the given EOS version does
	// not support the SKUs.
	WarningCode_WARNING_CODE_SUPPORT_NOT_INTRODUCED WarningCode = 12
	// WARNING_CODE_SUPPORT_REMOVED represents cases where the given EOS version no longer
	// supports the SKUs.
	WarningCode_WARNING_CODE_SUPPORT_REMOVED WarningCode = 13
	// WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION represents cases where the running
	// TerminAttr version is below CloudVision's minimum supported version.
	WarningCode_WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION WarningCode = 14
)

func (WarningCode) Descriptor

func (WarningCode) Enum

func (x WarningCode) Enum() *WarningCode

func (WarningCode) EnumDescriptor deprecated

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

Deprecated: Use WarningCode.Descriptor instead.

func (WarningCode) Number

func (x WarningCode) Number() protoreflect.EnumNumber

func (WarningCode) String

func (x WarningCode) String() string

func (WarningCode) Type

Jump to

Keyboard shortcuts

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