Package net.floodlightcontroller.core.module

Examples of net.floodlightcontroller.core.module.FloodlightModuleException


                                           "Torture-" + i);
                thread.setPriority(Thread.MIN_PRIORITY);
                thread.start();
            }
        } catch (Exception e) {
            throw new FloodlightModuleException(e);
        }
    }
View Full Code Here


                    .getStoreClient(SWITCH_SYNC_STORE_NAME,
                                    Long.class,
                                    SwitchSyncRepresentation.class);
            this.storeClient.addStoreListener(this.switchManager);
        } catch (SyncException e) {
            throw new FloodlightModuleException("Error while setting up sync service", e);
        }

        try {
            this.counters.createCounters(debugCounters);
        } catch (CounterException e) {
            throw new FloodlightModuleException(e.getMessage());
        }

        addInfoProvider("summary", this);

        registerControllerDebugEvents();
View Full Code Here

            evSwitch = debugEvents.registerEvent(
                               Counters.prefix, "switchevent",
                               "Switch connected, disconnected or port changed",
                               EventType.ALWAYS_LOG, SwitchEvent.class, 100);
        } catch (MaxEventsRegistered e) {
            throw new FloodlightModuleException("Max events registered", e);
        }
    }
View Full Code Here

                CounterType.ALWAYS_COUNT);
            ctrQuarantineDrops = debugCounters.registerCounter(PACKAGE, "quarantine-drops",
                "All packets arriving on quarantined ports dropped by this module",
                CounterType.ALWAYS_COUNT, IDebugCounterService.CTR_MDATA_WARN);
        } catch (CounterException e) {
            throw new FloodlightModuleException(e.getMessage());
        }
    }
View Full Code Here

            evDirectLink = debugEvents.registerEvent(
                               PACKAGE, "linkevent",
                               "Direct OpenFlow links discovered or timed-out",
                               EventType.ALWAYS_LOG, DirectLinkEvent.class, 100);
        } catch (MaxEventsRegistered e) {
            throw new FloodlightModuleException("max events registered", e);
        }

    }
View Full Code Here

TOP

Related Classes of net.floodlightcontroller.core.module.FloodlightModuleException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.