Refactor section that ensures a unique config section exists for each switch in switchList.
Refactor section that ensures a unique config section exists for each
switch in switchList.

arista-eosext/rphm