CA-102927: network monitor: better represent duplex mode for NIC bonds
CA-102927: network monitor: better represent duplex mode for NIC bonds

For bonds, "duplex" is now defined as the "minimum" duplex of all bond
members that are up, where "half duplex" < "full duplex". If all members
are down, duplex is "unknown".

Imported from xen-api.git 52cbf3321777b2ad65ef0627c69e879b5a03a1a9

Signed-off-by: Rob Hoes <8783b3376fb07d39edffc8d7da68a6de3874a7e6@citrix.com>
Imported-by: John Else <37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com>

sharady/xcp-networkd,djs55/xcp-networkd,sharady/xcp-networkd,koushikcgit/xcp-networkd,djs55/xcp-networkd,koushikcgit/xcp-networkd