'Specify which ssh server validation resources should be created.
Each of the argument must be set to either None, True or False, with
None - use default from config (security groups and security group
rules get created when set to None)
False - Do not create the validation resource
True - create the validation resource
@param keypair
@param security_group
@param security_group_rules
@param floating_ip'

@classmethod
def set_validation_resources(cls, keypair=None, floating_ip=None, security_group=None, security_group_rules=None):

    if (not CONF.validation.run_validation):
        return
    if (keypair is None):
        keypair = (CONF.validation.auth_method.lower() == 'keypair')
    if (floating_ip is None):
        floating_ip = (CONF.validation.connect_method.lower() == 'floating')
    if (security_group is None):
        security_group = CONF.validation.security_group
    if (security_group_rules is None):
        security_group_rules = CONF.validation.security_group_rules
    if (not cls.validation_resources):
        cls.validation_resources = {'keypair': keypair, 'security_group': security_group, 'security_group_rules': security_group_rules, 'floating_ip': floating_ip}
