- Update ODL to Beryllium ERP RC3.1
2016-02-16 Release 3.2.9
- Update ODL to Beryllium
-2016-02-16 Release 3.2.9
-- Update ODL to Beryllium
2016-03-03 Release 3.3.0
- Add ODL HA config, fix ARP-yes when L3
2016-03-04 Release 3.3.1
- Bugfix in ODL HA jolokia.xml file content
2016-03-11 Release 3.4.0
- Add param to config ODL's bind IP addr
+2016-03-23 Release 3.5.0
+- Update ODL to Beryllium SR1
[15]: https://github.com/dfarrell07/puppet-opendaylight/blob/master/CHANGELOG
[16]: https://github.com/dfarrell07/puppet-opendaylight/releases
[17]: https://github.com/dfarrell07/puppet-opendaylight/commits/master
-[18]: http://cbs.centos.org/repos/nfv7-opendaylight-40-release/x86_64/os/Packages/
+[18]: http://cbs.centos.org/repos/nfv7-opendaylight-41-release/x86_64/os/Packages/
# Choose Yum URL based on OS (CentOS vs Fedora)
# NB: Currently using the CentOS CBS for both Fedora and CentOS
$base_url = $::operatingsystem ? {
- 'CentOS' => 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release/$basearch/os/',
- 'Fedora' => 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release/$basearch/os/',
+ 'CentOS' => 'http://cbs.centos.org/repos/nfv7-opendaylight-41-release/$basearch/os/',
+ 'Fedora' => 'http://cbs.centos.org/repos/nfv7-opendaylight-41-release/$basearch/os/',
}
# Add OpenDaylight's Yum repository
- yumrepo { 'opendaylight-40-release':
+ yumrepo { 'opendaylight-41-release':
# 'ensure' isn't supported with Puppet <3.5
# Seems to default to present, but docs don't say
# https://docs.puppetlabs.com/references/3.4.0/type.html#yumrepo
# Install the OpenDaylight RPM
package { 'opendaylight':
ensure => present,
- require => Yumrepo['opendaylight-40-release'],
+ require => Yumrepo['opendaylight-41-release'],
}
->
# Configure the systemd file to force ipv4 binds (instead of ipv6)
$odl_rest_port = '8080'
$odl_bind_ip = '0.0.0.0'
$install_method = 'rpm'
- $tarball_url = 'https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz'
+ $tarball_url = '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'
$unitfile_url = 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz'
$odl_rest_port = '8080'
$enable_l3 = 'no'
{
"name": "dfarrell07-opendaylight",
- "version": "3.4.0",
+ "version": "3.5.0",
"author": "Daniel Farrell",
"summary": "Puppet module that installs and configures the OpenDaylight SDN controller",
"license": "BSD-2-Clause",
# Extract params
# NB: These default values should be the same as ones in opendaylight::params
# TODO: Remove this possible source of bugs^^
- tarball_url = options.fetch(:tarball_url, 'https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz')
+ tarball_url = options.fetch(:tarball_url, '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')
unitfile_url = options.fetch(:unitfile_url, 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz')
osfamily = options.fetch(:osfamily, 'RedHat')
end
# Verify that there are no unexpected resources from RPM-type installs
- it { should_not contain_yumrepo('opendaylight-40-release') }
+ it { should_not contain_yumrepo('opendaylight-41-release') }
it { should_not contain_package('opendaylight') }
end
operatingsystem = options.fetch(:operatingsystem, 'CentOS')
case operatingsystem
when 'CentOS'
- yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release/$basearch/os/'
+ yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-41-release/$basearch/os/'
when 'Fedora'
- yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release/$basearch/os/'
+ yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-41-release/$basearch/os/'
else
fail("Unknown operatingsystem: #{operatingsystem}")
end
# Default to CentOS 7 Yum repo URL
# Confirm presence of RPM-related resources
- it { should contain_yumrepo('opendaylight-40-release') }
+ it { should contain_yumrepo('opendaylight-41-release') }
it { should contain_package('opendaylight') }
# Confirm relationships between RPM-related resources
- it { should contain_package('opendaylight').that_requires('Yumrepo[opendaylight-40-release]') }
- it { should contain_yumrepo('opendaylight-40-release').that_comes_before('Package[opendaylight]') }
+ it { should contain_package('opendaylight').that_requires('Yumrepo[opendaylight-41-release]') }
+ it { should contain_yumrepo('opendaylight-41-release').that_comes_before('Package[opendaylight]') }
# Confirm properties of RPM-related resources
# NB: These hashes don't work with Ruby 1.8.7, but we
# don't support 1.8.7 so that's okay. See issue #36.
it {
- should contain_yumrepo('opendaylight-40-release').with(
+ should contain_yumrepo('opendaylight-41-release').with(
'enabled' => '1',
'gpgcheck' => '0',
'descr' => 'CentOS CBS OpenDaylight Berillium testing repository',
it { expect { should contain_class('opendaylight::service') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
# Confirm that other resources fail on unsupported OSs
- it { expect { should contain_yumrepo('opendaylight-40-release') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
+ it { expect { should contain_yumrepo('opendaylight-41-release') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
it { expect { should contain_package('opendaylight') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
it { expect { should contain_service('opendaylight') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
it { expect { should contain_file('org.apache.karaf.features.cfg') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
# Shared function that handles validations specific to RPM-type installs
def rpm_validations()
- describe yumrepo('opendaylight-40-release') do
+ describe yumrepo('opendaylight-41-release') do
it { should exist }
it { should be_enabled }
end
# Repo checks break (not fail) when yum doesn't make sense (Ubuntu)
if ['centos-7', 'fedora-22', 'fedora-23-docker'].include? ENV['RS_SET']
- describe yumrepo('opendaylight-40-release') do
+ describe yumrepo('opendaylight-41-release') do
it { should_not exist }
it { should_not be_enabled }
end