Versions in this module Expand all Collapse all v0 v0.2.3 Jun 30, 2021 Changes in this version type Change_State + const Change_INCONSISTENT v0.2.2 Jun 20, 2021 v0.2.1 Jun 18, 2021 Changes in this version + var ApiOperation_name = map[int32]string + var ApiOperation_value = map[string]int32 + var Change_State_name = map[int32]string + var Change_State_value = map[string]int32 + var DeleteRequest_Type_name = map[int32]string + var DeleteRequest_Type_value = map[string]int32 + var DeleteResponseStatus_name = map[int32]string + var DeleteResponseStatus_value = map[string]int32 + var File_gosdn_pnd_pnd_proto protoreflect.FileDescriptor + var SetChange_Operation_name = map[int32]string + var SetChange_Operation_value = map[string]int32 + var SetResponseStatus_name = map[int32]string + var SetResponseStatus_value = map[string]int32 + func RegisterPndServer(s *grpc.Server, srv PndServer) + type ApiOperation int32 + const ApiOperation_DELETE + const ApiOperation_REPLACE + const ApiOperation_UPDATE + func (ApiOperation) Descriptor() protoreflect.EnumDescriptor + func (ApiOperation) EnumDescriptor() ([]byte, []int) + func (ApiOperation) Type() protoreflect.EnumType + func (x ApiOperation) Enum() *ApiOperation + func (x ApiOperation) Number() protoreflect.EnumNumber + func (x ApiOperation) String() string + type Change struct + Age int64 + Id string + State Change_State + func (*Change) Descriptor() ([]byte, []int) + func (*Change) ProtoMessage() + func (x *Change) GetAge() int64 + func (x *Change) GetId() string + func (x *Change) GetState() Change_State + func (x *Change) ProtoReflect() protoreflect.Message + func (x *Change) Reset() + func (x *Change) String() string + type ChangeRequest struct + ApiOp ApiOperation + Id string + Path string + Value string + func (*ChangeRequest) Descriptor() ([]byte, []int) + func (*ChangeRequest) ProtoMessage() + func (x *ChangeRequest) GetApiOp() ApiOperation + func (x *ChangeRequest) GetId() string + func (x *ChangeRequest) GetPath() string + func (x *ChangeRequest) GetValue() string + func (x *ChangeRequest) ProtoReflect() protoreflect.Message + func (x *ChangeRequest) Reset() + func (x *ChangeRequest) String() string + type Change_State int32 + const Change_COMMITTED + const Change_CONFIRMED + const Change_PENDING + func (Change_State) Descriptor() protoreflect.EnumDescriptor + func (Change_State) EnumDescriptor() ([]byte, []int) + func (Change_State) Type() protoreflect.EnumType + func (x Change_State) Enum() *Change_State + func (x Change_State) Number() protoreflect.EnumNumber + func (x Change_State) String() string + type DeleteRequest struct + Pid string + Timestamp int64 + Type DeleteRequest_Type + Uuid string + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (x *DeleteRequest) GetPid() string + func (x *DeleteRequest) GetTimestamp() int64 + func (x *DeleteRequest) GetType() DeleteRequest_Type + func (x *DeleteRequest) GetUuid() string + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteRequest_Type int32 + const DeleteRequest_OND + const DeleteRequest_PND + const DeleteRequest_SBI + func (DeleteRequest_Type) Descriptor() protoreflect.EnumDescriptor + func (DeleteRequest_Type) EnumDescriptor() ([]byte, []int) + func (DeleteRequest_Type) Type() protoreflect.EnumType + func (x DeleteRequest_Type) Enum() *DeleteRequest_Type + func (x DeleteRequest_Type) Number() protoreflect.EnumNumber + func (x DeleteRequest_Type) String() string + type DeleteResponse struct + Status DeleteResponseStatus + Timestamp int64 + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (x *DeleteResponse) GetStatus() DeleteResponseStatus + func (x *DeleteResponse) GetTimestamp() int64 + func (x *DeleteResponse) ProtoReflect() protoreflect.Message + func (x *DeleteResponse) Reset() + func (x *DeleteResponse) String() string + type DeleteResponseStatus int32 + const DeleteResponse_ERROR + const DeleteResponse_OK + func (DeleteResponseStatus) Descriptor() protoreflect.EnumDescriptor + func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int) + func (DeleteResponseStatus) Type() protoreflect.EnumType + func (x DeleteResponseStatus) Enum() *DeleteResponseStatus + func (x DeleteResponseStatus) Number() protoreflect.EnumNumber + func (x DeleteResponseStatus) String() string + type GetChange struct + All bool + Cuid []string + func (*GetChange) Descriptor() ([]byte, []int) + func (*GetChange) ProtoMessage() + func (x *GetChange) GetAll() bool + func (x *GetChange) GetCuid() []string + func (x *GetChange) ProtoReflect() protoreflect.Message + func (x *GetChange) Reset() + func (x *GetChange) String() string + type GetOnd struct + All bool + Did []string + func (*GetOnd) Descriptor() ([]byte, []int) + func (*GetOnd) ProtoMessage() + func (x *GetOnd) GetAll() bool + func (x *GetOnd) GetDid() []string + func (x *GetOnd) ProtoReflect() protoreflect.Message + func (x *GetOnd) Reset() + func (x *GetOnd) String() string + type GetPath struct + Did string + Path string + func (*GetPath) Descriptor() ([]byte, []int) + func (*GetPath) ProtoMessage() + func (x *GetPath) GetDid() string + func (x *GetPath) GetPath() string + func (x *GetPath) ProtoReflect() protoreflect.Message + func (x *GetPath) Reset() + func (x *GetPath) String() string + type GetPnd struct + func (*GetPnd) Descriptor() ([]byte, []int) + func (*GetPnd) ProtoMessage() + func (x *GetPnd) ProtoReflect() protoreflect.Message + func (x *GetPnd) Reset() + func (x *GetPnd) String() string + type GetRequest struct + Pid string + Request isGetRequest_Request + Timestamp int64 + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (m *GetRequest) GetRequest() isGetRequest_Request + func (x *GetRequest) GetChange() *GetChange + func (x *GetRequest) GetOnd() *GetOnd + func (x *GetRequest) GetPath() *GetPath + func (x *GetRequest) GetPid() string + func (x *GetRequest) GetPnd() *GetPnd + func (x *GetRequest) GetSbi() *GetSbi + func (x *GetRequest) GetTimestamp() int64 + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetRequest_Change struct + Change *GetChange + type GetRequest_Ond struct + Ond *GetOnd + type GetRequest_Path struct + Path *GetPath + type GetRequest_Pnd struct + Pnd *GetPnd + type GetRequest_Sbi struct + Sbi *GetSbi + type GetResponse struct + Change []*Change + Ond []*OrchestratedNetworkingDevice + Pnd *PrincipalNetworkDomain + Sbi []*southbound.SouthboundInterface + Timestamp int64 + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetChange() []*Change + func (x *GetResponse) GetOnd() []*OrchestratedNetworkingDevice + func (x *GetResponse) GetPnd() *PrincipalNetworkDomain + func (x *GetResponse) GetSbi() []*southbound.SouthboundInterface + func (x *GetResponse) GetTimestamp() int64 + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type GetSbi struct + All bool + Sid []string + func (*GetSbi) Descriptor() ([]byte, []int) + func (*GetSbi) ProtoMessage() + func (x *GetSbi) GetAll() bool + func (x *GetSbi) GetSid() []string + func (x *GetSbi) ProtoReflect() protoreflect.Message + func (x *GetSbi) Reset() + func (x *GetSbi) String() string + type OrchestratedNetworkingDevice struct + Device []*gnmi.Notification + Id string + Name string + Sbi *southbound.SouthboundInterface + func (*OrchestratedNetworkingDevice) Descriptor() ([]byte, []int) + func (*OrchestratedNetworkingDevice) ProtoMessage() + func (x *OrchestratedNetworkingDevice) GetDevice() []*gnmi.Notification + func (x *OrchestratedNetworkingDevice) GetId() string + func (x *OrchestratedNetworkingDevice) GetName() string + func (x *OrchestratedNetworkingDevice) GetSbi() *southbound.SouthboundInterface + func (x *OrchestratedNetworkingDevice) ProtoReflect() protoreflect.Message + func (x *OrchestratedNetworkingDevice) Reset() + func (x *OrchestratedNetworkingDevice) String() string + type PndClient interface + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + Set func(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) + func NewPndClient(cc grpc.ClientConnInterface) PndClient + type PndServer interface + Delete func(context.Context, *DeleteRequest) (*DeleteResponse, error) + Get func(context.Context, *GetRequest) (*GetResponse, error) + Set func(context.Context, *SetRequest) (*SetResponse, error) + type PrincipalNetworkDomain struct + Change []*Change + Description string + Id string + Name string + Ond []*OrchestratedNetworkingDevice + Sbi []*southbound.SouthboundInterface + func (*PrincipalNetworkDomain) Descriptor() ([]byte, []int) + func (*PrincipalNetworkDomain) ProtoMessage() + func (x *PrincipalNetworkDomain) GetChange() []*Change + func (x *PrincipalNetworkDomain) GetDescription() string + func (x *PrincipalNetworkDomain) GetId() string + func (x *PrincipalNetworkDomain) GetName() string + func (x *PrincipalNetworkDomain) GetOnd() []*OrchestratedNetworkingDevice + func (x *PrincipalNetworkDomain) GetSbi() []*southbound.SouthboundInterface + func (x *PrincipalNetworkDomain) ProtoReflect() protoreflect.Message + func (x *PrincipalNetworkDomain) Reset() + func (x *PrincipalNetworkDomain) String() string + type SetChange struct + Cuid string + Op SetChange_Operation + func (*SetChange) Descriptor() ([]byte, []int) + func (*SetChange) ProtoMessage() + func (x *SetChange) GetCuid() string + func (x *SetChange) GetOp() SetChange_Operation + func (x *SetChange) ProtoReflect() protoreflect.Message + func (x *SetChange) Reset() + func (x *SetChange) String() string + type SetChange_Operation int32 + const SetChange_COMMIT + const SetChange_CONFIRM + const SetChange_CREATE + func (SetChange_Operation) Descriptor() protoreflect.EnumDescriptor + func (SetChange_Operation) EnumDescriptor() ([]byte, []int) + func (SetChange_Operation) Type() protoreflect.EnumType + func (x SetChange_Operation) Enum() *SetChange_Operation + func (x SetChange_Operation) Number() protoreflect.EnumNumber + func (x SetChange_Operation) String() string + type SetOnd struct + Address string + DeviceName string + Sbi *southbound.SouthboundInterface + TransportOption *transport.TransportOption + func (*SetOnd) Descriptor() ([]byte, []int) + func (*SetOnd) ProtoMessage() + func (x *SetOnd) GetAddress() string + func (x *SetOnd) GetDeviceName() string + func (x *SetOnd) GetSbi() *southbound.SouthboundInterface + func (x *SetOnd) GetTransportOption() *transport.TransportOption + func (x *SetOnd) ProtoReflect() protoreflect.Message + func (x *SetOnd) Reset() + func (x *SetOnd) String() string + type SetRequest struct + Change []*SetChange + ChangeRequest []*ChangeRequest + Ond []*SetOnd + Pid string + Sbi []*SetSbi + Timestamp int64 + func (*SetRequest) Descriptor() ([]byte, []int) + func (*SetRequest) ProtoMessage() + func (x *SetRequest) GetChange() []*SetChange + func (x *SetRequest) GetChangeRequest() []*ChangeRequest + func (x *SetRequest) GetOnd() []*SetOnd + func (x *SetRequest) GetPid() string + func (x *SetRequest) GetSbi() []*SetSbi + func (x *SetRequest) GetTimestamp() int64 + func (x *SetRequest) ProtoReflect() protoreflect.Message + func (x *SetRequest) Reset() + func (x *SetRequest) String() string + type SetResponse struct + Responses []*SetResponse + Status SetResponseStatus + Timestamp int64 + func (*SetResponse) Descriptor() ([]byte, []int) + func (*SetResponse) ProtoMessage() + func (x *SetResponse) GetResponses() []*SetResponse + func (x *SetResponse) GetStatus() SetResponseStatus + func (x *SetResponse) GetTimestamp() int64 + func (x *SetResponse) ProtoReflect() protoreflect.Message + func (x *SetResponse) Reset() + func (x *SetResponse) String() string + type SetResponseStatus int32 + const SetResponse_ERROR + const SetResponse_OK + func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor + func (SetResponseStatus) EnumDescriptor() ([]byte, []int) + func (SetResponseStatus) Type() protoreflect.EnumType + func (x SetResponseStatus) Enum() *SetResponseStatus + func (x SetResponseStatus) Number() protoreflect.EnumNumber + func (x SetResponseStatus) String() string + type SetSbi struct + func (*SetSbi) Descriptor() ([]byte, []int) + func (*SetSbi) ProtoMessage() + func (x *SetSbi) ProtoReflect() protoreflect.Message + func (x *SetSbi) Reset() + func (x *SetSbi) String() string + type UnimplementedPndServer struct + func (*UnimplementedPndServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + func (*UnimplementedPndServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (*UnimplementedPndServer) Set(context.Context, *SetRequest) (*SetResponse, error)