Add SFC feature to an ODL based openstack deployment

This commit adds Service Function Chaining(SFC) basic installation opportunity
to a Fuel orchestrated openstack cluster. SFC installation is integrated into
fuel-plugin-opendaylight, since it covers orchestration tasks only and
the used SFC is closely tied to the OpenDayLight installation used.
This is the Fuel7 uplift of the original change set.

Change-Id: Ib9b4b8fbd5964453d1a2478abaa74c21849f11d0
This commit is contained in:
Ferenc Cserepkei 2015-12-05 21:45:14 +01:00
parent ce6f489c0d
commit 6d47c63685
3 changed files with 37 additions and 11 deletions

View File

@ -1,5 +1,5 @@
class opendaylight::service (
$rest_port = 8282,
$rest_port = $opendaylight::rest_api_port,
$bind_address = undef,
) {
@ -44,7 +44,13 @@ class opendaylight::service (
}
$enable['default'] = $features['default']
$enable['ovsdb'] = $features['ovsdb']
$enable['ovs'] = $features['ovs']
if $odl['enable_sfc'] {
$enable['sfc'] = $features['sfc']
}
if $odl['enable_gbp'] {
$enable['gbp'] = $features['gbp']
}
file { '/opt/opendaylight/etc/org.apache.karaf.features.cfg':
ensure => file,

View File

@ -1,4 +1,19 @@
attributes:
enable_gbp:
weight: 14
type: "checkbox"
value: false
label: "GBP features"
enable_l3_odl:
weight: 12
type: "checkbox"
value: false
label: "EXPERIMENTAL: Use ODL to manage L3 traffic"
enable_sfc:
weight: 13
type: "checkbox"
value: false
label: "SFC features"
metadata:
restrictions:
- "cluster:net_provider != 'neutron'": "Only neutron is supported by OpenDaylight"
@ -11,17 +26,22 @@ attributes:
- kar
- ssh
- management
ovsdb:
gbp:
- odl-groupbasedpolicy-base
- odl-groupbasedpolicy-ofoverlay
ovs:
- odl-ovsdb-openstack
- odl-restconf-all
- odl-aaa-authn
- odl-dlux-all
- odl-mdsal-apidocs
- odl-ovsdb-openstack
enable_l3_odl:
weight: 12
type: "checkbox"
value: false
label: "EXPERIMENTAL: Use ODL to manage L3 traffic"
sfc:
- odl-sfc-core
- odl-sfc-sb-rest
- odl-sfc-ui
- odl-sfc-netconf
- odl-sfc-ovs
- odl-sfcofl2
- odl-sfc-test-consumer
rest_api_port:
value: '8282'
label: 'Port number'

View File

@ -23,4 +23,4 @@ http://archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2015g-0ubuntu0.14.04_
http://archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata-java_2015g-0ubuntu0.14.04_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/j/java-common/java-common_0.51_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg8-empty/libjpeg8_8c-2ubuntu8_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u85-2.6.1-5ubuntu0.14.04.1_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u91-2.6.3-0ubuntu0.14.04.1_amd64.deb