Language:
Free Online Dictionary|3Dict

摇头曳尾

Source : CEDICT

to shake the head and lash the tail (of animals)/to assume an air of complacency (idiom)