Skip to content

Commit

Permalink
Merge pull request #80 from arista-eosplus/release-0.4.0
Browse files Browse the repository at this point in the history
Release 0.4.0
  • Loading branch information
jerearista committed Nov 20, 2015
2 parents d09922b + 4a49d3b commit 990aa4d
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 26 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
59 changes: 35 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,52 +214,63 @@ 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.

```
$ 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:
```
Arista# copy <URI-to-RPMs> 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
```

# Upgrading

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
```

Expand Down
2 changes: 1 addition & 1 deletion lib/rbeapi/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
# #
# Rbeapi toplevel namespace
module Rbeapi
VERSION = '0.3.0'
VERSION = '0.4.0'
end

0 comments on commit 990aa4d

Please sign in to comment.