private void processNewPort(DatapathId sw,OFPort p){
  if (isLinkDiscoverySuppressed(sw,p)) {
    return;
  }
  IOFSwitch iofSwitch=switchService.getSwitch(sw);
  if (iofSwitch == null) {
    return;
  }
  NodePortTuple npt=new NodePortTuple(sw,p);
  discover(sw,p);
  addToQuarantineQueue(npt);
}

private void processNewPort ( DatapathId sw , OFPort p ) { if ( isLinkDiscoverySuppressed ( sw , p ) ) { return ; } IOFSwitch iofSwitch = switchService . getSwitch ( sw ) ; if ( iofSwitch == null ) { return ; } NodePortTuple npt = new NodePortTuple ( sw , p ) ; discover ( sw , p ) ; addToQuarantineQueue ( npt ) ; }
process a new port . if link discovery is disabled on the port , then do nothing . if autoportfast feature is enabled and the port is a fast port , then do nothing . otherwise , send lldp message . add the port to quarantine .
