From e431b3e6088294d9311d3f5a6905d77eafc721b1 Mon Sep 17 00:00:00 2001 From: Jere Julian Date: Fri, 20 Nov 2015 16:17:46 -0500 Subject: [PATCH 1/2] Bump version number --- Gemfile | 2 +- README.md | 59 +++++++++++++++++++++++++------------------ lib/rbeapi/version.rb | 2 +- 3 files changed, 37 insertions(+), 26 deletions(-) diff --git a/Gemfile b/Gemfile index 6ffee3d..4d206b8 100644 --- a/Gemfile +++ b/Gemfile @@ -24,7 +24,7 @@ group :development, :test do gem 'pry', require: false gem 'pry-doc', require: false gem 'pry-stack_explorer', require: false - gem 'rbeapi', '0.3.0', path: '.' + gem 'rbeapi', '0.4.0', path: '.' gem 'ci_reporter_rspec', require: false gem 'simplecov-json', require: false gem 'simplecov-rcov', require: false diff --git a/README.md b/README.md index 4dc6ebb..e0790cb 100644 --- a/README.md +++ b/README.md @@ -214,8 +214,10 @@ and uploaded to [RubyGems](https://rubygems.org/). by the build. NOTE: [PuppetLabs](https://puppetlabs.com/misc/pe-files) provides a puppet agent SWIX which includes Ruby 1.9.3 in /opt/puppet/bin/ which is different from where you might otherwise install - Ruby. If you have installed the puppet-enterprise SWIX, then you should - build and use the ``pe-rbeapi`` swix, below. Otherwise, if you have installed + Ruby. If you have installed the puppet-enterprise 3.x SWIX, then you should + build and use the ``rbeapi-puppet3`` swix, below. If you have installed + the puppet-enterprise 2015.x SWIX, then you should build and use the + ``rbeapi-puppet-aio`` swix, below. Otherwise, if you have installed at least Ruby 1.9.3 in the standard system location, then the ``rbeapi`` SWIX may be used. @@ -223,20 +225,29 @@ and uploaded to [RubyGems](https://rubygems.org/). $ bundle install --path .bundle/gems/ $ bundle exec rake all_rpms ... - RPMs are available in rpms/noarch/ - Copy the RPMs to an EOS device then run the 'swix create' command. - Examples: - Puppet Open Source: - cd /mnt/flash; swix create rbeapi-0.3.0-1.swix \ - rubygem-rbeapi-0.3.0-1.eos4.noarch.rpm \ - rubygem-inifile-3.0.0-2.eos4.noarch.rpm \ - rubygem-netaddr-1.5.0-1.eos4.noarch.rpm \ - rubygem-net_http_unix-0.2.1-2.eos4.noarch.rpm - Puppet-enterprise: - cd/mnt/flash; swix create pe-rbeapi-0.3.0-1.swix \ - pe-rubygem-rbeapi-0.3.0-1.eos4.noarch.rpm \ - pe-rubygem-inifile-3.0.0-2.eos4.noarch.rpm \ - pe-rubygem-netaddr-1.5.0-1.eos4.noarch.rpm +RPMs are available in rpms/noarch/ +Copy the RPMs to an EOS device then run the 'swix create' command. + Examples: + Puppet Open Source: + cd /mnt/flash; \ + swix create rbeapi-0.4.0-1.swix \ + rubygem-rbeapi-0.4.0-1.eos4.noarch.rpm \ + rubygem-inifile-3.0.0-3.eos4.noarch.rpm \ + rubygem-netaddr-1.5.0-2.eos4.noarch.rpm \ + rubygem-net_http_unix-0.2.1-3.eos4.noarch.rpm + Puppet-enterprise agent (3.x): + cd/mnt/flash; \ + swix create rbeapi-puppet3-0.4.0-1.swix \ + rubygem-rbeapi-puppet3-0.4.0-1.eos4.noarch.rpm \ + rubygem-inifile-puppet3-3.0.0-3.eos4.noarch.rpm \ + rubygem-netaddr-puppet3-1.5.0-2.eos4.noarch.rpm + Puppet-All-in-one agent (2015.x/4.x): + cd/mnt/flash; \ + swix create rbeapi-puppet-aio-0.4.0-1.swix \ + rubygem-rbeapi-puppet-aio-0.4.0-1.eos4.noarch.rpm \ + rubygem-inifile-puppet-aio-3.0.0-3.eos4.noarch.rpm \ + rubygem-netaddr-puppet-aio-1.5.0-2.eos4.noarch.rpm \ + rubygem-net_http_unix-puppet-aio-0.2.1-3.eos4.noarch.rpm ``` On EOS: @@ -244,13 +255,13 @@ and uploaded to [RubyGems](https://rubygems.org/). Arista# copy flash: Arista# bash -bash-4.1# cd /mnt/flash/ - -bash-4.1# swix create pe-rbeapi-0.3.0-1.swix \ - pe-rubygem-rbeapi-0.1.0-1.eos4.noarch.rpm \ - pe-rubygem-inifile-3.0.0-1.eos4.noarch.rpm \ - pe-rubygem-netaddr-1.5.0-1.eos4.noarch.rpm + -bash-4.1# swix create rbeapi-puppet3-0.4.0-1.swix \ + rubygem-rbeapi-puppet3-0.4.0-1.eos4.noarch.rpm \ + rubygem-inifile-puppet3-3.0.0-1.eos4.noarch.rpm \ + rubygem-netaddr-puppet3-1.5.0-1.eos4.noarch.rpm -bash-4.1# exit - Arista# copy flash:pe-rbeapi-0.3.0-1.swix extension: - Arista# extension pe-rbeapi-0.3.0-1.swix + Arista# copy flash:rbeapi-puppet3-0.4.0-1.swix extension: + Arista# extension rbeapi-puppet3-0.4.0-1.swix Arista# copy installed-extensions boot-extensions ``` @@ -258,8 +269,8 @@ and uploaded to [RubyGems](https://rubygems.org/). On EOS: ``` - Arista# no extension pe-rbeapi-0.2.0-1.swix - Arista# extension pe-rbeapi-0.3.0-1.swix + Arista# no extension pe-rbeapi-0.3.0-1.swix + Arista# extension rbeapi-puppet3-0.4.0-1.swix Arista# copy installed-extensions boot-extensions ``` diff --git a/lib/rbeapi/version.rb b/lib/rbeapi/version.rb index a8463de..d179c37 100644 --- a/lib/rbeapi/version.rb +++ b/lib/rbeapi/version.rb @@ -33,5 +33,5 @@ # # # Rbeapi toplevel namespace module Rbeapi - VERSION = '0.3.0' + VERSION = '0.4.0' end From 4a49d3b45009bdfbf0d30000020444b43a675f7d Mon Sep 17 00:00:00 2001 From: Jere Julian Date: Fri, 20 Nov 2015 16:18:12 -0500 Subject: [PATCH 2/2] Add notes for this release --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b580c6b..c88f90c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ Ruby Client for eAPI ==================== +## v0.4.0, November, 2015 + +- New users API +- New routemap API +- New vrrp API +- BGP API: Add support for maximum_paths and maximum_ecmp_paths +- System API: add support for managing the global EOS ‘ip routing’ setting +- Updated RPM/SWIX packaging to handle Puppet All-In-One (AIO) agent paths + New package names are: rbeapi, rbeapi-puppet3 (formerly pe-puppet), + and rbeapi-puppet-aio +- Fixed port-channel get_members() issue with EOS 4.15 and above. +- Fixed issue with the eapi.conf wildcard connection +- Fixed issue that would cause a traceback when searching for eapi.conf if + $HOME was not set + + ## v0.3.0, August, 2015 - API Change: Eliminated overloading the value option in command_builder. When