diff options
author | Michal Skalski <mskalski@mirantis.com> | 2016-05-19 16:52:18 +0200 |
---|---|---|
committer | Michal Skalski <mskalski@mirantis.com> | 2016-06-02 15:37:16 +0200 |
commit | b16f559a30ce28a6b528e4eab734cb5ea0ef23fc (patch) | |
tree | aa1888e1a8c0734522adc5857405917229be1b7b | |
parent | 2498bbb0354fd7abbbb408810f419c2999c23a31 (diff) |
Build odl plugin for mitaka
Change-Id: I59b96a424a753f880b4ac16abd806851ad3f9533
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
-rw-r--r-- | build/f_isoroot/Makefile | 2 | ||||
-rw-r--r-- | build/f_isoroot/f_odlpluginbuild/Makefile | 9 | ||||
-rw-r--r-- | build/f_isoroot/f_odlpluginbuild/config.mk | 14 | ||||
-rw-r--r-- | deploy/scenario/ha_odl-l2_heat_ceilometer_scenario.yaml | 92 | ||||
-rw-r--r-- | deploy/scenario/ha_odl-l3_heat_ceilometer_scenario.yaml | 92 | ||||
-rw-r--r-- | deploy/scenario/no-ha_odl-l2_heat_ceilometer_scenario.yaml | 92 | ||||
-rw-r--r-- | deploy/scenario/no-ha_odl-l3_heat_ceilometer_scenario.yaml | 92 |
7 files changed, 298 insertions, 95 deletions
diff --git a/build/f_isoroot/Makefile b/build/f_isoroot/Makefile index 20d2fb0b0..17ebef3fb 100644 --- a/build/f_isoroot/Makefile +++ b/build/f_isoroot/Makefile @@ -11,7 +11,7 @@ # Add Fuel plugin build targets here # Plugins disabled for the Fuel Mitaka uplift. Please re-enable your plugin as you have # verified it! -PLUGINS = +PLUGINS = f_odlpluginbuild #PLUGINS = f_odlpluginbuild f_onosfwpluginbuild f_ovsnfv-dpdk-pluginbuild f_vsperfpluginbuild f_qemupluginbuild f_ovs-nsh-dpdk-pluginbuild f_bgpvpn-pluginbuild export PLUGINS #NON_8-0_REBASED_PLUGINS = f_bgpvpn-pluginbuild diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile index 9cb8fef69..efea0f521 100644 --- a/build/f_isoroot/f_odlpluginbuild/Makefile +++ b/build/f_isoroot/f_odlpluginbuild/Makefile @@ -29,7 +29,14 @@ release:.odlbuild rm -rf fuel-plugin-opendaylight sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev sudo gem install fpm - sudo pip install fuel-plugin-builder + #Temporary fpb needs to be build from sources + git clone -b $(FPB_BRANCH) $(FPB_REPO) + cd fuel-plugins; \ + if [ -n $(FPB_CHANGE) ]; then \ + git checkout $(FPB_CHANGE); \ + python setup.py sdist; \ + sudo pip install ./dist/fuel-plugin-builder-*.tar.gz; \ + fi git clone -b $(ODL_BRANCH) $(ODL_REPO) cd fuel-plugin-opendaylight; \ if [ -n $(ODL_CHANGE) ]; then \ diff --git a/build/f_isoroot/f_odlpluginbuild/config.mk b/build/f_isoroot/f_odlpluginbuild/config.mk index a5e8a964d..c613af7ae 100644 --- a/build/f_isoroot/f_odlpluginbuild/config.mk +++ b/build/f_isoroot/f_odlpluginbuild/config.mk @@ -7,11 +7,15 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -ODL_BRANCH=brahmaputra-sr2 -ODL_CHANGE=ec9474c1178e7451ec75f6e306ac84424a84a28a -ODL_REPO="https://github.com/openstack/fuel-plugin-opendaylight.git" +ODL_BRANCH ?= master +ODL_CHANGE ?= 1c8443ffc64af120337740551307378d1c21535d +ODL_REPO ?= https://github.com/openstack/fuel-plugin-opendaylight.git + +FPB_BRANCH ?= master +FPB_CHANGE ?= 82191ca16b40021e445e854fad37c65cd8e70b0c +FPB_REPO ?= https://github.com/openstack/fuel-plugins export USE_JAVA8=true export JAVA8_URL=https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa/+files/openjdk-8-jre-headless_8u72-b15-1~trusty1_amd64.deb -export ODL_TARBALL_LOCATION=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.1-Beryllium-SR1/distribution-karaf-0.4.1-Beryllium-SR1.tar.gz -export ODL_VERSION_NUMBER=0.4.1 +export ODL_TARBALL_LOCATION=https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz +export ODL_VERSION_NUMBER=0.4.2 diff --git a/deploy/scenario/ha_odl-l2_heat_ceilometer_scenario.yaml b/deploy/scenario/ha_odl-l2_heat_ceilometer_scenario.yaml index 14316df2d..06b04af73 100644 --- a/deploy/scenario/ha_odl-l2_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/ha_odl-l2_heat_ceilometer_scenario.yaml @@ -22,9 +22,9 @@ # deployment configuration meta-data deployment-scenario-metadata: title: ODL-L2 HA deployment - version: 0.0.3 - created: Jan 26 2016 - comment: Rebased to Fuel8 + version: 0.0.4 + created: Jun 02 2016 + comment: Rebased to Fuel9 ############################################################################## # Stack extentions are opnfv added value features in form of a fuel-plugin @@ -84,16 +84,35 @@ dea-override-config: label: OpenDaylight plugin toggleable: true versions: - - enable_gbp: - label: GBP features + - bgpvpn_gateway: + description: Define the default gateway for BGPVPN + label: Default Gateway + regex: + error: Invalid ip number + source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ + restrictions: + - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN + is enabled. + type: text + value: 0.0.0.0 + weight: 16 + enable_bgpvpn: + description: 'This enables the bgpvpn extension of neutron togethere with + the corresponding sdnvpn features in odl. This feature will disable the + standart ovsdb feature from ODL. + + ' + label: BGPVPN extensions type: checkbox value: false - weight: 14 + weight: 15 enable_l3_odl: label: Use ODL to manage L3 traffic restrictions: - - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type. - - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes + - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation + type. + - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign + public network to all nodes type: checkbox value: false weight: 12 @@ -103,8 +122,14 @@ dea-override-config: value: false weight: 13 metadata: - always_editable: false + default_credentials: + password: admin + user: admin + hot_pluggable: false + jetty_port: 8181 odl_features: + cluster: + - odl-jolokia default: - config - standard @@ -113,33 +138,38 @@ dea-override-config: - kar - ssh - management - gbp: - - odl-groupbasedpolicy-base - - odl-groupbasedpolicy-ofoverlay - ovs: - - odl-ovsdb-openstack + gcr: + - odl-groupbasedpolicy-ovssfc + ncr: + - odl-ovsdb-sfc + - odl-ovsdb-sfc-rest + odl-default: - odl-restconf-all - odl-aaa-authn - odl-dlux-all + ovs: + - odl-ovsdb-openstack sfc: - - odl-sfc-core + - odl-sfc-model + - odl-sfc-provider + - odl-sfc-provider-rest - odl-sfc-sb-rest - odl-sfc-ui - odl-sfc-netconf - odl-sfc-ovs - odl-sfcofl2 - - odl-sfc-test-consumer vpn: - - odl-vpnservice-api - - odl-vpnservice-impl - - odl-vpnservice-impl-rest - - odl-vpnservice-impl-ui - - odl-vpnservice-core - odl-vpnservice-openstack # plugin_id: Assigned during installation - plugin_version: 0.8.0 + plugin_version: 0.9.0 restrictions: - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight + odl_v2: + description: V2 version is considered as experimental + label: Use V2 ML2 driver + type: checkbox + value: false + weight: 17 rest_api_port: description: Port on which ODL REST API will be available. label: Port number @@ -149,6 +179,24 @@ dea-override-config: type: text value: '8282' weight: 40 + sfc_class: + description: 'Classifier determines what traffic needs to be chained based + on policy based on yang model. The OpenDayLight actually supports the + OVSDB NetVirt and the GBP classifier in case of SFC. + + ' + label: Classifier used by SFC + restrictions: + - action: hide + condition: settings:opendaylight.enable_sfc.value == false + type: select + value: ncr + values: + - data: ncr + label: NetVirt + - data: gcr + label: GBP + weight: 14 weight: 70 dha-override-config: diff --git a/deploy/scenario/ha_odl-l3_heat_ceilometer_scenario.yaml b/deploy/scenario/ha_odl-l3_heat_ceilometer_scenario.yaml index 0f09ca478..f8199e6e7 100644 --- a/deploy/scenario/ha_odl-l3_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/ha_odl-l3_heat_ceilometer_scenario.yaml @@ -22,9 +22,9 @@ # deployment configuration meta-data deployment-scenario-metadata: title: ODL-L3 HA deployment - version: 0.0.4 - created: Jan 28 2016 - comment: Rebased to Fuel8 + version: 0.0.5 + created: Jun 02 2016 + comment: Rebased to Fuel9 ############################################################################## # Stack extentions are opnfv added value features in form of a fuel-plugin @@ -87,16 +87,35 @@ dea-override-config: label: OpenDaylight plugin toggleable: true versions: - - enable_gbp: - label: GBP features + - bgpvpn_gateway: + description: Define the default gateway for BGPVPN + label: Default Gateway + regex: + error: Invalid ip number + source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ + restrictions: + - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN + is enabled. + type: text + value: 0.0.0.0 + weight: 16 + enable_bgpvpn: + description: 'This enables the bgpvpn extension of neutron togethere with + the corresponding sdnvpn features in odl. This feature will disable the + standart ovsdb feature from ODL. + + ' + label: BGPVPN extensions type: checkbox value: false - weight: 14 + weight: 15 enable_l3_odl: label: Use ODL to manage L3 traffic restrictions: - - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type. - - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes + - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation + type. + - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign + public network to all nodes type: checkbox value: true weight: 12 @@ -106,8 +125,14 @@ dea-override-config: value: false weight: 13 metadata: - always_editable: false + default_credentials: + password: admin + user: admin + hot_pluggable: false + jetty_port: 8181 odl_features: + cluster: + - odl-jolokia default: - config - standard @@ -116,33 +141,38 @@ dea-override-config: - kar - ssh - management - gbp: - - odl-groupbasedpolicy-base - - odl-groupbasedpolicy-ofoverlay - ovs: - - odl-ovsdb-openstack + gcr: + - odl-groupbasedpolicy-ovssfc + ncr: + - odl-ovsdb-sfc + - odl-ovsdb-sfc-rest + odl-default: - odl-restconf-all - odl-aaa-authn - odl-dlux-all + ovs: + - odl-ovsdb-openstack sfc: - - odl-sfc-core + - odl-sfc-model + - odl-sfc-provider + - odl-sfc-provider-rest - odl-sfc-sb-rest - odl-sfc-ui - odl-sfc-netconf - odl-sfc-ovs - odl-sfcofl2 - - odl-sfc-test-consumer vpn: - - odl-vpnservice-api - - odl-vpnservice-impl - - odl-vpnservice-impl-rest - - odl-vpnservice-impl-ui - - odl-vpnservice-core - odl-vpnservice-openstack # plugin_id: Assigned during installation - plugin_version: 0.8.0 + plugin_version: 0.9.0 restrictions: - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight + odl_v2: + description: V2 version is considered as experimental + label: Use V2 ML2 driver + type: checkbox + value: true + weight: 17 rest_api_port: description: Port on which ODL REST API will be available. label: Port number @@ -152,6 +182,24 @@ dea-override-config: type: text value: '8282' weight: 40 + sfc_class: + description: 'Classifier determines what traffic needs to be chained based + on policy based on yang model. The OpenDayLight actually supports the + OVSDB NetVirt and the GBP classifier in case of SFC. + + ' + label: Classifier used by SFC + restrictions: + - action: hide + condition: settings:opendaylight.enable_sfc.value == false + type: select + value: ncr + values: + - data: ncr + label: NetVirt + - data: gcr + label: GBP + weight: 14 weight: 70 dha-override-config: diff --git a/deploy/scenario/no-ha_odl-l2_heat_ceilometer_scenario.yaml b/deploy/scenario/no-ha_odl-l2_heat_ceilometer_scenario.yaml index 0cc1258b7..02cc907a4 100644 --- a/deploy/scenario/no-ha_odl-l2_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/no-ha_odl-l2_heat_ceilometer_scenario.yaml @@ -22,9 +22,9 @@ # deployment configuration meta-data deployment-scenario-metadata: title: ODL-L2 No-HA deployment - version: 0.0.2 - created: Jan 26 2016 - comment: Fuel ODL-L2 No HA with Ceph, Ceilometer and Heat Rebased for Fuel8 + version: 0.0.3 + created: Jun 02 2016 + comment: Rebased to Fuel9 ############################################################################## # Stack extentions are opnfv added value features in form of a fuel-plugin @@ -81,16 +81,35 @@ dea-override-config: label: OpenDaylight plugin toggleable: true versions: - - enable_gbp: - label: GBP features + - bgpvpn_gateway: + description: Define the default gateway for BGPVPN + label: Default Gateway + regex: + error: Invalid ip number + source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ + restrictions: + - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN + is enabled. + type: text + value: 0.0.0.0 + weight: 16 + enable_bgpvpn: + description: 'This enables the bgpvpn extension of neutron togethere with + the corresponding sdnvpn features in odl. This feature will disable the + standart ovsdb feature from ODL. + + ' + label: BGPVPN extensions type: checkbox value: false - weight: 14 + weight: 15 enable_l3_odl: label: Use ODL to manage L3 traffic restrictions: - - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type. - - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes + - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation + type. + - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign + public network to all nodes type: checkbox value: false weight: 12 @@ -100,8 +119,14 @@ dea-override-config: value: false weight: 13 metadata: - always_editable: false + default_credentials: + password: admin + user: admin + hot_pluggable: false + jetty_port: 8181 odl_features: + cluster: + - odl-jolokia default: - config - standard @@ -110,33 +135,38 @@ dea-override-config: - kar - ssh - management - gbp: - - odl-groupbasedpolicy-base - - odl-groupbasedpolicy-ofoverlay - ovs: - - odl-ovsdb-openstack + gcr: + - odl-groupbasedpolicy-ovssfc + ncr: + - odl-ovsdb-sfc + - odl-ovsdb-sfc-rest + odl-default: - odl-restconf-all - odl-aaa-authn - odl-dlux-all + ovs: + - odl-ovsdb-openstack sfc: - - odl-sfc-core + - odl-sfc-model + - odl-sfc-provider + - odl-sfc-provider-rest - odl-sfc-sb-rest - odl-sfc-ui - odl-sfc-netconf - odl-sfc-ovs - odl-sfcofl2 - - odl-sfc-test-consumer vpn: - - odl-vpnservice-api - - odl-vpnservice-impl - - odl-vpnservice-impl-rest - - odl-vpnservice-impl-ui - - odl-vpnservice-core - odl-vpnservice-openstack # plugin_id: Assigned during installation - plugin_version: 0.8.0 + plugin_version: 0.9.0 restrictions: - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight + odl_v2: + description: V2 version is considered as experimental + label: Use V2 ML2 driver + type: checkbox + value: false + weight: 17 rest_api_port: description: Port on which ODL REST API will be available. label: Port number @@ -146,6 +176,24 @@ dea-override-config: type: text value: '8282' weight: 40 + sfc_class: + description: 'Classifier determines what traffic needs to be chained based + on policy based on yang model. The OpenDayLight actually supports the + OVSDB NetVirt and the GBP classifier in case of SFC. + + ' + label: Classifier used by SFC + restrictions: + - action: hide + condition: settings:opendaylight.enable_sfc.value == false + type: select + value: ncr + values: + - data: ncr + label: NetVirt + - data: gcr + label: GBP + weight: 14 weight: 70 dha-override-config: diff --git a/deploy/scenario/no-ha_odl-l3_heat_ceilometer_scenario.yaml b/deploy/scenario/no-ha_odl-l3_heat_ceilometer_scenario.yaml index 2ba2d6d75..911654643 100644 --- a/deploy/scenario/no-ha_odl-l3_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/no-ha_odl-l3_heat_ceilometer_scenario.yaml @@ -22,9 +22,9 @@ # deployment configuration meta-data deployment-scenario-metadata: title: ODL-L3 No-HA deployment - version: 0.0.3 - created: Jan 28 2016 - comment: Fuel ODL-L3 No HA with Ceph, Ceilometer and Heat rebased for Fuel8 + version: 0.0.4 + created: Jun 02 2016 + comment: Rebased to Fuel9 ############################################################################## # Stack extentions are opnfv added value features in form of a fuel-plugin @@ -83,16 +83,35 @@ dea-override-config: label: OpenDaylight plugin toggleable: true versions: - - enable_gbp: - label: GBP features + - bgpvpn_gateway: + description: Define the default gateway for BGPVPN + label: Default Gateway + regex: + error: Invalid ip number + source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ + restrictions: + - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN + is enabled. + type: text + value: 0.0.0.0 + weight: 16 + enable_bgpvpn: + description: 'This enables the bgpvpn extension of neutron togethere with + the corresponding sdnvpn features in odl. This feature will disable the + standart ovsdb feature from ODL. + + ' + label: BGPVPN extensions type: checkbox value: false - weight: 14 + weight: 15 enable_l3_odl: label: Use ODL to manage L3 traffic restrictions: - - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type. - - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes + - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation + type. + - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign + public network to all nodes type: checkbox value: true weight: 12 @@ -102,8 +121,14 @@ dea-override-config: value: false weight: 13 metadata: - always_editable: false + default_credentials: + password: admin + user: admin + hot_pluggable: false + jetty_port: 8181 odl_features: + cluster: + - odl-jolokia default: - config - standard @@ -112,33 +137,38 @@ dea-override-config: - kar - ssh - management - gbp: - - odl-groupbasedpolicy-base - - odl-groupbasedpolicy-ofoverlay - ovs: - - odl-ovsdb-openstack + gcr: + - odl-groupbasedpolicy-ovssfc + ncr: + - odl-ovsdb-sfc + - odl-ovsdb-sfc-rest + odl-default: - odl-restconf-all - odl-aaa-authn - odl-dlux-all + ovs: + - odl-ovsdb-openstack sfc: - - odl-sfc-core + - odl-sfc-model + - odl-sfc-provider + - odl-sfc-provider-rest - odl-sfc-sb-rest - odl-sfc-ui - odl-sfc-netconf - odl-sfc-ovs - odl-sfcofl2 - - odl-sfc-test-consumer vpn: - - odl-vpnservice-api - - odl-vpnservice-impl - - odl-vpnservice-impl-rest - - odl-vpnservice-impl-ui - - odl-vpnservice-core - odl-vpnservice-openstack # plugin_id: Assigned during installation - plugin_version: 0.8.0 + plugin_version: 0.9.0 restrictions: - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight + odl_v2: + description: V2 version is considered as experimental + label: Use V2 ML2 driver + type: checkbox + value: true + weight: 17 rest_api_port: description: Port on which ODL REST API will be available. label: Port number @@ -148,6 +178,24 @@ dea-override-config: type: text value: '8282' weight: 40 + sfc_class: + description: 'Classifier determines what traffic needs to be chained based + on policy based on yang model. The OpenDayLight actually supports the + OVSDB NetVirt and the GBP classifier in case of SFC. + + ' + label: Classifier used by SFC + restrictions: + - action: hide + condition: settings:opendaylight.enable_sfc.value == false + type: select + value: ncr + values: + - data: ncr + label: NetVirt + - data: gcr + label: GBP + weight: 14 weight: 70 dha-override-config: |