ClosNetwork: add CNSwitch::assertPortRole()