[mender] Update the inventory script to exclude Docker network interfaces
Description
We need to update the Mender client to exclude docker-related network interfaces from the output of the default inventory script. We have cases where hundreds of devices are reported, bloating the inventory database.
We need to update the Mender client to exclude docker-related network interfaces from the output of the default inventory script. We have cases where hundreds of devices are reported, bloating the inventory database.
Examples:
"inventory-ipv4_br-584532edb1f0" : { "inventory-ipv4_br-584532edb1f0" : { "name" : "ipv4_br-584532edb1f0", "scope" : "inventory", "value" : "172.19.0.1/16" }
"inventory-ipv6_br-584532edb1f0" : { "inventory-ipv6_br-584532edb1f0" : { "name" : "ipv6_br-584532edb1f0", "scope" : "inventory", "value" : "fe80::42:11ff:fe8f:3d34/64" }
"inventory-mac_veth5f4a879" : { "inventory-mac_veth5f4a879" : { "name" : "mac_veth5f4a879", "scope" : "inventory", "value" : "3a:51:32:3e:77:dc" }
"inventory-ipv6_veth5f4a879" : { "name" : "ipv6_veth5f4a879", "scope" : "inventory", "value" : "fe80::3851:32ff:fe3e:77dc/64" }
Acceptance criteria:
Docker network interfaces are excluded from the inventory script output