blob: 2cf0e189c700ac2b263cde4b6eb97978a9c8a8de [file] [log] [blame]
Pankaj Berdee73452c2013-01-03 14:57:07 -08001/**
2 *
3 */
HIGUCHI Yuta20514902013-06-12 11:24:16 -07004package net.onrc.onos.ofcontroller.core;
Pankaj Berdee73452c2013-01-03 14:57:07 -08005
6/**
7 * @author pankaj
8 *
9 */
10public interface INetMapStorage {
11 enum DM_OPERATION {
12 CREATE, // Create the object type if does not exist and insert the object
13 INSERT, // Insert the object if it does not exist
14 DELETE, // Delete the object
15 UPDATE // Update the object if exists or CREATE/INSERT if does not exist
16 }
yoshi2fd4c7e2013-11-22 15:47:55 -080017 public void init(final String dbStore, final String conf);
Pankaj Berded18c7622013-02-04 10:28:35 -080018 public void close();
Pankaj Berdee73452c2013-01-03 14:57:07 -080019}