ClosNetwork: add CNLeafSwitch::getWorkingUplinks()
ClosNetwork: factor facingPorts() out