blob: cef80ad67ed870f57fb9a71d9572a0c6a5407964 [file] [log] [blame]
Jonathan Hart4b5bbb52014-02-06 10:09:31 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
3import net.floodlightcontroller.core.module.IFloodlightService;
4
5/**
6 * Interface for providing the Network Graph Service to other modules.
7 */
8public interface INetworkGraphService extends IFloodlightService {
9 /**
10 * Allows a module to get a reference to the global network graph object.
11 * @return
12 */
13 public NetworkGraph getNetworkGraph();
14
15 /**
16 * Allows a module to get a reference to the southbound interface to
17 * the network graph.
18 * TODO Figure out how to hide the southbound interface from
19 * applications/modules that shouldn't touch it
20 * @return
21 */
Jonathan Hartfa01c242014-02-11 10:03:03 -080022 public NetworkGraphDatastore getSouthboundNetworkGraph();
Jonathan Hart4b5bbb52014-02-06 10:09:31 -080023}