refactor OpenStack plugins