* Copy sg list from controller peer message.
* Test case for same
(cherry picked from commit ae1a0509e6953122668b546eddd70138374e14c3)