Documentation ¶
Index ¶
- Variables
- func RegisterSdkMgrMplsRouteServiceServer(s *grpc.Server, srv SdkMgrMplsRouteServiceServer)
- func RegisterSdkMgrNextHopGroupServiceServer(s *grpc.Server, srv SdkMgrNextHopGroupServiceServer)
- func RegisterSdkMgrRouteServiceServer(s *grpc.Server, srv SdkMgrRouteServiceServer)
- func RegisterSdkMgrServiceServer(s *grpc.Server, srv SdkMgrServiceServer)
- func RegisterSdkMgrTelemetryServiceServer(s *grpc.Server, srv SdkMgrTelemetryServiceServer)
- func RegisterSdkNotificationServiceServer(s *grpc.Server, srv SdkNotificationServiceServer)
- type AgentRegistrationRequest
- func (*AgentRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentRegistrationRequest) GetAgentLiveliness() uint32
- func (x *AgentRegistrationRequest) GetJsPath() []string
- func (*AgentRegistrationRequest) ProtoMessage()
- func (x *AgentRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *AgentRegistrationRequest) Reset()
- func (x *AgentRegistrationRequest) String() string
- type AgentRegistrationResponse
- func (*AgentRegistrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentRegistrationResponse) GetAppId() uint32
- func (x *AgentRegistrationResponse) GetErrorStr() string
- func (x *AgentRegistrationResponse) GetStatus() SdkMgrStatus
- func (*AgentRegistrationResponse) ProtoMessage()
- func (x *AgentRegistrationResponse) ProtoReflect() protoreflect.Message
- func (x *AgentRegistrationResponse) Reset()
- func (x *AgentRegistrationResponse) String() string
- type AgentReply
- type AppIdRequest
- type AppIdResponse
- func (*AppIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppIdResponse) GetId() uint32
- func (x *AppIdResponse) GetStatus() SdkMgrStatus
- func (*AppIdResponse) ProtoMessage()
- func (x *AppIdResponse) ProtoReflect() protoreflect.Message
- func (x *AppIdResponse) Reset()
- func (x *AppIdResponse) String() string
- type AppIdentData
- func (*AppIdentData) Descriptor() ([]byte, []int)deprecated
- func (x *AppIdentData) GetAuthor() string
- func (x *AppIdentData) GetIsConnected() bool
- func (x *AppIdentData) GetName() string
- func (x *AppIdentData) GetVersion() string
- func (*AppIdentData) ProtoMessage()
- func (x *AppIdentData) ProtoReflect() protoreflect.Message
- func (x *AppIdentData) Reset()
- func (x *AppIdentData) String() string
- type AppIdentKey
- type AppIdentNotification
- func (*AppIdentNotification) Descriptor() ([]byte, []int)deprecated
- func (x *AppIdentNotification) GetData() *AppIdentData
- func (x *AppIdentNotification) GetKey() *AppIdentKey
- func (x *AppIdentNotification) GetOp() SdkMgrOperation
- func (*AppIdentNotification) ProtoMessage()
- func (x *AppIdentNotification) ProtoReflect() protoreflect.Message
- func (x *AppIdentNotification) Reset()
- func (x *AppIdentNotification) String() string
- type AppIdentSubscriptionRequest
- func (*AppIdentSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppIdentSubscriptionRequest) GetKey() *AppIdentKey
- func (*AppIdentSubscriptionRequest) ProtoMessage()
- func (x *AppIdentSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *AppIdentSubscriptionRequest) Reset()
- func (x *AppIdentSubscriptionRequest) String() string
- type BfdSessionNotification
- func (*BfdSessionNotification) Descriptor() ([]byte, []int)deprecated
- func (x *BfdSessionNotification) GetData() *BfdmgrGeneralSessionDataPb
- func (x *BfdSessionNotification) GetKey() *BfdmgrGeneralSessionKeyPb
- func (x *BfdSessionNotification) GetOp() SdkMgrOperation
- func (*BfdSessionNotification) ProtoMessage()
- func (x *BfdSessionNotification) ProtoReflect() protoreflect.Message
- func (x *BfdSessionNotification) Reset()
- func (x *BfdSessionNotification) String() string
- type BfdSessionSubscriptionRequest
- func (*BfdSessionSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BfdSessionSubscriptionRequest) GetKey() *BfdmgrGeneralSessionKeyPb
- func (*BfdSessionSubscriptionRequest) ProtoMessage()
- func (x *BfdSessionSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *BfdSessionSubscriptionRequest) Reset()
- func (x *BfdSessionSubscriptionRequest) String() string
- type BfdmgrGeneralSessionDataPb
- func (*BfdmgrGeneralSessionDataPb) Descriptor() ([]byte, []int)deprecated
- func (x *BfdmgrGeneralSessionDataPb) GetSrcIfId() uint32
- func (x *BfdmgrGeneralSessionDataPb) GetStatus() BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus
- func (x *BfdmgrGeneralSessionDataPb) GetSubType() BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType
- func (*BfdmgrGeneralSessionDataPb) ProtoMessage()
- func (x *BfdmgrGeneralSessionDataPb) ProtoReflect() protoreflect.Message
- func (x *BfdmgrGeneralSessionDataPb) Reset()
- func (x *BfdmgrGeneralSessionDataPb) String() string
- type BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Enum() *BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Number() protoreflect.EnumNumber
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) String() string
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Type() protoreflect.EnumType
- type BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Descriptor() protoreflect.EnumDescriptor
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Enum() *BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Number() protoreflect.EnumNumber
- func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) String() string
- func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Type() protoreflect.EnumType
- type BfdmgrGeneralSessionKeyPb
- func (*BfdmgrGeneralSessionKeyPb) Descriptor() ([]byte, []int)deprecated
- func (x *BfdmgrGeneralSessionKeyPb) GetDstIpAddr() *IpAddressPb
- func (x *BfdmgrGeneralSessionKeyPb) GetInstanceId() uint32
- func (x *BfdmgrGeneralSessionKeyPb) GetSrcIpAddr() *IpAddressPb
- func (x *BfdmgrGeneralSessionKeyPb) GetType() BfdmgrGeneralSessionKeyPb_BfdmgrSessionType
- func (*BfdmgrGeneralSessionKeyPb) ProtoMessage()
- func (x *BfdmgrGeneralSessionKeyPb) ProtoReflect() protoreflect.Message
- func (x *BfdmgrGeneralSessionKeyPb) Reset()
- func (x *BfdmgrGeneralSessionKeyPb) String() string
- type BfdmgrGeneralSessionKeyPb_BfdmgrSessionType
- func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Descriptor() protoreflect.EnumDescriptor
- func (x BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Enum() *BfdmgrGeneralSessionKeyPb_BfdmgrSessionType
- func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Number() protoreflect.EnumNumber
- func (x BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) String() string
- func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Type() protoreflect.EnumType
- type ConfigData
- type ConfigKey
- type ConfigNotification
- func (*ConfigNotification) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigNotification) GetData() *ConfigData
- func (x *ConfigNotification) GetKey() *ConfigKey
- func (x *ConfigNotification) GetOp() SdkMgrOperation
- func (*ConfigNotification) ProtoMessage()
- func (x *ConfigNotification) ProtoReflect() protoreflect.Message
- func (x *ConfigNotification) Reset()
- func (x *ConfigNotification) String() string
- type ConfigSubscriptionRequest
- func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSubscriptionRequest) GetKey() *ConfigKey
- func (*ConfigSubscriptionRequest) ProtoMessage()
- func (x *ConfigSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigSubscriptionRequest) Reset()
- func (x *ConfigSubscriptionRequest) String() string
- type GlobalIfId
- type IfEthernetPortSpeedType
- func (IfEthernetPortSpeedType) Descriptor() protoreflect.EnumDescriptor
- func (x IfEthernetPortSpeedType) Enum() *IfEthernetPortSpeedType
- func (IfEthernetPortSpeedType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IfEthernetPortSpeedType) Number() protoreflect.EnumNumber
- func (x IfEthernetPortSpeedType) String() string
- func (IfEthernetPortSpeedType) Type() protoreflect.EnumType
- type IfMgrIfType
- func (IfMgrIfType) Descriptor() protoreflect.EnumDescriptor
- func (x IfMgrIfType) Enum() *IfMgrIfType
- func (IfMgrIfType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IfMgrIfType) Number() protoreflect.EnumNumber
- func (x IfMgrIfType) String() string
- func (IfMgrIfType) Type() protoreflect.EnumType
- type IfOperDownReason
- func (IfOperDownReason) Descriptor() protoreflect.EnumDescriptor
- func (x IfOperDownReason) Enum() *IfOperDownReason
- func (IfOperDownReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x IfOperDownReason) Number() protoreflect.EnumNumber
- func (x IfOperDownReason) String() string
- func (IfOperDownReason) Type() protoreflect.EnumType
- type IfOperStateType
- func (IfOperStateType) Descriptor() protoreflect.EnumDescriptor
- func (x IfOperStateType) Enum() *IfOperStateType
- func (IfOperStateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IfOperStateType) Number() protoreflect.EnumNumber
- func (x IfOperStateType) String() string
- func (IfOperStateType) Type() protoreflect.EnumType
- type IfTransceiverFecType
- func (IfTransceiverFecType) Descriptor() protoreflect.EnumDescriptor
- func (x IfTransceiverFecType) Enum() *IfTransceiverFecType
- func (IfTransceiverFecType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IfTransceiverFecType) Number() protoreflect.EnumNumber
- func (x IfTransceiverFecType) String() string
- func (IfTransceiverFecType) Type() protoreflect.EnumType
- type InterfaceData
- func (*InterfaceData) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceData) GetAdminIsUp() uint32
- func (x *InterfaceData) GetDescription() string
- func (x *InterfaceData) GetIfType() IfMgrIfType
- func (x *InterfaceData) GetMacAddr() *MacAddressPb
- func (x *InterfaceData) GetMtu() uint32
- func (x *InterfaceData) GetPortId() *PortIdPb
- func (*InterfaceData) ProtoMessage()
- func (x *InterfaceData) ProtoReflect() protoreflect.Message
- func (x *InterfaceData) Reset()
- func (x *InterfaceData) String() string
- type InterfaceKey
- type InterfaceNotification
- func (*InterfaceNotification) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceNotification) GetData() *InterfaceData
- func (x *InterfaceNotification) GetKey() *InterfaceKey
- func (x *InterfaceNotification) GetOp() SdkMgrOperation
- func (*InterfaceNotification) ProtoMessage()
- func (x *InterfaceNotification) ProtoReflect() protoreflect.Message
- func (x *InterfaceNotification) Reset()
- func (x *InterfaceNotification) String() string
- type InterfaceSubscriptionRequest
- func (*InterfaceSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceSubscriptionRequest) GetKey() *InterfaceKey
- func (*InterfaceSubscriptionRequest) ProtoMessage()
- func (x *InterfaceSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *InterfaceSubscriptionRequest) Reset()
- func (x *InterfaceSubscriptionRequest) String() string
- type IpAddrPrefLenPb
- func (*IpAddrPrefLenPb) Descriptor() ([]byte, []int)deprecated
- func (x *IpAddrPrefLenPb) GetIpAddr() *IpAddressPb
- func (x *IpAddrPrefLenPb) GetPrefixLength() uint32
- func (*IpAddrPrefLenPb) ProtoMessage()
- func (x *IpAddrPrefLenPb) ProtoReflect() protoreflect.Message
- func (x *IpAddrPrefLenPb) Reset()
- func (x *IpAddrPrefLenPb) String() string
- type IpAddressPb
- type IpAddressState
- func (IpAddressState) Descriptor() protoreflect.EnumDescriptor
- func (x IpAddressState) Enum() *IpAddressState
- func (IpAddressState) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpAddressState) Number() protoreflect.EnumNumber
- func (x IpAddressState) String() string
- func (IpAddressState) Type() protoreflect.EnumType
- type IpInterfaceAddrPrefixPb
- func (*IpInterfaceAddrPrefixPb) Descriptor() ([]byte, []int)deprecated
- func (x *IpInterfaceAddrPrefixPb) GetPrefix() *IpAddrPrefLenPb
- func (x *IpInterfaceAddrPrefixPb) GetState() IpAddressState
- func (*IpInterfaceAddrPrefixPb) ProtoMessage()
- func (x *IpInterfaceAddrPrefixPb) ProtoReflect() protoreflect.Message
- func (x *IpInterfaceAddrPrefixPb) Reset()
- func (x *IpInterfaceAddrPrefixPb) String() string
- type IpRouteNotification
- func (*IpRouteNotification) Descriptor() ([]byte, []int)deprecated
- func (x *IpRouteNotification) GetData() *RoutePb
- func (x *IpRouteNotification) GetKey() *RouteKeyPb
- func (x *IpRouteNotification) GetOp() SdkMgrOperation
- func (*IpRouteNotification) ProtoMessage()
- func (x *IpRouteNotification) ProtoReflect() protoreflect.Message
- func (x *IpRouteNotification) Reset()
- func (x *IpRouteNotification) String() string
- type IpRouteSubscriptionRequest
- func (*IpRouteSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IpRouteSubscriptionRequest) GetKey() *RouteKeyPb
- func (*IpRouteSubscriptionRequest) ProtoMessage()
- func (x *IpRouteSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *IpRouteSubscriptionRequest) Reset()
- func (x *IpRouteSubscriptionRequest) String() string
- type KeepAliveRequest
- type KeepAliveResponse
- func (*KeepAliveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeepAliveResponse) GetStatus() SdkMgrStatus
- func (*KeepAliveResponse) ProtoMessage()
- func (x *KeepAliveResponse) ProtoReflect() protoreflect.Message
- func (x *KeepAliveResponse) Reset()
- func (x *KeepAliveResponse) String() string
- type LldpNeighborDataPb
- func (*LldpNeighborDataPb) Descriptor() ([]byte, []int)deprecated
- func (x *LldpNeighborDataPb) GetBgpGroupId() uint32
- func (x *LldpNeighborDataPb) GetBgpPeerAddress() []*IpAddressPb
- func (x *LldpNeighborDataPb) GetPortId() string
- func (x *LldpNeighborDataPb) GetPortType() LldpNeighborDataPb_PortSubType
- func (x *LldpNeighborDataPb) GetSourceMac() *MacAddressPb
- func (x *LldpNeighborDataPb) GetSystemDescription() string
- func (x *LldpNeighborDataPb) GetSystemName() string
- func (*LldpNeighborDataPb) ProtoMessage()
- func (x *LldpNeighborDataPb) ProtoReflect() protoreflect.Message
- func (x *LldpNeighborDataPb) Reset()
- func (x *LldpNeighborDataPb) String() string
- type LldpNeighborDataPb_PortSubType
- func (LldpNeighborDataPb_PortSubType) Descriptor() protoreflect.EnumDescriptor
- func (x LldpNeighborDataPb_PortSubType) Enum() *LldpNeighborDataPb_PortSubType
- func (LldpNeighborDataPb_PortSubType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LldpNeighborDataPb_PortSubType) Number() protoreflect.EnumNumber
- func (x LldpNeighborDataPb_PortSubType) String() string
- func (LldpNeighborDataPb_PortSubType) Type() protoreflect.EnumType
- type LldpNeighborKeyPb
- func (*LldpNeighborKeyPb) Descriptor() ([]byte, []int)deprecated
- func (x *LldpNeighborKeyPb) GetChassisId() string
- func (x *LldpNeighborKeyPb) GetChassisType() LldpNeighborKeyPb_ChassisIdType
- func (x *LldpNeighborKeyPb) GetInterfaceName() string
- func (*LldpNeighborKeyPb) ProtoMessage()
- func (x *LldpNeighborKeyPb) ProtoReflect() protoreflect.Message
- func (x *LldpNeighborKeyPb) Reset()
- func (x *LldpNeighborKeyPb) String() string
- type LldpNeighborKeyPb_ChassisIdType
- func (LldpNeighborKeyPb_ChassisIdType) Descriptor() protoreflect.EnumDescriptor
- func (x LldpNeighborKeyPb_ChassisIdType) Enum() *LldpNeighborKeyPb_ChassisIdType
- func (LldpNeighborKeyPb_ChassisIdType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LldpNeighborKeyPb_ChassisIdType) Number() protoreflect.EnumNumber
- func (x LldpNeighborKeyPb_ChassisIdType) String() string
- func (LldpNeighborKeyPb_ChassisIdType) Type() protoreflect.EnumType
- type LldpNeighborNotification
- func (*LldpNeighborNotification) Descriptor() ([]byte, []int)deprecated
- func (x *LldpNeighborNotification) GetData() *LldpNeighborDataPb
- func (x *LldpNeighborNotification) GetKey() *LldpNeighborKeyPb
- func (x *LldpNeighborNotification) GetOp() SdkMgrOperation
- func (*LldpNeighborNotification) ProtoMessage()
- func (x *LldpNeighborNotification) ProtoReflect() protoreflect.Message
- func (x *LldpNeighborNotification) Reset()
- func (x *LldpNeighborNotification) String() string
- type LldpNeighborSubscriptionRequest
- func (*LldpNeighborSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LldpNeighborSubscriptionRequest) GetKey() *LldpNeighborKeyPb
- func (*LldpNeighborSubscriptionRequest) ProtoMessage()
- func (x *LldpNeighborSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *LldpNeighborSubscriptionRequest) Reset()
- func (x *LldpNeighborSubscriptionRequest) String() string
- type MacAddressPb
- type MplsLabel
- type MplsNextHop
- func (*MplsNextHop) Descriptor() ([]byte, []int)deprecated
- func (x *MplsNextHop) GetIpNexthop() *IpAddressPb
- func (x *MplsNextHop) GetLabelStack() []*MplsLabel
- func (*MplsNextHop) ProtoMessage()
- func (x *MplsNextHop) ProtoReflect() protoreflect.Message
- func (x *MplsNextHop) Reset()
- func (x *MplsNextHop) String() string
- type MplsRouteAddRequest
- func (*MplsRouteAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRouteAddRequest) GetRoutes() []*MplsRouteInfo
- func (*MplsRouteAddRequest) ProtoMessage()
- func (x *MplsRouteAddRequest) ProtoReflect() protoreflect.Message
- func (x *MplsRouteAddRequest) Reset()
- func (x *MplsRouteAddRequest) String() string
- type MplsRouteAddResponse
- func (*MplsRouteAddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRouteAddResponse) GetErrorStr() string
- func (x *MplsRouteAddResponse) GetStatus() SdkMgrStatus
- func (*MplsRouteAddResponse) ProtoMessage()
- func (x *MplsRouteAddResponse) ProtoReflect() protoreflect.Message
- func (x *MplsRouteAddResponse) Reset()
- func (x *MplsRouteAddResponse) String() string
- type MplsRouteDeleteRequest
- func (*MplsRouteDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRouteDeleteRequest) GetRoutes() []*MplsRouteKeyPb
- func (*MplsRouteDeleteRequest) ProtoMessage()
- func (x *MplsRouteDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *MplsRouteDeleteRequest) Reset()
- func (x *MplsRouteDeleteRequest) String() string
- type MplsRouteDeleteResponse
- func (*MplsRouteDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRouteDeleteResponse) GetErrorStr() string
- func (x *MplsRouteDeleteResponse) GetStatus() SdkMgrStatus
- func (*MplsRouteDeleteResponse) ProtoMessage()
- func (x *MplsRouteDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *MplsRouteDeleteResponse) Reset()
- func (x *MplsRouteDeleteResponse) String() string
- type MplsRouteInfo
- func (*MplsRouteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRouteInfo) GetData() *MplsRoutePb
- func (x *MplsRouteInfo) GetKey() *MplsRouteKeyPb
- func (*MplsRouteInfo) ProtoMessage()
- func (x *MplsRouteInfo) ProtoReflect() protoreflect.Message
- func (x *MplsRouteInfo) Reset()
- func (x *MplsRouteInfo) String() string
- type MplsRouteKeyPb
- type MplsRoutePb
- func (*MplsRoutePb) Descriptor() ([]byte, []int)deprecated
- func (x *MplsRoutePb) GetNexthopGroupName() string
- func (x *MplsRoutePb) GetOperation() MplsRoutePb_Operation
- func (x *MplsRoutePb) GetPreference() uint32
- func (*MplsRoutePb) ProtoMessage()
- func (x *MplsRoutePb) ProtoReflect() protoreflect.Message
- func (x *MplsRoutePb) Reset()
- func (x *MplsRoutePb) String() string
- type MplsRoutePb_Operation
- func (MplsRoutePb_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x MplsRoutePb_Operation) Enum() *MplsRoutePb_Operation
- func (MplsRoutePb_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x MplsRoutePb_Operation) Number() protoreflect.EnumNumber
- func (x MplsRoutePb_Operation) String() string
- func (MplsRoutePb_Operation) Type() protoreflect.EnumType
- type NetInstanceId
- type NetworkInstanceData
- func (*NetworkInstanceData) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceData) GetBaseName() string
- func (x *NetworkInstanceData) GetInstType() NetworkInstanceData_NetInstType
- func (x *NetworkInstanceData) GetLoopbackAddr() *IpAddrPrefLenPb
- func (x *NetworkInstanceData) GetNetInstId() uint32
- func (x *NetworkInstanceData) GetOperIsUp() bool
- func (x *NetworkInstanceData) GetRouterId() string
- func (*NetworkInstanceData) ProtoMessage()
- func (x *NetworkInstanceData) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceData) Reset()
- func (x *NetworkInstanceData) String() string
- type NetworkInstanceData_NetInstType
- func (NetworkInstanceData_NetInstType) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkInstanceData_NetInstType) Enum() *NetworkInstanceData_NetInstType
- func (NetworkInstanceData_NetInstType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkInstanceData_NetInstType) Number() protoreflect.EnumNumber
- func (x NetworkInstanceData_NetInstType) String() string
- func (NetworkInstanceData_NetInstType) Type() protoreflect.EnumType
- type NetworkInstanceKey
- func (*NetworkInstanceKey) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceKey) GetInstName() string
- func (*NetworkInstanceKey) ProtoMessage()
- func (x *NetworkInstanceKey) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceKey) Reset()
- func (x *NetworkInstanceKey) String() string
- type NetworkInstanceNotification
- func (*NetworkInstanceNotification) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceNotification) GetData() *NetworkInstanceData
- func (x *NetworkInstanceNotification) GetKey() *NetworkInstanceKey
- func (x *NetworkInstanceNotification) GetOp() SdkMgrOperation
- func (*NetworkInstanceNotification) ProtoMessage()
- func (x *NetworkInstanceNotification) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceNotification) Reset()
- func (x *NetworkInstanceNotification) String() string
- type NetworkInstanceSubscriptionRequest
- func (*NetworkInstanceSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (*NetworkInstanceSubscriptionRequest) ProtoMessage()
- func (x *NetworkInstanceSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceSubscriptionRequest) Reset()
- func (x *NetworkInstanceSubscriptionRequest) String() string
- type NextHop
- func (*NextHop) Descriptor() ([]byte, []int)deprecated
- func (x *NextHop) GetIpNexthop() *IpAddressPb
- func (x *NextHop) GetMplsNexthop() *MplsNextHop
- func (m *NextHop) GetNexthop() isNextHop_Nexthop
- func (x *NextHop) GetResolveTo() NextHop_ResolveToType
- func (x *NextHop) GetType() NextHop_ResolutionType
- func (*NextHop) ProtoMessage()
- func (x *NextHop) ProtoReflect() protoreflect.Message
- func (x *NextHop) Reset()
- func (x *NextHop) String() string
- type NextHopGroup
- type NextHopGroupDeleteRequest
- func (*NextHopGroupDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupDeleteRequest) GetGroupKey() []*NextHopGroupKey
- func (*NextHopGroupDeleteRequest) ProtoMessage()
- func (x *NextHopGroupDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupDeleteRequest) Reset()
- func (x *NextHopGroupDeleteRequest) String() string
- type NextHopGroupDeleteResponse
- func (*NextHopGroupDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupDeleteResponse) GetErrorStr() string
- func (x *NextHopGroupDeleteResponse) GetStatus() SdkMgrStatus
- func (*NextHopGroupDeleteResponse) ProtoMessage()
- func (x *NextHopGroupDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupDeleteResponse) Reset()
- func (x *NextHopGroupDeleteResponse) String() string
- type NextHopGroupInfo
- func (*NextHopGroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupInfo) GetData() *NextHopGroup
- func (x *NextHopGroupInfo) GetKey() *NextHopGroupKey
- func (*NextHopGroupInfo) ProtoMessage()
- func (x *NextHopGroupInfo) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupInfo) Reset()
- func (x *NextHopGroupInfo) String() string
- type NextHopGroupKey
- func (*NextHopGroupKey) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupKey) GetName() string
- func (x *NextHopGroupKey) GetNetworkInstanceName() string
- func (*NextHopGroupKey) ProtoMessage()
- func (x *NextHopGroupKey) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupKey) Reset()
- func (x *NextHopGroupKey) String() string
- type NextHopGroupRequest
- func (*NextHopGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupRequest) GetGroupInfo() []*NextHopGroupInfo
- func (*NextHopGroupRequest) ProtoMessage()
- func (x *NextHopGroupRequest) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupRequest) Reset()
- func (x *NextHopGroupRequest) String() string
- type NextHopGroupResponse
- func (*NextHopGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopGroupResponse) GetErrorStr() string
- func (x *NextHopGroupResponse) GetStatus() SdkMgrStatus
- func (*NextHopGroupResponse) ProtoMessage()
- func (x *NextHopGroupResponse) ProtoReflect() protoreflect.Message
- func (x *NextHopGroupResponse) Reset()
- func (x *NextHopGroupResponse) String() string
- type NextHop_IpNexthop
- type NextHop_MplsNexthop
- type NextHop_ResolutionType
- func (NextHop_ResolutionType) Descriptor() protoreflect.EnumDescriptor
- func (x NextHop_ResolutionType) Enum() *NextHop_ResolutionType
- func (NextHop_ResolutionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NextHop_ResolutionType) Number() protoreflect.EnumNumber
- func (x NextHop_ResolutionType) String() string
- func (NextHop_ResolutionType) Type() protoreflect.EnumType
- type NextHop_ResolveToType
- func (NextHop_ResolveToType) Descriptor() protoreflect.EnumDescriptor
- func (x NextHop_ResolveToType) Enum() *NextHop_ResolveToType
- func (NextHop_ResolveToType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NextHop_ResolveToType) Number() protoreflect.EnumNumber
- func (x NextHop_ResolveToType) String() string
- func (NextHop_ResolveToType) Type() protoreflect.EnumType
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetAppid() *AppIdentNotification
- func (x *Notification) GetBfdSession() *BfdSessionNotification
- func (x *Notification) GetConfig() *ConfigNotification
- func (x *Notification) GetIntf() *InterfaceNotification
- func (x *Notification) GetLldpNeighbor() *LldpNeighborNotification
- func (x *Notification) GetNwInst() *NetworkInstanceNotification
- func (x *Notification) GetRoute() *IpRouteNotification
- func (x *Notification) GetSubId() uint64
- func (m *Notification) GetSubscriptionTypes() isNotification_SubscriptionTypes
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationQueryRequest
- func (*NotificationQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationQueryRequest) GetStreamId() uint64
- func (*NotificationQueryRequest) ProtoMessage()
- func (x *NotificationQueryRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationQueryRequest) Reset()
- func (x *NotificationQueryRequest) String() string
- type NotificationQueryResponse
- func (*NotificationQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationQueryResponse) GetStatus() SdkMgrStatus
- func (x *NotificationQueryResponse) GetSubscriptions() []*NotificationQuerySubscription
- func (*NotificationQueryResponse) ProtoMessage()
- func (x *NotificationQueryResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationQueryResponse) Reset()
- func (x *NotificationQueryResponse) String() string
- type NotificationQuerySubscription
- func (*NotificationQuerySubscription) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationQuerySubscription) GetDescription() string
- func (x *NotificationQuerySubscription) GetSubId() uint64
- func (*NotificationQuerySubscription) ProtoMessage()
- func (x *NotificationQuerySubscription) ProtoReflect() protoreflect.Message
- func (x *NotificationQuerySubscription) Reset()
- func (x *NotificationQuerySubscription) String() string
- type NotificationRegisterRequest
- func (*NotificationRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationRegisterRequest) GetAppid() *AppIdentSubscriptionRequest
- func (x *NotificationRegisterRequest) GetBfdSession() *BfdSessionSubscriptionRequest
- func (x *NotificationRegisterRequest) GetConfig() *ConfigSubscriptionRequest
- func (x *NotificationRegisterRequest) GetIntf() *InterfaceSubscriptionRequest
- func (x *NotificationRegisterRequest) GetLldpNeighbor() *LldpNeighborSubscriptionRequest
- func (x *NotificationRegisterRequest) GetNwInst() *NetworkInstanceSubscriptionRequest
- func (x *NotificationRegisterRequest) GetOp() NotificationRegisterRequest_Operation
- func (x *NotificationRegisterRequest) GetRoute() *IpRouteSubscriptionRequest
- func (x *NotificationRegisterRequest) GetStreamId() uint64
- func (x *NotificationRegisterRequest) GetSubId() uint64
- func (m *NotificationRegisterRequest) GetSubscriptionTypes() isNotificationRegisterRequest_SubscriptionTypes
- func (*NotificationRegisterRequest) ProtoMessage()
- func (x *NotificationRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationRegisterRequest) Reset()
- func (x *NotificationRegisterRequest) String() string
- type NotificationRegisterRequest_Appid
- type NotificationRegisterRequest_BfdSession
- type NotificationRegisterRequest_Config
- type NotificationRegisterRequest_Intf
- type NotificationRegisterRequest_LldpNeighbor
- type NotificationRegisterRequest_NwInst
- type NotificationRegisterRequest_Operation
- func (NotificationRegisterRequest_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationRegisterRequest_Operation) Enum() *NotificationRegisterRequest_Operation
- func (NotificationRegisterRequest_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationRegisterRequest_Operation) Number() protoreflect.EnumNumber
- func (x NotificationRegisterRequest_Operation) String() string
- func (NotificationRegisterRequest_Operation) Type() protoreflect.EnumType
- type NotificationRegisterRequest_Route
- type NotificationRegisterResponse
- func (*NotificationRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationRegisterResponse) GetStatus() SdkMgrStatus
- func (x *NotificationRegisterResponse) GetStreamId() uint64
- func (x *NotificationRegisterResponse) GetSubId() uint64
- func (*NotificationRegisterResponse) ProtoMessage()
- func (x *NotificationRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationRegisterResponse) Reset()
- func (x *NotificationRegisterResponse) String() string
- type NotificationStreamRequest
- func (*NotificationStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationStreamRequest) GetStreamId() uint64
- func (*NotificationStreamRequest) ProtoMessage()
- func (x *NotificationStreamRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationStreamRequest) Reset()
- func (x *NotificationStreamRequest) String() string
- type NotificationStreamResponse
- func (*NotificationStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationStreamResponse) GetNotification() []*Notification
- func (*NotificationStreamResponse) ProtoMessage()
- func (x *NotificationStreamResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationStreamResponse) Reset()
- func (x *NotificationStreamResponse) String() string
- type Notification_Appid
- type Notification_BfdSession
- type Notification_Config
- type Notification_Intf
- type Notification_LldpNeighbor
- type Notification_NwInst
- type Notification_Route
- type PortIdPb
- type RouteAddRequest
- type RouteAddResponse
- func (*RouteAddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RouteAddResponse) GetErrorStr() string
- func (x *RouteAddResponse) GetStatus() SdkMgrStatus
- func (*RouteAddResponse) ProtoMessage()
- func (x *RouteAddResponse) ProtoReflect() protoreflect.Message
- func (x *RouteAddResponse) Reset()
- func (x *RouteAddResponse) String() string
- type RouteDeleteRequest
- func (*RouteDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RouteDeleteRequest) GetRoutes() []*RouteKeyPb
- func (*RouteDeleteRequest) ProtoMessage()
- func (x *RouteDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *RouteDeleteRequest) Reset()
- func (x *RouteDeleteRequest) String() string
- type RouteDeleteResponse
- func (*RouteDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RouteDeleteResponse) GetErrorStr() string
- func (x *RouteDeleteResponse) GetStatus() SdkMgrStatus
- func (*RouteDeleteResponse) ProtoMessage()
- func (x *RouteDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *RouteDeleteResponse) Reset()
- func (x *RouteDeleteResponse) String() string
- type RouteInfo
- type RouteKeyPb
- func (*RouteKeyPb) Descriptor() ([]byte, []int)deprecated
- func (x *RouteKeyPb) GetIpPrefix() *IpAddrPrefLenPb
- func (x *RouteKeyPb) GetNetInstName() string
- func (*RouteKeyPb) ProtoMessage()
- func (x *RouteKeyPb) ProtoReflect() protoreflect.Message
- func (x *RouteKeyPb) Reset()
- func (x *RouteKeyPb) String() string
- type RoutePb
- func (*RoutePb) Descriptor() ([]byte, []int)deprecated
- func (x *RoutePb) GetMetric() uint32
- func (x *RoutePb) GetNexthop() []*NextHop
- func (x *RoutePb) GetNexthopGroupName() string
- func (x *RoutePb) GetOwnerId() uint32
- func (x *RoutePb) GetPreference() uint32
- func (*RoutePb) ProtoMessage()
- func (x *RoutePb) ProtoReflect() protoreflect.Message
- func (x *RoutePb) Reset()
- func (x *RoutePb) String() string
- type SdkMgrMplsRouteServiceClient
- type SdkMgrMplsRouteServiceServer
- type SdkMgrNextHopGroupServiceClient
- type SdkMgrNextHopGroupServiceServer
- type SdkMgrOperation
- func (SdkMgrOperation) Descriptor() protoreflect.EnumDescriptor
- func (x SdkMgrOperation) Enum() *SdkMgrOperation
- func (SdkMgrOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SdkMgrOperation) Number() protoreflect.EnumNumber
- func (x SdkMgrOperation) String() string
- func (SdkMgrOperation) Type() protoreflect.EnumType
- type SdkMgrRouteServiceClient
- type SdkMgrRouteServiceServer
- type SdkMgrServiceClient
- type SdkMgrServiceServer
- type SdkMgrStatus
- func (SdkMgrStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SdkMgrStatus) Enum() *SdkMgrStatus
- func (SdkMgrStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SdkMgrStatus) Number() protoreflect.EnumNumber
- func (x SdkMgrStatus) String() string
- func (SdkMgrStatus) Type() protoreflect.EnumType
- type SdkMgrTelemetryServiceClient
- type SdkMgrTelemetryServiceServer
- type SdkNotificationServiceClient
- type SdkNotificationServiceServer
- type SdkNotificationService_NotificationStreamClient
- type SdkNotificationService_NotificationStreamServer
- type SyncRequest
- type SyncResponse
- func (*SyncResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncResponse) GetErrorStr() string
- func (x *SyncResponse) GetStatus() SdkMgrStatus
- func (*SyncResponse) ProtoMessage()
- func (x *SyncResponse) ProtoReflect() protoreflect.Message
- func (x *SyncResponse) Reset()
- func (x *SyncResponse) String() string
- type TelemetryData
- type TelemetryDeleteRequest
- func (*TelemetryDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryDeleteRequest) GetKey() []*TelemetryKey
- func (*TelemetryDeleteRequest) ProtoMessage()
- func (x *TelemetryDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TelemetryDeleteRequest) Reset()
- func (x *TelemetryDeleteRequest) String() string
- type TelemetryDeleteResponse
- func (*TelemetryDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryDeleteResponse) GetErrorStr() string
- func (x *TelemetryDeleteResponse) GetStatus() SdkMgrStatus
- func (*TelemetryDeleteResponse) ProtoMessage()
- func (x *TelemetryDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *TelemetryDeleteResponse) Reset()
- func (x *TelemetryDeleteResponse) String() string
- type TelemetryInfo
- func (*TelemetryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryInfo) GetData() *TelemetryData
- func (x *TelemetryInfo) GetKey() *TelemetryKey
- func (*TelemetryInfo) ProtoMessage()
- func (x *TelemetryInfo) ProtoReflect() protoreflect.Message
- func (x *TelemetryInfo) Reset()
- func (x *TelemetryInfo) String() string
- type TelemetryKey
- type TelemetryUpdateRequest
- func (*TelemetryUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryUpdateRequest) GetState() []*TelemetryInfo
- func (*TelemetryUpdateRequest) ProtoMessage()
- func (x *TelemetryUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TelemetryUpdateRequest) Reset()
- func (x *TelemetryUpdateRequest) String() string
- type TelemetryUpdateResponse
- func (*TelemetryUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryUpdateResponse) GetErrorStr() string
- func (x *TelemetryUpdateResponse) GetStatus() SdkMgrStatus
- func (*TelemetryUpdateResponse) ProtoMessage()
- func (x *TelemetryUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *TelemetryUpdateResponse) Reset()
- func (x *TelemetryUpdateResponse) String() string
- type UnimplementedSdkMgrMplsRouteServiceServer
- func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteAddOrUpdate(context.Context, *MplsRouteAddRequest) (*MplsRouteAddResponse, error)
- func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteDelete(context.Context, *MplsRouteDeleteRequest) (*MplsRouteDeleteResponse, error)
- func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
- func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnimplementedSdkMgrNextHopGroupServiceServer
- func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupAddOrUpdate(context.Context, *NextHopGroupRequest) (*NextHopGroupResponse, error)
- func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupDelete(context.Context, *NextHopGroupDeleteRequest) (*NextHopGroupDeleteResponse, error)
- func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
- func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnimplementedSdkMgrRouteServiceServer
- func (*UnimplementedSdkMgrRouteServiceServer) RouteAddOrUpdate(context.Context, *RouteAddRequest) (*RouteAddResponse, error)
- func (*UnimplementedSdkMgrRouteServiceServer) RouteDelete(context.Context, *RouteDeleteRequest) (*RouteDeleteResponse, error)
- func (*UnimplementedSdkMgrRouteServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
- func (*UnimplementedSdkMgrRouteServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnimplementedSdkMgrServiceServer
- func (*UnimplementedSdkMgrServiceServer) AgentRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
- func (*UnimplementedSdkMgrServiceServer) AgentUnRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
- func (*UnimplementedSdkMgrServiceServer) GetAppId(context.Context, *AppIdRequest) (*AppIdResponse, error)
- func (*UnimplementedSdkMgrServiceServer) KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
- func (*UnimplementedSdkMgrServiceServer) NotificationQuery(context.Context, *NotificationQueryRequest) (*NotificationQueryResponse, error)
- func (*UnimplementedSdkMgrServiceServer) NotificationRegister(context.Context, *NotificationRegisterRequest) (*NotificationRegisterResponse, error)
- type UnimplementedSdkMgrTelemetryServiceServer
- type UnimplementedSdkNotificationServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( BfdmgrGeneralSessionKeyPb_BfdmgrSessionType_name = map[int32]string{ 0: "SESSION_TYPE_UNKNOWN", 1: "SESSION_TYPE_P2P", } BfdmgrGeneralSessionKeyPb_BfdmgrSessionType_value = map[string]int32{ "SESSION_TYPE_UNKNOWN": 0, "SESSION_TYPE_P2P": 1, } )
Enum value maps for BfdmgrGeneralSessionKeyPb_BfdmgrSessionType.
var ( BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType_name = map[int32]string{ 0: "SESSION_SUB_TYPE_UNKNOWN", 1: "SESSION_SUB_TYPE_SINGLE_HOP", 2: "SESSION_SUB_TYPE_MULTI_HOP", } BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType_value = map[string]int32{ "SESSION_SUB_TYPE_UNKNOWN": 0, "SESSION_SUB_TYPE_SINGLE_HOP": 1, "SESSION_SUB_TYPE_MULTI_HOP": 2, } )
Enum value maps for BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType.
var ( BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus_name = map[int32]string{ 0: "INVALID", 1: "ADMIN_DOWN", 2: "DOWN", 3: "INIT", 4: "UP", } BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus_value = map[string]int32{ "INVALID": 0, "ADMIN_DOWN": 1, "DOWN": 2, "INIT": 3, "UP": 4, } )
Enum value maps for BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus.
var ( LldpNeighborKeyPb_ChassisIdType_name = map[int32]string{ 0: "RESERVED", 1: "CHASSIS_COMPONENT", 2: "INTERFACE_ALIAS", 3: "PORT_COMPONENT", 4: "MAC_ADDRESS", 5: "NETWORK_ADDRESS", 6: "INTERFACE_NAME", 7: "LOCALLY_ASSIGNED", } LldpNeighborKeyPb_ChassisIdType_value = map[string]int32{ "RESERVED": 0, "CHASSIS_COMPONENT": 1, "INTERFACE_ALIAS": 2, "PORT_COMPONENT": 3, "MAC_ADDRESS": 4, "NETWORK_ADDRESS": 5, "INTERFACE_NAME": 6, "LOCALLY_ASSIGNED": 7, } )
Enum value maps for LldpNeighborKeyPb_ChassisIdType.
var ( LldpNeighborDataPb_PortSubType_name = map[int32]string{ 0: "RESERVED", 1: "INTERFACE_ALIAS", 2: "PORT_COMPONENT", 3: "MAC_ADDRESS", 4: "NETWORK_ADDRESS", 5: "INTERFACE_NAME", 6: "AGENT_CIRCUIT_ID", 7: "LOCALLY_ASSIGNED", } LldpNeighborDataPb_PortSubType_value = map[string]int32{ "RESERVED": 0, "INTERFACE_ALIAS": 1, "PORT_COMPONENT": 2, "MAC_ADDRESS": 3, "NETWORK_ADDRESS": 4, "INTERFACE_NAME": 5, "AGENT_CIRCUIT_ID": 6, "LOCALLY_ASSIGNED": 7, } )
Enum value maps for LldpNeighborDataPb_PortSubType.
var ( MplsRoutePb_Operation_name = map[int32]string{ 0: "INVALID_OP", 1: "POP", 2: "SWAP", } MplsRoutePb_Operation_value = map[string]int32{ "INVALID_OP": 0, "POP": 1, "SWAP": 2, } )
Enum value maps for MplsRoutePb_Operation.
var ( NetworkInstanceData_NetInstType_name = map[int32]string{ 0: "DEFAULT", 1: "L3VRF", } NetworkInstanceData_NetInstType_value = map[string]int32{ "DEFAULT": 0, "L3VRF": 1, } )
Enum value maps for NetworkInstanceData_NetInstType.
var ( NextHop_ResolveToType_name = map[int32]string{ 0: "LOCAL", 1: "DIRECT", 2: "INDIRECT", } NextHop_ResolveToType_value = map[string]int32{ "LOCAL": 0, "DIRECT": 1, "INDIRECT": 2, } )
Enum value maps for NextHop_ResolveToType.
var ( NextHop_ResolutionType_name = map[int32]string{ 0: "INVALID", 1: "REGULAR", 2: "MPLS", } NextHop_ResolutionType_value = map[string]int32{ "INVALID": 0, "REGULAR": 1, "MPLS": 2, } )
Enum value maps for NextHop_ResolutionType.
var ( IfMgrIfType_name = map[int32]string{ 0: "ETHERNET", 1: "LOOPBACK", 2: "MANAGEMENT", 3: "AGGREGATE", 4: "IRB", 5: "MAX", } IfMgrIfType_value = map[string]int32{ "ETHERNET": 0, "LOOPBACK": 1, "MANAGEMENT": 2, "AGGREGATE": 3, "IRB": 4, "MAX": 5, } )
Enum value maps for IfMgrIfType.
var ( IpAddressState_name = map[int32]string{ 0: "IPADDR_STATE_UNKNOWN", 1: "IPADDR_STATE_TENTATIVE", 2: "IPADDR_STATE_DUPLICATED", 3: "IPADDR_STATE_INACCESSIBLE", 4: "IPADDR_STATE_DEPRECATED", 5: "IPADDR_STATE_PREFERRED", } IpAddressState_value = map[string]int32{ "IPADDR_STATE_UNKNOWN": 0, "IPADDR_STATE_TENTATIVE": 1, "IPADDR_STATE_DUPLICATED": 2, "IPADDR_STATE_INACCESSIBLE": 3, "IPADDR_STATE_DEPRECATED": 4, "IPADDR_STATE_PREFERRED": 5, } )
Enum value maps for IpAddressState.
var ( IfOperStateType_name = map[int32]string{ 0: "IF_OPER_STATE_UP", 1: "IF_OPER_STATE_DOWN", 2: "IF_OPER_STATE_TESTING", 3: "IF_OPER_STATE_UNKNOWN", 4: "IF_OPER_STATE_DORMANT", 5: "IF_OPER_STATE_NOT_PRESENT", 6: "IF_OPER_STATE_LOWER_LAYER_DOWN", } IfOperStateType_value = map[string]int32{ "IF_OPER_STATE_UP": 0, "IF_OPER_STATE_DOWN": 1, "IF_OPER_STATE_TESTING": 2, "IF_OPER_STATE_UNKNOWN": 3, "IF_OPER_STATE_DORMANT": 4, "IF_OPER_STATE_NOT_PRESENT": 5, "IF_OPER_STATE_LOWER_LAYER_DOWN": 6, } )
Enum value maps for IfOperStateType.
var ( IfOperDownReason_name = map[int32]string{ 0: "IF_OPER_DOWN_NONE", 1: "IF_OPER_DOWN_PORT_ADMIN_DISABLED", 2: "IF_OPER_DOWN_MDA_ADMIN_DISABLED", 3: "IF_OPER_DOWN_TRANS_ADMIN_DISABLED", 4: "IF_OPER_DOWN_MDA_NOT_PRESENT", 5: "IF_OPER_DOWN_TRANS_NOT_PRESENT", 6: "IF_OPER_DOWN_PHY_INIT", 7: "IF_OPER_DOWN_LOOPBACK", 8: "IF_OPER_DOWN_LOWER_LAYER_DOWN", 9: "IF_OPER_DOWN_MTU_RESOURCES", 10: "IF_OPER_DOWN_UNSUPPORTED_SPEED", 11: "IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC", 12: "IF_OPER_DOWN_OTHER", 13: "IF_OPER_DOWN_PORT_NOT_PRESENT", 14: "IF_OPER_DOWN_FABRIC_AVAILABILITY", } IfOperDownReason_value = map[string]int32{ "IF_OPER_DOWN_NONE": 0, "IF_OPER_DOWN_PORT_ADMIN_DISABLED": 1, "IF_OPER_DOWN_MDA_ADMIN_DISABLED": 2, "IF_OPER_DOWN_TRANS_ADMIN_DISABLED": 3, "IF_OPER_DOWN_MDA_NOT_PRESENT": 4, "IF_OPER_DOWN_TRANS_NOT_PRESENT": 5, "IF_OPER_DOWN_PHY_INIT": 6, "IF_OPER_DOWN_LOOPBACK": 7, "IF_OPER_DOWN_LOWER_LAYER_DOWN": 8, "IF_OPER_DOWN_MTU_RESOURCES": 9, "IF_OPER_DOWN_UNSUPPORTED_SPEED": 10, "IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC": 11, "IF_OPER_DOWN_OTHER": 12, "IF_OPER_DOWN_PORT_NOT_PRESENT": 13, "IF_OPER_DOWN_FABRIC_AVAILABILITY": 14, } )
Enum value maps for IfOperDownReason.
var ( IfEthernetPortSpeedType_name = map[int32]string{ 0: "IF_ETH_PORT_SPEED_UNSET", 1: "IF_ETH_PORT_SPEED_10M", 2: "IF_ETH_PORT_SPEED_100M", 3: "IF_ETH_PORT_SPEED_1G", 4: "IF_ETH_PORT_SPEED_10G", 5: "IF_ETH_PORT_SPEED_25G", 6: "IF_ETH_PORT_SPEED_40G", 7: "IF_ETH_PORT_SPEED_50G", 8: "IF_ETH_PORT_SPEED_100G", 9: "IF_ETH_PORT_SPEED_200G", 10: "IF_ETH_PORT_SPEED_400G", 11: "IF_ETH_PORT_SPEED_1T", } IfEthernetPortSpeedType_value = map[string]int32{ "IF_ETH_PORT_SPEED_UNSET": 0, "IF_ETH_PORT_SPEED_10M": 1, "IF_ETH_PORT_SPEED_100M": 2, "IF_ETH_PORT_SPEED_1G": 3, "IF_ETH_PORT_SPEED_10G": 4, "IF_ETH_PORT_SPEED_25G": 5, "IF_ETH_PORT_SPEED_40G": 6, "IF_ETH_PORT_SPEED_50G": 7, "IF_ETH_PORT_SPEED_100G": 8, "IF_ETH_PORT_SPEED_200G": 9, "IF_ETH_PORT_SPEED_400G": 10, "IF_ETH_PORT_SPEED_1T": 11, } )
Enum value maps for IfEthernetPortSpeedType.
var ( IfTransceiverFecType_name = map[int32]string{ 0: "IF_TRANS_FEC_UNSET", 1: "IF_TRANS_FEC_DISABLED", 2: "IF_TRANS_FEC_RS528", 3: "IF_TRANS_FEC_RS544", } IfTransceiverFecType_value = map[string]int32{ "IF_TRANS_FEC_UNSET": 0, "IF_TRANS_FEC_DISABLED": 1, "IF_TRANS_FEC_RS528": 2, "IF_TRANS_FEC_RS544": 3, } )
Enum value maps for IfTransceiverFecType.
var ( SdkMgrOperation_name = map[int32]string{ 0: "Create", 1: "Change", 2: "Delete", } SdkMgrOperation_value = map[string]int32{ "Create": 0, "Change": 1, "Delete": 2, } )
Enum value maps for SdkMgrOperation.
var ( SdkMgrStatus_name = map[int32]string{ 0: "kSdkMgrSuccess", 1: "kSdkMgrFailed", } SdkMgrStatus_value = map[string]int32{ "kSdkMgrSuccess": 0, "kSdkMgrFailed": 1, } )
Enum value maps for SdkMgrStatus.
var ( NotificationRegisterRequest_Operation_name = map[int32]string{ 0: "Create", 1: "Delete", 2: "AddSubscription", 3: "DeleteSubscription", } NotificationRegisterRequest_Operation_value = map[string]int32{ "Create": 0, "Delete": 1, "AddSubscription": 2, "DeleteSubscription": 3, } )
Enum value maps for NotificationRegisterRequest_Operation.
var File_appid_service_proto protoreflect.FileDescriptor
var File_bfd_service_proto protoreflect.FileDescriptor
var File_config_service_proto protoreflect.FileDescriptor
var File_interface_service_proto protoreflect.FileDescriptor
var File_lldp_service_proto protoreflect.FileDescriptor
var File_mpls_service_proto protoreflect.FileDescriptor
var File_networkinstance_service_proto protoreflect.FileDescriptor
var File_nexthop_group_service_proto protoreflect.FileDescriptor
var File_route_service_proto protoreflect.FileDescriptor
var File_sdk_common_proto protoreflect.FileDescriptor
var File_sdk_service_proto protoreflect.FileDescriptor
var File_telemetry_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSdkMgrMplsRouteServiceServer ¶
func RegisterSdkMgrMplsRouteServiceServer(s *grpc.Server, srv SdkMgrMplsRouteServiceServer)
func RegisterSdkMgrNextHopGroupServiceServer ¶
func RegisterSdkMgrNextHopGroupServiceServer(s *grpc.Server, srv SdkMgrNextHopGroupServiceServer)
func RegisterSdkMgrRouteServiceServer ¶
func RegisterSdkMgrRouteServiceServer(s *grpc.Server, srv SdkMgrRouteServiceServer)
func RegisterSdkMgrServiceServer ¶
func RegisterSdkMgrServiceServer(s *grpc.Server, srv SdkMgrServiceServer)
func RegisterSdkMgrTelemetryServiceServer ¶
func RegisterSdkMgrTelemetryServiceServer(s *grpc.Server, srv SdkMgrTelemetryServiceServer)
func RegisterSdkNotificationServiceServer ¶
func RegisterSdkNotificationServiceServer(s *grpc.Server, srv SdkNotificationServiceServer)
Types ¶
type AgentRegistrationRequest ¶
type AgentRegistrationRequest struct { JsPath []string `protobuf:"bytes,1,rep,name=js_path,json=jsPath,proto3" json:"js_path,omitempty"` AgentLiveliness uint32 `protobuf:"varint,2,opt,name=agent_liveliness,json=agentLiveliness,proto3" json:"agent_liveliness,omitempty"` // contains filtered or unexported fields }
* Represents registration request message used in agent register and unregister.
func (*AgentRegistrationRequest) Descriptor
deprecated
func (*AgentRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentRegistrationRequest.ProtoReflect.Descriptor instead.
func (*AgentRegistrationRequest) GetAgentLiveliness ¶
func (x *AgentRegistrationRequest) GetAgentLiveliness() uint32
func (*AgentRegistrationRequest) GetJsPath ¶
func (x *AgentRegistrationRequest) GetJsPath() []string
func (*AgentRegistrationRequest) ProtoMessage ¶
func (*AgentRegistrationRequest) ProtoMessage()
func (*AgentRegistrationRequest) ProtoReflect ¶
func (x *AgentRegistrationRequest) ProtoReflect() protoreflect.Message
func (*AgentRegistrationRequest) Reset ¶
func (x *AgentRegistrationRequest) Reset()
func (*AgentRegistrationRequest) String ¶
func (x *AgentRegistrationRequest) String() string
type AgentRegistrationResponse ¶
type AgentRegistrationResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the register; for example: kOk, kFailed ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error text AppId uint32 `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Application ID assigned by SDK manager. // contains filtered or unexported fields }
* Represents registration response in reply to registration request.
func (*AgentRegistrationResponse) Descriptor
deprecated
func (*AgentRegistrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentRegistrationResponse.ProtoReflect.Descriptor instead.
func (*AgentRegistrationResponse) GetAppId ¶
func (x *AgentRegistrationResponse) GetAppId() uint32
func (*AgentRegistrationResponse) GetErrorStr ¶
func (x *AgentRegistrationResponse) GetErrorStr() string
func (*AgentRegistrationResponse) GetStatus ¶
func (x *AgentRegistrationResponse) GetStatus() SdkMgrStatus
func (*AgentRegistrationResponse) ProtoMessage ¶
func (*AgentRegistrationResponse) ProtoMessage()
func (*AgentRegistrationResponse) ProtoReflect ¶
func (x *AgentRegistrationResponse) ProtoReflect() protoreflect.Message
func (*AgentRegistrationResponse) Reset ¶
func (x *AgentRegistrationResponse) Reset()
func (*AgentRegistrationResponse) String ¶
func (x *AgentRegistrationResponse) String() string
type AgentReply ¶
type AgentReply struct {
// contains filtered or unexported fields
}
* Empty message from agent.
func (*AgentReply) Descriptor
deprecated
func (*AgentReply) Descriptor() ([]byte, []int)
Deprecated: Use AgentReply.ProtoReflect.Descriptor instead.
func (*AgentReply) ProtoMessage ¶
func (*AgentReply) ProtoMessage()
func (*AgentReply) ProtoReflect ¶
func (x *AgentReply) ProtoReflect() protoreflect.Message
func (*AgentReply) Reset ¶
func (x *AgentReply) Reset()
func (*AgentReply) String ¶
func (x *AgentReply) String() string
type AppIdRequest ¶
type AppIdRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Application name // contains filtered or unexported fields }
* Represents application identifier request from agent. All applications are assigned an identifier by IDB.
func (*AppIdRequest) Descriptor
deprecated
func (*AppIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppIdRequest.ProtoReflect.Descriptor instead.
func (*AppIdRequest) GetName ¶
func (x *AppIdRequest) GetName() string
func (*AppIdRequest) ProtoMessage ¶
func (*AppIdRequest) ProtoMessage()
func (*AppIdRequest) ProtoReflect ¶
func (x *AppIdRequest) ProtoReflect() protoreflect.Message
func (*AppIdRequest) Reset ¶
func (x *AppIdRequest) Reset()
func (*AppIdRequest) String ¶
func (x *AppIdRequest) String() string
type AppIdResponse ¶
type AppIdResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the call; for example, kOk, kFailed Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Identifier for the given application name // contains filtered or unexported fields }
* Represents application identifier response to agent.
func (*AppIdResponse) Descriptor
deprecated
func (*AppIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppIdResponse.ProtoReflect.Descriptor instead.
func (*AppIdResponse) GetId ¶
func (x *AppIdResponse) GetId() uint32
func (*AppIdResponse) GetStatus ¶
func (x *AppIdResponse) GetStatus() SdkMgrStatus
func (*AppIdResponse) ProtoMessage ¶
func (*AppIdResponse) ProtoMessage()
func (*AppIdResponse) ProtoReflect ¶
func (x *AppIdResponse) ProtoReflect() protoreflect.Message
func (*AppIdResponse) Reset ¶
func (x *AppIdResponse) Reset()
func (*AppIdResponse) String ¶
func (x *AppIdResponse) String() string
type AppIdentData ¶
type AppIdentData struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Application name Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` // Author name IsConnected bool `protobuf:"varint,3,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` // Connected to IDB or not Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Version string // contains filtered or unexported fields }
* Represents appid data.
func (*AppIdentData) Descriptor
deprecated
func (*AppIdentData) Descriptor() ([]byte, []int)
Deprecated: Use AppIdentData.ProtoReflect.Descriptor instead.
func (*AppIdentData) GetAuthor ¶
func (x *AppIdentData) GetAuthor() string
func (*AppIdentData) GetIsConnected ¶
func (x *AppIdentData) GetIsConnected() bool
func (*AppIdentData) GetName ¶
func (x *AppIdentData) GetName() string
func (*AppIdentData) GetVersion ¶
func (x *AppIdentData) GetVersion() string
func (*AppIdentData) ProtoMessage ¶
func (*AppIdentData) ProtoMessage()
func (*AppIdentData) ProtoReflect ¶
func (x *AppIdentData) ProtoReflect() protoreflect.Message
func (*AppIdentData) Reset ¶
func (x *AppIdentData) Reset()
func (*AppIdentData) String ¶
func (x *AppIdentData) String() string
type AppIdentKey ¶
type AppIdentKey struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Application id // contains filtered or unexported fields }
*
Represents appid key.
func (*AppIdentKey) Descriptor
deprecated
func (*AppIdentKey) Descriptor() ([]byte, []int)
Deprecated: Use AppIdentKey.ProtoReflect.Descriptor instead.
func (*AppIdentKey) GetId ¶
func (x *AppIdentKey) GetId() uint32
func (*AppIdentKey) ProtoMessage ¶
func (*AppIdentKey) ProtoMessage()
func (*AppIdentKey) ProtoReflect ¶
func (x *AppIdentKey) ProtoReflect() protoreflect.Message
func (*AppIdentKey) Reset ¶
func (x *AppIdentKey) Reset()
func (*AppIdentKey) String ¶
func (x *AppIdentKey) String() string
type AppIdentNotification ¶
type AppIdentNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update Key *AppIdentKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // AppIdent key Data *AppIdentData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // AppIdent data // contains filtered or unexported fields }
* Represents appid notification.
func (*AppIdentNotification) Descriptor
deprecated
func (*AppIdentNotification) Descriptor() ([]byte, []int)
Deprecated: Use AppIdentNotification.ProtoReflect.Descriptor instead.
func (*AppIdentNotification) GetData ¶
func (x *AppIdentNotification) GetData() *AppIdentData
func (*AppIdentNotification) GetKey ¶
func (x *AppIdentNotification) GetKey() *AppIdentKey
func (*AppIdentNotification) GetOp ¶
func (x *AppIdentNotification) GetOp() SdkMgrOperation
func (*AppIdentNotification) ProtoMessage ¶
func (*AppIdentNotification) ProtoMessage()
func (*AppIdentNotification) ProtoReflect ¶
func (x *AppIdentNotification) ProtoReflect() protoreflect.Message
func (*AppIdentNotification) Reset ¶
func (x *AppIdentNotification) Reset()
func (*AppIdentNotification) String ¶
func (x *AppIdentNotification) String() string
type AppIdentSubscriptionRequest ¶
type AppIdentSubscriptionRequest struct { Key *AppIdentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents appid subscription request.
func (*AppIdentSubscriptionRequest) Descriptor
deprecated
func (*AppIdentSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppIdentSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*AppIdentSubscriptionRequest) GetKey ¶
func (x *AppIdentSubscriptionRequest) GetKey() *AppIdentKey
func (*AppIdentSubscriptionRequest) ProtoMessage ¶
func (*AppIdentSubscriptionRequest) ProtoMessage()
func (*AppIdentSubscriptionRequest) ProtoReflect ¶
func (x *AppIdentSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*AppIdentSubscriptionRequest) Reset ¶
func (x *AppIdentSubscriptionRequest) Reset()
func (*AppIdentSubscriptionRequest) String ¶
func (x *AppIdentSubscriptionRequest) String() string
type BfdSessionNotification ¶
type BfdSessionNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as session create, delete, or update Key *BfdmgrGeneralSessionKeyPb `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Session key Data *BfdmgrGeneralSessionDataPb `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Session data // contains filtered or unexported fields }
* Represents BFD session notification.
func (*BfdSessionNotification) Descriptor
deprecated
func (*BfdSessionNotification) Descriptor() ([]byte, []int)
Deprecated: Use BfdSessionNotification.ProtoReflect.Descriptor instead.
func (*BfdSessionNotification) GetData ¶
func (x *BfdSessionNotification) GetData() *BfdmgrGeneralSessionDataPb
func (*BfdSessionNotification) GetKey ¶
func (x *BfdSessionNotification) GetKey() *BfdmgrGeneralSessionKeyPb
func (*BfdSessionNotification) GetOp ¶
func (x *BfdSessionNotification) GetOp() SdkMgrOperation
func (*BfdSessionNotification) ProtoMessage ¶
func (*BfdSessionNotification) ProtoMessage()
func (*BfdSessionNotification) ProtoReflect ¶
func (x *BfdSessionNotification) ProtoReflect() protoreflect.Message
func (*BfdSessionNotification) Reset ¶
func (x *BfdSessionNotification) Reset()
func (*BfdSessionNotification) String ¶
func (x *BfdSessionNotification) String() string
type BfdSessionSubscriptionRequest ¶
type BfdSessionSubscriptionRequest struct { Key *BfdmgrGeneralSessionKeyPb `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents BFD session subscription request.
func (*BfdSessionSubscriptionRequest) Descriptor
deprecated
func (*BfdSessionSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BfdSessionSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*BfdSessionSubscriptionRequest) GetKey ¶
func (x *BfdSessionSubscriptionRequest) GetKey() *BfdmgrGeneralSessionKeyPb
func (*BfdSessionSubscriptionRequest) ProtoMessage ¶
func (*BfdSessionSubscriptionRequest) ProtoMessage()
func (*BfdSessionSubscriptionRequest) ProtoReflect ¶
func (x *BfdSessionSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*BfdSessionSubscriptionRequest) Reset ¶
func (x *BfdSessionSubscriptionRequest) Reset()
func (*BfdSessionSubscriptionRequest) String ¶
func (x *BfdSessionSubscriptionRequest) String() string
type BfdmgrGeneralSessionDataPb ¶
type BfdmgrGeneralSessionDataPb struct { Status BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus `` // Status of the session /* 130-byte string literal not displayed */ SubType BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType `` // Subtype of the session /* 148-byte string literal not displayed */ SrcIfId uint32 `protobuf:"varint,3,opt,name=src_if_id,json=srcIfId,proto3" json:"src_if_id,omitempty"` // Source interface ID // contains filtered or unexported fields }
* Represents BFD session data.
func (*BfdmgrGeneralSessionDataPb) Descriptor
deprecated
func (*BfdmgrGeneralSessionDataPb) Descriptor() ([]byte, []int)
Deprecated: Use BfdmgrGeneralSessionDataPb.ProtoReflect.Descriptor instead.
func (*BfdmgrGeneralSessionDataPb) GetSrcIfId ¶
func (x *BfdmgrGeneralSessionDataPb) GetSrcIfId() uint32
func (*BfdmgrGeneralSessionDataPb) GetStatus ¶
func (x *BfdmgrGeneralSessionDataPb) GetStatus() BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus
func (*BfdmgrGeneralSessionDataPb) GetSubType ¶
func (x *BfdmgrGeneralSessionDataPb) GetSubType() BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType
func (*BfdmgrGeneralSessionDataPb) ProtoMessage ¶
func (*BfdmgrGeneralSessionDataPb) ProtoMessage()
func (*BfdmgrGeneralSessionDataPb) ProtoReflect ¶
func (x *BfdmgrGeneralSessionDataPb) ProtoReflect() protoreflect.Message
func (*BfdmgrGeneralSessionDataPb) Reset ¶
func (x *BfdmgrGeneralSessionDataPb) Reset()
func (*BfdmgrGeneralSessionDataPb) String ¶
func (x *BfdmgrGeneralSessionDataPb) String() string
type BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus ¶
type BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus int32
/ Represents BFD session status.
const ( BfdmgrGeneralSessionDataPb_INVALID BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus = 0 // Session invalid BfdmgrGeneralSessionDataPb_ADMIN_DOWN BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus = 1 // Admin down BfdmgrGeneralSessionDataPb_DOWN BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus = 2 // Status down BfdmgrGeneralSessionDataPb_INIT BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus = 3 // Status initializing BfdmgrGeneralSessionDataPb_UP BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus = 4 // Status up and running )
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Descriptor ¶
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Descriptor() protoreflect.EnumDescriptor
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) EnumDescriptor
deprecated
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus.Descriptor instead.
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Number ¶
func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) Number() protoreflect.EnumNumber
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) String ¶
func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionStatus) String() string
type BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType ¶
type BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType int32
/ Represents BFD session subtype.
const ( BfdmgrGeneralSessionDataPb_SESSION_SUB_TYPE_UNKNOWN BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType = 0 // Session subtype unknown BfdmgrGeneralSessionDataPb_SESSION_SUB_TYPE_SINGLE_HOP BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType = 1 // Single-hop session BfdmgrGeneralSessionDataPb_SESSION_SUB_TYPE_MULTI_HOP BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType = 2 // Multi-hop session )
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Descriptor ¶
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Descriptor() protoreflect.EnumDescriptor
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) EnumDescriptor
deprecated
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType.Descriptor instead.
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Number ¶
func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) Number() protoreflect.EnumNumber
func (BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) String ¶
func (x BfdmgrGeneralSessionDataPb_BfdmgrSessionSubType) String() string
type BfdmgrGeneralSessionKeyPb ¶
type BfdmgrGeneralSessionKeyPb struct { SrcIpAddr *IpAddressPb `protobuf:"bytes,1,opt,name=src_ip_addr,json=srcIpAddr,proto3" json:"src_ip_addr,omitempty"` // Source IP address of the session DstIpAddr *IpAddressPb `protobuf:"bytes,2,opt,name=dst_ip_addr,json=dstIpAddr,proto3" json:"dst_ip_addr,omitempty"` // Destination IP address of the session InstanceId uint32 `protobuf:"varint,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Network instance identifier Type BfdmgrGeneralSessionKeyPb_BfdmgrSessionType `protobuf:"varint,4,opt,name=type,proto3,enum=srlinux.sdk.BfdmgrGeneralSessionKeyPb_BfdmgrSessionType" json:"type,omitempty"` // Session type // contains filtered or unexported fields }
* Represents BFD session key.
func (*BfdmgrGeneralSessionKeyPb) Descriptor
deprecated
func (*BfdmgrGeneralSessionKeyPb) Descriptor() ([]byte, []int)
Deprecated: Use BfdmgrGeneralSessionKeyPb.ProtoReflect.Descriptor instead.
func (*BfdmgrGeneralSessionKeyPb) GetDstIpAddr ¶
func (x *BfdmgrGeneralSessionKeyPb) GetDstIpAddr() *IpAddressPb
func (*BfdmgrGeneralSessionKeyPb) GetInstanceId ¶
func (x *BfdmgrGeneralSessionKeyPb) GetInstanceId() uint32
func (*BfdmgrGeneralSessionKeyPb) GetSrcIpAddr ¶
func (x *BfdmgrGeneralSessionKeyPb) GetSrcIpAddr() *IpAddressPb
func (*BfdmgrGeneralSessionKeyPb) GetType ¶
func (x *BfdmgrGeneralSessionKeyPb) GetType() BfdmgrGeneralSessionKeyPb_BfdmgrSessionType
func (*BfdmgrGeneralSessionKeyPb) ProtoMessage ¶
func (*BfdmgrGeneralSessionKeyPb) ProtoMessage()
func (*BfdmgrGeneralSessionKeyPb) ProtoReflect ¶
func (x *BfdmgrGeneralSessionKeyPb) ProtoReflect() protoreflect.Message
func (*BfdmgrGeneralSessionKeyPb) Reset ¶
func (x *BfdmgrGeneralSessionKeyPb) Reset()
func (*BfdmgrGeneralSessionKeyPb) String ¶
func (x *BfdmgrGeneralSessionKeyPb) String() string
type BfdmgrGeneralSessionKeyPb_BfdmgrSessionType ¶
type BfdmgrGeneralSessionKeyPb_BfdmgrSessionType int32
/ Represents BFD session type.
const ( BfdmgrGeneralSessionKeyPb_SESSION_TYPE_UNKNOWN BfdmgrGeneralSessionKeyPb_BfdmgrSessionType = 0 // Unknown session type BfdmgrGeneralSessionKeyPb_SESSION_TYPE_P2P BfdmgrGeneralSessionKeyPb_BfdmgrSessionType = 1 // Peer-to-peer session type )
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Descriptor ¶
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Descriptor() protoreflect.EnumDescriptor
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) EnumDescriptor
deprecated
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BfdmgrGeneralSessionKeyPb_BfdmgrSessionType.Descriptor instead.
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Number ¶
func (x BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Number() protoreflect.EnumNumber
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) String ¶
func (x BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) String() string
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Type ¶
func (BfdmgrGeneralSessionKeyPb_BfdmgrSessionType) Type() protoreflect.EnumType
type ConfigData ¶
type ConfigData struct { Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` // Entire configuration fragment as JSON string // contains filtered or unexported fields }
* Represents configuration data.
func (*ConfigData) Descriptor
deprecated
func (*ConfigData) Descriptor() ([]byte, []int)
Deprecated: Use ConfigData.ProtoReflect.Descriptor instead.
func (*ConfigData) GetJson ¶
func (x *ConfigData) GetJson() string
func (*ConfigData) ProtoMessage ¶
func (*ConfigData) ProtoMessage()
func (*ConfigData) ProtoReflect ¶
func (x *ConfigData) ProtoReflect() protoreflect.Message
func (*ConfigData) Reset ¶
func (x *ConfigData) Reset()
func (*ConfigData) String ¶
func (x *ConfigData) String() string
type ConfigKey ¶
type ConfigKey struct { JsPath string `protobuf:"bytes,1,opt,name=js_path,json=jsPath,proto3" json:"js_path,omitempty"` // JSON path formatted string from YANG; for example, interface{.name==ethernet1/1}.my_field Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` // Value for keys // contains filtered or unexported fields }
* Represents configuration key.
func (*ConfigKey) Descriptor
deprecated
func (*ConfigKey) ProtoMessage ¶
func (*ConfigKey) ProtoMessage()
func (*ConfigKey) ProtoReflect ¶
func (x *ConfigKey) ProtoReflect() protoreflect.Message
type ConfigNotification ¶
type ConfigNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation indicating create, delete, or update Key *ConfigKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Configuration key Data *ConfigData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Configuration data // contains filtered or unexported fields }
* Represents configuration notification message to subscribe to configuration events
func (*ConfigNotification) Descriptor
deprecated
func (*ConfigNotification) Descriptor() ([]byte, []int)
Deprecated: Use ConfigNotification.ProtoReflect.Descriptor instead.
func (*ConfigNotification) GetData ¶
func (x *ConfigNotification) GetData() *ConfigData
func (*ConfigNotification) GetKey ¶
func (x *ConfigNotification) GetKey() *ConfigKey
func (*ConfigNotification) GetOp ¶
func (x *ConfigNotification) GetOp() SdkMgrOperation
func (*ConfigNotification) ProtoMessage ¶
func (*ConfigNotification) ProtoMessage()
func (*ConfigNotification) ProtoReflect ¶
func (x *ConfigNotification) ProtoReflect() protoreflect.Message
func (*ConfigNotification) Reset ¶
func (x *ConfigNotification) Reset()
func (*ConfigNotification) String ¶
func (x *ConfigNotification) String() string
type ConfigSubscriptionRequest ¶
type ConfigSubscriptionRequest struct { Key *ConfigKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents configuration subscription request.
func (*ConfigSubscriptionRequest) Descriptor
deprecated
func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*ConfigSubscriptionRequest) GetKey ¶
func (x *ConfigSubscriptionRequest) GetKey() *ConfigKey
func (*ConfigSubscriptionRequest) ProtoMessage ¶
func (*ConfigSubscriptionRequest) ProtoMessage()
func (*ConfigSubscriptionRequest) ProtoReflect ¶
func (x *ConfigSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*ConfigSubscriptionRequest) Reset ¶
func (x *ConfigSubscriptionRequest) Reset()
func (*ConfigSubscriptionRequest) String ¶
func (x *ConfigSubscriptionRequest) String() string
type GlobalIfId ¶
type GlobalIfId struct { GlobalIfId uint32 `protobuf:"varint,1,opt,name=global_if_id,json=globalIfId,proto3" json:"global_if_id,omitempty"` // Global interface identifier // contains filtered or unexported fields }
* Represents global interface identifier.
func (*GlobalIfId) Descriptor
deprecated
func (*GlobalIfId) Descriptor() ([]byte, []int)
Deprecated: Use GlobalIfId.ProtoReflect.Descriptor instead.
func (*GlobalIfId) GetGlobalIfId ¶
func (x *GlobalIfId) GetGlobalIfId() uint32
func (*GlobalIfId) ProtoMessage ¶
func (*GlobalIfId) ProtoMessage()
func (*GlobalIfId) ProtoReflect ¶
func (x *GlobalIfId) ProtoReflect() protoreflect.Message
func (*GlobalIfId) Reset ¶
func (x *GlobalIfId) Reset()
func (*GlobalIfId) String ¶
func (x *GlobalIfId) String() string
type IfEthernetPortSpeedType ¶
type IfEthernetPortSpeedType int32
* Represents interface ethernet port speed. Corresponds to yang values
const ( IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_UNSET IfEthernetPortSpeedType = 0 // Speed unknown IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_10M IfEthernetPortSpeedType = 1 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_100M IfEthernetPortSpeedType = 2 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_1G IfEthernetPortSpeedType = 3 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_10G IfEthernetPortSpeedType = 4 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_25G IfEthernetPortSpeedType = 5 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_40G IfEthernetPortSpeedType = 6 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_50G IfEthernetPortSpeedType = 7 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_100G IfEthernetPortSpeedType = 8 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_200G IfEthernetPortSpeedType = 9 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_400G IfEthernetPortSpeedType = 10 IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_1T IfEthernetPortSpeedType = 11 )
func (IfEthernetPortSpeedType) Descriptor ¶
func (IfEthernetPortSpeedType) Descriptor() protoreflect.EnumDescriptor
func (IfEthernetPortSpeedType) Enum ¶
func (x IfEthernetPortSpeedType) Enum() *IfEthernetPortSpeedType
func (IfEthernetPortSpeedType) EnumDescriptor
deprecated
func (IfEthernetPortSpeedType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IfEthernetPortSpeedType.Descriptor instead.
func (IfEthernetPortSpeedType) Number ¶
func (x IfEthernetPortSpeedType) Number() protoreflect.EnumNumber
func (IfEthernetPortSpeedType) String ¶
func (x IfEthernetPortSpeedType) String() string
func (IfEthernetPortSpeedType) Type ¶
func (IfEthernetPortSpeedType) Type() protoreflect.EnumType
type IfMgrIfType ¶
type IfMgrIfType int32
* Represents interface type.
const ( IfMgrIfType_ETHERNET IfMgrIfType = 0 // Ethernet interface IfMgrIfType_LOOPBACK IfMgrIfType = 1 // Loopback interface IfMgrIfType_MANAGEMENT IfMgrIfType = 2 // Management interface IfMgrIfType_AGGREGATE IfMgrIfType = 3 // Aggregate(LAG) interface IfMgrIfType_IRB IfMgrIfType = 4 // Integrated Routing and Bridging (IRB) interface IfMgrIfType_MAX IfMgrIfType = 5 )
func (IfMgrIfType) Descriptor ¶
func (IfMgrIfType) Descriptor() protoreflect.EnumDescriptor
func (IfMgrIfType) Enum ¶
func (x IfMgrIfType) Enum() *IfMgrIfType
func (IfMgrIfType) EnumDescriptor
deprecated
func (IfMgrIfType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IfMgrIfType.Descriptor instead.
func (IfMgrIfType) Number ¶
func (x IfMgrIfType) Number() protoreflect.EnumNumber
func (IfMgrIfType) String ¶
func (x IfMgrIfType) String() string
func (IfMgrIfType) Type ¶
func (IfMgrIfType) Type() protoreflect.EnumType
type IfOperDownReason ¶
type IfOperDownReason int32
const ( IfOperDownReason_IF_OPER_DOWN_NONE IfOperDownReason = 0 IfOperDownReason_IF_OPER_DOWN_PORT_ADMIN_DISABLED IfOperDownReason = 1 IfOperDownReason_IF_OPER_DOWN_MDA_ADMIN_DISABLED IfOperDownReason = 2 IfOperDownReason_IF_OPER_DOWN_TRANS_ADMIN_DISABLED IfOperDownReason = 3 IfOperDownReason_IF_OPER_DOWN_MDA_NOT_PRESENT IfOperDownReason = 4 IfOperDownReason_IF_OPER_DOWN_TRANS_NOT_PRESENT IfOperDownReason = 5 IfOperDownReason_IF_OPER_DOWN_PHY_INIT IfOperDownReason = 6 IfOperDownReason_IF_OPER_DOWN_LOOPBACK IfOperDownReason = 7 IfOperDownReason_IF_OPER_DOWN_LOWER_LAYER_DOWN IfOperDownReason = 8 IfOperDownReason_IF_OPER_DOWN_MTU_RESOURCES IfOperDownReason = 9 IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_SPEED IfOperDownReason = 10 IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC IfOperDownReason = 11 IfOperDownReason_IF_OPER_DOWN_OTHER IfOperDownReason = 12 IfOperDownReason_IF_OPER_DOWN_PORT_NOT_PRESENT IfOperDownReason = 13 // used internally by chassis mgr only - never publish to IDB! IfOperDownReason_IF_OPER_DOWN_FABRIC_AVAILABILITY IfOperDownReason = 14 // used internally by chassis mgr only - never publish to IDB! )
func (IfOperDownReason) Descriptor ¶
func (IfOperDownReason) Descriptor() protoreflect.EnumDescriptor
func (IfOperDownReason) Enum ¶
func (x IfOperDownReason) Enum() *IfOperDownReason
func (IfOperDownReason) EnumDescriptor
deprecated
func (IfOperDownReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use IfOperDownReason.Descriptor instead.
func (IfOperDownReason) Number ¶
func (x IfOperDownReason) Number() protoreflect.EnumNumber
func (IfOperDownReason) String ¶
func (x IfOperDownReason) String() string
func (IfOperDownReason) Type ¶
func (IfOperDownReason) Type() protoreflect.EnumType
type IfOperStateType ¶
type IfOperStateType int32
* Represents interface operational state.
const ( IfOperStateType_IF_OPER_STATE_UP IfOperStateType = 0 // Interface operational state up IfOperStateType_IF_OPER_STATE_DOWN IfOperStateType = 1 // Interface operational state down IfOperStateType_IF_OPER_STATE_TESTING IfOperStateType = 2 // Interface operational state testing IfOperStateType_IF_OPER_STATE_UNKNOWN IfOperStateType = 3 // Interface operational state unknown IfOperStateType_IF_OPER_STATE_DORMANT IfOperStateType = 4 // Interface operational state dormant IfOperStateType_IF_OPER_STATE_NOT_PRESENT IfOperStateType = 5 // Interface operational state not present IfOperStateType_IF_OPER_STATE_LOWER_LAYER_DOWN IfOperStateType = 6 // Interface operational state lower layer down )
func (IfOperStateType) Descriptor ¶
func (IfOperStateType) Descriptor() protoreflect.EnumDescriptor
func (IfOperStateType) Enum ¶
func (x IfOperStateType) Enum() *IfOperStateType
func (IfOperStateType) EnumDescriptor
deprecated
func (IfOperStateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IfOperStateType.Descriptor instead.
func (IfOperStateType) Number ¶
func (x IfOperStateType) Number() protoreflect.EnumNumber
func (IfOperStateType) String ¶
func (x IfOperStateType) String() string
func (IfOperStateType) Type ¶
func (IfOperStateType) Type() protoreflect.EnumType
type IfTransceiverFecType ¶
type IfTransceiverFecType int32
* Represents interface transceiver fec. Corresponds to yang values
const ( IfTransceiverFecType_IF_TRANS_FEC_UNSET IfTransceiverFecType = 0 // Fec unknown IfTransceiverFecType_IF_TRANS_FEC_DISABLED IfTransceiverFecType = 1 IfTransceiverFecType_IF_TRANS_FEC_RS528 IfTransceiverFecType = 2 IfTransceiverFecType_IF_TRANS_FEC_RS544 IfTransceiverFecType = 3 )
func (IfTransceiverFecType) Descriptor ¶
func (IfTransceiverFecType) Descriptor() protoreflect.EnumDescriptor
func (IfTransceiverFecType) Enum ¶
func (x IfTransceiverFecType) Enum() *IfTransceiverFecType
func (IfTransceiverFecType) EnumDescriptor
deprecated
func (IfTransceiverFecType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IfTransceiverFecType.Descriptor instead.
func (IfTransceiverFecType) Number ¶
func (x IfTransceiverFecType) Number() protoreflect.EnumNumber
func (IfTransceiverFecType) String ¶
func (x IfTransceiverFecType) String() string
func (IfTransceiverFecType) Type ¶
func (IfTransceiverFecType) Type() protoreflect.EnumType
type InterfaceData ¶
type InterfaceData struct { AdminIsUp uint32 `protobuf:"varint,1,opt,name=admin_is_up,json=adminIsUp,proto3" json:"admin_is_up,omitempty"` // Admin state Mtu uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` // Maximum transmission unit IfType IfMgrIfType `protobuf:"varint,3,opt,name=if_type,json=ifType,proto3,enum=srlinux.sdk.IfMgrIfType" json:"if_type,omitempty"` // Interface type; for example, loopback, physical, or LAG PortId *PortIdPb `protobuf:"bytes,4,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Port identifier Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Interface description MacAddr *MacAddressPb `protobuf:"bytes,6,opt,name=mac_addr,json=macAddr,proto3" json:"mac_addr,omitempty"` // MAC address // contains filtered or unexported fields }
* Represents interface data.
func (*InterfaceData) Descriptor
deprecated
func (*InterfaceData) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceData.ProtoReflect.Descriptor instead.
func (*InterfaceData) GetAdminIsUp ¶
func (x *InterfaceData) GetAdminIsUp() uint32
func (*InterfaceData) GetDescription ¶
func (x *InterfaceData) GetDescription() string
func (*InterfaceData) GetIfType ¶
func (x *InterfaceData) GetIfType() IfMgrIfType
func (*InterfaceData) GetMacAddr ¶
func (x *InterfaceData) GetMacAddr() *MacAddressPb
func (*InterfaceData) GetMtu ¶
func (x *InterfaceData) GetMtu() uint32
func (*InterfaceData) GetPortId ¶
func (x *InterfaceData) GetPortId() *PortIdPb
func (*InterfaceData) ProtoMessage ¶
func (*InterfaceData) ProtoMessage()
func (*InterfaceData) ProtoReflect ¶
func (x *InterfaceData) ProtoReflect() protoreflect.Message
func (*InterfaceData) Reset ¶
func (x *InterfaceData) Reset()
func (*InterfaceData) String ¶
func (x *InterfaceData) String() string
type InterfaceKey ¶
type InterfaceKey struct { IfName string `protobuf:"bytes,1,opt,name=if_name,json=ifName,proto3" json:"if_name,omitempty"` // Interface name; for example, ethernet 1/1 // contains filtered or unexported fields }
*
Represents interface key.
func (*InterfaceKey) Descriptor
deprecated
func (*InterfaceKey) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceKey.ProtoReflect.Descriptor instead.
func (*InterfaceKey) GetIfName ¶
func (x *InterfaceKey) GetIfName() string
func (*InterfaceKey) ProtoMessage ¶
func (*InterfaceKey) ProtoMessage()
func (*InterfaceKey) ProtoReflect ¶
func (x *InterfaceKey) ProtoReflect() protoreflect.Message
func (*InterfaceKey) Reset ¶
func (x *InterfaceKey) Reset()
func (*InterfaceKey) String ¶
func (x *InterfaceKey) String() string
type InterfaceNotification ¶
type InterfaceNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update Key *InterfaceKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Interface key Data *InterfaceData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Interface data // contains filtered or unexported fields }
* Represents interface notification.
func (*InterfaceNotification) Descriptor
deprecated
func (*InterfaceNotification) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceNotification.ProtoReflect.Descriptor instead.
func (*InterfaceNotification) GetData ¶
func (x *InterfaceNotification) GetData() *InterfaceData
func (*InterfaceNotification) GetKey ¶
func (x *InterfaceNotification) GetKey() *InterfaceKey
func (*InterfaceNotification) GetOp ¶
func (x *InterfaceNotification) GetOp() SdkMgrOperation
func (*InterfaceNotification) ProtoMessage ¶
func (*InterfaceNotification) ProtoMessage()
func (*InterfaceNotification) ProtoReflect ¶
func (x *InterfaceNotification) ProtoReflect() protoreflect.Message
func (*InterfaceNotification) Reset ¶
func (x *InterfaceNotification) Reset()
func (*InterfaceNotification) String ¶
func (x *InterfaceNotification) String() string
type InterfaceSubscriptionRequest ¶
type InterfaceSubscriptionRequest struct { Key *InterfaceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents interface subscription request.
func (*InterfaceSubscriptionRequest) Descriptor
deprecated
func (*InterfaceSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*InterfaceSubscriptionRequest) GetKey ¶
func (x *InterfaceSubscriptionRequest) GetKey() *InterfaceKey
func (*InterfaceSubscriptionRequest) ProtoMessage ¶
func (*InterfaceSubscriptionRequest) ProtoMessage()
func (*InterfaceSubscriptionRequest) ProtoReflect ¶
func (x *InterfaceSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*InterfaceSubscriptionRequest) Reset ¶
func (x *InterfaceSubscriptionRequest) Reset()
func (*InterfaceSubscriptionRequest) String ¶
func (x *InterfaceSubscriptionRequest) String() string
type IpAddrPrefLenPb ¶
type IpAddrPrefLenPb struct { IpAddr *IpAddressPb `protobuf:"bytes,1,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` // IP address PrefixLength uint32 `protobuf:"varint,2,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"` // IP address prefix length // contains filtered or unexported fields }
* Represents IP prefix.
func (*IpAddrPrefLenPb) Descriptor
deprecated
func (*IpAddrPrefLenPb) Descriptor() ([]byte, []int)
Deprecated: Use IpAddrPrefLenPb.ProtoReflect.Descriptor instead.
func (*IpAddrPrefLenPb) GetIpAddr ¶
func (x *IpAddrPrefLenPb) GetIpAddr() *IpAddressPb
func (*IpAddrPrefLenPb) GetPrefixLength ¶
func (x *IpAddrPrefLenPb) GetPrefixLength() uint32
func (*IpAddrPrefLenPb) ProtoMessage ¶
func (*IpAddrPrefLenPb) ProtoMessage()
func (*IpAddrPrefLenPb) ProtoReflect ¶
func (x *IpAddrPrefLenPb) ProtoReflect() protoreflect.Message
func (*IpAddrPrefLenPb) Reset ¶
func (x *IpAddrPrefLenPb) Reset()
func (*IpAddrPrefLenPb) String ¶
func (x *IpAddrPrefLenPb) String() string
type IpAddressPb ¶
type IpAddressPb struct { Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // IP address // contains filtered or unexported fields }
* Represents IP address.
func (*IpAddressPb) Descriptor
deprecated
func (*IpAddressPb) Descriptor() ([]byte, []int)
Deprecated: Use IpAddressPb.ProtoReflect.Descriptor instead.
func (*IpAddressPb) GetAddr ¶
func (x *IpAddressPb) GetAddr() []byte
func (*IpAddressPb) ProtoMessage ¶
func (*IpAddressPb) ProtoMessage()
func (*IpAddressPb) ProtoReflect ¶
func (x *IpAddressPb) ProtoReflect() protoreflect.Message
func (*IpAddressPb) Reset ¶
func (x *IpAddressPb) Reset()
func (*IpAddressPb) String ¶
func (x *IpAddressPb) String() string
type IpAddressState ¶
type IpAddressState int32
* Represents IP address state.
const ( IpAddressState_IPADDR_STATE_UNKNOWN IpAddressState = 0 // IP address state unknown IpAddressState_IPADDR_STATE_TENTATIVE IpAddressState = 1 // IP address state tentative IpAddressState_IPADDR_STATE_DUPLICATED IpAddressState = 2 // IP address state duplicated IpAddressState_IPADDR_STATE_INACCESSIBLE IpAddressState = 3 // IP address state inaccessible IpAddressState_IPADDR_STATE_DEPRECATED IpAddressState = 4 // IP address state deprecated IpAddressState_IPADDR_STATE_PREFERRED IpAddressState = 5 // IP address state preferred )
func (IpAddressState) Descriptor ¶
func (IpAddressState) Descriptor() protoreflect.EnumDescriptor
func (IpAddressState) Enum ¶
func (x IpAddressState) Enum() *IpAddressState
func (IpAddressState) EnumDescriptor
deprecated
func (IpAddressState) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpAddressState.Descriptor instead.
func (IpAddressState) Number ¶
func (x IpAddressState) Number() protoreflect.EnumNumber
func (IpAddressState) String ¶
func (x IpAddressState) String() string
func (IpAddressState) Type ¶
func (IpAddressState) Type() protoreflect.EnumType
type IpInterfaceAddrPrefixPb ¶
type IpInterfaceAddrPrefixPb struct { Prefix *IpAddrPrefLenPb `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // IP prefix State IpAddressState `protobuf:"varint,2,opt,name=state,proto3,enum=srlinux.sdk.IpAddressState" json:"state,omitempty"` // IP prefix state // contains filtered or unexported fields }
* Represents IP prefix state.
func (*IpInterfaceAddrPrefixPb) Descriptor
deprecated
func (*IpInterfaceAddrPrefixPb) Descriptor() ([]byte, []int)
Deprecated: Use IpInterfaceAddrPrefixPb.ProtoReflect.Descriptor instead.
func (*IpInterfaceAddrPrefixPb) GetPrefix ¶
func (x *IpInterfaceAddrPrefixPb) GetPrefix() *IpAddrPrefLenPb
func (*IpInterfaceAddrPrefixPb) GetState ¶
func (x *IpInterfaceAddrPrefixPb) GetState() IpAddressState
func (*IpInterfaceAddrPrefixPb) ProtoMessage ¶
func (*IpInterfaceAddrPrefixPb) ProtoMessage()
func (*IpInterfaceAddrPrefixPb) ProtoReflect ¶
func (x *IpInterfaceAddrPrefixPb) ProtoReflect() protoreflect.Message
func (*IpInterfaceAddrPrefixPb) Reset ¶
func (x *IpInterfaceAddrPrefixPb) Reset()
func (*IpInterfaceAddrPrefixPb) String ¶
func (x *IpInterfaceAddrPrefixPb) String() string
type IpRouteNotification ¶
type IpRouteNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update Key *RouteKeyPb `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // IP route key Data *RoutePb `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // IP route data // contains filtered or unexported fields }
* Represents IP route notification.
func (*IpRouteNotification) Descriptor
deprecated
func (*IpRouteNotification) Descriptor() ([]byte, []int)
Deprecated: Use IpRouteNotification.ProtoReflect.Descriptor instead.
func (*IpRouteNotification) GetData ¶
func (x *IpRouteNotification) GetData() *RoutePb
func (*IpRouteNotification) GetKey ¶
func (x *IpRouteNotification) GetKey() *RouteKeyPb
func (*IpRouteNotification) GetOp ¶
func (x *IpRouteNotification) GetOp() SdkMgrOperation
func (*IpRouteNotification) ProtoMessage ¶
func (*IpRouteNotification) ProtoMessage()
func (*IpRouteNotification) ProtoReflect ¶
func (x *IpRouteNotification) ProtoReflect() protoreflect.Message
func (*IpRouteNotification) Reset ¶
func (x *IpRouteNotification) Reset()
func (*IpRouteNotification) String ¶
func (x *IpRouteNotification) String() string
type IpRouteSubscriptionRequest ¶
type IpRouteSubscriptionRequest struct { Key *RouteKeyPb `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents IP route subscription request.
func (*IpRouteSubscriptionRequest) Descriptor
deprecated
func (*IpRouteSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use IpRouteSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*IpRouteSubscriptionRequest) GetKey ¶
func (x *IpRouteSubscriptionRequest) GetKey() *RouteKeyPb
func (*IpRouteSubscriptionRequest) ProtoMessage ¶
func (*IpRouteSubscriptionRequest) ProtoMessage()
func (*IpRouteSubscriptionRequest) ProtoReflect ¶
func (x *IpRouteSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*IpRouteSubscriptionRequest) Reset ¶
func (x *IpRouteSubscriptionRequest) Reset()
func (*IpRouteSubscriptionRequest) String ¶
func (x *IpRouteSubscriptionRequest) String() string
type KeepAliveRequest ¶
type KeepAliveRequest struct {
// contains filtered or unexported fields
}
* Represents keep alive request from agent to refresh liveliness of the agent.
func (*KeepAliveRequest) Descriptor
deprecated
func (*KeepAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveRequest.ProtoReflect.Descriptor instead.
func (*KeepAliveRequest) ProtoMessage ¶
func (*KeepAliveRequest) ProtoMessage()
func (*KeepAliveRequest) ProtoReflect ¶
func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message
func (*KeepAliveRequest) Reset ¶
func (x *KeepAliveRequest) Reset()
func (*KeepAliveRequest) String ¶
func (x *KeepAliveRequest) String() string
type KeepAliveResponse ¶
type KeepAliveResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of keepalive; for example, kOk or kFailed // contains filtered or unexported fields }
* Represents keepalive response.
func (*KeepAliveResponse) Descriptor
deprecated
func (*KeepAliveResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveResponse.ProtoReflect.Descriptor instead.
func (*KeepAliveResponse) GetStatus ¶
func (x *KeepAliveResponse) GetStatus() SdkMgrStatus
func (*KeepAliveResponse) ProtoMessage ¶
func (*KeepAliveResponse) ProtoMessage()
func (*KeepAliveResponse) ProtoReflect ¶
func (x *KeepAliveResponse) ProtoReflect() protoreflect.Message
func (*KeepAliveResponse) Reset ¶
func (x *KeepAliveResponse) Reset()
func (*KeepAliveResponse) String ¶
func (x *KeepAliveResponse) String() string
type LldpNeighborDataPb ¶
type LldpNeighborDataPb struct { PortId string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Port identifier PortType LldpNeighborDataPb_PortSubType `` // Port type /* 134-byte string literal not displayed */ SourceMac *MacAddressPb `protobuf:"bytes,3,opt,name=source_mac,json=sourceMac,proto3" json:"source_mac,omitempty"` // Port MAC address BgpPeerAddress []*IpAddressPb `protobuf:"bytes,4,rep,name=bgp_peer_address,json=bgpPeerAddress,proto3" json:"bgp_peer_address,omitempty"` // LLDP BGP autodiscovered addresses BgpGroupId uint32 `protobuf:"varint,5,opt,name=bgp_group_id,json=bgpGroupId,proto3" json:"bgp_group_id,omitempty"` // BGP group identifier SystemName string `protobuf:"bytes,6,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"` // System name SystemDescription string `protobuf:"bytes,7,opt,name=system_description,json=systemDescription,proto3" json:"system_description,omitempty"` // System description // contains filtered or unexported fields }
* Represents LLDP neighbor data.
func (*LldpNeighborDataPb) Descriptor
deprecated
func (*LldpNeighborDataPb) Descriptor() ([]byte, []int)
Deprecated: Use LldpNeighborDataPb.ProtoReflect.Descriptor instead.
func (*LldpNeighborDataPb) GetBgpGroupId ¶
func (x *LldpNeighborDataPb) GetBgpGroupId() uint32
func (*LldpNeighborDataPb) GetBgpPeerAddress ¶
func (x *LldpNeighborDataPb) GetBgpPeerAddress() []*IpAddressPb
func (*LldpNeighborDataPb) GetPortId ¶
func (x *LldpNeighborDataPb) GetPortId() string
func (*LldpNeighborDataPb) GetPortType ¶
func (x *LldpNeighborDataPb) GetPortType() LldpNeighborDataPb_PortSubType
func (*LldpNeighborDataPb) GetSourceMac ¶
func (x *LldpNeighborDataPb) GetSourceMac() *MacAddressPb
func (*LldpNeighborDataPb) GetSystemDescription ¶
func (x *LldpNeighborDataPb) GetSystemDescription() string
func (*LldpNeighborDataPb) GetSystemName ¶
func (x *LldpNeighborDataPb) GetSystemName() string
func (*LldpNeighborDataPb) ProtoMessage ¶
func (*LldpNeighborDataPb) ProtoMessage()
func (*LldpNeighborDataPb) ProtoReflect ¶
func (x *LldpNeighborDataPb) ProtoReflect() protoreflect.Message
func (*LldpNeighborDataPb) Reset ¶
func (x *LldpNeighborDataPb) Reset()
func (*LldpNeighborDataPb) String ¶
func (x *LldpNeighborDataPb) String() string
type LldpNeighborDataPb_PortSubType ¶
type LldpNeighborDataPb_PortSubType int32
/ Represents port subtype.
const ( LldpNeighborDataPb_RESERVED LldpNeighborDataPb_PortSubType = 0 // Reserved for future use LldpNeighborDataPb_INTERFACE_ALIAS LldpNeighborDataPb_PortSubType = 1 // Alias of the interface LldpNeighborDataPb_PORT_COMPONENT LldpNeighborDataPb_PortSubType = 2 // Port identifier based on a locally defined port component LldpNeighborDataPb_MAC_ADDRESS LldpNeighborDataPb_PortSubType = 3 // MAC address LldpNeighborDataPb_NETWORK_ADDRESS LldpNeighborDataPb_PortSubType = 4 // Network address LldpNeighborDataPb_INTERFACE_NAME LldpNeighborDataPb_PortSubType = 5 // Name of the interface LldpNeighborDataPb_AGENT_CIRCUIT_ID LldpNeighborDataPb_PortSubType = 6 // Port identifier based on the circuit ID in the DHCP relay agent information option LldpNeighborDataPb_LOCALLY_ASSIGNED LldpNeighborDataPb_PortSubType = 7 // Port identifier based on a locally defined alphanumeric string )
func (LldpNeighborDataPb_PortSubType) Descriptor ¶
func (LldpNeighborDataPb_PortSubType) Descriptor() protoreflect.EnumDescriptor
func (LldpNeighborDataPb_PortSubType) Enum ¶
func (x LldpNeighborDataPb_PortSubType) Enum() *LldpNeighborDataPb_PortSubType
func (LldpNeighborDataPb_PortSubType) EnumDescriptor
deprecated
func (LldpNeighborDataPb_PortSubType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LldpNeighborDataPb_PortSubType.Descriptor instead.
func (LldpNeighborDataPb_PortSubType) Number ¶
func (x LldpNeighborDataPb_PortSubType) Number() protoreflect.EnumNumber
func (LldpNeighborDataPb_PortSubType) String ¶
func (x LldpNeighborDataPb_PortSubType) String() string
func (LldpNeighborDataPb_PortSubType) Type ¶
func (LldpNeighborDataPb_PortSubType) Type() protoreflect.EnumType
type LldpNeighborKeyPb ¶
type LldpNeighborKeyPb struct { InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` // Local interface name ChassisId string `protobuf:"bytes,2,opt,name=chassis_id,json=chassisId,proto3" json:"chassis_id,omitempty"` // Chassis identifier ChassisType LldpNeighborKeyPb_ChassisIdType `` // Chassis type /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
* Represents LLDP neighbor key.
func (*LldpNeighborKeyPb) Descriptor
deprecated
func (*LldpNeighborKeyPb) Descriptor() ([]byte, []int)
Deprecated: Use LldpNeighborKeyPb.ProtoReflect.Descriptor instead.
func (*LldpNeighborKeyPb) GetChassisId ¶
func (x *LldpNeighborKeyPb) GetChassisId() string
func (*LldpNeighborKeyPb) GetChassisType ¶
func (x *LldpNeighborKeyPb) GetChassisType() LldpNeighborKeyPb_ChassisIdType
func (*LldpNeighborKeyPb) GetInterfaceName ¶
func (x *LldpNeighborKeyPb) GetInterfaceName() string
func (*LldpNeighborKeyPb) ProtoMessage ¶
func (*LldpNeighborKeyPb) ProtoMessage()
func (*LldpNeighborKeyPb) ProtoReflect ¶
func (x *LldpNeighborKeyPb) ProtoReflect() protoreflect.Message
func (*LldpNeighborKeyPb) Reset ¶
func (x *LldpNeighborKeyPb) Reset()
func (*LldpNeighborKeyPb) String ¶
func (x *LldpNeighborKeyPb) String() string
type LldpNeighborKeyPb_ChassisIdType ¶
type LldpNeighborKeyPb_ChassisIdType int32
/ Represents chassis type.
const ( LldpNeighborKeyPb_RESERVED LldpNeighborKeyPb_ChassisIdType = 0 // Reserved for future use LldpNeighborKeyPb_CHASSIS_COMPONENT LldpNeighborKeyPb_ChassisIdType = 1 // Chassis identifier based on a locally defined chassis component LldpNeighborKeyPb_INTERFACE_ALIAS LldpNeighborKeyPb_ChassisIdType = 2 // Alias of the interface LldpNeighborKeyPb_PORT_COMPONENT LldpNeighborKeyPb_ChassisIdType = 3 // Chassis identifier based on a locally defined port component LldpNeighborKeyPb_MAC_ADDRESS LldpNeighborKeyPb_ChassisIdType = 4 // MAC address LldpNeighborKeyPb_NETWORK_ADDRESS LldpNeighborKeyPb_ChassisIdType = 5 // Network address LldpNeighborKeyPb_INTERFACE_NAME LldpNeighborKeyPb_ChassisIdType = 6 // Name of the interface LldpNeighborKeyPb_LOCALLY_ASSIGNED LldpNeighborKeyPb_ChassisIdType = 7 // Chassis identifier based on a locally defined value )
func (LldpNeighborKeyPb_ChassisIdType) Descriptor ¶
func (LldpNeighborKeyPb_ChassisIdType) Descriptor() protoreflect.EnumDescriptor
func (LldpNeighborKeyPb_ChassisIdType) Enum ¶
func (x LldpNeighborKeyPb_ChassisIdType) Enum() *LldpNeighborKeyPb_ChassisIdType
func (LldpNeighborKeyPb_ChassisIdType) EnumDescriptor
deprecated
func (LldpNeighborKeyPb_ChassisIdType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LldpNeighborKeyPb_ChassisIdType.Descriptor instead.
func (LldpNeighborKeyPb_ChassisIdType) Number ¶
func (x LldpNeighborKeyPb_ChassisIdType) Number() protoreflect.EnumNumber
func (LldpNeighborKeyPb_ChassisIdType) String ¶
func (x LldpNeighborKeyPb_ChassisIdType) String() string
func (LldpNeighborKeyPb_ChassisIdType) Type ¶
func (LldpNeighborKeyPb_ChassisIdType) Type() protoreflect.EnumType
type LldpNeighborNotification ¶
type LldpNeighborNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update Key *LldpNeighborKeyPb `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // LLDP neighbor key Data *LldpNeighborDataPb `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // LLDP neighbor data // contains filtered or unexported fields }
* Represents LLDP neighbor notification.
func (*LldpNeighborNotification) Descriptor
deprecated
func (*LldpNeighborNotification) Descriptor() ([]byte, []int)
Deprecated: Use LldpNeighborNotification.ProtoReflect.Descriptor instead.
func (*LldpNeighborNotification) GetData ¶
func (x *LldpNeighborNotification) GetData() *LldpNeighborDataPb
func (*LldpNeighborNotification) GetKey ¶
func (x *LldpNeighborNotification) GetKey() *LldpNeighborKeyPb
func (*LldpNeighborNotification) GetOp ¶
func (x *LldpNeighborNotification) GetOp() SdkMgrOperation
func (*LldpNeighborNotification) ProtoMessage ¶
func (*LldpNeighborNotification) ProtoMessage()
func (*LldpNeighborNotification) ProtoReflect ¶
func (x *LldpNeighborNotification) ProtoReflect() protoreflect.Message
func (*LldpNeighborNotification) Reset ¶
func (x *LldpNeighborNotification) Reset()
func (*LldpNeighborNotification) String ¶
func (x *LldpNeighborNotification) String() string
type LldpNeighborSubscriptionRequest ¶
type LldpNeighborSubscriptionRequest struct { Key *LldpNeighborKeyPb `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name // contains filtered or unexported fields }
* Represents LLDP neighbor subscription request.
func (*LldpNeighborSubscriptionRequest) Descriptor
deprecated
func (*LldpNeighborSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use LldpNeighborSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*LldpNeighborSubscriptionRequest) GetKey ¶
func (x *LldpNeighborSubscriptionRequest) GetKey() *LldpNeighborKeyPb
func (*LldpNeighborSubscriptionRequest) ProtoMessage ¶
func (*LldpNeighborSubscriptionRequest) ProtoMessage()
func (*LldpNeighborSubscriptionRequest) ProtoReflect ¶
func (x *LldpNeighborSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*LldpNeighborSubscriptionRequest) Reset ¶
func (x *LldpNeighborSubscriptionRequest) Reset()
func (*LldpNeighborSubscriptionRequest) String ¶
func (x *LldpNeighborSubscriptionRequest) String() string
type MacAddressPb ¶
type MacAddressPb struct { MacAddress []byte `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // MAC address // contains filtered or unexported fields }
* Represents MAC address.
func (*MacAddressPb) Descriptor
deprecated
func (*MacAddressPb) Descriptor() ([]byte, []int)
Deprecated: Use MacAddressPb.ProtoReflect.Descriptor instead.
func (*MacAddressPb) GetMacAddress ¶
func (x *MacAddressPb) GetMacAddress() []byte
func (*MacAddressPb) ProtoMessage ¶
func (*MacAddressPb) ProtoMessage()
func (*MacAddressPb) ProtoReflect ¶
func (x *MacAddressPb) ProtoReflect() protoreflect.Message
func (*MacAddressPb) Reset ¶
func (x *MacAddressPb) Reset()
func (*MacAddressPb) String ¶
func (x *MacAddressPb) String() string
type MplsLabel ¶
type MplsLabel struct { MplsLabel uint32 `protobuf:"varint,1,opt,name=mpls_label,json=mplsLabel,proto3" json:"mpls_label,omitempty"` // MPLS label // contains filtered or unexported fields }
* Represents MPLS label.
func (*MplsLabel) Descriptor
deprecated
func (*MplsLabel) GetMplsLabel ¶
func (*MplsLabel) ProtoMessage ¶
func (*MplsLabel) ProtoMessage()
func (*MplsLabel) ProtoReflect ¶
func (x *MplsLabel) ProtoReflect() protoreflect.Message
type MplsNextHop ¶
type MplsNextHop struct { IpNexthop *IpAddressPb `protobuf:"bytes,1,opt,name=ip_nexthop,json=ipNexthop,proto3" json:"ip_nexthop,omitempty"` // Next-hop IP address LabelStack []*MplsLabel `protobuf:"bytes,2,rep,name=label_stack,json=labelStack,proto3" json:"label_stack,omitempty"` // MPLS label stack // contains filtered or unexported fields }
* Represents MPLS next hop.
func (*MplsNextHop) Descriptor
deprecated
func (*MplsNextHop) Descriptor() ([]byte, []int)
Deprecated: Use MplsNextHop.ProtoReflect.Descriptor instead.
func (*MplsNextHop) GetIpNexthop ¶
func (x *MplsNextHop) GetIpNexthop() *IpAddressPb
func (*MplsNextHop) GetLabelStack ¶
func (x *MplsNextHop) GetLabelStack() []*MplsLabel
func (*MplsNextHop) ProtoMessage ¶
func (*MplsNextHop) ProtoMessage()
func (*MplsNextHop) ProtoReflect ¶
func (x *MplsNextHop) ProtoReflect() protoreflect.Message
func (*MplsNextHop) Reset ¶
func (x *MplsNextHop) Reset()
func (*MplsNextHop) String ¶
func (x *MplsNextHop) String() string
type MplsRouteAddRequest ¶
type MplsRouteAddRequest struct { Routes []*MplsRouteInfo `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // MPLS routes // contains filtered or unexported fields }
* Represents MPLS route add request, which can include one or more MPLS routes.
func (*MplsRouteAddRequest) Descriptor
deprecated
func (*MplsRouteAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteAddRequest.ProtoReflect.Descriptor instead.
func (*MplsRouteAddRequest) GetRoutes ¶
func (x *MplsRouteAddRequest) GetRoutes() []*MplsRouteInfo
func (*MplsRouteAddRequest) ProtoMessage ¶
func (*MplsRouteAddRequest) ProtoMessage()
func (*MplsRouteAddRequest) ProtoReflect ¶
func (x *MplsRouteAddRequest) ProtoReflect() protoreflect.Message
func (*MplsRouteAddRequest) Reset ¶
func (x *MplsRouteAddRequest) Reset()
func (*MplsRouteAddRequest) String ¶
func (x *MplsRouteAddRequest) String() string
type MplsRouteAddResponse ¶
type MplsRouteAddResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of MPLS route add request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents MPLS route add response.
func (*MplsRouteAddResponse) Descriptor
deprecated
func (*MplsRouteAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteAddResponse.ProtoReflect.Descriptor instead.
func (*MplsRouteAddResponse) GetErrorStr ¶
func (x *MplsRouteAddResponse) GetErrorStr() string
func (*MplsRouteAddResponse) GetStatus ¶
func (x *MplsRouteAddResponse) GetStatus() SdkMgrStatus
func (*MplsRouteAddResponse) ProtoMessage ¶
func (*MplsRouteAddResponse) ProtoMessage()
func (*MplsRouteAddResponse) ProtoReflect ¶
func (x *MplsRouteAddResponse) ProtoReflect() protoreflect.Message
func (*MplsRouteAddResponse) Reset ¶
func (x *MplsRouteAddResponse) Reset()
func (*MplsRouteAddResponse) String ¶
func (x *MplsRouteAddResponse) String() string
type MplsRouteDeleteRequest ¶
type MplsRouteDeleteRequest struct { Routes []*MplsRouteKeyPb `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // MPLS routes // contains filtered or unexported fields }
* Represents MPLS route delete request, which can include one or more MPLS routes.
func (*MplsRouteDeleteRequest) Descriptor
deprecated
func (*MplsRouteDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteDeleteRequest.ProtoReflect.Descriptor instead.
func (*MplsRouteDeleteRequest) GetRoutes ¶
func (x *MplsRouteDeleteRequest) GetRoutes() []*MplsRouteKeyPb
func (*MplsRouteDeleteRequest) ProtoMessage ¶
func (*MplsRouteDeleteRequest) ProtoMessage()
func (*MplsRouteDeleteRequest) ProtoReflect ¶
func (x *MplsRouteDeleteRequest) ProtoReflect() protoreflect.Message
func (*MplsRouteDeleteRequest) Reset ¶
func (x *MplsRouteDeleteRequest) Reset()
func (*MplsRouteDeleteRequest) String ¶
func (x *MplsRouteDeleteRequest) String() string
type MplsRouteDeleteResponse ¶
type MplsRouteDeleteResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of MPLS route delete request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents MPLS route delete response.
func (*MplsRouteDeleteResponse) Descriptor
deprecated
func (*MplsRouteDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteDeleteResponse.ProtoReflect.Descriptor instead.
func (*MplsRouteDeleteResponse) GetErrorStr ¶
func (x *MplsRouteDeleteResponse) GetErrorStr() string
func (*MplsRouteDeleteResponse) GetStatus ¶
func (x *MplsRouteDeleteResponse) GetStatus() SdkMgrStatus
func (*MplsRouteDeleteResponse) ProtoMessage ¶
func (*MplsRouteDeleteResponse) ProtoMessage()
func (*MplsRouteDeleteResponse) ProtoReflect ¶
func (x *MplsRouteDeleteResponse) ProtoReflect() protoreflect.Message
func (*MplsRouteDeleteResponse) Reset ¶
func (x *MplsRouteDeleteResponse) Reset()
func (*MplsRouteDeleteResponse) String ¶
func (x *MplsRouteDeleteResponse) String() string
type MplsRouteInfo ¶
type MplsRouteInfo struct { Key *MplsRouteKeyPb `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // MPLS route key Data *MplsRoutePb `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // MPLS route data // contains filtered or unexported fields }
* Represents MPLS route information; contains key and data.
func (*MplsRouteInfo) Descriptor
deprecated
func (*MplsRouteInfo) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteInfo.ProtoReflect.Descriptor instead.
func (*MplsRouteInfo) GetData ¶
func (x *MplsRouteInfo) GetData() *MplsRoutePb
func (*MplsRouteInfo) GetKey ¶
func (x *MplsRouteInfo) GetKey() *MplsRouteKeyPb
func (*MplsRouteInfo) ProtoMessage ¶
func (*MplsRouteInfo) ProtoMessage()
func (*MplsRouteInfo) ProtoReflect ¶
func (x *MplsRouteInfo) ProtoReflect() protoreflect.Message
func (*MplsRouteInfo) Reset ¶
func (x *MplsRouteInfo) Reset()
func (*MplsRouteInfo) String ¶
func (x *MplsRouteInfo) String() string
type MplsRouteKeyPb ¶
type MplsRouteKeyPb struct { TopLabel *MplsLabel `protobuf:"bytes,1,opt,name=top_label,json=topLabel,proto3" json:"top_label,omitempty"` // Top label // contains filtered or unexported fields }
* Represents MPLS route key.
func (*MplsRouteKeyPb) Descriptor
deprecated
func (*MplsRouteKeyPb) Descriptor() ([]byte, []int)
Deprecated: Use MplsRouteKeyPb.ProtoReflect.Descriptor instead.
func (*MplsRouteKeyPb) GetTopLabel ¶
func (x *MplsRouteKeyPb) GetTopLabel() *MplsLabel
func (*MplsRouteKeyPb) ProtoMessage ¶
func (*MplsRouteKeyPb) ProtoMessage()
func (*MplsRouteKeyPb) ProtoReflect ¶
func (x *MplsRouteKeyPb) ProtoReflect() protoreflect.Message
func (*MplsRouteKeyPb) Reset ¶
func (x *MplsRouteKeyPb) Reset()
func (*MplsRouteKeyPb) String ¶
func (x *MplsRouteKeyPb) String() string
type MplsRoutePb ¶
type MplsRoutePb struct { NexthopGroupName string `protobuf:"bytes,1,opt,name=nexthop_group_name,json=nexthopGroupName,proto3" json:"nexthop_group_name,omitempty"` // Next hop group name Operation MplsRoutePb_Operation `protobuf:"varint,2,opt,name=operation,proto3,enum=srlinux.sdk.MplsRoutePb_Operation" json:"operation,omitempty"` // Operation such as POP or SWAP Preference uint32 `protobuf:"varint,3,opt,name=preference,proto3" json:"preference,omitempty"` // Route preference // contains filtered or unexported fields }
* Represents MPLS route data.
func (*MplsRoutePb) Descriptor
deprecated
func (*MplsRoutePb) Descriptor() ([]byte, []int)
Deprecated: Use MplsRoutePb.ProtoReflect.Descriptor instead.
func (*MplsRoutePb) GetNexthopGroupName ¶
func (x *MplsRoutePb) GetNexthopGroupName() string
func (*MplsRoutePb) GetOperation ¶
func (x *MplsRoutePb) GetOperation() MplsRoutePb_Operation
func (*MplsRoutePb) GetPreference ¶
func (x *MplsRoutePb) GetPreference() uint32
func (*MplsRoutePb) ProtoMessage ¶
func (*MplsRoutePb) ProtoMessage()
func (*MplsRoutePb) ProtoReflect ¶
func (x *MplsRoutePb) ProtoReflect() protoreflect.Message
func (*MplsRoutePb) Reset ¶
func (x *MplsRoutePb) Reset()
func (*MplsRoutePb) String ¶
func (x *MplsRoutePb) String() string
type MplsRoutePb_Operation ¶
type MplsRoutePb_Operation int32
/ Represents MPLS operation.
const ( MplsRoutePb_INVALID_OP MplsRoutePb_Operation = 0 // Invalid operation MplsRoutePb_POP MplsRoutePb_Operation = 1 // Pop operation MplsRoutePb_SWAP MplsRoutePb_Operation = 2 // Swap operation )
func (MplsRoutePb_Operation) Descriptor ¶
func (MplsRoutePb_Operation) Descriptor() protoreflect.EnumDescriptor
func (MplsRoutePb_Operation) Enum ¶
func (x MplsRoutePb_Operation) Enum() *MplsRoutePb_Operation
func (MplsRoutePb_Operation) EnumDescriptor
deprecated
func (MplsRoutePb_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use MplsRoutePb_Operation.Descriptor instead.
func (MplsRoutePb_Operation) Number ¶
func (x MplsRoutePb_Operation) Number() protoreflect.EnumNumber
func (MplsRoutePb_Operation) String ¶
func (x MplsRoutePb_Operation) String() string
func (MplsRoutePb_Operation) Type ¶
func (MplsRoutePb_Operation) Type() protoreflect.EnumType
type NetInstanceId ¶
type NetInstanceId struct { InstanceId uint32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Network instance identifier // contains filtered or unexported fields }
* Represents network instance identifier.
func (*NetInstanceId) Descriptor
deprecated
func (*NetInstanceId) Descriptor() ([]byte, []int)
Deprecated: Use NetInstanceId.ProtoReflect.Descriptor instead.
func (*NetInstanceId) GetInstanceId ¶
func (x *NetInstanceId) GetInstanceId() uint32
func (*NetInstanceId) ProtoMessage ¶
func (*NetInstanceId) ProtoMessage()
func (*NetInstanceId) ProtoReflect ¶
func (x *NetInstanceId) ProtoReflect() protoreflect.Message
func (*NetInstanceId) Reset ¶
func (x *NetInstanceId) Reset()
func (*NetInstanceId) String ¶
func (x *NetInstanceId) String() string
type NetworkInstanceData ¶
type NetworkInstanceData struct { NetInstId uint32 `protobuf:"varint,1,opt,name=net_inst_id,json=netInstId,proto3" json:"net_inst_id,omitempty"` // Network instance identifier BaseName string `protobuf:"bytes,2,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"` // Base name LoopbackAddr *IpAddrPrefLenPb `protobuf:"bytes,3,opt,name=loopback_addr,json=loopbackAddr,proto3" json:"loopback_addr,omitempty"` // Loopback address of network instance OperIsUp bool `protobuf:"varint,4,opt,name=oper_is_up,json=operIsUp,proto3" json:"oper_is_up,omitempty"` // Operation status RouterId string `protobuf:"bytes,5,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"` // Router identifier InstType NetworkInstanceData_NetInstType `` // Network instance type /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
* Represents network instance data.
func (*NetworkInstanceData) Descriptor
deprecated
func (*NetworkInstanceData) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceData.ProtoReflect.Descriptor instead.
func (*NetworkInstanceData) GetBaseName ¶
func (x *NetworkInstanceData) GetBaseName() string
func (*NetworkInstanceData) GetInstType ¶
func (x *NetworkInstanceData) GetInstType() NetworkInstanceData_NetInstType
func (*NetworkInstanceData) GetLoopbackAddr ¶
func (x *NetworkInstanceData) GetLoopbackAddr() *IpAddrPrefLenPb
func (*NetworkInstanceData) GetNetInstId ¶
func (x *NetworkInstanceData) GetNetInstId() uint32
func (*NetworkInstanceData) GetOperIsUp ¶
func (x *NetworkInstanceData) GetOperIsUp() bool
func (*NetworkInstanceData) GetRouterId ¶
func (x *NetworkInstanceData) GetRouterId() string
func (*NetworkInstanceData) ProtoMessage ¶
func (*NetworkInstanceData) ProtoMessage()
func (*NetworkInstanceData) ProtoReflect ¶
func (x *NetworkInstanceData) ProtoReflect() protoreflect.Message
func (*NetworkInstanceData) Reset ¶
func (x *NetworkInstanceData) Reset()
func (*NetworkInstanceData) String ¶
func (x *NetworkInstanceData) String() string
type NetworkInstanceData_NetInstType ¶
type NetworkInstanceData_NetInstType int32
/ Represents network instance type.
const ( NetworkInstanceData_DEFAULT NetworkInstanceData_NetInstType = 0 // Default network instance type NetworkInstanceData_L3VRF NetworkInstanceData_NetInstType = 1 // L3VRF network instance type )
func (NetworkInstanceData_NetInstType) Descriptor ¶
func (NetworkInstanceData_NetInstType) Descriptor() protoreflect.EnumDescriptor
func (NetworkInstanceData_NetInstType) Enum ¶
func (x NetworkInstanceData_NetInstType) Enum() *NetworkInstanceData_NetInstType
func (NetworkInstanceData_NetInstType) EnumDescriptor
deprecated
func (NetworkInstanceData_NetInstType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceData_NetInstType.Descriptor instead.
func (NetworkInstanceData_NetInstType) Number ¶
func (x NetworkInstanceData_NetInstType) Number() protoreflect.EnumNumber
func (NetworkInstanceData_NetInstType) String ¶
func (x NetworkInstanceData_NetInstType) String() string
func (NetworkInstanceData_NetInstType) Type ¶
func (NetworkInstanceData_NetInstType) Type() protoreflect.EnumType
type NetworkInstanceKey ¶
type NetworkInstanceKey struct { InstName string `protobuf:"bytes,1,opt,name=inst_name,json=instName,proto3" json:"inst_name,omitempty"` // Network instance name // contains filtered or unexported fields }
* Represents network instance key.
func (*NetworkInstanceKey) Descriptor
deprecated
func (*NetworkInstanceKey) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceKey.ProtoReflect.Descriptor instead.
func (*NetworkInstanceKey) GetInstName ¶
func (x *NetworkInstanceKey) GetInstName() string
func (*NetworkInstanceKey) ProtoMessage ¶
func (*NetworkInstanceKey) ProtoMessage()
func (*NetworkInstanceKey) ProtoReflect ¶
func (x *NetworkInstanceKey) ProtoReflect() protoreflect.Message
func (*NetworkInstanceKey) Reset ¶
func (x *NetworkInstanceKey) Reset()
func (*NetworkInstanceKey) String ¶
func (x *NetworkInstanceKey) String() string
type NetworkInstanceNotification ¶
type NetworkInstanceNotification struct { Op SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update Key *NetworkInstanceKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Network key Data *NetworkInstanceData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Network data // contains filtered or unexported fields }
* Represents network instance notification.
func (*NetworkInstanceNotification) Descriptor
deprecated
func (*NetworkInstanceNotification) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceNotification.ProtoReflect.Descriptor instead.
func (*NetworkInstanceNotification) GetData ¶
func (x *NetworkInstanceNotification) GetData() *NetworkInstanceData
func (*NetworkInstanceNotification) GetKey ¶
func (x *NetworkInstanceNotification) GetKey() *NetworkInstanceKey
func (*NetworkInstanceNotification) GetOp ¶
func (x *NetworkInstanceNotification) GetOp() SdkMgrOperation
func (*NetworkInstanceNotification) ProtoMessage ¶
func (*NetworkInstanceNotification) ProtoMessage()
func (*NetworkInstanceNotification) ProtoReflect ¶
func (x *NetworkInstanceNotification) ProtoReflect() protoreflect.Message
func (*NetworkInstanceNotification) Reset ¶
func (x *NetworkInstanceNotification) Reset()
func (*NetworkInstanceNotification) String ¶
func (x *NetworkInstanceNotification) String() string
type NetworkInstanceSubscriptionRequest ¶
type NetworkInstanceSubscriptionRequest struct {
// contains filtered or unexported fields
}
* Represents network instance subscription request.
func (*NetworkInstanceSubscriptionRequest) Descriptor
deprecated
func (*NetworkInstanceSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*NetworkInstanceSubscriptionRequest) ProtoMessage ¶
func (*NetworkInstanceSubscriptionRequest) ProtoMessage()
func (*NetworkInstanceSubscriptionRequest) ProtoReflect ¶
func (x *NetworkInstanceSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*NetworkInstanceSubscriptionRequest) Reset ¶
func (x *NetworkInstanceSubscriptionRequest) Reset()
func (*NetworkInstanceSubscriptionRequest) String ¶
func (x *NetworkInstanceSubscriptionRequest) String() string
type NextHop ¶
type NextHop struct { ResolveTo NextHop_ResolveToType `` // Resolve-to type /* 128-byte string literal not displayed */ Type NextHop_ResolutionType `protobuf:"varint,2,opt,name=type,proto3,enum=srlinux.sdk.NextHop_ResolutionType" json:"type,omitempty"` // Resolution type // Types that are assignable to Nexthop: // *NextHop_IpNexthop // *NextHop_MplsNexthop Nexthop isNextHop_Nexthop `protobuf_oneof:"nexthop"` // contains filtered or unexported fields }
* Represents next-hop.
func (*NextHop) Descriptor
deprecated
func (*NextHop) GetIpNexthop ¶
func (x *NextHop) GetIpNexthop() *IpAddressPb
func (*NextHop) GetMplsNexthop ¶
func (x *NextHop) GetMplsNexthop() *MplsNextHop
func (*NextHop) GetNexthop ¶
func (m *NextHop) GetNexthop() isNextHop_Nexthop
func (*NextHop) GetResolveTo ¶
func (x *NextHop) GetResolveTo() NextHop_ResolveToType
func (*NextHop) GetType ¶
func (x *NextHop) GetType() NextHop_ResolutionType
func (*NextHop) ProtoMessage ¶
func (*NextHop) ProtoMessage()
func (*NextHop) ProtoReflect ¶
func (x *NextHop) ProtoReflect() protoreflect.Message
type NextHopGroup ¶
type NextHopGroup struct { NextHop []*NextHop `protobuf:"bytes,1,rep,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` // Next-hops // contains filtered or unexported fields }
* Represents next-hop group.
func (*NextHopGroup) Descriptor
deprecated
func (*NextHopGroup) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroup.ProtoReflect.Descriptor instead.
func (*NextHopGroup) GetNextHop ¶
func (x *NextHopGroup) GetNextHop() []*NextHop
func (*NextHopGroup) ProtoMessage ¶
func (*NextHopGroup) ProtoMessage()
func (*NextHopGroup) ProtoReflect ¶
func (x *NextHopGroup) ProtoReflect() protoreflect.Message
func (*NextHopGroup) Reset ¶
func (x *NextHopGroup) Reset()
func (*NextHopGroup) String ¶
func (x *NextHopGroup) String() string
type NextHopGroupDeleteRequest ¶
type NextHopGroupDeleteRequest struct { GroupKey []*NextHopGroupKey `protobuf:"bytes,1,rep,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // Next-hop group key details // contains filtered or unexported fields }
* Represents next-hop group delete request.
func (*NextHopGroupDeleteRequest) Descriptor
deprecated
func (*NextHopGroupDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupDeleteRequest.ProtoReflect.Descriptor instead.
func (*NextHopGroupDeleteRequest) GetGroupKey ¶
func (x *NextHopGroupDeleteRequest) GetGroupKey() []*NextHopGroupKey
func (*NextHopGroupDeleteRequest) ProtoMessage ¶
func (*NextHopGroupDeleteRequest) ProtoMessage()
func (*NextHopGroupDeleteRequest) ProtoReflect ¶
func (x *NextHopGroupDeleteRequest) ProtoReflect() protoreflect.Message
func (*NextHopGroupDeleteRequest) Reset ¶
func (x *NextHopGroupDeleteRequest) Reset()
func (*NextHopGroupDeleteRequest) String ¶
func (x *NextHopGroupDeleteRequest) String() string
type NextHopGroupDeleteResponse ¶
type NextHopGroupDeleteResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Response for next-hop group request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents next-hop group delete response.
func (*NextHopGroupDeleteResponse) Descriptor
deprecated
func (*NextHopGroupDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupDeleteResponse.ProtoReflect.Descriptor instead.
func (*NextHopGroupDeleteResponse) GetErrorStr ¶
func (x *NextHopGroupDeleteResponse) GetErrorStr() string
func (*NextHopGroupDeleteResponse) GetStatus ¶
func (x *NextHopGroupDeleteResponse) GetStatus() SdkMgrStatus
func (*NextHopGroupDeleteResponse) ProtoMessage ¶
func (*NextHopGroupDeleteResponse) ProtoMessage()
func (*NextHopGroupDeleteResponse) ProtoReflect ¶
func (x *NextHopGroupDeleteResponse) ProtoReflect() protoreflect.Message
func (*NextHopGroupDeleteResponse) Reset ¶
func (x *NextHopGroupDeleteResponse) Reset()
func (*NextHopGroupDeleteResponse) String ¶
func (x *NextHopGroupDeleteResponse) String() string
type NextHopGroupInfo ¶
type NextHopGroupInfo struct { Key *NextHopGroupKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Next-hop group key Data *NextHopGroup `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Next-hop group data // contains filtered or unexported fields }
* Represents next-hop group information.
func (*NextHopGroupInfo) Descriptor
deprecated
func (*NextHopGroupInfo) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupInfo.ProtoReflect.Descriptor instead.
func (*NextHopGroupInfo) GetData ¶
func (x *NextHopGroupInfo) GetData() *NextHopGroup
func (*NextHopGroupInfo) GetKey ¶
func (x *NextHopGroupInfo) GetKey() *NextHopGroupKey
func (*NextHopGroupInfo) ProtoMessage ¶
func (*NextHopGroupInfo) ProtoMessage()
func (*NextHopGroupInfo) ProtoReflect ¶
func (x *NextHopGroupInfo) ProtoReflect() protoreflect.Message
func (*NextHopGroupInfo) Reset ¶
func (x *NextHopGroupInfo) Reset()
func (*NextHopGroupInfo) String ¶
func (x *NextHopGroupInfo) String() string
type NextHopGroupKey ¶
type NextHopGroupKey struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Next-hop group name NetworkInstanceName string `protobuf:"bytes,2,opt,name=network_instance_name,json=networkInstanceName,proto3" json:"network_instance_name,omitempty"` // Next-hop group network instance name // contains filtered or unexported fields }
* Represents next-hop group key.
func (*NextHopGroupKey) Descriptor
deprecated
func (*NextHopGroupKey) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupKey.ProtoReflect.Descriptor instead.
func (*NextHopGroupKey) GetName ¶
func (x *NextHopGroupKey) GetName() string
func (*NextHopGroupKey) GetNetworkInstanceName ¶
func (x *NextHopGroupKey) GetNetworkInstanceName() string
func (*NextHopGroupKey) ProtoMessage ¶
func (*NextHopGroupKey) ProtoMessage()
func (*NextHopGroupKey) ProtoReflect ¶
func (x *NextHopGroupKey) ProtoReflect() protoreflect.Message
func (*NextHopGroupKey) Reset ¶
func (x *NextHopGroupKey) Reset()
func (*NextHopGroupKey) String ¶
func (x *NextHopGroupKey) String() string
type NextHopGroupRequest ¶
type NextHopGroupRequest struct { GroupInfo []*NextHopGroupInfo `protobuf:"bytes,1,rep,name=group_info,json=groupInfo,proto3" json:"group_info,omitempty"` // Next-hop group details // contains filtered or unexported fields }
* Represents next-hop group request.
func (*NextHopGroupRequest) Descriptor
deprecated
func (*NextHopGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupRequest.ProtoReflect.Descriptor instead.
func (*NextHopGroupRequest) GetGroupInfo ¶
func (x *NextHopGroupRequest) GetGroupInfo() []*NextHopGroupInfo
func (*NextHopGroupRequest) ProtoMessage ¶
func (*NextHopGroupRequest) ProtoMessage()
func (*NextHopGroupRequest) ProtoReflect ¶
func (x *NextHopGroupRequest) ProtoReflect() protoreflect.Message
func (*NextHopGroupRequest) Reset ¶
func (x *NextHopGroupRequest) Reset()
func (*NextHopGroupRequest) String ¶
func (x *NextHopGroupRequest) String() string
type NextHopGroupResponse ¶
type NextHopGroupResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Response for next-hop group request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents next-hop group response.
func (*NextHopGroupResponse) Descriptor
deprecated
func (*NextHopGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextHopGroupResponse.ProtoReflect.Descriptor instead.
func (*NextHopGroupResponse) GetErrorStr ¶
func (x *NextHopGroupResponse) GetErrorStr() string
func (*NextHopGroupResponse) GetStatus ¶
func (x *NextHopGroupResponse) GetStatus() SdkMgrStatus
func (*NextHopGroupResponse) ProtoMessage ¶
func (*NextHopGroupResponse) ProtoMessage()
func (*NextHopGroupResponse) ProtoReflect ¶
func (x *NextHopGroupResponse) ProtoReflect() protoreflect.Message
func (*NextHopGroupResponse) Reset ¶
func (x *NextHopGroupResponse) Reset()
func (*NextHopGroupResponse) String ¶
func (x *NextHopGroupResponse) String() string
type NextHop_IpNexthop ¶
type NextHop_IpNexthop struct {
IpNexthop *IpAddressPb `protobuf:"bytes,3,opt,name=ip_nexthop,json=ipNexthop,proto3,oneof"` // IP next-hop address
}
type NextHop_MplsNexthop ¶
type NextHop_MplsNexthop struct {
MplsNexthop *MplsNextHop `protobuf:"bytes,4,opt,name=mpls_nexthop,json=mplsNexthop,proto3,oneof"` // MPLS next-hop
}
type NextHop_ResolutionType ¶
type NextHop_ResolutionType int32
/ Represents resolution type.
const ( NextHop_INVALID NextHop_ResolutionType = 0 // Invalid resolution NextHop_REGULAR NextHop_ResolutionType = 1 // Regular resolution NextHop_MPLS NextHop_ResolutionType = 2 // MPLS resolution )
func (NextHop_ResolutionType) Descriptor ¶
func (NextHop_ResolutionType) Descriptor() protoreflect.EnumDescriptor
func (NextHop_ResolutionType) Enum ¶
func (x NextHop_ResolutionType) Enum() *NextHop_ResolutionType
func (NextHop_ResolutionType) EnumDescriptor
deprecated
func (NextHop_ResolutionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NextHop_ResolutionType.Descriptor instead.
func (NextHop_ResolutionType) Number ¶
func (x NextHop_ResolutionType) Number() protoreflect.EnumNumber
func (NextHop_ResolutionType) String ¶
func (x NextHop_ResolutionType) String() string
func (NextHop_ResolutionType) Type ¶
func (NextHop_ResolutionType) Type() protoreflect.EnumType
type NextHop_ResolveToType ¶
type NextHop_ResolveToType int32
/ Represents resolve-to type.
const ( NextHop_LOCAL NextHop_ResolveToType = 0 // Resolve to local routes NextHop_DIRECT NextHop_ResolveToType = 1 // Resolve to direct routes NextHop_INDIRECT NextHop_ResolveToType = 2 // Resolve to indirect routes )
func (NextHop_ResolveToType) Descriptor ¶
func (NextHop_ResolveToType) Descriptor() protoreflect.EnumDescriptor
func (NextHop_ResolveToType) Enum ¶
func (x NextHop_ResolveToType) Enum() *NextHop_ResolveToType
func (NextHop_ResolveToType) EnumDescriptor
deprecated
func (NextHop_ResolveToType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NextHop_ResolveToType.Descriptor instead.
func (NextHop_ResolveToType) Number ¶
func (x NextHop_ResolveToType) Number() protoreflect.EnumNumber
func (NextHop_ResolveToType) String ¶
func (x NextHop_ResolveToType) String() string
func (NextHop_ResolveToType) Type ¶
func (NextHop_ResolveToType) Type() protoreflect.EnumType
type Notification ¶
type Notification struct { SubId uint64 `protobuf:"varint,1,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"` // Subscription identifier // Types that are assignable to SubscriptionTypes: // *Notification_Intf // *Notification_NwInst // *Notification_LldpNeighbor // *Notification_Config // *Notification_BfdSession // *Notification_Route // *Notification_Appid SubscriptionTypes isNotification_SubscriptionTypes `protobuf_oneof:"subscription_types"` // contains filtered or unexported fields }
* Represents notification stream response.
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetAppid ¶
func (x *Notification) GetAppid() *AppIdentNotification
func (*Notification) GetBfdSession ¶
func (x *Notification) GetBfdSession() *BfdSessionNotification
func (*Notification) GetConfig ¶
func (x *Notification) GetConfig() *ConfigNotification
func (*Notification) GetIntf ¶
func (x *Notification) GetIntf() *InterfaceNotification
func (*Notification) GetLldpNeighbor ¶
func (x *Notification) GetLldpNeighbor() *LldpNeighborNotification
func (*Notification) GetNwInst ¶
func (x *Notification) GetNwInst() *NetworkInstanceNotification
func (*Notification) GetRoute ¶
func (x *Notification) GetRoute() *IpRouteNotification
func (*Notification) GetSubId ¶
func (x *Notification) GetSubId() uint64
func (*Notification) GetSubscriptionTypes ¶
func (m *Notification) GetSubscriptionTypes() isNotification_SubscriptionTypes
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationQueryRequest ¶
type NotificationQueryRequest struct { StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Stream identifier, in NotificationRegisterResponse // contains filtered or unexported fields }
* Represents notification query to return specific subscription details.
func (*NotificationQueryRequest) Descriptor
deprecated
func (*NotificationQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationQueryRequest.ProtoReflect.Descriptor instead.
func (*NotificationQueryRequest) GetStreamId ¶
func (x *NotificationQueryRequest) GetStreamId() uint64
func (*NotificationQueryRequest) ProtoMessage ¶
func (*NotificationQueryRequest) ProtoMessage()
func (*NotificationQueryRequest) ProtoReflect ¶
func (x *NotificationQueryRequest) ProtoReflect() protoreflect.Message
func (*NotificationQueryRequest) Reset ¶
func (x *NotificationQueryRequest) Reset()
func (*NotificationQueryRequest) String ¶
func (x *NotificationQueryRequest) String() string
type NotificationQueryResponse ¶
type NotificationQueryResponse struct { Subscriptions []*NotificationQuerySubscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // List of subscription details Status SdkMgrStatus `protobuf:"varint,2,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the query // contains filtered or unexported fields }
* Represents notification query response.
func (*NotificationQueryResponse) Descriptor
deprecated
func (*NotificationQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationQueryResponse.ProtoReflect.Descriptor instead.
func (*NotificationQueryResponse) GetStatus ¶
func (x *NotificationQueryResponse) GetStatus() SdkMgrStatus
func (*NotificationQueryResponse) GetSubscriptions ¶
func (x *NotificationQueryResponse) GetSubscriptions() []*NotificationQuerySubscription
func (*NotificationQueryResponse) ProtoMessage ¶
func (*NotificationQueryResponse) ProtoMessage()
func (*NotificationQueryResponse) ProtoReflect ¶
func (x *NotificationQueryResponse) ProtoReflect() protoreflect.Message
func (*NotificationQueryResponse) Reset ¶
func (x *NotificationQueryResponse) Reset()
func (*NotificationQueryResponse) String ¶
func (x *NotificationQueryResponse) String() string
type NotificationQuerySubscription ¶
type NotificationQuerySubscription struct { SubId uint64 `protobuf:"varint,1,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"` // Subscription identifier Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Subscription description // contains filtered or unexported fields }
* Represents notification subscription.
func (*NotificationQuerySubscription) Descriptor
deprecated
func (*NotificationQuerySubscription) Descriptor() ([]byte, []int)
Deprecated: Use NotificationQuerySubscription.ProtoReflect.Descriptor instead.
func (*NotificationQuerySubscription) GetDescription ¶
func (x *NotificationQuerySubscription) GetDescription() string
func (*NotificationQuerySubscription) GetSubId ¶
func (x *NotificationQuerySubscription) GetSubId() uint64
func (*NotificationQuerySubscription) ProtoMessage ¶
func (*NotificationQuerySubscription) ProtoMessage()
func (*NotificationQuerySubscription) ProtoReflect ¶
func (x *NotificationQuerySubscription) ProtoReflect() protoreflect.Message
func (*NotificationQuerySubscription) Reset ¶
func (x *NotificationQuerySubscription) Reset()
func (*NotificationQuerySubscription) String ¶
func (x *NotificationQuerySubscription) String() string
type NotificationRegisterRequest ¶
type NotificationRegisterRequest struct { StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Unset on create, set otherwise Op NotificationRegisterRequest_Operation `protobuf:"varint,2,opt,name=op,proto3,enum=srlinux.sdk.NotificationRegisterRequest_Operation" json:"op,omitempty"` // Specific operation in the notification register request SubId uint64 `protobuf:"varint,3,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"` // Set for delete subscription, unset otherwise // Types that are assignable to SubscriptionTypes: // *NotificationRegisterRequest_Intf // *NotificationRegisterRequest_NwInst // *NotificationRegisterRequest_LldpNeighbor // *NotificationRegisterRequest_Config // *NotificationRegisterRequest_BfdSession // *NotificationRegisterRequest_Route // *NotificationRegisterRequest_Appid SubscriptionTypes isNotificationRegisterRequest_SubscriptionTypes `protobuf_oneof:"subscription_types"` // contains filtered or unexported fields }
* Represents notification request from agent. Agent uses this message to subscribe to router events such as interface create, delete, or update, as well as LLDP neighbor create, delete, or update, and so on.
func (*NotificationRegisterRequest) Descriptor
deprecated
func (*NotificationRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationRegisterRequest.ProtoReflect.Descriptor instead.
func (*NotificationRegisterRequest) GetAppid ¶
func (x *NotificationRegisterRequest) GetAppid() *AppIdentSubscriptionRequest
func (*NotificationRegisterRequest) GetBfdSession ¶
func (x *NotificationRegisterRequest) GetBfdSession() *BfdSessionSubscriptionRequest
func (*NotificationRegisterRequest) GetConfig ¶
func (x *NotificationRegisterRequest) GetConfig() *ConfigSubscriptionRequest
func (*NotificationRegisterRequest) GetIntf ¶
func (x *NotificationRegisterRequest) GetIntf() *InterfaceSubscriptionRequest
func (*NotificationRegisterRequest) GetLldpNeighbor ¶
func (x *NotificationRegisterRequest) GetLldpNeighbor() *LldpNeighborSubscriptionRequest
func (*NotificationRegisterRequest) GetNwInst ¶
func (x *NotificationRegisterRequest) GetNwInst() *NetworkInstanceSubscriptionRequest
func (*NotificationRegisterRequest) GetOp ¶
func (x *NotificationRegisterRequest) GetOp() NotificationRegisterRequest_Operation
func (*NotificationRegisterRequest) GetRoute ¶
func (x *NotificationRegisterRequest) GetRoute() *IpRouteSubscriptionRequest
func (*NotificationRegisterRequest) GetStreamId ¶
func (x *NotificationRegisterRequest) GetStreamId() uint64
func (*NotificationRegisterRequest) GetSubId ¶
func (x *NotificationRegisterRequest) GetSubId() uint64
func (*NotificationRegisterRequest) GetSubscriptionTypes ¶
func (m *NotificationRegisterRequest) GetSubscriptionTypes() isNotificationRegisterRequest_SubscriptionTypes
func (*NotificationRegisterRequest) ProtoMessage ¶
func (*NotificationRegisterRequest) ProtoMessage()
func (*NotificationRegisterRequest) ProtoReflect ¶
func (x *NotificationRegisterRequest) ProtoReflect() protoreflect.Message
func (*NotificationRegisterRequest) Reset ¶
func (x *NotificationRegisterRequest) Reset()
func (*NotificationRegisterRequest) String ¶
func (x *NotificationRegisterRequest) String() string
type NotificationRegisterRequest_Appid ¶
type NotificationRegisterRequest_Appid struct {
Appid *AppIdentSubscriptionRequest `protobuf:"bytes,16,opt,name=appid,proto3,oneof"` // App identification subscription request
}
type NotificationRegisterRequest_BfdSession ¶
type NotificationRegisterRequest_BfdSession struct {
BfdSession *BfdSessionSubscriptionRequest `protobuf:"bytes,14,opt,name=bfd_session,json=bfdSession,proto3,oneof"` // BFD session subscription request
}
type NotificationRegisterRequest_Config ¶
type NotificationRegisterRequest_Config struct {
Config *ConfigSubscriptionRequest `protobuf:"bytes,13,opt,name=config,proto3,oneof"` // Configuration subscription request
}
type NotificationRegisterRequest_Intf ¶
type NotificationRegisterRequest_Intf struct {
Intf *InterfaceSubscriptionRequest `protobuf:"bytes,10,opt,name=intf,proto3,oneof"` // Interface subscription request
}
type NotificationRegisterRequest_LldpNeighbor ¶
type NotificationRegisterRequest_LldpNeighbor struct {
LldpNeighbor *LldpNeighborSubscriptionRequest `protobuf:"bytes,12,opt,name=lldp_neighbor,json=lldpNeighbor,proto3,oneof"` // LLDP neighbor subscription request
}
type NotificationRegisterRequest_NwInst ¶
type NotificationRegisterRequest_NwInst struct {
NwInst *NetworkInstanceSubscriptionRequest `protobuf:"bytes,11,opt,name=nw_inst,json=nwInst,proto3,oneof"` // Network instance subscription request
}
type NotificationRegisterRequest_Operation ¶
type NotificationRegisterRequest_Operation int32
/ Represents notification stream subscription request operation.
const ( NotificationRegisterRequest_Create NotificationRegisterRequest_Operation = 0 // Create a subscription NotificationRegisterRequest_Delete NotificationRegisterRequest_Operation = 1 // Delete all subscriptions NotificationRegisterRequest_AddSubscription NotificationRegisterRequest_Operation = 2 // Add subscription to existing subscriptions NotificationRegisterRequest_DeleteSubscription NotificationRegisterRequest_Operation = 3 // Delete one subscription from existing subscriptions )
func (NotificationRegisterRequest_Operation) Descriptor ¶
func (NotificationRegisterRequest_Operation) Descriptor() protoreflect.EnumDescriptor
func (NotificationRegisterRequest_Operation) EnumDescriptor
deprecated
func (NotificationRegisterRequest_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationRegisterRequest_Operation.Descriptor instead.
func (NotificationRegisterRequest_Operation) Number ¶
func (x NotificationRegisterRequest_Operation) Number() protoreflect.EnumNumber
func (NotificationRegisterRequest_Operation) String ¶
func (x NotificationRegisterRequest_Operation) String() string
func (NotificationRegisterRequest_Operation) Type ¶
func (NotificationRegisterRequest_Operation) Type() protoreflect.EnumType
type NotificationRegisterRequest_Route ¶
type NotificationRegisterRequest_Route struct {
Route *IpRouteSubscriptionRequest `protobuf:"bytes,15,opt,name=route,proto3,oneof"` // IP route subscription request
}
type NotificationRegisterResponse ¶
type NotificationRegisterResponse struct { StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` SubId uint64 `protobuf:"varint,2,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"` // Subscription identifier. Each subscription gets an identifier, which can be used to delete a subscription Status SdkMgrStatus `protobuf:"varint,3,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of subscription // contains filtered or unexported fields }
* Represents notification response.
func (*NotificationRegisterResponse) Descriptor
deprecated
func (*NotificationRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationRegisterResponse.ProtoReflect.Descriptor instead.
func (*NotificationRegisterResponse) GetStatus ¶
func (x *NotificationRegisterResponse) GetStatus() SdkMgrStatus
func (*NotificationRegisterResponse) GetStreamId ¶
func (x *NotificationRegisterResponse) GetStreamId() uint64
func (*NotificationRegisterResponse) GetSubId ¶
func (x *NotificationRegisterResponse) GetSubId() uint64
func (*NotificationRegisterResponse) ProtoMessage ¶
func (*NotificationRegisterResponse) ProtoMessage()
func (*NotificationRegisterResponse) ProtoReflect ¶
func (x *NotificationRegisterResponse) ProtoReflect() protoreflect.Message
func (*NotificationRegisterResponse) Reset ¶
func (x *NotificationRegisterResponse) Reset()
func (*NotificationRegisterResponse) String ¶
func (x *NotificationRegisterResponse) String() string
type NotificationStreamRequest ¶
type NotificationStreamRequest struct { StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Stream identifier // contains filtered or unexported fields }
* Represents notification stream request.
func (*NotificationStreamRequest) Descriptor
deprecated
func (*NotificationStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationStreamRequest.ProtoReflect.Descriptor instead.
func (*NotificationStreamRequest) GetStreamId ¶
func (x *NotificationStreamRequest) GetStreamId() uint64
func (*NotificationStreamRequest) ProtoMessage ¶
func (*NotificationStreamRequest) ProtoMessage()
func (*NotificationStreamRequest) ProtoReflect ¶
func (x *NotificationStreamRequest) ProtoReflect() protoreflect.Message
func (*NotificationStreamRequest) Reset ¶
func (x *NotificationStreamRequest) Reset()
func (*NotificationStreamRequest) String ¶
func (x *NotificationStreamRequest) String() string
type NotificationStreamResponse ¶
type NotificationStreamResponse struct { Notification []*Notification `protobuf:"bytes,1,rep,name=notification,proto3" json:"notification,omitempty"` // Notification details // contains filtered or unexported fields }
* Represents notification stream response that contains one or more notification.
func (*NotificationStreamResponse) Descriptor
deprecated
func (*NotificationStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationStreamResponse.ProtoReflect.Descriptor instead.
func (*NotificationStreamResponse) GetNotification ¶
func (x *NotificationStreamResponse) GetNotification() []*Notification
func (*NotificationStreamResponse) ProtoMessage ¶
func (*NotificationStreamResponse) ProtoMessage()
func (*NotificationStreamResponse) ProtoReflect ¶
func (x *NotificationStreamResponse) ProtoReflect() protoreflect.Message
func (*NotificationStreamResponse) Reset ¶
func (x *NotificationStreamResponse) Reset()
func (*NotificationStreamResponse) String ¶
func (x *NotificationStreamResponse) String() string
type Notification_Appid ¶
type Notification_Appid struct {
Appid *AppIdentNotification `protobuf:"bytes,16,opt,name=appid,proto3,oneof"` // App identification details
}
type Notification_BfdSession ¶
type Notification_BfdSession struct {
BfdSession *BfdSessionNotification `protobuf:"bytes,14,opt,name=bfd_session,json=bfdSession,proto3,oneof"` // BFD session details
}
type Notification_Config ¶
type Notification_Config struct {
Config *ConfigNotification `protobuf:"bytes,13,opt,name=config,proto3,oneof"` // Configuration notification
}
type Notification_Intf ¶
type Notification_Intf struct {
Intf *InterfaceNotification `protobuf:"bytes,10,opt,name=intf,proto3,oneof"` // Interface details
}
type Notification_LldpNeighbor ¶
type Notification_LldpNeighbor struct {
LldpNeighbor *LldpNeighborNotification `protobuf:"bytes,12,opt,name=lldp_neighbor,json=lldpNeighbor,proto3,oneof"` // LLDP neighbor details
}
type Notification_NwInst ¶
type Notification_NwInst struct {
NwInst *NetworkInstanceNotification `protobuf:"bytes,11,opt,name=nw_inst,json=nwInst,proto3,oneof"` // Network instance details
}
type Notification_Route ¶
type Notification_Route struct {
Route *IpRouteNotification `protobuf:"bytes,15,opt,name=route,proto3,oneof"` // IP route details
}
type PortIdPb ¶
type PortIdPb struct { PortId uint64 `protobuf:"varint,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Port identifier // contains filtered or unexported fields }
* Represents port identifier.
func (*PortIdPb) Descriptor
deprecated
func (*PortIdPb) ProtoMessage ¶
func (*PortIdPb) ProtoMessage()
func (*PortIdPb) ProtoReflect ¶
func (x *PortIdPb) ProtoReflect() protoreflect.Message
type RouteAddRequest ¶
type RouteAddRequest struct { Routes []*RouteInfo `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // IP routes // contains filtered or unexported fields }
* Represents route add request; can contain more than one route.
func (*RouteAddRequest) Descriptor
deprecated
func (*RouteAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use RouteAddRequest.ProtoReflect.Descriptor instead.
func (*RouteAddRequest) GetRoutes ¶
func (x *RouteAddRequest) GetRoutes() []*RouteInfo
func (*RouteAddRequest) ProtoMessage ¶
func (*RouteAddRequest) ProtoMessage()
func (*RouteAddRequest) ProtoReflect ¶
func (x *RouteAddRequest) ProtoReflect() protoreflect.Message
func (*RouteAddRequest) Reset ¶
func (x *RouteAddRequest) Reset()
func (*RouteAddRequest) String ¶
func (x *RouteAddRequest) String() string
type RouteAddResponse ¶
type RouteAddResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of route add operation ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents route add response.
func (*RouteAddResponse) Descriptor
deprecated
func (*RouteAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use RouteAddResponse.ProtoReflect.Descriptor instead.
func (*RouteAddResponse) GetErrorStr ¶
func (x *RouteAddResponse) GetErrorStr() string
func (*RouteAddResponse) GetStatus ¶
func (x *RouteAddResponse) GetStatus() SdkMgrStatus
func (*RouteAddResponse) ProtoMessage ¶
func (*RouteAddResponse) ProtoMessage()
func (*RouteAddResponse) ProtoReflect ¶
func (x *RouteAddResponse) ProtoReflect() protoreflect.Message
func (*RouteAddResponse) Reset ¶
func (x *RouteAddResponse) Reset()
func (*RouteAddResponse) String ¶
func (x *RouteAddResponse) String() string
type RouteDeleteRequest ¶
type RouteDeleteRequest struct { Routes []*RouteKeyPb `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // IP routes // contains filtered or unexported fields }
* Represents route delete request; can contain more than one route.
func (*RouteDeleteRequest) Descriptor
deprecated
func (*RouteDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RouteDeleteRequest.ProtoReflect.Descriptor instead.
func (*RouteDeleteRequest) GetRoutes ¶
func (x *RouteDeleteRequest) GetRoutes() []*RouteKeyPb
func (*RouteDeleteRequest) ProtoMessage ¶
func (*RouteDeleteRequest) ProtoMessage()
func (*RouteDeleteRequest) ProtoReflect ¶
func (x *RouteDeleteRequest) ProtoReflect() protoreflect.Message
func (*RouteDeleteRequest) Reset ¶
func (x *RouteDeleteRequest) Reset()
func (*RouteDeleteRequest) String ¶
func (x *RouteDeleteRequest) String() string
type RouteDeleteResponse ¶
type RouteDeleteResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of route delete operation ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Represents route delete response.
func (*RouteDeleteResponse) Descriptor
deprecated
func (*RouteDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RouteDeleteResponse.ProtoReflect.Descriptor instead.
func (*RouteDeleteResponse) GetErrorStr ¶
func (x *RouteDeleteResponse) GetErrorStr() string
func (*RouteDeleteResponse) GetStatus ¶
func (x *RouteDeleteResponse) GetStatus() SdkMgrStatus
func (*RouteDeleteResponse) ProtoMessage ¶
func (*RouteDeleteResponse) ProtoMessage()
func (*RouteDeleteResponse) ProtoReflect ¶
func (x *RouteDeleteResponse) ProtoReflect() protoreflect.Message
func (*RouteDeleteResponse) Reset ¶
func (x *RouteDeleteResponse) Reset()
func (*RouteDeleteResponse) String ¶
func (x *RouteDeleteResponse) String() string
type RouteInfo ¶
type RouteInfo struct { Key *RouteKeyPb `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Route key Data *RoutePb `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Route data // contains filtered or unexported fields }
* Represents route information.
func (*RouteInfo) Descriptor
deprecated
func (*RouteInfo) GetKey ¶
func (x *RouteInfo) GetKey() *RouteKeyPb
func (*RouteInfo) ProtoMessage ¶
func (*RouteInfo) ProtoMessage()
func (*RouteInfo) ProtoReflect ¶
func (x *RouteInfo) ProtoReflect() protoreflect.Message
type RouteKeyPb ¶
type RouteKeyPb struct { NetInstName string `protobuf:"bytes,1,opt,name=net_inst_name,json=netInstName,proto3" json:"net_inst_name,omitempty"` // Network instance name IpPrefix *IpAddrPrefLenPb `protobuf:"bytes,2,opt,name=ip_prefix,json=ipPrefix,proto3" json:"ip_prefix,omitempty"` // IP prefix // contains filtered or unexported fields }
* Represents route key.
func (*RouteKeyPb) Descriptor
deprecated
func (*RouteKeyPb) Descriptor() ([]byte, []int)
Deprecated: Use RouteKeyPb.ProtoReflect.Descriptor instead.
func (*RouteKeyPb) GetIpPrefix ¶
func (x *RouteKeyPb) GetIpPrefix() *IpAddrPrefLenPb
func (*RouteKeyPb) GetNetInstName ¶
func (x *RouteKeyPb) GetNetInstName() string
func (*RouteKeyPb) ProtoMessage ¶
func (*RouteKeyPb) ProtoMessage()
func (*RouteKeyPb) ProtoReflect ¶
func (x *RouteKeyPb) ProtoReflect() protoreflect.Message
func (*RouteKeyPb) Reset ¶
func (x *RouteKeyPb) Reset()
func (*RouteKeyPb) String ¶
func (x *RouteKeyPb) String() string
type RoutePb ¶
type RoutePb struct { NexthopGroupName string `protobuf:"bytes,1,opt,name=nexthop_group_name,json=nexthopGroupName,proto3" json:"nexthop_group_name,omitempty"` // Next hop group name Preference uint32 `protobuf:"varint,2,opt,name=preference,proto3" json:"preference,omitempty"` // Preference Metric uint32 `protobuf:"varint,3,opt,name=metric,proto3" json:"metric,omitempty"` // Metric Nexthop []*NextHop `protobuf:"bytes,4,rep,name=nexthop,proto3" json:"nexthop,omitempty"` // List of next hops OwnerId uint32 `protobuf:"varint,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Next hop owner identifier returned only on notification. // contains filtered or unexported fields }
* Represents route data.
func (*RoutePb) Descriptor
deprecated
func (*RoutePb) GetNexthop ¶
func (*RoutePb) GetNexthopGroupName ¶
func (*RoutePb) GetOwnerId ¶
func (*RoutePb) GetPreference ¶
func (*RoutePb) ProtoMessage ¶
func (*RoutePb) ProtoMessage()
func (*RoutePb) ProtoReflect ¶
func (x *RoutePb) ProtoReflect() protoreflect.Message
type SdkMgrMplsRouteServiceClient ¶
type SdkMgrMplsRouteServiceClient interface { /// MPLS route add or update; can add or update more than one MPLS route in one request MplsRouteAddOrUpdate(ctx context.Context, in *MplsRouteAddRequest, opts ...grpc.CallOption) (*MplsRouteAddResponse, error) /// MPLS route delete; can delete more than one MPLS route in one request MplsRouteDelete(ctx context.Context, in *MplsRouteDeleteRequest, opts ...grpc.CallOption) (*MplsRouteDeleteResponse, error) /// Synchronization start to begin synchronization operation SyncStart(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) /// Synchronization end to close synchronization operation SyncEnd(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) }
SdkMgrMplsRouteServiceClient is the client API for SdkMgrMplsRouteService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkMgrMplsRouteServiceClient ¶
func NewSdkMgrMplsRouteServiceClient(cc grpc.ClientConnInterface) SdkMgrMplsRouteServiceClient
type SdkMgrMplsRouteServiceServer ¶
type SdkMgrMplsRouteServiceServer interface { /// MPLS route add or update; can add or update more than one MPLS route in one request MplsRouteAddOrUpdate(context.Context, *MplsRouteAddRequest) (*MplsRouteAddResponse, error) /// MPLS route delete; can delete more than one MPLS route in one request MplsRouteDelete(context.Context, *MplsRouteDeleteRequest) (*MplsRouteDeleteResponse, error) /// Synchronization start to begin synchronization operation SyncStart(context.Context, *SyncRequest) (*SyncResponse, error) /// Synchronization end to close synchronization operation SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error) }
SdkMgrMplsRouteServiceServer is the server API for SdkMgrMplsRouteService service.
type SdkMgrNextHopGroupServiceClient ¶
type SdkMgrNextHopGroupServiceClient interface { /// Add or update one or more next-hop groups. NextHopGroupAddOrUpdate(ctx context.Context, in *NextHopGroupRequest, opts ...grpc.CallOption) (*NextHopGroupResponse, error) /// Delete next-hop group. NextHopGroupDelete(ctx context.Context, in *NextHopGroupDeleteRequest, opts ...grpc.CallOption) (*NextHopGroupDeleteResponse, error) /// Synchronization start to open synchronization operation. SyncStart(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) /// Synchronization end to close synchronization operation. SyncEnd(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) }
SdkMgrNextHopGroupServiceClient is the client API for SdkMgrNextHopGroupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkMgrNextHopGroupServiceClient ¶
func NewSdkMgrNextHopGroupServiceClient(cc grpc.ClientConnInterface) SdkMgrNextHopGroupServiceClient
type SdkMgrNextHopGroupServiceServer ¶
type SdkMgrNextHopGroupServiceServer interface { /// Add or update one or more next-hop groups. NextHopGroupAddOrUpdate(context.Context, *NextHopGroupRequest) (*NextHopGroupResponse, error) /// Delete next-hop group. NextHopGroupDelete(context.Context, *NextHopGroupDeleteRequest) (*NextHopGroupDeleteResponse, error) /// Synchronization start to open synchronization operation. SyncStart(context.Context, *SyncRequest) (*SyncResponse, error) /// Synchronization end to close synchronization operation. SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error) }
SdkMgrNextHopGroupServiceServer is the server API for SdkMgrNextHopGroupService service.
type SdkMgrOperation ¶
type SdkMgrOperation int32
* Represents enumeration value for operation in subscription.
const ( SdkMgrOperation_Create SdkMgrOperation = 0 // Create operation SdkMgrOperation_Change SdkMgrOperation = 1 // Change operation SdkMgrOperation_Delete SdkMgrOperation = 2 // Delete operation )
func (SdkMgrOperation) Descriptor ¶
func (SdkMgrOperation) Descriptor() protoreflect.EnumDescriptor
func (SdkMgrOperation) Enum ¶
func (x SdkMgrOperation) Enum() *SdkMgrOperation
func (SdkMgrOperation) EnumDescriptor
deprecated
func (SdkMgrOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SdkMgrOperation.Descriptor instead.
func (SdkMgrOperation) Number ¶
func (x SdkMgrOperation) Number() protoreflect.EnumNumber
func (SdkMgrOperation) String ¶
func (x SdkMgrOperation) String() string
func (SdkMgrOperation) Type ¶
func (SdkMgrOperation) Type() protoreflect.EnumType
type SdkMgrRouteServiceClient ¶
type SdkMgrRouteServiceClient interface { /// Add or update IP routes. RouteAddOrUpdate(ctx context.Context, in *RouteAddRequest, opts ...grpc.CallOption) (*RouteAddResponse, error) /// Delete IP routes. RouteDelete(ctx context.Context, in *RouteDeleteRequest, opts ...grpc.CallOption) (*RouteDeleteResponse, error) /// Synchronization start for IP routes SyncStart(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) /// Synchronization end for IP routes SyncEnd(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) }
SdkMgrRouteServiceClient is the client API for SdkMgrRouteService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkMgrRouteServiceClient ¶
func NewSdkMgrRouteServiceClient(cc grpc.ClientConnInterface) SdkMgrRouteServiceClient
type SdkMgrRouteServiceServer ¶
type SdkMgrRouteServiceServer interface { /// Add or update IP routes. RouteAddOrUpdate(context.Context, *RouteAddRequest) (*RouteAddResponse, error) /// Delete IP routes. RouteDelete(context.Context, *RouteDeleteRequest) (*RouteDeleteResponse, error) /// Synchronization start for IP routes SyncStart(context.Context, *SyncRequest) (*SyncResponse, error) /// Synchronization end for IP routes SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error) }
SdkMgrRouteServiceServer is the server API for SdkMgrRouteService service.
type SdkMgrServiceClient ¶
type SdkMgrServiceClient interface { /// Register agent AgentRegister(ctx context.Context, in *AgentRegistrationRequest, opts ...grpc.CallOption) (*AgentRegistrationResponse, error) /// Unregister agent AgentUnRegister(ctx context.Context, in *AgentRegistrationRequest, opts ...grpc.CallOption) (*AgentRegistrationResponse, error) /// Register for event notifications NotificationRegister(ctx context.Context, in *NotificationRegisterRequest, opts ...grpc.CallOption) (*NotificationRegisterResponse, error) /// Returns current or specific notification subscription details NotificationQuery(ctx context.Context, in *NotificationQueryRequest, opts ...grpc.CallOption) (*NotificationQueryResponse, error) /// Send periodic keepalive message KeepAlive(ctx context.Context, in *KeepAliveRequest, opts ...grpc.CallOption) (*KeepAliveResponse, error) /// Get application name from application identifier GetAppId(ctx context.Context, in *AppIdRequest, opts ...grpc.CallOption) (*AppIdResponse, error) }
SdkMgrServiceClient is the client API for SdkMgrService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkMgrServiceClient ¶
func NewSdkMgrServiceClient(cc grpc.ClientConnInterface) SdkMgrServiceClient
type SdkMgrServiceServer ¶
type SdkMgrServiceServer interface { /// Register agent AgentRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error) /// Unregister agent AgentUnRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error) /// Register for event notifications NotificationRegister(context.Context, *NotificationRegisterRequest) (*NotificationRegisterResponse, error) /// Returns current or specific notification subscription details NotificationQuery(context.Context, *NotificationQueryRequest) (*NotificationQueryResponse, error) /// Send periodic keepalive message KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error) /// Get application name from application identifier GetAppId(context.Context, *AppIdRequest) (*AppIdResponse, error) }
SdkMgrServiceServer is the server API for SdkMgrService service.
type SdkMgrStatus ¶
type SdkMgrStatus int32
* Represents status of network programming service calls.
const ( SdkMgrStatus_kSdkMgrSuccess SdkMgrStatus = 0 // Successful service call SdkMgrStatus_kSdkMgrFailed SdkMgrStatus = 1 // Failed service call )
func (SdkMgrStatus) Descriptor ¶
func (SdkMgrStatus) Descriptor() protoreflect.EnumDescriptor
func (SdkMgrStatus) Enum ¶
func (x SdkMgrStatus) Enum() *SdkMgrStatus
func (SdkMgrStatus) EnumDescriptor
deprecated
func (SdkMgrStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SdkMgrStatus.Descriptor instead.
func (SdkMgrStatus) Number ¶
func (x SdkMgrStatus) Number() protoreflect.EnumNumber
func (SdkMgrStatus) String ¶
func (x SdkMgrStatus) String() string
func (SdkMgrStatus) Type ¶
func (SdkMgrStatus) Type() protoreflect.EnumType
type SdkMgrTelemetryServiceClient ¶
type SdkMgrTelemetryServiceClient interface { /// Add or update telemetry data TelemetryAddOrUpdate(ctx context.Context, in *TelemetryUpdateRequest, opts ...grpc.CallOption) (*TelemetryUpdateResponse, error) /// Delete telemetry data TelemetryDelete(ctx context.Context, in *TelemetryDeleteRequest, opts ...grpc.CallOption) (*TelemetryDeleteResponse, error) }
SdkMgrTelemetryServiceClient is the client API for SdkMgrTelemetryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkMgrTelemetryServiceClient ¶
func NewSdkMgrTelemetryServiceClient(cc grpc.ClientConnInterface) SdkMgrTelemetryServiceClient
type SdkMgrTelemetryServiceServer ¶
type SdkMgrTelemetryServiceServer interface { /// Add or update telemetry data TelemetryAddOrUpdate(context.Context, *TelemetryUpdateRequest) (*TelemetryUpdateResponse, error) /// Delete telemetry data TelemetryDelete(context.Context, *TelemetryDeleteRequest) (*TelemetryDeleteResponse, error) }
SdkMgrTelemetryServiceServer is the server API for SdkMgrTelemetryService service.
type SdkNotificationServiceClient ¶
type SdkNotificationServiceClient interface { /// Send stream of event notifications based on the agent subscriptions NotificationStream(ctx context.Context, in *NotificationStreamRequest, opts ...grpc.CallOption) (SdkNotificationService_NotificationStreamClient, error) }
SdkNotificationServiceClient is the client API for SdkNotificationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSdkNotificationServiceClient ¶
func NewSdkNotificationServiceClient(cc grpc.ClientConnInterface) SdkNotificationServiceClient
type SdkNotificationServiceServer ¶
type SdkNotificationServiceServer interface { /// Send stream of event notifications based on the agent subscriptions NotificationStream(*NotificationStreamRequest, SdkNotificationService_NotificationStreamServer) error }
SdkNotificationServiceServer is the server API for SdkNotificationService service.
type SdkNotificationService_NotificationStreamClient ¶
type SdkNotificationService_NotificationStreamClient interface { Recv() (*NotificationStreamResponse, error) grpc.ClientStream }
type SdkNotificationService_NotificationStreamServer ¶
type SdkNotificationService_NotificationStreamServer interface { Send(*NotificationStreamResponse) error grpc.ServerStream }
type SyncRequest ¶
type SyncRequest struct {
// contains filtered or unexported fields
}
* Empty message for synchronization request.
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) ProtoReflect ¶
func (x *SyncRequest) ProtoReflect() protoreflect.Message
func (*SyncRequest) Reset ¶
func (x *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (x *SyncRequest) String() string
type SyncResponse ¶
type SyncResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Error code ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error string // contains filtered or unexported fields }
* Empty message for synchronization end.
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) GetErrorStr ¶
func (x *SyncResponse) GetErrorStr() string
func (*SyncResponse) GetStatus ¶
func (x *SyncResponse) GetStatus() SdkMgrStatus
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) ProtoReflect ¶
func (x *SyncResponse) ProtoReflect() protoreflect.Message
func (*SyncResponse) Reset ¶
func (x *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (x *SyncResponse) String() string
type TelemetryData ¶
type TelemetryData struct { JsonContent string `protobuf:"bytes,1,opt,name=json_content,json=jsonContent,proto3" json:"json_content,omitempty"` // Structured JSON telemetry data // contains filtered or unexported fields }
* Represents telemetry data.
func (*TelemetryData) Descriptor
deprecated
func (*TelemetryData) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryData.ProtoReflect.Descriptor instead.
func (*TelemetryData) GetJsonContent ¶
func (x *TelemetryData) GetJsonContent() string
func (*TelemetryData) ProtoMessage ¶
func (*TelemetryData) ProtoMessage()
func (*TelemetryData) ProtoReflect ¶
func (x *TelemetryData) ProtoReflect() protoreflect.Message
func (*TelemetryData) Reset ¶
func (x *TelemetryData) Reset()
func (*TelemetryData) String ¶
func (x *TelemetryData) String() string
type TelemetryDeleteRequest ¶
type TelemetryDeleteRequest struct { Key []*TelemetryKey `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"` // Telemetry key // contains filtered or unexported fields }
* Represents telemetry delete request.
func (*TelemetryDeleteRequest) Descriptor
deprecated
func (*TelemetryDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryDeleteRequest.ProtoReflect.Descriptor instead.
func (*TelemetryDeleteRequest) GetKey ¶
func (x *TelemetryDeleteRequest) GetKey() []*TelemetryKey
func (*TelemetryDeleteRequest) ProtoMessage ¶
func (*TelemetryDeleteRequest) ProtoMessage()
func (*TelemetryDeleteRequest) ProtoReflect ¶
func (x *TelemetryDeleteRequest) ProtoReflect() protoreflect.Message
func (*TelemetryDeleteRequest) Reset ¶
func (x *TelemetryDeleteRequest) Reset()
func (*TelemetryDeleteRequest) String ¶
func (x *TelemetryDeleteRequest) String() string
type TelemetryDeleteResponse ¶
type TelemetryDeleteResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of delete request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error message // contains filtered or unexported fields }
* Represents telemetry delete response.
func (*TelemetryDeleteResponse) Descriptor
deprecated
func (*TelemetryDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryDeleteResponse.ProtoReflect.Descriptor instead.
func (*TelemetryDeleteResponse) GetErrorStr ¶
func (x *TelemetryDeleteResponse) GetErrorStr() string
func (*TelemetryDeleteResponse) GetStatus ¶
func (x *TelemetryDeleteResponse) GetStatus() SdkMgrStatus
func (*TelemetryDeleteResponse) ProtoMessage ¶
func (*TelemetryDeleteResponse) ProtoMessage()
func (*TelemetryDeleteResponse) ProtoReflect ¶
func (x *TelemetryDeleteResponse) ProtoReflect() protoreflect.Message
func (*TelemetryDeleteResponse) Reset ¶
func (x *TelemetryDeleteResponse) Reset()
func (*TelemetryDeleteResponse) String ¶
func (x *TelemetryDeleteResponse) String() string
type TelemetryInfo ¶
type TelemetryInfo struct { Key *TelemetryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Telemetry key Data *TelemetryData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Telemetry data // contains filtered or unexported fields }
* Represents telemetry information.
func (*TelemetryInfo) Descriptor
deprecated
func (*TelemetryInfo) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryInfo.ProtoReflect.Descriptor instead.
func (*TelemetryInfo) GetData ¶
func (x *TelemetryInfo) GetData() *TelemetryData
func (*TelemetryInfo) GetKey ¶
func (x *TelemetryInfo) GetKey() *TelemetryKey
func (*TelemetryInfo) ProtoMessage ¶
func (*TelemetryInfo) ProtoMessage()
func (*TelemetryInfo) ProtoReflect ¶
func (x *TelemetryInfo) ProtoReflect() protoreflect.Message
func (*TelemetryInfo) Reset ¶
func (x *TelemetryInfo) Reset()
func (*TelemetryInfo) String ¶
func (x *TelemetryInfo) String() string
type TelemetryKey ¶
type TelemetryKey struct { JsPath string `protobuf:"bytes,1,opt,name=js_path,json=jsPath,proto3" json:"js_path,omitempty"` // JSON path referencing the key for telemetry data // contains filtered or unexported fields }
* Represents telemetry key.
func (*TelemetryKey) Descriptor
deprecated
func (*TelemetryKey) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryKey.ProtoReflect.Descriptor instead.
func (*TelemetryKey) GetJsPath ¶
func (x *TelemetryKey) GetJsPath() string
func (*TelemetryKey) ProtoMessage ¶
func (*TelemetryKey) ProtoMessage()
func (*TelemetryKey) ProtoReflect ¶
func (x *TelemetryKey) ProtoReflect() protoreflect.Message
func (*TelemetryKey) Reset ¶
func (x *TelemetryKey) Reset()
func (*TelemetryKey) String ¶
func (x *TelemetryKey) String() string
type TelemetryUpdateRequest ¶
type TelemetryUpdateRequest struct { State []*TelemetryInfo `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"` // State of application // contains filtered or unexported fields }
* Represents telemetry update request.
func (*TelemetryUpdateRequest) Descriptor
deprecated
func (*TelemetryUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryUpdateRequest.ProtoReflect.Descriptor instead.
func (*TelemetryUpdateRequest) GetState ¶
func (x *TelemetryUpdateRequest) GetState() []*TelemetryInfo
func (*TelemetryUpdateRequest) ProtoMessage ¶
func (*TelemetryUpdateRequest) ProtoMessage()
func (*TelemetryUpdateRequest) ProtoReflect ¶
func (x *TelemetryUpdateRequest) ProtoReflect() protoreflect.Message
func (*TelemetryUpdateRequest) Reset ¶
func (x *TelemetryUpdateRequest) Reset()
func (*TelemetryUpdateRequest) String ¶
func (x *TelemetryUpdateRequest) String() string
type TelemetryUpdateResponse ¶
type TelemetryUpdateResponse struct { Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of telemetry update request ErrorStr string `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"` // Detailed error message // contains filtered or unexported fields }
* Represents telemetry update response.
func (*TelemetryUpdateResponse) Descriptor
deprecated
func (*TelemetryUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryUpdateResponse.ProtoReflect.Descriptor instead.
func (*TelemetryUpdateResponse) GetErrorStr ¶
func (x *TelemetryUpdateResponse) GetErrorStr() string
func (*TelemetryUpdateResponse) GetStatus ¶
func (x *TelemetryUpdateResponse) GetStatus() SdkMgrStatus
func (*TelemetryUpdateResponse) ProtoMessage ¶
func (*TelemetryUpdateResponse) ProtoMessage()
func (*TelemetryUpdateResponse) ProtoReflect ¶
func (x *TelemetryUpdateResponse) ProtoReflect() protoreflect.Message
func (*TelemetryUpdateResponse) Reset ¶
func (x *TelemetryUpdateResponse) Reset()
func (*TelemetryUpdateResponse) String ¶
func (x *TelemetryUpdateResponse) String() string
type UnimplementedSdkMgrMplsRouteServiceServer ¶
type UnimplementedSdkMgrMplsRouteServiceServer struct { }
UnimplementedSdkMgrMplsRouteServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteAddOrUpdate ¶
func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteAddOrUpdate(context.Context, *MplsRouteAddRequest) (*MplsRouteAddResponse, error)
func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteDelete ¶
func (*UnimplementedSdkMgrMplsRouteServiceServer) MplsRouteDelete(context.Context, *MplsRouteDeleteRequest) (*MplsRouteDeleteResponse, error)
func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncEnd ¶
func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncStart ¶
func (*UnimplementedSdkMgrMplsRouteServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
type UnimplementedSdkMgrNextHopGroupServiceServer ¶
type UnimplementedSdkMgrNextHopGroupServiceServer struct { }
UnimplementedSdkMgrNextHopGroupServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupAddOrUpdate ¶
func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupAddOrUpdate(context.Context, *NextHopGroupRequest) (*NextHopGroupResponse, error)
func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupDelete ¶
func (*UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupDelete(context.Context, *NextHopGroupDeleteRequest) (*NextHopGroupDeleteResponse, error)
func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncEnd ¶
func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncStart ¶
func (*UnimplementedSdkMgrNextHopGroupServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
type UnimplementedSdkMgrRouteServiceServer ¶
type UnimplementedSdkMgrRouteServiceServer struct { }
UnimplementedSdkMgrRouteServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkMgrRouteServiceServer) RouteAddOrUpdate ¶
func (*UnimplementedSdkMgrRouteServiceServer) RouteAddOrUpdate(context.Context, *RouteAddRequest) (*RouteAddResponse, error)
func (*UnimplementedSdkMgrRouteServiceServer) RouteDelete ¶
func (*UnimplementedSdkMgrRouteServiceServer) RouteDelete(context.Context, *RouteDeleteRequest) (*RouteDeleteResponse, error)
func (*UnimplementedSdkMgrRouteServiceServer) SyncEnd ¶
func (*UnimplementedSdkMgrRouteServiceServer) SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
func (*UnimplementedSdkMgrRouteServiceServer) SyncStart ¶
func (*UnimplementedSdkMgrRouteServiceServer) SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
type UnimplementedSdkMgrServiceServer ¶
type UnimplementedSdkMgrServiceServer struct { }
UnimplementedSdkMgrServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkMgrServiceServer) AgentRegister ¶
func (*UnimplementedSdkMgrServiceServer) AgentRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
func (*UnimplementedSdkMgrServiceServer) AgentUnRegister ¶
func (*UnimplementedSdkMgrServiceServer) AgentUnRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
func (*UnimplementedSdkMgrServiceServer) GetAppId ¶
func (*UnimplementedSdkMgrServiceServer) GetAppId(context.Context, *AppIdRequest) (*AppIdResponse, error)
func (*UnimplementedSdkMgrServiceServer) KeepAlive ¶
func (*UnimplementedSdkMgrServiceServer) KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
func (*UnimplementedSdkMgrServiceServer) NotificationQuery ¶
func (*UnimplementedSdkMgrServiceServer) NotificationQuery(context.Context, *NotificationQueryRequest) (*NotificationQueryResponse, error)
func (*UnimplementedSdkMgrServiceServer) NotificationRegister ¶
func (*UnimplementedSdkMgrServiceServer) NotificationRegister(context.Context, *NotificationRegisterRequest) (*NotificationRegisterResponse, error)
type UnimplementedSdkMgrTelemetryServiceServer ¶
type UnimplementedSdkMgrTelemetryServiceServer struct { }
UnimplementedSdkMgrTelemetryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkMgrTelemetryServiceServer) TelemetryAddOrUpdate ¶
func (*UnimplementedSdkMgrTelemetryServiceServer) TelemetryAddOrUpdate(context.Context, *TelemetryUpdateRequest) (*TelemetryUpdateResponse, error)
func (*UnimplementedSdkMgrTelemetryServiceServer) TelemetryDelete ¶
func (*UnimplementedSdkMgrTelemetryServiceServer) TelemetryDelete(context.Context, *TelemetryDeleteRequest) (*TelemetryDeleteResponse, error)
type UnimplementedSdkNotificationServiceServer ¶
type UnimplementedSdkNotificationServiceServer struct { }
UnimplementedSdkNotificationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSdkNotificationServiceServer) NotificationStream ¶
func (*UnimplementedSdkNotificationServiceServer) NotificationStream(*NotificationStreamRequest, SdkNotificationService_NotificationStreamServer) error