Documentation ¶
Index ¶
- Variables
- func RegisterPndServer(s *grpc.Server, srv PndServer)
- type ApiOperation
- func (ApiOperation) Descriptor() protoreflect.EnumDescriptor
- func (x ApiOperation) Enum() *ApiOperation
- func (ApiOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApiOperation) Number() protoreflect.EnumNumber
- func (x ApiOperation) String() string
- func (ApiOperation) Type() protoreflect.EnumType
- type Change
- type ChangeRequest
- func (*ChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeRequest) GetApiOp() ApiOperation
- func (x *ChangeRequest) GetId() string
- func (x *ChangeRequest) GetPath() string
- func (x *ChangeRequest) GetValue() string
- func (*ChangeRequest) ProtoMessage()
- func (x *ChangeRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeRequest) Reset()
- func (x *ChangeRequest) String() string
- type Change_State
- func (Change_State) Descriptor() protoreflect.EnumDescriptor
- func (x Change_State) Enum() *Change_State
- func (Change_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Change_State) Number() protoreflect.EnumNumber
- func (x Change_State) String() string
- func (Change_State) Type() protoreflect.EnumType
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetPid() string
- func (x *DeleteRequest) GetTimestamp() int64
- func (x *DeleteRequest) GetType() DeleteRequest_Type
- func (x *DeleteRequest) GetUuid() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DeleteRequest_Type
- func (DeleteRequest_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteRequest_Type) Enum() *DeleteRequest_Type
- func (DeleteRequest_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteRequest_Type) Number() protoreflect.EnumNumber
- func (x DeleteRequest_Type) String() string
- func (DeleteRequest_Type) Type() protoreflect.EnumType
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetStatus() DeleteResponseStatus
- func (x *DeleteResponse) GetTimestamp() int64
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type DeleteResponseStatus
- func (DeleteResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteResponseStatus) Enum() *DeleteResponseStatus
- func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteResponseStatus) Number() protoreflect.EnumNumber
- func (x DeleteResponseStatus) String() string
- func (DeleteResponseStatus) Type() protoreflect.EnumType
- type GetChange
- type GetOnd
- type GetPath
- type GetPnd
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- 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 (m *GetRequest) GetRequest() isGetRequest_Request
- func (x *GetRequest) GetSbi() *GetSbi
- func (x *GetRequest) GetTimestamp() int64
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- type GetRequest_Change
- type GetRequest_Ond
- type GetRequest_Path
- type GetRequest_Pnd
- type GetRequest_Sbi
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- 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 (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GetSbi
- type OrchestratedNetworkingDevice
- func (*OrchestratedNetworkingDevice) Descriptor() ([]byte, []int)deprecated
- func (x *OrchestratedNetworkingDevice) GetDevice() []*gnmi.Notification
- func (x *OrchestratedNetworkingDevice) GetId() string
- func (x *OrchestratedNetworkingDevice) GetName() string
- func (x *OrchestratedNetworkingDevice) GetSbi() *southbound.SouthboundInterface
- func (*OrchestratedNetworkingDevice) ProtoMessage()
- func (x *OrchestratedNetworkingDevice) ProtoReflect() protoreflect.Message
- func (x *OrchestratedNetworkingDevice) Reset()
- func (x *OrchestratedNetworkingDevice) String() string
- type PndClient
- type PndServer
- type PrincipalNetworkDomain
- func (*PrincipalNetworkDomain) Descriptor() ([]byte, []int)deprecated
- 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 (*PrincipalNetworkDomain) ProtoMessage()
- func (x *PrincipalNetworkDomain) ProtoReflect() protoreflect.Message
- func (x *PrincipalNetworkDomain) Reset()
- func (x *PrincipalNetworkDomain) String() string
- type SetChange
- type SetChange_Operation
- func (SetChange_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x SetChange_Operation) Enum() *SetChange_Operation
- func (SetChange_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetChange_Operation) Number() protoreflect.EnumNumber
- func (x SetChange_Operation) String() string
- func (SetChange_Operation) Type() protoreflect.EnumType
- type SetOnd
- func (*SetOnd) Descriptor() ([]byte, []int)deprecated
- func (x *SetOnd) GetAddress() string
- func (x *SetOnd) GetDeviceName() string
- func (x *SetOnd) GetSbi() *southbound.SouthboundInterface
- func (x *SetOnd) GetTransportOption() *transport.TransportOption
- func (*SetOnd) ProtoMessage()
- func (x *SetOnd) ProtoReflect() protoreflect.Message
- func (x *SetOnd) Reset()
- func (x *SetOnd) String() string
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)deprecated
- 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 (*SetRequest) ProtoMessage()
- func (x *SetRequest) ProtoReflect() protoreflect.Message
- func (x *SetRequest) Reset()
- func (x *SetRequest) String() string
- type SetResponse
- func (*SetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetResponse) GetResponses() []*SetResponse
- func (x *SetResponse) GetStatus() SetResponseStatus
- func (x *SetResponse) GetTimestamp() int64
- func (*SetResponse) ProtoMessage()
- func (x *SetResponse) ProtoReflect() protoreflect.Message
- func (x *SetResponse) Reset()
- func (x *SetResponse) String() string
- type SetResponseStatus
- func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetResponseStatus) Enum() *SetResponseStatus
- func (SetResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetResponseStatus) Number() protoreflect.EnumNumber
- func (x SetResponseStatus) String() string
- func (SetResponseStatus) Type() protoreflect.EnumType
- type SetSbi
- type UnimplementedPndServer
Constants ¶
This section is empty.
Variables ¶
var ( ApiOperation_name = map[int32]string{ 0: "UPDATE", 1: "REPLACE", 2: "DELETE", } ApiOperation_value = map[string]int32{ "UPDATE": 0, "REPLACE": 1, "DELETE": 2, } )
Enum value maps for ApiOperation.
var ( Change_State_name = map[int32]string{ 0: "PENDING", 1: "COMMITTED", 2: "CONFIRMED", 3: "INCONSISTENT", } Change_State_value = map[string]int32{ "PENDING": 0, "COMMITTED": 1, "CONFIRMED": 2, "INCONSISTENT": 3, } )
Enum value maps for Change_State.
var ( SetChange_Operation_name = map[int32]string{ 0: "CREATE", 1: "COMMIT", 2: "CONFIRM", } SetChange_Operation_value = map[string]int32{ "CREATE": 0, "COMMIT": 1, "CONFIRM": 2, } )
Enum value maps for SetChange_Operation.
var ( SetResponseStatus_name = map[int32]string{ 0: "OK", 1: "ERROR", } SetResponseStatus_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for SetResponseStatus.
var ( DeleteRequest_Type_name = map[int32]string{ 0: "OND", 1: "SBI", 2: "PND", } DeleteRequest_Type_value = map[string]int32{ "OND": 0, "SBI": 1, "PND": 2, } )
Enum value maps for DeleteRequest_Type.
var ( DeleteResponseStatus_name = map[int32]string{ 0: "OK", 1: "ERROR", } DeleteResponseStatus_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for DeleteResponseStatus.
var File_gosdn_pnd_pnd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPndServer ¶
Types ¶
type ApiOperation ¶
type ApiOperation int32
const ( ApiOperation_UPDATE ApiOperation = 0 ApiOperation_REPLACE ApiOperation = 1 ApiOperation_DELETE ApiOperation = 2 )
func (ApiOperation) Descriptor ¶
func (ApiOperation) Descriptor() protoreflect.EnumDescriptor
func (ApiOperation) Enum ¶
func (x ApiOperation) Enum() *ApiOperation
func (ApiOperation) EnumDescriptor
deprecated
func (ApiOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApiOperation.Descriptor instead.
func (ApiOperation) Number ¶
func (x ApiOperation) Number() protoreflect.EnumNumber
func (ApiOperation) String ¶
func (x ApiOperation) String() string
func (ApiOperation) Type ¶
func (ApiOperation) Type() protoreflect.EnumType
type Change ¶
type Change struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Age int64 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` State Change_State `protobuf:"varint,3,opt,name=state,proto3,enum=gosdn.pnd.Change_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) GetState ¶
func (x *Change) GetState() Change_State
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶
func (x *Change) ProtoReflect() protoreflect.Message
type ChangeRequest ¶
type ChangeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ApiOp ApiOperation `protobuf:"varint,4,opt,name=apiOp,proto3,enum=gosdn.pnd.ApiOperation" json:"apiOp,omitempty"` // contains filtered or unexported fields }
func (*ChangeRequest) Descriptor
deprecated
func (*ChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.
func (*ChangeRequest) GetApiOp ¶
func (x *ChangeRequest) GetApiOp() ApiOperation
func (*ChangeRequest) GetId ¶
func (x *ChangeRequest) GetId() string
func (*ChangeRequest) GetPath ¶
func (x *ChangeRequest) GetPath() string
func (*ChangeRequest) GetValue ¶
func (x *ChangeRequest) GetValue() string
func (*ChangeRequest) ProtoMessage ¶
func (*ChangeRequest) ProtoMessage()
func (*ChangeRequest) ProtoReflect ¶
func (x *ChangeRequest) ProtoReflect() protoreflect.Message
func (*ChangeRequest) Reset ¶
func (x *ChangeRequest) Reset()
func (*ChangeRequest) String ¶
func (x *ChangeRequest) String() string
type Change_State ¶
type Change_State int32
const ( Change_PENDING Change_State = 0 Change_COMMITTED Change_State = 1 Change_CONFIRMED Change_State = 2 Change_INCONSISTENT Change_State = 3 )
func (Change_State) Descriptor ¶
func (Change_State) Descriptor() protoreflect.EnumDescriptor
func (Change_State) Enum ¶
func (x Change_State) Enum() *Change_State
func (Change_State) EnumDescriptor
deprecated
func (Change_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Change_State.Descriptor instead.
func (Change_State) Number ¶
func (x Change_State) Number() protoreflect.EnumNumber
func (Change_State) String ¶
func (x Change_State) String() string
func (Change_State) Type ¶
func (Change_State) Type() protoreflect.EnumType
type DeleteRequest ¶
type DeleteRequest struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. Type DeleteRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.pnd.DeleteRequest_Type" json:"type,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetPid ¶
func (x *DeleteRequest) GetPid() string
func (*DeleteRequest) GetTimestamp ¶
func (x *DeleteRequest) GetTimestamp() int64
func (*DeleteRequest) GetType ¶
func (x *DeleteRequest) GetType() DeleteRequest_Type
func (*DeleteRequest) GetUuid ¶
func (x *DeleteRequest) GetUuid() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteRequest_Type ¶
type DeleteRequest_Type int32
const ( DeleteRequest_OND DeleteRequest_Type = 0 DeleteRequest_SBI DeleteRequest_Type = 1 DeleteRequest_PND DeleteRequest_Type = 2 )
func (DeleteRequest_Type) Descriptor ¶
func (DeleteRequest_Type) Descriptor() protoreflect.EnumDescriptor
func (DeleteRequest_Type) Enum ¶
func (x DeleteRequest_Type) Enum() *DeleteRequest_Type
func (DeleteRequest_Type) EnumDescriptor
deprecated
func (DeleteRequest_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteRequest_Type.Descriptor instead.
func (DeleteRequest_Type) Number ¶
func (x DeleteRequest_Type) Number() protoreflect.EnumNumber
func (DeleteRequest_Type) String ¶
func (x DeleteRequest_Type) String() string
func (DeleteRequest_Type) Type ¶
func (DeleteRequest_Type) Type() protoreflect.EnumType
type DeleteResponse ¶
type DeleteResponse struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. Status DeleteResponseStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=gosdn.pnd.DeleteResponseStatus" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetStatus ¶
func (x *DeleteResponse) GetStatus() DeleteResponseStatus
func (*DeleteResponse) GetTimestamp ¶
func (x *DeleteResponse) GetTimestamp() int64
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DeleteResponseStatus ¶
type DeleteResponseStatus int32
const ( DeleteResponse_OK DeleteResponseStatus = 0 DeleteResponse_ERROR DeleteResponseStatus = 1 )
func (DeleteResponseStatus) Descriptor ¶
func (DeleteResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (DeleteResponseStatus) Enum ¶
func (x DeleteResponseStatus) Enum() *DeleteResponseStatus
func (DeleteResponseStatus) EnumDescriptor
deprecated
func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteResponseStatus.Descriptor instead.
func (DeleteResponseStatus) Number ¶
func (x DeleteResponseStatus) Number() protoreflect.EnumNumber
func (DeleteResponseStatus) String ¶
func (x DeleteResponseStatus) String() string
func (DeleteResponseStatus) Type ¶
func (DeleteResponseStatus) Type() protoreflect.EnumType
type GetChange ¶
type GetChange struct { All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` Cuid []string `protobuf:"bytes,2,rep,name=cuid,proto3" json:"cuid,omitempty"` // contains filtered or unexported fields }
func (*GetChange) Descriptor
deprecated
func (*GetChange) ProtoMessage ¶
func (*GetChange) ProtoMessage()
func (*GetChange) ProtoReflect ¶
func (x *GetChange) ProtoReflect() protoreflect.Message
type GetOnd ¶
type GetOnd struct { All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` Did []string `protobuf:"bytes,2,rep,name=did,proto3" json:"did,omitempty"` // contains filtered or unexported fields }
func (*GetOnd) Descriptor
deprecated
func (*GetOnd) ProtoMessage ¶
func (*GetOnd) ProtoMessage()
func (*GetOnd) ProtoReflect ¶
func (x *GetOnd) ProtoReflect() protoreflect.Message
type GetPath ¶
type GetPath struct { Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GetPath) Descriptor
deprecated
func (*GetPath) ProtoMessage ¶
func (*GetPath) ProtoMessage()
func (*GetPath) ProtoReflect ¶
func (x *GetPath) ProtoReflect() protoreflect.Message
type GetPnd ¶
type GetPnd struct {
// contains filtered or unexported fields
}
func (*GetPnd) Descriptor
deprecated
func (*GetPnd) ProtoMessage ¶
func (*GetPnd) ProtoMessage()
func (*GetPnd) ProtoReflect ¶
func (x *GetPnd) ProtoReflect() protoreflect.Message
type GetRequest ¶
type GetRequest struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. // Types that are assignable to Request: // *GetRequest_Pnd // *GetRequest_Ond // *GetRequest_Sbi // *GetRequest_Change // *GetRequest_Path Request isGetRequest_Request `protobuf_oneof:"request"` Pid string `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetChange ¶
func (x *GetRequest) GetChange() *GetChange
func (*GetRequest) GetOnd ¶
func (x *GetRequest) GetOnd() *GetOnd
func (*GetRequest) GetPath ¶
func (x *GetRequest) GetPath() *GetPath
func (*GetRequest) GetPid ¶
func (x *GetRequest) GetPid() string
func (*GetRequest) GetPnd ¶
func (x *GetRequest) GetPnd() *GetPnd
func (*GetRequest) GetRequest ¶
func (m *GetRequest) GetRequest() isGetRequest_Request
func (*GetRequest) GetSbi ¶
func (x *GetRequest) GetSbi() *GetSbi
func (*GetRequest) GetTimestamp ¶
func (x *GetRequest) GetTimestamp() int64
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetRequest_Change ¶
type GetRequest_Change struct {
Change *GetChange `protobuf:"bytes,5,opt,name=change,proto3,oneof"`
}
type GetRequest_Ond ¶
type GetRequest_Ond struct {
Ond *GetOnd `protobuf:"bytes,3,opt,name=ond,proto3,oneof"`
}
type GetRequest_Path ¶
type GetRequest_Path struct {
Path *GetPath `protobuf:"bytes,7,opt,name=path,proto3,oneof"`
}
type GetRequest_Pnd ¶
type GetRequest_Pnd struct {
Pnd *GetPnd `protobuf:"bytes,2,opt,name=pnd,proto3,oneof"`
}
type GetRequest_Sbi ¶
type GetRequest_Sbi struct {
Sbi *GetSbi `protobuf:"bytes,4,opt,name=sbi,proto3,oneof"`
}
type GetResponse ¶
type GetResponse struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"` Ond []*OrchestratedNetworkingDevice `protobuf:"bytes,3,rep,name=ond,proto3" json:"ond,omitempty"` Sbi []*southbound.SouthboundInterface `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"` Change []*Change `protobuf:"bytes,7,rep,name=change,proto3" json:"change,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetChange ¶
func (x *GetResponse) GetChange() []*Change
func (*GetResponse) GetOnd ¶
func (x *GetResponse) GetOnd() []*OrchestratedNetworkingDevice
func (*GetResponse) GetPnd ¶
func (x *GetResponse) GetPnd() *PrincipalNetworkDomain
func (*GetResponse) GetSbi ¶
func (x *GetResponse) GetSbi() []*southbound.SouthboundInterface
func (*GetResponse) GetTimestamp ¶
func (x *GetResponse) GetTimestamp() int64
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetSbi ¶
type GetSbi struct { All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` Sid []string `protobuf:"bytes,2,rep,name=sid,proto3" json:"sid,omitempty"` // contains filtered or unexported fields }
func (*GetSbi) Descriptor
deprecated
func (*GetSbi) ProtoMessage ¶
func (*GetSbi) ProtoMessage()
func (*GetSbi) ProtoReflect ¶
func (x *GetSbi) ProtoReflect() protoreflect.Message
type OrchestratedNetworkingDevice ¶
type OrchestratedNetworkingDevice struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Device []*gnmi.Notification `protobuf:"bytes,3,rep,name=device,proto3" json:"device,omitempty"` Sbi *southbound.SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3" json:"sbi,omitempty"` // contains filtered or unexported fields }
func (*OrchestratedNetworkingDevice) Descriptor
deprecated
func (*OrchestratedNetworkingDevice) Descriptor() ([]byte, []int)
Deprecated: Use OrchestratedNetworkingDevice.ProtoReflect.Descriptor instead.
func (*OrchestratedNetworkingDevice) GetDevice ¶
func (x *OrchestratedNetworkingDevice) GetDevice() []*gnmi.Notification
func (*OrchestratedNetworkingDevice) GetId ¶
func (x *OrchestratedNetworkingDevice) GetId() string
func (*OrchestratedNetworkingDevice) GetName ¶
func (x *OrchestratedNetworkingDevice) GetName() string
func (*OrchestratedNetworkingDevice) GetSbi ¶
func (x *OrchestratedNetworkingDevice) GetSbi() *southbound.SouthboundInterface
func (*OrchestratedNetworkingDevice) ProtoMessage ¶
func (*OrchestratedNetworkingDevice) ProtoMessage()
func (*OrchestratedNetworkingDevice) ProtoReflect ¶
func (x *OrchestratedNetworkingDevice) ProtoReflect() protoreflect.Message
func (*OrchestratedNetworkingDevice) Reset ¶
func (x *OrchestratedNetworkingDevice) Reset()
func (*OrchestratedNetworkingDevice) String ¶
func (x *OrchestratedNetworkingDevice) String() string
type PndClient ¶
type PndClient interface { Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) }
PndClient is the client API for Pnd service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPndClient ¶
func NewPndClient(cc grpc.ClientConnInterface) PndClient
type PndServer ¶
type PndServer interface { Get(context.Context, *GetRequest) (*GetResponse, error) Set(context.Context, *SetRequest) (*SetResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // contains filtered or unexported methods }
PndServer is the server API for Pnd service. All implementations must embed UnimplementedPndServer for forward compatibility
type PrincipalNetworkDomain ¶
type PrincipalNetworkDomain struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Ond []*OrchestratedNetworkingDevice `protobuf:"bytes,4,rep,name=ond,proto3" json:"ond,omitempty"` Sbi []*southbound.SouthboundInterface `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"` Change []*Change `protobuf:"bytes,6,rep,name=change,proto3" json:"change,omitempty"` // contains filtered or unexported fields }
func (*PrincipalNetworkDomain) Descriptor
deprecated
func (*PrincipalNetworkDomain) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalNetworkDomain.ProtoReflect.Descriptor instead.
func (*PrincipalNetworkDomain) GetChange ¶
func (x *PrincipalNetworkDomain) GetChange() []*Change
func (*PrincipalNetworkDomain) GetDescription ¶
func (x *PrincipalNetworkDomain) GetDescription() string
func (*PrincipalNetworkDomain) GetId ¶
func (x *PrincipalNetworkDomain) GetId() string
func (*PrincipalNetworkDomain) GetName ¶
func (x *PrincipalNetworkDomain) GetName() string
func (*PrincipalNetworkDomain) GetOnd ¶
func (x *PrincipalNetworkDomain) GetOnd() []*OrchestratedNetworkingDevice
func (*PrincipalNetworkDomain) GetSbi ¶
func (x *PrincipalNetworkDomain) GetSbi() []*southbound.SouthboundInterface
func (*PrincipalNetworkDomain) ProtoMessage ¶
func (*PrincipalNetworkDomain) ProtoMessage()
func (*PrincipalNetworkDomain) ProtoReflect ¶
func (x *PrincipalNetworkDomain) ProtoReflect() protoreflect.Message
func (*PrincipalNetworkDomain) Reset ¶
func (x *PrincipalNetworkDomain) Reset()
func (*PrincipalNetworkDomain) String ¶
func (x *PrincipalNetworkDomain) String() string
type SetChange ¶
type SetChange struct { Cuid string `protobuf:"bytes,1,opt,name=cuid,proto3" json:"cuid,omitempty"` Op SetChange_Operation `protobuf:"varint,2,opt,name=op,proto3,enum=gosdn.pnd.SetChange_Operation" json:"op,omitempty"` // contains filtered or unexported fields }
func (*SetChange) Descriptor
deprecated
func (*SetChange) GetOp ¶
func (x *SetChange) GetOp() SetChange_Operation
func (*SetChange) ProtoMessage ¶
func (*SetChange) ProtoMessage()
func (*SetChange) ProtoReflect ¶
func (x *SetChange) ProtoReflect() protoreflect.Message
type SetChange_Operation ¶
type SetChange_Operation int32
const ( SetChange_CREATE SetChange_Operation = 0 SetChange_COMMIT SetChange_Operation = 1 SetChange_CONFIRM SetChange_Operation = 2 )
func (SetChange_Operation) Descriptor ¶
func (SetChange_Operation) Descriptor() protoreflect.EnumDescriptor
func (SetChange_Operation) Enum ¶
func (x SetChange_Operation) Enum() *SetChange_Operation
func (SetChange_Operation) EnumDescriptor
deprecated
func (SetChange_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetChange_Operation.Descriptor instead.
func (SetChange_Operation) Number ¶
func (x SetChange_Operation) Number() protoreflect.EnumNumber
func (SetChange_Operation) String ¶
func (x SetChange_Operation) String() string
func (SetChange_Operation) Type ¶
func (SetChange_Operation) Type() protoreflect.EnumType
type SetOnd ¶
type SetOnd struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Sbi *southbound.SouthboundInterface `protobuf:"bytes,2,opt,name=sbi,proto3" json:"sbi,omitempty"` DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` TransportOption *transport.TransportOption `protobuf:"bytes,4,opt,name=transportOption,proto3" json:"transportOption,omitempty"` // contains filtered or unexported fields }
func (*SetOnd) Descriptor
deprecated
func (*SetOnd) GetAddress ¶
func (*SetOnd) GetDeviceName ¶
func (*SetOnd) GetSbi ¶
func (x *SetOnd) GetSbi() *southbound.SouthboundInterface
func (*SetOnd) GetTransportOption ¶
func (x *SetOnd) GetTransportOption() *transport.TransportOption
func (*SetOnd) ProtoMessage ¶
func (*SetOnd) ProtoMessage()
func (*SetOnd) ProtoReflect ¶
func (x *SetOnd) ProtoReflect() protoreflect.Message
type SetRequest ¶
type SetRequest struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. Ond []*SetOnd `protobuf:"bytes,2,rep,name=ond,proto3" json:"ond,omitempty"` Sbi []*SetSbi `protobuf:"bytes,3,rep,name=sbi,proto3" json:"sbi,omitempty"` Change []*SetChange `protobuf:"bytes,4,rep,name=change,proto3" json:"change,omitempty"` ChangeRequest []*ChangeRequest `protobuf:"bytes,5,rep,name=changeRequest,proto3" json:"changeRequest,omitempty"` Pid string `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*SetRequest) Descriptor
deprecated
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetChange ¶
func (x *SetRequest) GetChange() []*SetChange
func (*SetRequest) GetChangeRequest ¶
func (x *SetRequest) GetChangeRequest() []*ChangeRequest
func (*SetRequest) GetOnd ¶
func (x *SetRequest) GetOnd() []*SetOnd
func (*SetRequest) GetPid ¶
func (x *SetRequest) GetPid() string
func (*SetRequest) GetSbi ¶
func (x *SetRequest) GetSbi() []*SetSbi
func (*SetRequest) GetTimestamp ¶
func (x *SetRequest) GetTimestamp() int64
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoReflect ¶
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶
func (x *SetRequest) Reset()
func (*SetRequest) String ¶
func (x *SetRequest) String() string
type SetResponse ¶
type SetResponse struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch. Status SetResponseStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=gosdn.pnd.SetResponseStatus" json:"Status,omitempty"` Responses []*SetResponse `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*SetResponse) Descriptor
deprecated
func (*SetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.
func (*SetResponse) GetResponses ¶
func (x *SetResponse) GetResponses() []*SetResponse
func (*SetResponse) GetStatus ¶
func (x *SetResponse) GetStatus() SetResponseStatus
func (*SetResponse) GetTimestamp ¶
func (x *SetResponse) GetTimestamp() int64
func (*SetResponse) ProtoMessage ¶
func (*SetResponse) ProtoMessage()
func (*SetResponse) ProtoReflect ¶
func (x *SetResponse) ProtoReflect() protoreflect.Message
func (*SetResponse) Reset ¶
func (x *SetResponse) Reset()
func (*SetResponse) String ¶
func (x *SetResponse) String() string
type SetResponseStatus ¶
type SetResponseStatus int32
const ( SetResponse_OK SetResponseStatus = 0 SetResponse_ERROR SetResponseStatus = 1 )
func (SetResponseStatus) Descriptor ¶
func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (SetResponseStatus) Enum ¶
func (x SetResponseStatus) Enum() *SetResponseStatus
func (SetResponseStatus) EnumDescriptor
deprecated
func (SetResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetResponseStatus.Descriptor instead.
func (SetResponseStatus) Number ¶
func (x SetResponseStatus) Number() protoreflect.EnumNumber
func (SetResponseStatus) String ¶
func (x SetResponseStatus) String() string
func (SetResponseStatus) Type ¶
func (SetResponseStatus) Type() protoreflect.EnumType
type SetSbi ¶
type SetSbi struct {
// contains filtered or unexported fields
}
func (*SetSbi) Descriptor
deprecated
func (*SetSbi) ProtoMessage ¶
func (*SetSbi) ProtoMessage()
func (*SetSbi) ProtoReflect ¶
func (x *SetSbi) ProtoReflect() protoreflect.Message
type UnimplementedPndServer ¶
type UnimplementedPndServer struct { }
UnimplementedPndServer must be embedded to have forward compatible implementations.
func (*UnimplementedPndServer) Delete ¶
func (*UnimplementedPndServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedPndServer) Get ¶
func (*UnimplementedPndServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (*UnimplementedPndServer) Set ¶
func (*UnimplementedPndServer) Set(context.Context, *SetRequest) (*SetResponse, error)