blob: fc100197b7eb01717853cb0ab3ee4766213aa5c7 [file] [log] [blame]
/*
* Copyright 2016-present Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.isis.controller;
import com.fasterxml.jackson.databind.JsonNode;
import org.onosproject.isis.controller.topology.IsisRouterListener;
import java.util.List;
/**
* Representation of an ISIS controller.
*/
public interface IsisController {
/**
* Registers a listener for router meta events.
*
* @param isisRouterListener ISIS router listener instance
*/
void addRouterListener(IsisRouterListener isisRouterListener);
/**
* Unregisters a router listener.
*
* @param isisRouterListener ISIS router listener instance
*/
void removeRouterListener(IsisRouterListener isisRouterListener);
/**
* Updates configuration of processes.
*
* @param processesNode json node represents process
*/
void updateConfig(JsonNode processesNode);
/**
* Gets the all configured processes.
*
* @return list of process instances
*/
List<IsisProcess> allConfiguredProcesses();
}