def validate_pipeline(conf, args):
host = conf.config['<STR_LIT>'][args.host_instance]<EOL>host_url = api.build_pipeline_url(build_instance_url(host))<EOL>host_auth = tuple([conf.creds['<STR_LIT>'][args.host_instance]['<STR_LIT:user>'],<EOL>conf.creds['<STR_LIT>'][args.host_instance]['<STR_LIT>']])<EOL>verify_ssl = host.get('<STR_LIT>', True)<EOL>validate_result = api.validate_pipeline(host_url, args.pipeline_id, host_auth, verify_ssl)<EOL>return validate_result<EOL>
Validate a pipeline configuration.