src/test/apps/xconnect/src/main/java/org/ciena/xconnect/AppComponent.java
private void populateXConnect(XConnectStoreKey key, Set<PortNumber> ports) {
        if (!mastershipService.isLocalMaster(key.deviceId())) {
            log.info("Abort populating XConnect {}: {}", key, NOT_MASTER);
            return;
        }
        populateFilter(key, ports);
        populateFwd(key, populateNext(key, ports));
    }
/**
     * Populates XConnect groups and flows for given key.
     *
     * @param key XConnect key
     * @param ports a set of ports to be cross-connected
     */
Populates XConnect groups and flows for given key.
@param key XConnect key
@param ports a set of ports to be cross-connected
Populates XConnect groups and flows for given key . @param key XConnect key @param ports a set of ports to be cross - connected
private void populateXConnect(XConnectStoreKey key, Set<PortNumber> ports) {
        if (!mastershipService.isLocalMaster(key.deviceId())) {
            log.info("Abort populating XConnect {}: {}", key, NOT_MASTER);
            return;
        }
        populateFilter(key, ports);
        populateFwd(key, populateNext(key, ports));
    }
private void populateXConnect ( XConnectStoreKey key , Set < PortNumber > ports ) { if ( ! mastershipService . isLocalMaster ( key . deviceId ( ) ) ) { log . info ( "Abort populating XConnect {}: {}" , key , NOT_MASTER ) ; return ; } populateFilter ( key , ports ) ; populateFwd ( key , populateNext ( key , ports ) ) ; }
Populates XConnect groups and flows for given key.
Populates XConnect groups and flows for given key .