modify cli/ws codes to support enable/disable autoElasticity.