-
Notifications
You must be signed in to change notification settings - Fork 219
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
[web] topology visualization #519
Conversation
Update forks
This pull request introduces 2 alerts when merging 210dc18 into eefef71 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## master #519 +/- ##
==========================================
+ Coverage 76.85% 78.21% +1.36%
==========================================
Files 57 68 +11
Lines 3850 4683 +833
==========================================
+ Hits 2959 3663 +704
- Misses 891 1020 +129
Continue to review full report at Codecov.
|
Why not use git submodules for cJSON and http_parser ? @tttttangTH @wgtdkp |
I think the benefits of adding source code is that we don't need to make a mirroring of each third_party library when porting to product environment where we cannot depends on external libraries directly. This is how OpenThread add third_party dependencies. |
@tttttangTH I think the first thing for you is to format the code with |
This pull request introduces 2 alerts when merging 83eaafd into eefef71 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging 0b136da into eefef71 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging e38d30d into eefef71 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 77b0066 into eefef71 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 6329970 into eefef71 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging a895bd4 into eefef71 - view on LGTM.com new alerts:
|
@tttttangTH You marked comments resolved, but there is no new commits. Can you confirm that you pushed you changes successfully? |
src/rest/connection.cpp
Outdated
void Connection::SentResponse(Response &aResponse) | ||
{ | ||
std::string data = aResponse.SerializeResponse(); | ||
write(this->mFd, data.c_str(), data.size()); |
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.
and we might not write all data, only part of it.
This pull request fixes 2 alerts when merging 4fef6cc into ecc2570 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 59cf99b into ecc2570 - view on LGTM.com fixed alerts:
|
Have fixed that! |
This pull request fixes 2 alerts when merging fd37cd7 into ecc2570 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging ea3e4d9 into ecc2570 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 4968af8 into ecc2570 - view on LGTM.com fixed alerts:
|
[cmake] add option for enabling legacy in cmake (openthread#544)
This pull request fixes 2 alerts when merging 6ca68f1 into bc8825d - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 474d15c into bc8825d - view on LGTM.com fixed alerts:
|
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.
LGTM 👍
Bug: 167332999 * origin/github/master: [backbone-router] fix OT options for Backone Router (openthread#564) [script] add `REFERENCE_DEVICE` support (openthread#558) [test] increase the waiting time in dbus tests (openthread#563) [flags] configure backbone network interface name (openthread#553) [dockerfile] add ARG `OT_BACKBONE_CI` (openthread#556) [mac-filter] change whitelist/blacklist to allowlist/denylist (openthread#552) [third-party] only add web related modules when necessary (openthread#551) [web] topology visualization (openthread#519) Change-Id: I73c08bf5bc0ebcc9ecb9903a282a2264e6754b0f
It is the first PR of OpenThread Network Manager.
In general, it implements a new module -- OTBR-REST, which is directly embedded in OTBR-AGENT and provides RESTful API for a new feature of WEB UI -- Topology Visualization.
Topology Visualization aims to collect diagnostic information of all nodes in current network, visualize their relations and provide the display of all the details.
The frontend part is implemented based on the frontend of OTBR-WEB for the time being. We will then implement all the functionality OTBR-WEB provides and transplant the frontend static file of OTBR-WEB in this module. More details of the second PR is in #537 .