Creating a custom host provider

I’d like to create some custom provider for adding hosts, for instance adding a new host for openstack is annoying because we have to fill a long form with basically the same information only the flavor or the image will change.