bdev: forward-port ReAttachNet/DisconnectNet
bdev: forward-port ReAttachNet/DisconnectNet

This is plain copy of the 1.2 ReAttachNet and DisconnectNet methods on
the DRBD8 device, with the logger to logging module changes and the
ReAttachNet method renamed to AttachNet.

These methods are not used anywhere right now, but will be used for
migration and a simpler disk-replace.

The code was originally committed on the 1.2 branch as revision numbers
1165 and 1204.

Originally-Reviewed-by: imsnah, ultrotter

apyrgio/ganeti,bitemyapp/ganeti,andir/ganeti,andir/ganeti,apyrgio/snf-ganeti,leshchevds/ganeti,ganeti/ganeti,ganeti/ganeti,ganeti/ganeti,ganeti-github-testing/ganeti-test-1,onponomarev/ganeti,grnet/snf-ganeti,dimara/ganeti,leshchevds/ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,onponomarev/ganeti,leshchevds/ganeti,mbakke/ganeti,mbakke/ganeti,dimara/ganeti,bitemyapp/ganeti,mbakke/ganeti,yiannist/ganeti,apyrgio/ganeti,yiannist/ganeti,yiannist/ganeti