Improve ODL configuration

Configure automatically ODL version based on the package version
rather than maintain a hardcoded version.

This has caused many issue while package version differs with the variable
set.

Closes-Bug: 1784784
Change-Id: I15da5d2583b5727942d598d183cc481f0e33d0e6
This commit is contained in:
Eduardo Gonzalez 2018-05-31 12:57:15 +02:00
parent cd03876e7d
commit 6e17f942b5
4 changed files with 10 additions and 4 deletions

View File

@ -810,7 +810,6 @@ vmware_vcenter_insecure: "True"
######################
# OpenDaylight
######################
opendaylight_release: "0.6.2-Carbon"
opendaylight_mechanism_driver: "opendaylight_v2"
opendaylight_l3_service_plugin: "odl-router_v2"
opendaylight_acl_impl: "learn"

View File

@ -17,7 +17,11 @@
#
################################################################################
featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.8/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.8/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.8/xml/features,mvn:org.opendaylight.integration/features-integration-index/{{ opendaylight_release }}/xml/features
featuresRepositories = mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features, \
mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features, \
mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features, \
mvn:org.apache.karaf.features/spring/${karaf.version}/xml/features, \
mvn:org.opendaylight.integration/features-integration-index/${project.version}/xml/features
featuresBoot=config,standard,region,package,kar,ssh,management{% if not opendaylight_features == '' %},{% endif %}{{ opendaylight_features }}

View File

@ -142,7 +142,6 @@ OpenDaylight ``globals.yml`` configurable options with their defaults include:
.. code-block:: yaml
opendaylight_release: "0.6.1-Carbon"
opendaylight_mechanism_driver: "opendaylight_v2"
opendaylight_l3_service_plugin: "odl-router_v2"
opendaylight_acl_impl: "learn"
@ -537,4 +536,3 @@ Verify VF devices were created and the instance starts successfully as in
the Neutron SRIOV case.
For more information see `OpenStack PCI passthrough documentation <https://docs.openstack.org/nova/pike/admin/pci-passthrough.html>`_.

View File

@ -0,0 +1,5 @@
---
features:
- |
``opendaylight_release`` variable is removed, version is discovered automatically
while booting features.