Jian Li | 2dbd8a2 | 2017-06-08 02:11:25 +0900 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2017-present Open Networking Laboratory |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | package org.onosproject.lisp.ctl.impl; |
| 17 | |
| 18 | import org.onosproject.lisp.msg.protocols.LispEidRecord; |
| 19 | import org.onosproject.lisp.msg.protocols.LispMapRecord; |
| 20 | |
| 21 | import java.util.List; |
| 22 | |
| 23 | /** |
| 24 | * A radix tree based LISP mapping database. |
| 25 | */ |
| 26 | public class LispRadixTreeDatabase implements LispMappingDatabase { |
| 27 | |
| 28 | @Override |
| 29 | public void putMapRecord(LispEidRecord eid, LispMapRecord rloc, |
| 30 | boolean proxyMapReply) { |
| 31 | //TODO: requires implementation |
| 32 | } |
| 33 | |
| 34 | @Override |
| 35 | public void removeMapRecordByEid(LispEidRecord eid) { |
| 36 | //TODO: requires implementation |
| 37 | } |
| 38 | |
| 39 | @Override |
| 40 | public void removeAllMapRecords() { |
| 41 | //TODO: requires implementation |
| 42 | } |
| 43 | |
| 44 | @Override |
| 45 | public LispMapRecord getMapRecordByEidRecord(LispEidRecord eid, |
| 46 | boolean proxyMapReply) { |
| 47 | //TODO: requires implementation |
| 48 | return null; |
| 49 | } |
| 50 | |
| 51 | @Override |
| 52 | public List<LispMapRecord> getMapRecordByEidRecords(List<LispEidRecord> eids, |
| 53 | boolean proxyMapReply) { |
| 54 | //TODO: requires implementation |
| 55 | return null; |
| 56 | } |
| 57 | } |