cookbook 'exabgp', '= 2.0.0'
The exabgp cookbook has been deprecated
Author provided reason for deprecation:
The exabgp cookbook has been deprecated and is no longer being maintained by its authors. Use of the exabgp cookbook is no longer recommended.
exabgp (12) Versions 2.0.0 Follow2
Installs/Configures exabgp
cookbook 'exabgp', '= 2.0.0', :supermarket
knife supermarket install exabgp
knife supermarket download exabgp
exabgp cookbook
Installs and configures ExaBGP
the swiss-army knife of networking.
Supported Chef and Platforms
Chef 12.1 and newer
Ubuntu 12.04
Ubuntu 14.04
Dependencies
- poise-python (for package installation)
- git (for source installation)
Attributes
Attribute | Description | Default Value |
---|---|---|
node['exabgp']['bin_path'] |
Location of the ExaBGP binary, only set on source installations | /usr/sec/exabgp/sbin/exabgp |
node['exabgp']['config_path'] |
Location of the ExaBGP configuration file, only set when a resource with instance set to false is configured | /etc/exabgp/exabgp.conf |
node['exabgp']['source_url'] |
URL to the git repository for source installtions | https://github.com/Exa-Networks/exabgp.git |
node['exabgp']['source_version'] |
git ref of the version to install | master |
Recipes
-
exabgp::default
- Includes theexabgp_config
andexabgp_service
resources
Resources
exabgp
The exabgp
resource installs and configures ExaBGP. It does not create
an ExaBGP service. You will need to handle this separately via your service
resource of choice.
Actions
-
:install
– Install and configure ExaBGP. (default) -
:remove
– Remove ExaBGP and configuration file.
Parameters
-
instance
– Name of the ExaBGP installation. If different than the name parameter of the resource. If it is set to false, it will not use the name parameter when naming the instance. This is for backward compatibility with the older version of this cookbook where you may be running an install from/etc/exabgp
. -
cookbook
– Which cookbook to look for the exabgp.conf.erb template -
variables
– Pass template variables in much like a template resource -
install_type
– Supports both :package and :source installations. Defaults to :package via python pip. If you'd like to support more installation options, send in a pull request. :heart:
Examples
# Installs into /etc/exabgp-anycast exabgp 'anycast' # Backward compatible with the previous exabgp cookbook # Installs to /etc/exabgp exabgp 'anycast' do instance false end # Use your own template from templates/default/exabgp.conf.erb exabgp 'anycast' do cookbook 'mycorp-exabgp' end # Setup a service service 'exabgp'
License and Authors
- Author:: Aaron Kalin
- Author:: Jacobo Garcia
- Author:: Joseph Caudle
Copyright:: 2013-2016 Aetrion, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
compat_resource >= 12.5.11 |
poise-python >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
2.0.0 / 2016-02-24
Breaking Changes
- This cookbook is now Chef 12.1+ only compatible with a simplified resource rewrite. There are some backward-compatible additions noted in the readme. The default recipe now is only there for inclusion to let you use the exabgp resource.
Testing
- Added a better testing suite. Will add in better test kitchen coverage in the near future.
1.1.1 / 2015-06-17
Cleanup
- Changed attribute access to strings instead of symbols. Resolves a Foodcritic warning (FC001)
1.1.0 / 2015-06-17
Enhancements
- Added local-preference attribute to not use ECMP. PR#6 @ton31337
- Merged prefix and route attributes into one. PR#5 PR#7 @ton31337
Testing
- Laid the groundwork down for an upcoming LWRP for the 2.x release
1.0.2 / 2015-02-21
Enhancements
- Added in a new attribute to allow for disabling the static route in the exabgp config template
1.0.1 / 2015-01-23
Bug Fixes
- Sync to master for now to resolve a parse bug with incorrect community information
1.0.0 / 2015-01-23
Cleanup
- Updated README and LICENSE, much more to come in the next few releases
Breaking Changes
- Changed source install to point to the GitHub repository. They moved over a year ago, it's time we moved too. This also means we use git and dropped the mercurial cookbook dependency
- Defaulted to latest release at the time (3.4.7)
0.10.0 / 2015-01-19
Enhancements
- Adding berkshelf integration
0.9.0 / 2013-07-11
- Initial release of exabgp
Collaborator Number Metric
2.0.0 passed this metric
Contributing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: exabgp/metadata.rb:1
FC065: Ensure source_url is set in metadata: exabgp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: exabgp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: exabgp/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 passed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: exabgp/metadata.rb:1
FC065: Ensure source_url is set in metadata: exabgp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: exabgp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: exabgp/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric
FC065: Ensure source_url is set in metadata: exabgp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: exabgp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: exabgp/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 passed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric