Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5786e64
added packet cable driver, consumer implementation, and other changes
rhajamor Aug 11, 2014
8a38765
Add ODL Repo; Save commit_msg
xsited Aug 22, 2014
14a495e
correct features to reflect bundle structure change
xsited Aug 30, 2014
7275266
correct features to reflect bundle structure change
xsited Aug 30, 2014
84e8bae
Functional Karaf additions
xsited Aug 30, 2014
f4a2322
Fixing up the model.
edwarnicke Aug 30, 2014
dce28aa
Merge changes I8eb61ed9,I09e66c9f,Ic4c8c6f5
xsited Aug 30, 2014
0de3153
Merge branch 'master' of https://git.opendaylight.org/gerrit/packetcable
rhajamor Aug 31, 2014
a99b020
added packetcable-driver project, merged with the master, fixed the p…
rhajamor Aug 31, 2014
d05617c
added packetcable-driver project, merged with the master, fixed the p…
rhajamor Aug 31, 2014
49c81b1
Merge branch 'master' of https://github.com/rhajamor/packetcable-plugin
rhajamor Aug 31, 2014
46b3e6d
removed slf4j dependencies
rhajamor Aug 31, 2014
b2bcc7a
packetcable-driver project
rhajamor Aug 31, 2014
d8838c4
Add packetcable-driver as a bundle and fix karafe depends. Merge hop…
xsited Aug 31, 2014
a0c5a01
fix features, again
xsited Aug 31, 2014
4de0dae
Change the group id
xsited Sep 1, 2014
5a5e14b
Remove junk
xsited Sep 1, 2014
2e95322
model pom.xml ci
xsited Sep 1, 2014
6293188
feature missing group id change
xsited Sep 1, 2014
c753e6b
Possible options for model refactor.
edwarnicke Aug 30, 2014
07babee
Some basic wiring and a karaf distro.
edwarnicke Sep 2, 2014
66beb69
Add release and snapshot repos
xsited Sep 3, 2014
c632d47
watch jenkins
xsited Sep 3, 2014
ee90c28
plz work
xsited Sep 3, 2014
47aa68c
changes to make it compile
rhajamor Sep 4, 2014
0f9236a
added support for the traffic profile
rhajamor Sep 4, 2014
ea1c075
added PCMM data process, unpacked traffic profile and classifier, mis…
rhajamor Sep 4, 2014
e0683d3
remove consumer and other unneeded artifacts
xsited Sep 5, 2014
b9b9a5c
remove consumer from features
xsited Sep 5, 2014
2a64c9a
Merge branch 'master' of https://git.opendaylight.org/gerrit/packetcable
rhajamor Sep 5, 2014
951d698
Merge branch 'MODEL_REFACTOR'
rhajamor Sep 5, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ workspace
## Compilation Files ##
*.class
**/target
**/target-ide
target
target-ide
MANIFEST.MF
Expand Down
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>packetcable-plugin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
4 changes: 4 additions & 0 deletions .settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
217 changes: 217 additions & 0 deletions features-packetcable/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>packetcable</artifactId>
<groupId>org.opendaylight.packetcable</groupId>
<version>1.1-SNAPSHOT</version>
</parent>
<!--
Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
maven repos etc. If you run this archetype in a subdirectory of your project, it
will pick the pom.xml from the parent directory as the parent pom, which may or may
not be correct.
-->
<artifactId>features-packetcable</artifactId>
<groupId>org.opendaylight.packetcable</groupId>
<!-- Optional Uncomment version if you are not using a parent pom.xml
<version>1.1-SNAPSHOT</version>
-->
<packaging>jar</packaging>
<properties>
<features.file>features.xml</features.file>
<!-- Optional: Move these properties to your parent pom and possibly
DependencyManagement section of your parent pom -->
<branding.version>1.0.0-SNAPSHOT</branding.version>
<karaf.resources.version>1.4.2-SNAPSHOT</karaf.resources.version>
<karaf.version>3.0.1</karaf.version>
<feature.test.version>0.6.2-SNAPSHOT</feature.test.version>
<karaf.empty.version>1.4.2-SNAPSHOT</karaf.empty.version>
<surefire.version>2.16</surefire.version>
</properties>
<dependencies>
<!--
Necessary: Put dependencies on any feature repos
you use in your features.xml file.

Note: they will need to be <type>xml</xml>
and <classifier>features</classifier>.
One other thing to watch for is to make sure they are
<scope>compile</compile>, which they should be by default,
but be cautious lest they be at a different scope in a parent pom.

Examples:
-->
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>features-yangtools</artifactId>
<version>0.6.2-SNAPSHOT</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>features-mdsal</artifactId>
<version>1.1-SNAPSHOT</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-config</artifactId>
<version>${project.version}</version>
<classifier>config</classifier>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>features-flow</artifactId>
<version>${mdsal.version}</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>



<!--
Necessary TODO: Put dependencies for bundles directly referenced
in your features.xml file. For every <bundle> reference in your
features.xml file, you need a corresponding dependency here.

Examples:
-->
<!--
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-consumer</artifactId>
<version>${project.version}</version>
</dependency>
-->
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-provider</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-driver</artifactId>
<version>${project.version}</version>
</dependency>

<!--
Put dependencies for configfiles directly referenced
in your features.xml file. For every <configfile> reference in your
features.xml file, you need a corresponding dependency here.

Example (presuming here version is coming from the parent pom):
<dependency>
<groupId>org.opendaylight.packetcable</groupId>
<artifactId>packetcable-config</artifactId>
<version>${project.version}</version>
<type>xml</type>
<classifier>config</classifier>
</dependency>
-->

<!--
Optional TODO: Remove TODO comments.
-->
<!-- test to validate features.xml -->
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>features-test</artifactId>
<version>${feature.test.version}</version>
<scope>test</scope>
</dependency>
<!-- dependency for opendaylight-karaf-empty for use by testing -->
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
<version>${karaf.empty.version}</version>
<type>zip</type>
</dependency>
<!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.2</version>
</dependency>
-->

</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>filter</id>
<phase>generate-resources</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/classes/${features.file}</file>
<type>xml</type>
<classifier>features</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<systemPropertyVariables>
<karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
<karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
<karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
</systemPropertyVariables>
<dependenciesToScan>
<dependency>org.opendaylight.yangtools:features-test</dependency>
</dependenciesToScan>
</configuration>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:ssh://git.opendaylight.org:29418/packetcable.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/packetcable.git</developerConnection>
<tag>HEAD</tag>
<url>https://git.opendaylight.org/gerrit/gitweb?p=packetcable.git;a=summary</url>
</scm>
</project>
73 changes: 73 additions & 0 deletions features-packetcable/src/main/resources/features.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<features name="odl-packetcable-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
<!--
Please read the features guidelines:
https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Feature_Best_Practices
-->
<!--
Add repo entries for the repositories of features you refer to in this feature file but do not define here.
<repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin/0.0.3-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-adsal/${feature.adsal.version}/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-adsal-compatibility/1.4.2-SNAPSHOT/xml/features</repository>
-->
<repository>mvn:org.opendaylight.controller/features-flow/${mdsal.version}/xml/features</repository>
<repository>mvn:org.opendaylight.yangtools/features-yangtools/0.6.2-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-mdsal/1.1-SNAPSHOT/xml/features</repository>

<feature name='odl-packetcable-all' version='${project.version}' description='OpenDaylight :: packetcable :: All'>
<feature version='${project.version}'>odl-packetcable-provider</feature>
<feature version='${project.version}'>odl-packetcable-model</feature>
<feature version='${project.version}'>odl-packetcable-driver</feature>
</feature>

<!--
Define your features. It is useful to list then in order of dependency. So if A depends on B, list A first.
It's also nice to list inside a feature, first the features it needs, then the bundles it needs, then the configfiles.
<feature version='0.0.3-SNAPSHOT'>odl-openflowplugin-flow-services</feature>
<bundle>mvn:com.google.common.collect/collect/14.0</bundle>

-->
<!--- * Basic MD-SAL Consumer -->
<!-- <feature name='odl-packetcable-consumer' version='${project.version}' description='OpenDaylight :: packetcable :: Consumer '> -->
<!-- <feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature> -->
<!-- <feature version='${project.version}'>odl-packetcable-model</feature> -->
<!-- <feature version='${project.version}'>odl-packetcable-consumer</feature> -->
<!-- <feature version='${project.version}'>odl-packetcable-driver</feature> -->
<!-- <bundle>mvn:org.opendaylight.packetcable/packetcable-model/${project.version}</bundle> -->
<!-- <bundle>mvn:org.opendaylight.packetcable/packetcable-driver/${project.version}</bundle> -->
<!-- <bundle>mvn:org.opendaylight.packetcable/packetcable-consumer/${project.version}</bundle> -->
<!-- </feature> -->

<!--- * Basic MD-SAL Model feature -->
<feature name='odl-packetcable-model' version='${project.version}' description='OpenDaylight :: packetcable :: Model'>
<feature version='0.6.2-SNAPSHOT'>odl-yangtools-binding</feature>
<feature version='0.6.2-SNAPSHOT'>odl-yangtools-models</feature>
<feature version='${project.version}'>odl-flow-model</feature>
<bundle>mvn:org.opendaylight.packetcable/packetcable-model/${project.version}</bundle>
</feature>

<!--- * Basic MD-SAL Provider -->
<feature name='odl-packetcable-provider' version='${project.version}' description='OpenDaylight :: packetcable :: Provider'>
<feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature>
<bundle>mvn:org.opendaylight.packetcable/packetcable-provider/${project.version}</bundle>
<bundle>mvn:org.opendaylight.packetcable/packetcable-driver/${project.version}</bundle>
<feature version='${project.version}'>odl-flow-model</feature>
<feature version='${project.version}'>odl-packetcable-model</feature>
<feature version='${project.version}'>odl-packetcable-driver</feature>
<configfile finalname="etc/opendaylight/karaf/80-packetcable.xml">mvn:org.opendaylight.packetcable/packetcable-config/${project.version}/xml/config</configfile>
</feature>

<!--- * * -->
<feature name='odl-packetcable-driver' version='${project.version}' description='OpenDaylight :: packetcable :: Driver'>
<feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature>
</feature>

</features>
Loading