NovaTemplateOptions is definitely the outlier here by using keyPairName. Both EC2TemplateOptions and CloudStackTemplateOptions use keyPair. But they do all refer to the same thing.
I have no clue about Clojure but it looks to me like a new attribute is being introduced. It's left up to the user to know that if they're using OpenStack then they need to use key-pair-name otherwise use key-pair. Is there a way to map key-pair to NovaTemplateOptions.keyPairName() like @demobox suggested so a new attribute doesn't have to be created and users can just use key-pair? If not then compute2.clj needs to be documented so users know why both key-pair and key-pair-name exist and when to use which one. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/30#issuecomment-19920410
