BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set
[controller.git] / opendaylight / adsal / forwarding / staticrouting / src / main / java / org / opendaylight / controller / forwarding / staticrouting / IStaticRoutingAware.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.forwarding.staticrouting;
11
12 /**
13  * Interface that will be implemented by the modules that want to
14  * know when a Static Route is added or deleted.
15  *
16  */
17 public interface IStaticRoutingAware {
18
19     /**
20      * This method  is called when a StaticRoute has added or deleted.
21      * @param s: StaticRoute
22      * @param added: boolean true if the static route is added,
23      */
24     void staticRouteUpdate(StaticRoute s, boolean added);
25 }