-
Notifications
You must be signed in to change notification settings - Fork 160
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
plcstat/int6kstat: allow to query a powerline device for topology directly #119
Conversation
fb58f40
to
971eadb
Compare
@n1000 @dvlemplgk @ch-aurich: would be nice if you could find the time for a review. Thanks. |
plc/int6kstat.1
Outdated
Topology is always relative to the local host, or local hosts if present. | ||
Powerline devices that appear on the command line are not used for this operation. | ||
PHY rates displaye by this option may saturate at 255 mbps. | ||
Topology is relative to the queried powerline device(s) given on the command lines. If no device is given explicitely, |
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.
- command line
- explicitly
plc/plcstat.1
Outdated
@@ -83,11 +82,13 @@ The default Link ID is \fB0xFC\fR. | |||
.RB - t | |||
Display network topology using VS_SW_VER and VS_NW_INFO messages. | |||
This option is similar to option \fB-m\fR but provides complete network topology plus device hardware and firmware version. | |||
Topology is always relative to the local host, or local hosts if present. | |||
Powerline devices that appear on the command line are not used for this operation. | |||
Topology is relative to the queried powerline device(s) given on the command lines. If no device is given explicitely, |
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.
- command line
- explicitly
Functionality looks fine to me. There are some typos in the manual page (see inline comments). |
…ectly In a switched network, i.e. when local powerline device(s) are not connected directly to host, then using the Local Management Address to determine the local devices might fail due to wrong or incomplete forwarding by the switch. In this case it would be desirable to address the local powerline device directly which is not possible with both tools at the moment. This patch fixes this issue by keeping current behaviour as much as possible and also document it in the corresponding man pages. Signed-off-by: Michael Heimpold <[email protected]>
971eadb
to
22d1870
Compare
@dvlemplgk Thank you very much, I fixed the typos and pushed it to the branch. |
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.
I did not get to test this, but the changes look fine to me.
In a switched network, i.e. when local powerline device(s) are not
connected directly to host, then using the Local Management Address
to determine the local devices might fail due to wrong or incomplete
forwarding by the switch.
In this case it would be desirable to address the local powerline
device directly which is not possible with both tools at the moment.
This patch fixes this issue by keeping current behaviour as much as
possible and also document it in the corresponding man pages.
Signed-off-by: Michael Heimpold [email protected]