In case of peer-links, we would generally be using same port number on both end of the connection.
So accordingly, I was passing [ 1/27 1/27] as port numbers used for peer-link and based on device-index, xml was configured to select the related one.
...