Files
community.general/lib/ansible/module_utils
Michael Scherer bc6c1afb1e Fix media_type detection on NetBSD
On NetBSD 7.0.1, ifconfig return this:
    $ ifconfig
    ne0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            ec_capabilities=1<VLAN_MTU>
            ec_enabled=0
            address: 00:20:91:45:00:78
            media: Ethernet 10baseT full-duplex
            inet 192.168.156.29 netmask 0xffffff00 broadcast 192.168.156.255

Which result into setup returning this:
    "media_type": "ull-duplex",

So we have to specialise that method, since FreeBSD ifconfig return
something like this:

    ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
        ether 00:20:91:a7:48:45
        inet 192.168.156.11 netmask 0xffffff00 broadcast 192.168.156.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
2016-11-07 11:55:07 -05:00
..
2016-09-19 16:42:23 +01:00
2016-11-01 09:38:03 -07:00
2015-04-28 09:36:42 -04:00
2016-09-24 09:27:38 -04:00
2016-10-28 13:48:16 -04:00
2016-11-02 17:00:27 -07:00
2016-11-07 11:55:07 -05:00
2016-09-06 13:49:48 -04:00
2016-09-11 23:32:05 -04:00
2016-02-08 19:10:04 +01:00
2016-11-02 17:00:27 -07:00
2016-11-02 13:32:19 +00:00
2016-09-12 13:35:57 -04:00
2016-11-02 17:00:27 -07:00
2015-11-03 09:53:18 -08:00
2016-05-14 07:51:13 -07:00
2016-09-11 23:34:46 -04:00
2016-09-08 08:41:32 -07:00
2016-09-12 13:35:57 -04:00