agnosticbin2: Create functions to link and unlink pads

Change-Id: I25f8dd7c2bd4de86fcfcdf2162d49a28e963f6c1