Identify connector type
That connector is originally an AMP type, now TE Connectivity, known as a MATE-N-LOCK. They come in a variety of layouts regarding number of pins and placement of the round and D-shaped cavities used for keying.

Here is a link to the data sheet: http://www.mouser.com/ds/2/418/NG_CD_350766_Y5-626930.pdf