-
Notifications
You must be signed in to change notification settings - Fork 20
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
mctpd: Add EIDs
property to show local EIDs
#54
base: main
Are you sure you want to change the base?
Conversation
I'm not trying to block the change here, but I feel we might want a holistic treatment of |
From some chatting on Discord, my suggested approach was that we have an EIDs property on the network object, where an application can always pick the first to acquire a suitable local EID that can route to the local stack. Since the host will accept any local destination EID, it will always be valid on any incoming interface. (the extension of that concept is that we may as well assign the same local EID to all interfaces, but that's entirely optional) We may have a scenario in future where an application may need to query a local EID that is bound to a specific interface, but I don't think that's what's happening here. |
It seems I missed your idea in the Discord Chat. I thought we will add the In case, we want to add the
I'm agree with you that when the interfaces are belong to the same network, this will be true. Although, this will make the routing table in both BMC, the bridge between BMC and terminus (if have) and the terminus are more complicated.
This option can only be applied when BMC is BO in all interfaces.
|
What do you think about adding the D-Bus interface "au.com.CodeConstruct.MCTP.Network1" in network object path as below
Where:
|
Looks good, but maybe make it obvious that the |
Sure. |
ok, super. Also, just check the capitalisation on the interface name. |
2ee8ff1
to
cd541d6
Compare
Add code to show the local EIDs in `LocalEids` property in `au.com.CodeConstruct.MCTP.Network1` D-Bus interface of the D-Bus object path `/au/com/codeconstruct/mctp1/networks/<netId>`. ``` busctl introspect au.com.codeconstruct.MCTP1 /au/com/codeconstruct/mctp1/networks/1 NAME TYPE SIGNATURE RESULT/VALUE FLAGS au.com.CodeConstruct.MCTP.Network1 interface - - - .LocalEids property ay 1 8 const org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - ``` Signed-off-by: Thu Nguyen <[email protected]>
cd541d6
to
41dd42a
Compare
Add code to show the local EIDs in
EIDs
property inau.com.CodeConstruct.MCTP.Interface1
D-Bus interface.