Jian Li
Committed by Gerrit Code Review

Initial commit for LISP SBI Encoder and Decoder package

This commit is for check-in initial skeleton code of LISP message
encoder and decoder.

Change-Id: I007240036852a78ac273e9ec4a84a07ab22ba675
1 +COMPILE_DEPS = [
2 + '//lib:CORE_DEPS',
3 + '//protocols/lisp/api:onos-protocols-lisp-api'
4 +]
5 +
6 +TEST_DEPS = [
7 + '//lib:TEST_ADAPTERS',
8 + '//utils/osgi:onlab-osgi-tests',
9 + '//core/api:onos-api-tests',
10 +]
11 +
12 +osgi_jar_with_tests (
13 + deps = COMPILE_DEPS,
14 + test_deps = TEST_DEPS,
15 +)
16 +
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!--
3 + ~ Copyright 2016-present Open Networking Laboratory
4 + ~
5 + ~ Licensed under the Apache License, Version 2.0 (the "License");
6 + ~ you may not use this file except in compliance with the License.
7 + ~ You may obtain a copy of the License at
8 + ~
9 + ~ http://www.apache.org/licenses/LICENSE-2.0
10 + ~
11 + ~ Unless required by applicable law or agreed to in writing, software
12 + ~ distributed under the License is distributed on an "AS IS" BASIS,
13 + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 + ~ See the License for the specific language governing permissions and
15 + ~ limitations under the License.
16 + -->
17 +<project xmlns="http://maven.apache.org/POM/4.0.0"
18 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 + <modelVersion>4.0.0</modelVersion>
21 + <parent>
22 + <groupId>org.onosproject</groupId>
23 + <artifactId>onos-lisp</artifactId>
24 + <version>1.7.0-SNAPSHOT</version>
25 + </parent>
26 +
27 + <artifactId>onos-lisp-msg</artifactId>
28 + <packaging>bundle</packaging>
29 +
30 + <description>ONOS LISP plugin message encoder and decoder</description>
31 +
32 + <dependencies>
33 + <dependency>
34 + <groupId>org.osgi</groupId>
35 + <artifactId>org.osgi.compendium</artifactId>
36 + </dependency>
37 + <dependency>
38 + <groupId>org.onosproject</groupId>
39 + <artifactId>onos-lisp-api</artifactId>
40 + <version>${project.version}</version>
41 + </dependency>
42 + <dependency>
43 + <groupId>org.onosproject</groupId>
44 + <artifactId>onos-api</artifactId>
45 + <classifier>tests</classifier>
46 + <scope>test</scope>
47 + </dependency>
48 + <dependency>
49 + <groupId>org.onosproject</groupId>
50 + <artifactId>onlab-osgi</artifactId>
51 + <version>${project.version}</version>
52 + <classifier>tests</classifier>
53 + <scope>test</scope>
54 + </dependency>
55 + </dependencies>
56 +
57 + <build>
58 + <plugins>
59 + <plugin>
60 + <groupId>org.apache.felix</groupId>
61 + <artifactId>maven-scr-plugin</artifactId>
62 + </plugin>
63 + </plugins>
64 + </build>
65 +</project>
1 +/*
2 + * Copyright 2016-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.msg;
17 +
18 +/**
19 + * Remove me.
20 + */
21 +@Deprecated
22 +public abstract class PlaceHolder {
23 +
24 +}
1 +/*
2 + * Copyright 2016-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 +
17 +/**
18 + * LISP message encoder and decoder implementations.
19 + */
20 +package org.onosproject.lisp.msg;
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
30 <modules> 30 <modules>
31 <module>api</module> 31 <module>api</module>
32 <module>ctl</module> 32 <module>ctl</module>
33 + <module>msg</module>
33 </modules> 34 </modules>
34 35
35 <description>ONOS LISP southbound plugin</description> 36 <description>ONOS LISP southbound plugin</description>
......