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 | } |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 17 | public void init(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 | } |