Add dynamic configuration management with CONFIGURE/RESET control signals#105
Draft
GaijinKa wants to merge 4 commits intomeetecho:mainfrom
Draft
Add dynamic configuration management with CONFIGURE/RESET control signals#105GaijinKa wants to merge 4 commits intomeetecho:mainfrom
GaijinKa wants to merge 4 commits intomeetecho:mainfrom
Conversation
- _node.py now handles the new CONFIGURE and RESET ControlSignals - _node.py now has both the update_config and the reset_config signatures - add a data dictionary to ControlPayload - generate a new CONFIGURE signal in remote service on incoming requests to manage the configuration attribute - update passthrough identity node to handle the configuration update properly
merge latest changes
…e/control-payload-configure
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.
Description
This PR introduces configuration management capabilities to the control payload system by adding two new control signals:
CONFIGUREandRESET. These signals enable dynamic runtime configuration updates for nodes without requiring a full restart.The implementation allows nodes to receive configuration updates through the control payload mechanism, making the system more flexible and responsive to configuration changes during execution.
PR type
Select all the labels that apply to this PR.
Key modifications and changes
CONFIGUREandRESETvariants toControlSignalenumControlPayloadwith adatadictionary field to carry configuration parametersupdate_configandreset_configmethod signatures in_node.py_node.pyforCONFIGUREandRESETsignalsCONFIGUREsignals on incoming configuration management requestsAffected components
_node.py, control payload systemAdditional context
This change maintains backward compatibility as the
datadictionary inControlPayloadis optional and defaults to an empty dictionary when not provided. Existing nodes that don't implement configuration updates will continue to work normally, ignoringCONFIGUREandRESETsignals.