Port devstack plugin to generic driver. Part 1