Package net.floodlightcontroller.debugcounter

Examples of net.floodlightcontroller.debugcounter.NullDebugCounter


        for (int i = 0; i < 4; i++) {
            SyncManager syncManager = new SyncManager();
            syncManagers.add(syncManager);

            fmc.addService(IThreadPoolService.class, tp);
            fmc.addService(IDebugCounterService.class, new NullDebugCounter());
            String dbPath =
                    new File(dbFolder.getRoot(),
                             "server" + i).getAbsolutePath();
            fmc.addConfigParam(syncManager, "dbPath", dbPath);
View Full Code Here


        tp = new ThreadPool();
        syncManager = new SyncManager();
       
        FloodlightModuleContext fmc = new FloodlightModuleContext();
        fmc.addService(IThreadPoolService.class, tp);
        fmc.addService(IDebugCounterService.class, new NullDebugCounter());
       
        fmc.addConfigParam(syncManager, "nodes", nodeString);
        fmc.addConfigParam(syncManager, "thisNode", ""+1);
        fmc.addConfigParam(syncManager, "persistenceEnabled", "false");
        fmc.addConfigParam(syncManager, "authScheme", "CHALLENGE_RESPONSE");
View Full Code Here

    }

    private void registerFlowReconcileManagerDebugCounters() throws FloodlightModuleException {
        if (debugCounters == null) {
            logger.error("Debug Counter Service not found.");
            debugCounters = new NullDebugCounter();
        }
        try {
            ctrFlowReconcileRequest = debugCounters.registerCounter(PACKAGE, "flow-reconcile-request",
                "All flow reconcile request received by this module",
                CounterType.ALWAYS_COUNT);
View Full Code Here

    }

    private void registerTopologyDebugCounters() throws FloodlightModuleException {
        if (debugCounters == null) {
            log.error("Debug Counter Service not found.");
            debugCounters = new NullDebugCounter();
        }
        try {
            ctrIncoming = debugCounters.registerCounter(PACKAGE, "incoming",
                "All incoming packets seen by this module",
                CounterType.ALWAYS_COUNT);
View Full Code Here

        syncManager = new SyncManager();
        remoteSyncManager = new RemoteSyncManager();

        fmc.addService(IThreadPoolService.class, tp);
        fmc.addService(IDebugCounterService.class, new NullDebugCounter());
        fmc.addConfigParam(syncManager, "persistenceEnabled", "false");
       
        tp.init(fmc);
        syncManager.init(fmc);
        remoteSyncManager.init(fmc);
View Full Code Here

   
    protected void setupSyncManager(FloodlightModuleContext fmc,
                                    SyncManager syncManager, Node thisNode)
            throws Exception {       
        fmc.addService(IThreadPoolService.class, tp);
        fmc.addService(IDebugCounterService.class, new NullDebugCounter());
        fmc.addConfigParam(syncManager, "configProviders",
                           PropertyCCProvider.class.getName());
        fmc.addConfigParam(syncManager, "nodes", nodeString);
        fmc.addConfigParam(syncManager, "thisNode", ""+thisNode.getNodeId());
        fmc.addConfigParam(syncManager, "persistenceEnabled", "false");
View Full Code Here

        if (debugCountersRegistered) {
            return;
        }
        if (debugCounters == null) {
            log.error("Debug Counter Service not found");
            debugCounters = new NullDebugCounter();
            debugCountersRegistered = true;
        }
        // every level of the hierarchical counter has to be registered
        // even if they are not used
        ctrSwitch = debugCounters.registerCounter(
View Full Code Here

    }

    private void registerDeviceManagerDebugCounters() throws FloodlightModuleException {
        if (debugCounters == null) {
            logger.error("Debug Counter Service not found.");
            debugCounters = new NullDebugCounter();
        }
        try {
            cntIncoming = debugCounters.registerCounter(PACKAGE, "incoming",
                "All incoming packets seen by this module", CounterType.ALWAYS_COUNT);
            cntReconcileRequest = debugCounters.registerCounter(PACKAGE,
View Full Code Here

    // ****************************************************

    private void registerLinkDiscoveryDebugCounters() throws FloodlightModuleException {
        if (debugCounters == null) {
            log.error("Debug Counter Service not found.");
            debugCounters = new NullDebugCounter();
        }
        try {
            ctrIncoming = debugCounters.registerCounter(PACKAGE, "incoming",
                "All incoming packets seen by this module", CounterType.ALWAYS_COUNT);
            ctrLldpEol  = debugCounters.registerCounter(PACKAGE, "lldp-eol",
View Full Code Here

TOP

Related Classes of net.floodlightcontroller.debugcounter.NullDebugCounter

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.