Jian Li
Committed by Gerrit Code Review

[ONOS-4718] Initial commit for LISP SBI protocols

Change-Id: I5ae2f19f9ed6e4df579cf2246cd0ab0d31fd3396
1 +COMPILE_DEPS = [
2 + '//lib:CORE_DEPS',
3 +]
4 +
5 +osgi_jar_with_tests (
6 + deps = COMPILE_DEPS,
7 +)
1 +<?xml version="1.0"?>
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
18 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
19 + xmlns="http://maven.apache.org/POM/4.0.0"
20 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
21 + <modelVersion>4.0.0</modelVersion>
22 + <parent>
23 + <groupId>org.onosproject</groupId>
24 + <artifactId>onos-lisp</artifactId>
25 + <version>1.7.0-SNAPSHOT</version>
26 + </parent>
27 +
28 + <artifactId>onos-lisp-api</artifactId>
29 + <packaging>bundle</packaging>
30 +
31 + <description>ONOS LISP plugin API</description>
32 +
33 + <dependencies>
34 + <dependency>
35 + <groupId>commons-pool</groupId>
36 + <artifactId>commons-pool</artifactId>
37 + </dependency>
38 + <dependency>
39 + <groupId>io.netty</groupId>
40 + <artifactId>netty-transport</artifactId>
41 + </dependency>
42 + <dependency>
43 + <groupId>io.netty</groupId>
44 + <artifactId>netty-transport-native-epoll</artifactId>
45 + <version>${netty4.version}</version>
46 + </dependency>
47 + </dependencies>
48 +
49 +</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 +
17 +/**
18 + * LISP controller API.
19 + */
20 +package org.onosproject.lisp;
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-ctl</artifactId>
28 + <packaging>bundle</packaging>
29 +
30 + <description>ONOS LISP plugin controller</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 +
17 +/**
18 + * LISP controller implementations.
19 + */
20 +package org.onosproject.lisp.ctl;
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-protocols</artifactId>
24 + <version>1.7.0-SNAPSHOT</version>
25 + </parent>
26 +
27 + <artifactId>onos-lisp</artifactId>
28 + <packaging>pom</packaging>
29 +
30 + <modules>
31 + <module>api</module>
32 + <module>ctl</module>
33 + </modules>
34 +
35 + <description>ONOS LISP southbound plugin</description>
36 +
37 + <dependencies>
38 + <dependency>
39 + <groupId>io.netty</groupId>
40 + <artifactId>netty-buffer</artifactId>
41 + </dependency>
42 + <dependency>
43 + <groupId>io.netty</groupId>
44 + <artifactId>netty-handler</artifactId>
45 + </dependency>
46 + <dependency>
47 + <groupId>org.apache.felix</groupId>
48 + <artifactId>org.apache.felix.scr.annotations</artifactId>
49 + </dependency>
50 + <dependency>
51 + <groupId>org.onosproject</groupId>
52 + <artifactId>onos-api</artifactId>
53 + <version>${project.version}</version>
54 + </dependency>
55 + <dependency>
56 + <groupId>org.easymock</groupId>
57 + <artifactId>easymock</artifactId>
58 + <scope>test</scope>
59 + </dependency>
60 + </dependencies>
61 +
62 +</project>
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
41 <module>isis</module> 41 <module>isis</module>
42 <module>snmp</module> 42 <module>snmp</module>
43 <module>bmv2</module> 43 <module>bmv2</module>
44 + <module>lisp</module>
44 </modules> 45 </modules>
45 46
46 <dependencies> 47 <dependencies>
......