Repository navigation
Conversation
Lets tools observe a registry: simulations, connected and required participants, and their configurations. Opt-in. - Registry: Experimental.Management.Enable hosts sil-kit-registry in the simulation .well-known/sil-kit/management. - Topics for registry info and simulations state, RPCs GetInfo, GetSimulations, GetParticipantConfiguration. Versioned names. - Participants: Experimental.Management.ShareConfiguration sends the config to the registry on join. Wire format unchanged if unset. - Client: header-only C++ ManagementClient and C API SilKit_Experimental_ManagementClient_*. - Demo: SilKitDemoManagementClient prints simulations as they change. - Fix: RpcClient invalid iterator and reply/timeout race. - Fix: TimeProvider deadlock on CallWithTimeout without time sync. - Tests, docs, changelog. Signed-off-by: Marius Börschig <Marius.Boerschig@vector.com>
Collaborator
Author
|
@snps-fricke @snps-kratz / CC @KonradBreitsprecherBkd this is the very first rough draft of a management API that lives in the registry process (server side) and is available as a standaline "management client" participant. |
CI failures Signed-off-by: Marius Börschig <Marius.Boerschig@vector.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
api: experimental management api in the registry
Tools can observe a registry: simulations, connected and required participants, shared configurations. Opt-in, experimental.
Experimental.Management.Enablehostssil-kit-registryin.well-known/sil-kit/management.GetInfo,GetSimulations,GetParticipantConfiguration. Plain pub/sub and RPC.Experimental.Management.ShareConfigurationsends the configuration to the registry (wire change).ManagementClient(header-only), C APISilKit_Experimental_ManagementClient_*.SilKitDemoManagementClient.Wire format change
Only the participant knows its configuration. The
ParticipantAnnouncementis the one message every participant sends to the registry, so the configuration rides along.ParticipantAnnouncement::configurationJson: optional trailing string, only towards the registry, only if opted in.NotSharedNo capability check:
Open points:
ManagementClient
Hides the URI, topic and function names, media type, SAB payloads and sequence handling:
UndefinedError.RegistryInfo::featuresfor discovery.Fixes
RpcClient: invalid iterator on timeout of an answered call, reply/timeout race.TimeProvider: deadlock onCallWithTimeoutwithout time sync.Outlook
KnownParticipants