This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dtantsur
Recipients ZackerySpytz, dtantsur, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-05-24.07:48:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558684097.16.0.848940745758.issue37007@roundup.psfhosted.org>
In-reply-to
Content
That would be fantastic, but I did not dare asking for it :)

This is how the output of if_nameindex looks on my Fedora 29:

[(1, 'lo'), (2, 'enp0s31f6'), (3, 'wlp4s0'), (4, 'virbr0'), (5, 'virbr0-nic'), (12, 'tun0')]

It includes the loopback, two real adapters (ethernet and wifi) and devices apparently created by libvirt.

This is how it looks on my OpenStack testing environment:

[(1, 'lo'), (2, 'eth0'), (3, 'virbr0'), (4, 'virbr0-nic'), (5, 'ovs-system'), (6, 'br-int'), (7, 'br-ex'), (8, 'brbm'), (9, 'br-tun'), (14, 'ovs-node-0i1'), (15, 'tap-node-0i1'), (16, 'ovs-node-0i2'), (17, 'tap-node-0i2'), (18, 'ovs-node-1i1'), (19, 'tap-node-1i1'), (20, 'ovs-node-1i2'), (21, 'tap-node-1i2'), (22, 'ovs-node-2i1'), (23, 'tap-node-2i1'), (24, 'ovs-node-2i2'), (25, 'tap-node-2i2'), (26, 'ovs-tap'), (27, 'brbm-tap'), (34, 'br-inspector'), (35, 'brbm-inspector'), (55, 'macvtap2'), (56, 'macvtap3'), (79, 'macvtap0'), (80, 'macvtap1')]

It seems to actually include everything.
History
Date User Action Args
2019-05-24 07:48:17dtantsursetrecipients: + dtantsur, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, ZackerySpytz
2019-05-24 07:48:17dtantsursetmessageid: <1558684097.16.0.848940745758.issue37007@roundup.psfhosted.org>
2019-05-24 07:48:17dtantsurlinkissue37007 messages
2019-05-24 07:48:16dtantsurcreate