Add mesh VPN packet production contract constants
This commit is contained in:
@@ -16,6 +16,7 @@ var (
|
||||
ErrForwardPeerUnavailable = errors.New("production mesh next peer is unavailable")
|
||||
ErrForwardEnvelopeInvalid = errors.New("production mesh envelope is invalid")
|
||||
ErrForwardObservationFailed = errors.New("production mesh envelope observation failed")
|
||||
ErrForwardDeliveryFailed = errors.New("production mesh envelope delivery failed")
|
||||
ErrMeshRuntimeDisabled = errors.New("mesh synthetic runtime is disabled")
|
||||
ErrUnsupportedSyntheticMessage = errors.New("unsupported synthetic mesh message")
|
||||
ErrRouteIDRequired = errors.New("mesh synthetic route id is required")
|
||||
@@ -59,7 +60,15 @@ const (
|
||||
|
||||
ProductionChannelFabricControl = "fabric_control"
|
||||
ProductionMessageFabricControl = "fabric.control"
|
||||
ProductionChannelVPNPacket = "vpn_packet"
|
||||
ProductionMessageVPNPacketBatch = "vpn.packet_batch"
|
||||
FabricServiceClassVPNPackets = "vpn_packets"
|
||||
FabricServiceChannelBulk = "bulk"
|
||||
FabricServiceChannelControl = "control"
|
||||
FabricServiceChannelInteractive = "interactive"
|
||||
FabricServiceChannelReliable = "reliable"
|
||||
MaxProductionEnvelopePayloadBytes = 4096
|
||||
MaxProductionVPNPacketPayloadBytes = 256 * 1024
|
||||
MaxProductionEnvelopeFutureSkew = time.Minute
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user