[PATCH v2 03/47] add lnst.Common.DeviceRef