Feature request: 'any' keyword for bearers

Aleksander Morgado aleksander at aleksander.es
Tue Jul 7 09:31:25 UTC 2020


Hey Nick,

> My favourite feature of the 1.14 release is the ‘any’ keyword for modems and SIMs.  Any chance we can get the same for bearers?
>

Well, what to say... :D I think the "any" keyword makes sense for
modems and SIMs when you're sure you have one single modem in the
system. It's very neat to integrate scripts that make use of mmcli.
Now, for bearers, the logic is not so clear, because with one single
modem you may still have multiple bearers, but we could still follow
the same reasoning and warn that it will find the *first* bearer
object even if there may be more. If the system uses the Simple
interface, where we kind of guarantee that only one bearer object is
used, this may also work quite cleanly.

Patches welcome! :D Please open a new Issue in gitlab if you'd like
this tracked.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list