add GetEthernetConfig.srv to handle ethernet details #63
<sub><sub>!P2 Badge</sub></sub> Use a unique NetworkManager profile identifier
When a host has two Ethernet profiles with the same NetworkManager NAME, this request cannot identify which one to read: connection_id is explicitly the value from GetNetworkConfig connections[].id, and that field is a NAME rather than a UUID. NetworkManager's nmcli reference states that a connection ID can be ambiguous and provides UUID/path forms for disambiguation; callers therefore cannot reliably retrieve the intended profile from the list and the backend may select the wrong profile or reject the request. Expose and accept the profile UUID (or another unique identifier) instead. nmcli reference
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3dbcec1b1e
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
</details>
i think this is primary problem for NetworkManager in the host system, that can have the same profile names. I really do not think this could be a problem, because the system checks the availability with Network manager, and add the connection id if there is not. with this process, there will be no duplicated connection_id in the NetworkManager in our use case.
@MasakazuTobeta @tr-motomura-akira
マージ問題ないと思います。(ROS2 Typesは本村さんマージ担当で良かったですかね?)
---
レビュー依頼: @TriorbKumagaiKazuki
マージ依頼: @tr-motomura-akira
プロセス状態:新規実装
タスクリンク:GUIからEtherのプロファイル取得機能APIを追加したい
詳細:特になし
確認しました。
tr-motomura-akira
fujitatomoya
No description provided by author.