extractDeviceNameSpaces