Add bsn_switch_pipeline extension.

Reviewer: @rlane