blob: f5d892bdbdaaecbc77aa23174875466c5fed7264 [file] [log] [blame]
Jian Li3ff327a2017-03-14 17:02:19 +09001/*
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
17package org.onosproject.drivers.lisp.extensions;
18
19import org.onosproject.mapping.addresses.ExtensionMappingAddress;
20import org.onosproject.mapping.addresses.ExtensionMappingAddressType;
21import org.onosproject.net.flow.AbstractExtension;
22
23/**
24 * Implementation of LISP traffic engineering address.
25 */
26public final class LispTeAddress extends AbstractExtension
27 implements ExtensionMappingAddress {
28 @Override
29 public ExtensionMappingAddressType type() {
30 return null;
31 }
32
33 @Override
34 public byte[] serialize() {
35 return new byte[0];
36 }
37
38 @Override
39 public void deserialize(byte[] data) {
40
41 }
42}