Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 1 | /** |
| 2 | * |
| 3 | */ |
HIGUCHI Yuta | 2051490 | 2013-06-12 11:24:16 -0700 | [diff] [blame] | 4 | package net.onrc.onos.ofcontroller.core; |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 5 | |
| 6 | /** |
| 7 | * @author pankaj |
| 8 | * |
| 9 | */ |
| 10 | public 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 | } |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 17 | public void init(final String dbStore, final String conf); |
Pankaj Berde | d18c762 | 2013-02-04 10:28:35 -0800 | [diff] [blame] | 18 | public void close(); |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 19 | } |