add role in instance api for getting the slave list