From 4de7239667ec58eef9e2759e1501b9d1cf862cdd Mon Sep 17 00:00:00 2001 From: Mohamed El-Serngawy Date: Tue, 4 Oct 2016 16:48:48 -0400 Subject: [PATCH] Move the Openflow connections blueprint to OpenflowJava project Moving the Openflow connections (defaultSwitchConnProvider and legacySwitchConnProvider) blueprint configuration to OpenflowJava project as its data model config "openflow-switch-connection-provider-impl" exist in OpenflowJava project Change-Id: I21529b5f8e312d4da0d4a76ef0e6bf02a1e551c5 Signed-off-by: Mohamed El-Serngawy --- artifacts/pom.xml | 14 ++++ features/pom.xml | 14 ++++ features/src/main/features/features.xml | 3 + openflowjava-blueprint-config/pom.xml | 66 +++++++++++++++++++ .../default-openflow-connection-config.xml | 17 +++++ .../legacy-openflow-connection-config.xml | 17 +++++ .../opendaylight/blueprint/openflowjava.xml | 34 ++++++++++ pom.xml | 1 + 8 files changed, 166 insertions(+) create mode 100644 openflowjava-blueprint-config/pom.xml create mode 100644 openflowjava-blueprint-config/src/main/resources/initial/default-openflow-connection-config.xml create mode 100644 openflowjava-blueprint-config/src/main/resources/initial/legacy-openflow-connection-config.xml create mode 100644 openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 5d88c467..a54a33e0 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -42,6 +42,20 @@ test-jar test + + org.opendaylight.openflowjava + openflowjava-blueprint-config + ${project.version} + xml + config + + + org.opendaylight.openflowjava + openflowjava-blueprint-config + ${project.version} + xml + legacyConfig + ${project.groupId} openflow-protocol-spi diff --git a/features/pom.xml b/features/pom.xml index 78c6d669..099cebe7 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -126,6 +126,20 @@ org.opendaylight.openflowjava openflow-protocol-impl + + + org.opendaylight.openflowjava + openflowjava-blueprint-config + xml + config + + + org.opendaylight.openflowjava + openflowjava-blueprint-config + xml + legacyConfig + + org.opendaylight.openflowjava openflowjava-util diff --git a/features/src/main/features/features.xml b/features/src/main/features/features.xml index bd3b359e..63be9313 100644 --- a/features/src/main/features/features.xml +++ b/features/src/main/features/features.xml @@ -22,6 +22,9 @@ mvn:org.opendaylight.openflowjava/openflow-protocol-spi/{{VERSION}} mvn:org.opendaylight.openflowjava/openflow-protocol-impl/{{VERSION}} mvn:org.opendaylight.openflowjava/openflowjava-util/{{VERSION}} + mvn:org.opendaylight.openflowjava/openflowjava-blueprint-config/{{VERSION}} mvn:org.opendaylight.openflowjava/openflowjava-config/${project.version}/xml/configstats + mvn:org.opendaylight.openflowjava/openflowjava-blueprint-config/${project.version}/xml/config + mvn:org.opendaylight.openflowjava/openflowjava-blueprint-config/${project.version}/xml/legacyConfig diff --git a/openflowjava-blueprint-config/pom.xml b/openflowjava-blueprint-config/pom.xml new file mode 100644 index 00000000..c3e6c6ca --- /dev/null +++ b/openflowjava-blueprint-config/pom.xml @@ -0,0 +1,66 @@ + + + + + 4.0.0 + + + org.opendaylight.openflowjava + openflowjava-parent + 0.9.0-SNAPSHOT + ../parent + + openflowjava-blueprint-config + Blueprint configuration files for openflowjava statistics + bundle + Openflow Protocol Library - Blueprint Config + + https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main + HEAD + + + + + org.apache.felix + maven-bundle-plugin + true + + + * + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + + attach-artifact + + package + + + + ${project.build.directory}/classes/initial/default-openflow-connection-config.xml + xml + config + + + ${project.build.directory}/classes/initial/legacy-openflow-connection-config.xml + xml + legacyConfig + + + + + + + + + diff --git a/openflowjava-blueprint-config/src/main/resources/initial/default-openflow-connection-config.xml b/openflowjava-blueprint-config/src/main/resources/initial/default-openflow-connection-config.xml new file mode 100644 index 00000000..48f8bf55 --- /dev/null +++ b/openflowjava-blueprint-config/src/main/resources/initial/default-openflow-connection-config.xml @@ -0,0 +1,17 @@ + + openflow-switch-connection-provider-default-impl + 6633 + TCP + + configuration/ssl/ctl.jks + JKS + PATH + opendaylight + configuration/ssl/truststore.jks + JKS + PATH + opendaylight + opendaylight + + + \ No newline at end of file diff --git a/openflowjava-blueprint-config/src/main/resources/initial/legacy-openflow-connection-config.xml b/openflowjava-blueprint-config/src/main/resources/initial/legacy-openflow-connection-config.xml new file mode 100644 index 00000000..7772ecc8 --- /dev/null +++ b/openflowjava-blueprint-config/src/main/resources/initial/legacy-openflow-connection-config.xml @@ -0,0 +1,17 @@ + + openflow-switch-connection-provider-legacy-impl + 6653 + TCP + + configuration/ssl/ctl.jks + JKS + PATH + opendaylight + configuration/ssl/truststore.jks + JKS + PATH + opendaylight + opendaylight + + + \ No newline at end of file diff --git a/openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml b/openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml new file mode 100644 index 00000000..2cd5a070 --- /dev/null +++ b/openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 05052397..0ed98352 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,7 @@ artifacts features openflowjava-config + openflowjava-blueprint-config openflow-protocol-api openflow-protocol-impl openflow-protocol-it -- 2.36.6