After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683102 - optionally select interface by name or type (instead of by mac address)
optionally select interface by name or type (instead of by mac address)
Status: RESOLVED DUPLICATE of bug 693684
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks: nm-1.0
 
 
Reported: 2012-08-31 13:21 UTC by Pavel Simerda
Modified: 2013-09-30 09:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pavel Simerda 2012-08-31 13:21:26 UTC
Currently, connections can only match interfaces by MAC addresses, not names. This is fine in most cases and this is fine for the GUI tools but sometimes,
it is better to select interfaces either by name or by type.

This requires [connection] to be extended to support:

'match-name', 'match-interface-name' or 'interface-name' or whatever
'match-type', 'match-interface-type' or 'interface-type' or whatever

I'm slightly inclined to also rename 'mac-address' to something that obviously
means matching and not setting. And also to rename 'cloned-mac-address' to something valid (as we're not cloning MAC addresses but setting them, cloning
actually means using another device's MAC address learned through another interface).

Free to discuss.
Comment 1 Pavel Simerda 2013-09-29 10:28:35 UTC
Current status?
Comment 2 Dan Winship 2013-09-29 14:59:07 UTC
renaming things is for bug 680675

You can now specify connection.interface-name, and that will match on interface name.

By interface type do you mean like "ethernet" or "wifi"? In general, each connection type can only match one kind of hardware, so I'm not sure what you'd use that for...

So, I think this is FIXED
Comment 3 Pavel Simerda 2013-09-30 09:34:35 UTC
(In reply to comment #2)
> renaming things is for bug 680675

I have no specific request for that.

> You can now specify connection.interface-name, and that will match on interface
> name.

+1

> By interface type do you mean like "ethernet" or "wifi"? In general, each
> connection type can only match one kind of hardware, so I'm not sure what you'd
> use that for...

Sounds good.

> So, I think this is FIXED

Thanks.

I see you created a duplicate for this bug...

*** This bug has been marked as a duplicate of bug 693684 ***