-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shrared state ubus #1040
Shrared state ubus #1040
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #1040 +/- ##
==========================================
+ Coverage 79.27% 79.72% +0.45%
==========================================
Files 53 53
Lines 4444 4523 +79
==========================================
+ Hits 3523 3606 +83
+ Misses 921 917 -4
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Output data should not include shared state info, I'll remove extra information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comments
utils.printJson(resultTable) | ||
end | ||
|
||
local function get_from_sharedState_muti_writer(msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sed -i s/muti_writer/multi_writer/g
;-)
also better not mixing up underscore (python like) and camel case, either keep _ o camel case but not both ;)
This pull request provides access to shared-state infrastructure for the UI.
It is intended to be used to retrieve actual state and record global network state into shared state infrastructure.
The upgrade provides three methods witch can be used to get information from existing shared state modules like "wifi_links_info".
get the list of available methods using
then use them like in the example below
It can also be used to record and retrieve information across the whole network
to get the info in another node the others need to sync on the same topic
in conclusion the ui cant create new data types. We need to add them first as a module in every node.