Committed by
Gerrit Code Review
[ONOS-4718] Initial commit for LISP SBI providers
Change-Id: Ie8b23b0331a9cca18f6bffc33098b808475e589e
Showing
9 changed files
with
256 additions
and
0 deletions
providers/lisp/BUCK
0 → 100644
1 | +BUNDLES = [ | ||
2 | + '//providers/lisp/device:onos-providers-lisp-device', | ||
3 | + '//protocols/lisp/api:onos-protocols-lisp-api', | ||
4 | + '//protocols/lisp/ctl:onos-protocols-lisp-ctl', | ||
5 | +] | ||
6 | + | ||
7 | +onos_app ( | ||
8 | + title = 'LISP Provider', | ||
9 | + category = 'Provider', | ||
10 | + url = 'http://onosproject.org', | ||
11 | + included_bundles = BUNDLES, | ||
12 | + description = 'LISP protocol southbound providers.', | ||
13 | +) | ||
14 | + | ||
15 | + |
providers/lisp/app/app.xml
0 → 100644
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 | +<app name="org.onosproject.lisp" origin="ON.Lab" version="${project.version}" | ||
18 | + category="Provider" title="LISP Provider" | ||
19 | + featuresRepo="mvn:${project.groupId}/${project.artifactId}/${project.version}/xml/features" | ||
20 | + features="${project.artifactId}"> | ||
21 | + <description>${project.description}</description> | ||
22 | + <artifact>mvn:${project.groupId}/onos-lisp-api/${project.version}</artifact> | ||
23 | + <artifact>mvn:${project.groupId}/onos-lisp-ctl/${project.version}</artifact> | ||
24 | + | ||
25 | + <artifact>mvn:${project.groupId}/onos-lisp-provider-device/${project.version}</artifact> | ||
26 | + | ||
27 | +</app> |
providers/lisp/app/features.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
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 | +<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="${project.artifactId}-${project.version}"> | ||
18 | + <feature name="${project.artifactId}" version="${project.version}" | ||
19 | + description="${project.description}"> | ||
20 | + <feature>onos-api</feature> | ||
21 | + <bundle>mvn:${project.groupId}/onos-lisp-api/${project.version}</bundle> | ||
22 | + <bundle>mvn:${project.groupId}/onos-lisp-ctl/${project.version}</bundle> | ||
23 | + | ||
24 | + <bundle>mvn:${project.groupId}/onos-lisp-provider-device/${project.version}</bundle> | ||
25 | + </feature> | ||
26 | +</features> | ||
27 | + |
providers/lisp/app/pom.xml
0 → 100644
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-4_0_0.xsd"> | ||
20 | + <modelVersion>4.0.0</modelVersion> | ||
21 | + | ||
22 | + <parent> | ||
23 | + <groupId>org.onosproject</groupId> | ||
24 | + <artifactId>onos-lisp-providers</artifactId> | ||
25 | + <version>1.7.0-SNAPSHOT</version> | ||
26 | + </parent> | ||
27 | + | ||
28 | + <artifactId>onos-lisp-app</artifactId> | ||
29 | + <packaging>bundle</packaging> | ||
30 | + | ||
31 | + <properties> | ||
32 | + <onos.app.name>org.onosproject.lisp</onos.app.name> | ||
33 | + <onos.app.title>LISP Meta App</onos.app.title> | ||
34 | + <onos.app.category>Provider</onos.app.category> | ||
35 | + </properties> | ||
36 | + | ||
37 | + <description>LISP protocol southbound providers</description> | ||
38 | + | ||
39 | + <dependencies> | ||
40 | + <dependency> | ||
41 | + <groupId>org.onosproject</groupId> | ||
42 | + <artifactId>onos-lisp-provider-device</artifactId> | ||
43 | + <version>${project.version}</version> | ||
44 | + </dependency> | ||
45 | + </dependencies> | ||
46 | + | ||
47 | +</project> |
providers/lisp/device/BUCK
0 → 100644
providers/lisp/device/pom.xml
0 → 100644
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 | + | ||
22 | + <parent> | ||
23 | + <groupId>org.onosproject</groupId> | ||
24 | + <artifactId>onos-lisp-providers</artifactId> | ||
25 | + <version>1.7.0-SNAPSHOT</version> | ||
26 | + </parent> | ||
27 | + | ||
28 | + <artifactId>onos-lisp-provider-device</artifactId> | ||
29 | + <packaging>bundle</packaging> | ||
30 | + | ||
31 | + <description>ONOS LISP protocol device provider</description> | ||
32 | + | ||
33 | + <dependencies> | ||
34 | + <dependency> | ||
35 | + <groupId>org.onosproject</groupId> | ||
36 | + <artifactId>onlab-junit</artifactId> | ||
37 | + <scope>test</scope> | ||
38 | + </dependency> | ||
39 | + <dependency> | ||
40 | + <groupId>org.onosproject</groupId> | ||
41 | + <artifactId>onos-lisp-api</artifactId> | ||
42 | + <version>${project.version}</version> | ||
43 | + </dependency> | ||
44 | + <dependency> | ||
45 | + <groupId>org.onosproject</groupId> | ||
46 | + <artifactId>onos-lisp-ctl</artifactId> | ||
47 | + <version>${project.version}</version> | ||
48 | + </dependency> | ||
49 | + </dependencies> | ||
50 | + | ||
51 | + <build> | ||
52 | + <plugins> | ||
53 | + <plugin> | ||
54 | + <groupId>org.apache.felix</groupId> | ||
55 | + <artifactId>maven-scr-plugin</artifactId> | ||
56 | + </plugin> | ||
57 | + <plugin> | ||
58 | + <groupId>org.onosproject</groupId> | ||
59 | + <artifactId>onos-maven-plugin</artifactId> | ||
60 | + </plugin> | ||
61 | + </plugins> | ||
62 | + </build> | ||
63 | + | ||
64 | +</project> |
providers/lisp/device/src/main/java/org/onosproject/provider/lisp/device/impl/package-info.java
0 → 100644
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 Provider. | ||
19 | + */ | ||
20 | +package org.onosproject.provider.lisp.device.impl; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
providers/lisp/pom.xml
0 → 100644
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 | + | ||
22 | + <parent> | ||
23 | + <groupId>org.onosproject</groupId> | ||
24 | + <artifactId>onos-providers</artifactId> | ||
25 | + <version>1.7.0-SNAPSHOT</version> | ||
26 | + </parent> | ||
27 | + | ||
28 | + <artifactId>onos-lisp-providers</artifactId> | ||
29 | + <packaging>pom</packaging> | ||
30 | + | ||
31 | + <description>ONOS LISP protocol adapters</description> | ||
32 | + | ||
33 | + <modules> | ||
34 | + <module>device</module> | ||
35 | + <module>app</module> | ||
36 | + </modules> | ||
37 | + | ||
38 | + <dependencies> | ||
39 | + <dependency> | ||
40 | + <groupId>org.onosproject</groupId> | ||
41 | + <artifactId>onos-api</artifactId> | ||
42 | + <classifier>tests</classifier> | ||
43 | + <scope>test</scope> | ||
44 | + </dependency> | ||
45 | + </dependencies> | ||
46 | + | ||
47 | +</project> |
... | @@ -47,6 +47,7 @@ | ... | @@ -47,6 +47,7 @@ |
47 | <module>netcfglinks</module> | 47 | <module>netcfglinks</module> |
48 | <module>bmv2</module> | 48 | <module>bmv2</module> |
49 | <module>isis</module> | 49 | <module>isis</module> |
50 | + <module>lisp</module> | ||
50 | </modules> | 51 | </modules> |
51 | 52 | ||
52 | <dependencies> | 53 | <dependencies> | ... | ... |
-
Please register or login to post a comment