alshabib | fd23d31 | 2014-11-11 18:14:47 -0800 | [diff] [blame^] | 1 | package org.onlab.onos.demo; |
2 | |||||
3 | /** | ||||
4 | * Simple demo api interface. | ||||
5 | */ | ||||
6 | public interface DemoAPI { | ||||
7 | |||||
8 | enum InstallType { MESH, RANDOM }; | ||||
9 | |||||
10 | /** | ||||
11 | * Installs intents based on the installation type. | ||||
12 | * @param type the installation type. | ||||
13 | */ | ||||
14 | void setup(InstallType type); | ||||
15 | |||||
16 | /** | ||||
17 | * Uninstalls all existing intents. | ||||
18 | */ | ||||
19 | void tearDown(); | ||||
20 | |||||
21 | } |