Hi,

On Tue, 2015-09-15 at 09:30 +0200, laurent vaudoit wrote:

> in order to identify the network, is there some rules to apply?
> Is it possible to use the format:
> ethernet_MACADRESS_switchPORTNB_cable with PORTNB the dsa port number on
> the switch?

If this behavior is generic enough, maybe a '_p<id>_cable' should be
used. Also check the port range, i.e. is %03x a suitable value or not. I
suppose it is possible to create VLANs for this interface also, which
means that the identifier needs to be built step by step taking also the
VLAN information into account. Instead of an ioctl, is this information
available in a newlink message? If so, that one should be used to avoid
the extra ioctl.

While we are at it, you have looked at systemd-networkd also, but
noticed that you actually do need ConnMan because it also supports
Bluetooth and WiFi?

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to