SWITCHYARD-2009 invoke local optimization for clustered endpoints