support fuel 9.0
Change-Id: Ib30f429f7db8cc3503f94a4e6d4505ca7e0f542e Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
This commit is contained in:
parent
a75938a203
commit
bca561ecd3
|
@ -14,7 +14,7 @@ Requirements
|
||||||
|
|
||||||
| Requirement | Version/Comment |
|
| Requirement | Version/Comment |
|
||||||
|----------------------------------|-----------------|
|
|----------------------------------|-----------------|
|
||||||
| Mirantis OpenStack compatibility | 8.0 |
|
| Mirantis OpenStack compatibility | 9.0 |
|
||||||
|
|
||||||
Recommendations
|
Recommendations
|
||||||
---------------
|
---------------
|
||||||
|
@ -60,7 +60,7 @@ Openvswitch plugin installation
|
||||||
|
|
||||||
id | name | version | package_version
|
id | name | version | package_version
|
||||||
---|-----------------|---------|----------------
|
---|-----------------|---------|----------------
|
||||||
1 | fuel-plugin-ovs | 0.8.0 | 3.0.0
|
1 | fuel-plugin-ovs | 0.9.0 | 4.0.0
|
||||||
|
|
||||||
8. Plugin is ready to use and can be enabled on the Settings tab of the Fuel web UI.
|
8. Plugin is ready to use and can be enabled on the Settings tab of the Fuel web UI.
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,21 @@
|
||||||
$fuel_settings = parseyaml(file('/etc/compute.yaml'))
|
$fuel_settings = parseyaml(file('/etc/astute.yaml'))
|
||||||
if $operatingsystem == 'Ubuntu' {
|
if $operatingsystem == 'Ubuntu' {
|
||||||
if $fuel_settings['fuel-plugin-ovs']['support_dpdk'] {
|
if $fuel_settings['fuel-plugin-ovs']['support_nsh'] and
|
||||||
$packages='openvswitch-datapath-dkms_2.4.90.dpdk-1 openvswitch-common_2.4.90.dpdk-1 openvswitch-switch_2.4.90.dpdk-1'
|
$fuel_settings['fuel-plugin-ovs']['support_dpdk'] {
|
||||||
|
exec { 'install ovs/nsh-dpdk':
|
||||||
|
command => '/usr/bin/apt-get -y --force-yes install openvswitch-datapath-dkms_2.4.90.nshdpdk-1 openvswitch-common_2.4.90.nshdpdk-1 openvswitch-switch_2.4.90.nshdpdk-1'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if $fuel_settings['fuel-plugin-ovs']['support_nsh'] {
|
elsif $fuel_settings['fuel-plugin-ovs']['support_dpdk'] {
|
||||||
$packages='openvswitch-datapath-dkms_2.4.90.nsh-1 openvswitch-common_2.4.90.nsh-1 openvswitch-switch_2.4.90.nsh-1'
|
exec { 'install ovs/dpdk':
|
||||||
|
command => '/usr/bin/apt-get -y --force-yes install openvswitch-datapath-dkms_2.4.90.dpdk-1 openvswitch-common_2.4.90.dpdk-1 openvswitch-switch_2.4.90.dpdk-1'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if $fuel_settings['fuel-plugin-ovs']['support_nsh_dpdk'] {
|
elsif $fuel_settings['fuel-plugin-ovs']['support_nsh'] {
|
||||||
$packages='openvswitch-datapath-dkms_2.4.90.nshdpdk-1 openvswitch-common_2.4.90.nshdpdk-1 openvswitch-switch_2.4.90.nshdpdk-1'
|
exec { 'install ovs/nsh':
|
||||||
}
|
command => '/usr/bin/apt-get -y --force-yes install openvswitch-datapath-dkms_2.4.90.nsh-1 openvswitch-common_2.4.90.nsh-1 openvswitch-switch_2.4.90.nsh-1'
|
||||||
exec { 'ovs install':
|
}
|
||||||
command => '/usr/bin/apt-get -y --force-yes install $packages'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} elsif $operatingsystem == 'CentOS' {
|
} elsif $operatingsystem == 'CentOS' {
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,3 @@ attributes:
|
||||||
weight: 20
|
weight: 20
|
||||||
value: false
|
value: false
|
||||||
label: "support NSH"
|
label: "support NSH"
|
||||||
support_nsh_dpdk:
|
|
||||||
type: "checkbox"
|
|
||||||
weight: 20
|
|
||||||
value: false
|
|
||||||
label: "support NSH & DPDK"
|
|
||||||
|
|
|
@ -3,11 +3,11 @@ name: fuel-plugin-ovs
|
||||||
# Human-readable name for your plugin
|
# Human-readable name for your plugin
|
||||||
title: Openvswitch with NSH/DPDK support
|
title: Openvswitch with NSH/DPDK support
|
||||||
# Plugin version
|
# Plugin version
|
||||||
version: '0.8.0'
|
version: '0.9.0'
|
||||||
# Description
|
# Description
|
||||||
description: 'This plugin provides to deploy openvswitch with nsh'
|
description: 'This plugin provides to deploy openvswitch with NSH/DPDK'
|
||||||
# Required fuel version
|
# Required fuel version
|
||||||
fuel_version: ['8.0']
|
fuel_version: ['9.0']
|
||||||
# Specify license of your plugin
|
# Specify license of your plugin
|
||||||
licenses: ['Apache License Version 2.0']
|
licenses: ['Apache License Version 2.0']
|
||||||
# Specify author or company name
|
# Specify author or company name
|
||||||
|
@ -21,10 +21,12 @@ groups: ['network']
|
||||||
# The plugin is compatible with releases in the list
|
# The plugin is compatible with releases in the list
|
||||||
releases:
|
releases:
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
version: liberty-8.0
|
version: mitaka-9.0
|
||||||
mode: ['ha']
|
mode: ['ha']
|
||||||
deployment_scripts_path: deployment_scripts/
|
deployment_scripts_path: deployment_scripts/
|
||||||
repository_path: repositories/ubuntu
|
repository_path: repositories/ubuntu
|
||||||
|
|
||||||
# Version of plugin package
|
# Version of plugin package
|
||||||
package_version: '3.0.0'
|
package_version: '4.0.0'
|
||||||
|
|
||||||
|
is_hotpluggable: false
|
||||||
|
|
Loading…
Reference in New Issue