mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
ifconfig fixture updates
This commit is contained in:
2
tests/fixtures/centos-7.7/ifconfig.json
vendored
2
tests/fixtures/centos-7.7/ifconfig.json
vendored
@ -1 +1 @@
|
|||||||
[{"name": "docker0", "flags": 4099, "state": "UP,BROADCAST,MULTICAST", "mtu": 1500, "ipv4_addr": "172.17.0.1", "ipv4_mask": "255.255.0.0", "ipv4_bcast": "0.0.0.0", "mac_addr": "02:42:b1:9a:ea:02", "type": "Ethernet", "rx_packets": 0, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 0, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null}, {"name": "ens33", "flags": 4163, "state": "UP,BROADCAST,RUNNING,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.71.137", "ipv4_mask": "255.255.255.0", "ipv4_bcast": "192.168.71.255", "ipv6_addr": "fe80::c1cb:715d:bc3e:b8a0", "ipv6_mask": 64, "ipv6_scope": "link", "mac_addr": "00:0c:29:3b:58:0e", "type": "Ethernet", "rx_packets": 8061, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 4502, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}, {"name": "lo", "flags": 73, "state": "UP,LOOPBACK,RUNNING", "mtu": 65536, "ipv4_addr": "127.0.0.1", "ipv4_mask": "255.0.0.0", "ipv4_bcast": null, "ipv6_addr": "::1", "ipv6_mask": 128, "ipv6_scope": "host", "mac_addr": null, "type": "Local Loopback", "rx_packets": 73, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 73, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}]
|
[{"name": "docker0", "flags": 4099, "state": "UP,BROADCAST,MULTICAST", "mtu": 1500, "ipv4_addr": "172.17.0.1", "ipv4_mask": "255.255.0.0", "ipv4_bcast": "0.0.0.0", "mac_addr": "02:42:b1:9a:ea:02", "type": "Ethernet", "rx_packets": 0, "rx_bytes": 0, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 0, "tx_bytes": 0, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null}, {"name": "ens33", "flags": 4163, "state": "UP,BROADCAST,RUNNING,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.71.137", "ipv4_mask": "255.255.255.0", "ipv4_bcast": "192.168.71.255", "ipv6_addr": "fe80::c1cb:715d:bc3e:b8a0", "ipv6_mask": 64, "ipv6_scope": "0x20", "mac_addr": "00:0c:29:3b:58:0e", "type": "Ethernet", "rx_packets": 8061, "rx_bytes": 1514413, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 4502, "tx_bytes": 866622, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}, {"name": "lo", "flags": 73, "state": "UP,LOOPBACK,RUNNING", "mtu": 65536, "ipv4_addr": "127.0.0.1", "ipv4_mask": "255.0.0.0", "ipv4_bcast": null, "ipv6_addr": "::1", "ipv6_mask": 128, "ipv6_scope": "0x10", "mac_addr": null, "type": "Local Loopback", "rx_packets": 73, "rx_bytes": 6009, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 73, "tx_bytes": 6009, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}]
|
||||||
|
1
tests/fixtures/osx-10.11.6/ifconfig.json
vendored
Normal file
1
tests/fixtures/osx-10.11.6/ifconfig.json
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
[{"name": "lo0", "flags": 8049, "state": "UP,LOOPBACK,RUNNING,MULTICAST", "mtu": 16384, "ipv4_addr": "127.0.0.1", "ipv4_mask": "0xff000000", "ipv4_bcast": null, "ipv6_addr": "fe80::1", "ipv6_mask": 64, "ipv6_scope": "0x1", "type": null, "mac_addr": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "gif0", "flags": 8010, "state": "POINTOPOINT,MULTICAST", "mtu": 1280, "type": null, "mac_addr": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "stf0", "flags": 0, "state": null, "mtu": 1280, "type": null, "mac_addr": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "en0", "flags": 8863, "state": "UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.1.81", "ipv4_mask": "0xffffff00", "ipv4_bcast": "192.168.1.255", "ipv6_addr": "fe80::6aa8:6dff:fe12:f575", "ipv6_mask": 64, "ipv6_scope": "0x4", "mac_addr": "68:a8:6d:12:f5:75", "type": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "en1", "flags": 963, "state": "UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX", "mtu": 1500, "mac_addr": "b2:00:19:cb:f5:50", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "p2p0", "flags": 8843, "state": "UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST", "mtu": 2304, "mac_addr": "0a:a8:6d:12:f5:75", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "bridge0", "flags": 8863, "state": "UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST", "mtu": 1500, "mac_addr": "6a:a8:6d:21:38:00", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}]
|
40
tests/fixtures/osx-10.11.6/ifconfig.out
vendored
Executable file
40
tests/fixtures/osx-10.11.6/ifconfig.out
vendored
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
||||||
|
options=3<RXCSUM,TXCSUM>
|
||||||
|
inet6 ::1 prefixlen 128
|
||||||
|
inet 127.0.0.1 netmask 0xff000000
|
||||||
|
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
||||||
|
stf0: flags=0<> mtu 1280
|
||||||
|
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether 68:a8:6d:12:f5:75
|
||||||
|
inet6 fe80::6aa8:6dff:fe12:f575%en0 prefixlen 64 scopeid 0x4
|
||||||
|
inet6 2600:1700:bab0:d40:6aa8:6dff:fe12:f575 prefixlen 64 autoconf
|
||||||
|
inet6 2600:1700:bab0:d40:c0d1:97f7:a613:3ed3 prefixlen 64 autoconf temporary
|
||||||
|
inet 192.168.1.81 netmask 0xffffff00 broadcast 192.168.1.255
|
||||||
|
inet6 2600:1700:bab0:d40::26 prefixlen 64 dynamic
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether b2:00:19:cb:f5:50
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
||||||
|
ether 0a:a8:6d:12:f5:75
|
||||||
|
media: autoselect
|
||||||
|
status: inactive
|
||||||
|
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
|
||||||
|
ether 6a:a8:6d:21:38:00
|
||||||
|
Configuration:
|
||||||
|
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
|
||||||
|
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
|
||||||
|
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
|
||||||
|
ipfilter disabled flags 0x2
|
||||||
|
member: en1 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 5 priority 0 path cost 0
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
media: <unknown type>
|
||||||
|
status: inactive
|
1
tests/fixtures/osx-10.11.6/ifconfig2.json
vendored
Normal file
1
tests/fixtures/osx-10.11.6/ifconfig2.json
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
[{"name": "lo0", "flags": 8049, "state": "UP,LOOPBACK,RUNNING,MULTICAST", "mtu": 16384, "ipv4_addr": "127.0.0.1", "ipv4_mask": "0xff000000", "ipv4_bcast": null, "ipv6_addr": "fe80::1", "ipv6_mask": 64, "ipv6_scope": "0x1", "type": null, "mac_addr": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "gif0", "flags": 8010, "state": "POINTOPOINT,MULTICAST", "mtu": 1280, "type": null, "mac_addr": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "stf0", "flags": 0, "state": null, "mtu": 1280, "type": null, "mac_addr": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "en0", "flags": 8863, "state": "UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.1.65", "ipv4_mask": "0xffffff00", "ipv4_bcast": "192.168.1.255", "ipv6_addr": "fe80::62c5:47ff:fe0a:ce0b", "ipv6_mask": 64, "ipv6_scope": "0x4", "mac_addr": "60:c5:47:0a:ce:0b", "type": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "en1", "flags": 963, "state": "UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX", "mtu": 1500, "mac_addr": "b2:00:14:06:39:21", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "p2p0", "flags": 8843, "state": "UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST", "mtu": 2304, "mac_addr": "02:c5:47:0a:ce:0b", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}, {"name": "bridge0", "flags": 8863, "state": "UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST", "mtu": 1500, "mac_addr": "62:c5:47:a0:f7:10", "type": null, "ipv4_addr": null, "ipv4_bcast": null, "ipv4_mask": null, "ipv6_addr": null, "ipv6_mask": null, "ipv6_scope": null, "metric": null, "rx_packets": null, "rx_errors": null, "rx_dropped": null, "rx_overruns": null, "rx_frame": null, "tx_packets": null, "tx_errors": null, "tx_dropped": null, "tx_overruns": null, "tx_carrier": null, "tx_collisions": null, "rx_bytes": null, "tx_bytes": null}]
|
40
tests/fixtures/osx-10.11.6/ifconfig2.out
vendored
Executable file
40
tests/fixtures/osx-10.11.6/ifconfig2.out
vendored
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
||||||
|
options=3<RXCSUM,TXCSUM>
|
||||||
|
inet6 ::1 prefixlen 128
|
||||||
|
inet 127.0.0.1 netmask 0xff000000
|
||||||
|
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
||||||
|
stf0: flags=0<> mtu 1280
|
||||||
|
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether 60:c5:47:0a:ce:0b
|
||||||
|
inet6 fe80::62c5:47ff:fe0a:ce0b%en0 prefixlen 64 scopeid 0x4
|
||||||
|
inet 192.168.1.65 netmask 0xffffff00 broadcast 192.168.1.255
|
||||||
|
inet6 2600:1700:bab0:d40:62c5:47ff:fe0a:ce0b prefixlen 64 autoconf
|
||||||
|
inet6 2600:1700:bab0:d40:ad4b:19b2:2ce5:9a1b prefixlen 64 autoconf temporary
|
||||||
|
inet6 2600:1700:bab0:d40::2b prefixlen 64 dynamic
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether b2:00:14:06:39:21
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
||||||
|
ether 02:c5:47:0a:ce:0b
|
||||||
|
media: autoselect
|
||||||
|
status: inactive
|
||||||
|
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
|
||||||
|
ether 62:c5:47:a0:f7:10
|
||||||
|
Configuration:
|
||||||
|
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
|
||||||
|
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
|
||||||
|
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
|
||||||
|
ipfilter disabled flags 0x2
|
||||||
|
member: en1 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 5 priority 0 path cost 0
|
||||||
|
nd6 options=1<PERFORMNUD>
|
||||||
|
media: <unknown type>
|
||||||
|
status: inactive
|
1
tests/fixtures/osx-10.14.6/ifconfig.json
vendored
Normal file
1
tests/fixtures/osx-10.14.6/ifconfig.json
vendored
Normal file
File diff suppressed because one or more lines are too long
91
tests/fixtures/osx-10.14.6/ifconfig.out
vendored
Executable file
91
tests/fixtures/osx-10.14.6/ifconfig.out
vendored
Executable file
@ -0,0 +1,91 @@
|
|||||||
|
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
||||||
|
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
|
||||||
|
inet 127.0.0.1 netmask 0xff000000
|
||||||
|
inet6 ::1 prefixlen 128
|
||||||
|
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
||||||
|
stf0: flags=0<> mtu 1280
|
||||||
|
XHC1: flags=0<> mtu 0
|
||||||
|
XHC0: flags=0<> mtu 0
|
||||||
|
XHC20: flags=0<> mtu 0
|
||||||
|
en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether ac:de:48:00:13:23
|
||||||
|
inet6 fe80::aede:48ff:fe00:1323%en5 prefixlen 64 scopeid 0x7
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether f0:18:98:03:d9:30
|
||||||
|
inet6 fe80::8b7:1281:7499:b504%en0 prefixlen 64 secured scopeid 0x8
|
||||||
|
inet 192.168.1.72 netmask 0xffffff00 broadcast 192.168.1.255
|
||||||
|
inet6 2600:1700:bab0:d40:bb:9ad:34c5:2e9a prefixlen 64 autoconf secured
|
||||||
|
inet6 2600:1700:bab0:d40:4573:9380:5ecb:ef52 prefixlen 64 autoconf temporary
|
||||||
|
inet6 2600:1700:bab0:d40::24 prefixlen 64 dynamic
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
||||||
|
ether 02:18:98:03:f8:49
|
||||||
|
media: autoselect
|
||||||
|
status: inactive
|
||||||
|
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
|
||||||
|
ether 1e:06:52:da:9b:86
|
||||||
|
inet6 fe80::1c06:52ff:feda:9b86%awdl0 prefixlen 64 scopeid 0xa
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether 02:00:31:81:83:05
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether 02:00:31:81:94:10
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether 02:00:31:81:94:06
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether 02:00:31:81:94:05
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
|
||||||
|
ether 02:00:31:81:94:02
|
||||||
|
Configuration:
|
||||||
|
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
|
||||||
|
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
|
||||||
|
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
|
||||||
|
ipfilter disabled flags 0x2
|
||||||
|
member: en1 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 11 priority 0 path cost 0
|
||||||
|
member: en2 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 12 priority 0 path cost 0
|
||||||
|
member: en3 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 13 priority 0 path cost 0
|
||||||
|
member: en4 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 14 priority 0 path cost 0
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: <unknown type>
|
||||||
|
status: inactive
|
||||||
|
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
|
||||||
|
inet6 fe80::cec:23d0:8cf7:c88e%utun0 prefixlen 64 scopeid 0x10
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
||||||
|
inet6 fe80::cf42:647e:9077:7bcb%utun1 prefixlen 64 scopeid 0x11
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
||||||
|
inet6 fe80::f67f:be47:695a:f5b1%utun2 prefixlen 64 scopeid 0x12
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
||||||
|
inet6 fe80::2998:653d:a6da:9ca5%utun3 prefixlen 64 scopeid 0x13
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
||||||
|
inet6 fe80::8e0f:4631:2328:5209%utun4 prefixlen 64 scopeid 0x14
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
1
tests/fixtures/osx-10.14.6/ifconfig2.json
vendored
Normal file
1
tests/fixtures/osx-10.14.6/ifconfig2.json
vendored
Normal file
File diff suppressed because one or more lines are too long
95
tests/fixtures/osx-10.14.6/ifconfig2.out
vendored
Normal file
95
tests/fixtures/osx-10.14.6/ifconfig2.out
vendored
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
||||||
|
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
|
||||||
|
inet 127.0.0.1 netmask 0xff000000
|
||||||
|
inet6 ::1 prefixlen 128
|
||||||
|
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
||||||
|
stf0: flags=0<> mtu 1280
|
||||||
|
XHC0: flags=0<> mtu 0
|
||||||
|
XHC1: flags=0<> mtu 0
|
||||||
|
XHC20: flags=0<> mtu 0
|
||||||
|
VHC128: flags=0<> mtu 0
|
||||||
|
en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether ac:de:48:00:10:20
|
||||||
|
inet6 fe80::aede:48ff:fe00:1020%en5 prefixlen 64 scopeid 0x8
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect (100baseTX <full-duplex>)
|
||||||
|
status: active
|
||||||
|
ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether a6:83:e7:2d:63:8e
|
||||||
|
media: autoselect
|
||||||
|
status: inactive
|
||||||
|
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether a4:83:e7:2d:63:8e
|
||||||
|
inet6 fe80::4dd:cbd7:2743:da63%en0 prefixlen 64 secured scopeid 0xa
|
||||||
|
inet 192.168.1.221 netmask 0xffffff00 broadcast 192.168.1.255
|
||||||
|
inet6 2600:1700:bab0:d40:1874:4566:6499:f3d1 prefixlen 64 autoconf secured
|
||||||
|
inet6 2600:1700:bab0:d40:30d4:c067:a56d:5888 prefixlen 64 deprecated autoconf temporary
|
||||||
|
inet6 2600:1700:bab0:d40:342e:1ac7:8bdb:6c3d prefixlen 64 deprecated autoconf temporary
|
||||||
|
inet6 2600:1700:bab0:d40:fdd1:e943:edd4:5187 prefixlen 64 autoconf temporary
|
||||||
|
inet6 2600:1700:bab0:d40::39 prefixlen 64 dynamic
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
||||||
|
ether 06:83:e7:2d:63:8e
|
||||||
|
media: autoselect
|
||||||
|
status: inactive
|
||||||
|
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
|
||||||
|
ether 7e:05:c1:24:14:ca
|
||||||
|
inet6 fe80::7c05:c1ff:fe24:14ca%awdl0 prefixlen 64 scopeid 0xc
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: autoselect
|
||||||
|
status: active
|
||||||
|
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether ea:00:fd:08:58:02
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether ea:00:fd:08:58:01
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether ea:00:fd:08:58:06
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=60<TSO4,TSO6>
|
||||||
|
ether ea:00:fd:08:58:05
|
||||||
|
media: autoselect <full-duplex>
|
||||||
|
status: inactive
|
||||||
|
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
|
||||||
|
ether ea:00:fd:08:58:02
|
||||||
|
Configuration:
|
||||||
|
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
|
||||||
|
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
|
||||||
|
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
|
||||||
|
ipfilter disabled flags 0x2
|
||||||
|
member: en1 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 13 priority 0 path cost 0
|
||||||
|
member: en2 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 14 priority 0 path cost 0
|
||||||
|
member: en3 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 15 priority 0 path cost 0
|
||||||
|
member: en4 flags=3<LEARNING,DISCOVER>
|
||||||
|
ifmaxaddr 0 port 16 priority 0 path cost 0
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
media: <unknown type>
|
||||||
|
status: inactive
|
||||||
|
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
|
||||||
|
inet6 fe80::7b12:adc2:a089:c4d8%utun0 prefixlen 64 scopeid 0x12
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
||||||
|
vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether 00:50:56:c0:00:01
|
||||||
|
inet 192.168.101.1 netmask 0xffffff00 broadcast 192.168.101.255
|
||||||
|
vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
ether 00:50:56:c0:00:08
|
||||||
|
inet 192.168.71.1 netmask 0xffffff00 broadcast 192.168.71.255
|
||||||
|
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
||||||
|
inet6 fe80::a08a:46aa:a738:2ea7%utun1 prefixlen 64 scopeid 0x15
|
||||||
|
nd6 options=201<PERFORMNUD,DAD>
|
2
tests/fixtures/ubuntu-18.04/ifconfig.json
vendored
2
tests/fixtures/ubuntu-18.04/ifconfig.json
vendored
@ -1 +1 @@
|
|||||||
[{"name": "ens33", "flags": 4163, "state": "UP,BROADCAST,RUNNING,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.71.131", "ipv4_mask": "255.255.255.0", "ipv4_bcast": "192.168.71.255", "ipv6_addr": "fe80::20c:29ff:fe99:4517", "ipv6_mask": 64, "ipv6_scope": "link", "mac_addr": "00:0c:29:99:45:17", "type": "Ethernet", "rx_packets": 138830, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 30490, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}, {"name": "lo", "flags": 73, "state": "UP,LOOPBACK,RUNNING", "mtu": 65536, "ipv4_addr": "127.0.0.1", "ipv4_mask": "255.0.0.0", "ipv4_bcast": null, "ipv6_addr": "::1", "ipv6_mask": 128, "ipv6_scope": "host", "mac_addr": null, "type": "Local Loopback", "rx_packets": 825, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 825, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}]
|
[{"name": "ens33", "flags": 4163, "state": "UP,BROADCAST,RUNNING,MULTICAST", "mtu": 1500, "ipv4_addr": "192.168.71.131", "ipv4_mask": "255.255.255.0", "ipv4_bcast": "192.168.71.255", "ipv6_addr": "fe80::20c:29ff:fe99:4517", "ipv6_mask": 64, "ipv6_scope": "0x20", "mac_addr": "00:0c:29:99:45:17", "type": "Ethernet", "rx_packets": 138830, "rx_bytes": 178583682, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 30490, "tx_bytes": 3772041, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}, {"name": "lo", "flags": 73, "state": "UP,LOOPBACK,RUNNING", "mtu": 65536, "ipv4_addr": "127.0.0.1", "ipv4_mask": "255.0.0.0", "ipv4_bcast": null, "ipv6_addr": "::1", "ipv6_mask": 128, "ipv6_scope": "0x10", "mac_addr": null, "type": "Local Loopback", "rx_packets": 825, "rx_bytes": 76797, "rx_errors": 0, "rx_dropped": 0, "rx_overruns": 0, "rx_frame": 0, "tx_packets": 825, "tx_bytes": 76797, "tx_errors": 0, "tx_dropped": 0, "tx_overruns": 0, "tx_carrier": 0, "tx_collisions": 0, "metric": null}]
|
||||||
|
Reference in New Issue
Block a user