add nbd server sample code