Furnish::IP

This provides 5 classes:

  • Furnish::RangeSet, a registry that takes its values from a range for allocation purposes.
  • Furnish::IP, a simple class to maintain a grouped IP registry, derived from RangeSet.
  • Furnish::Port, a simple class to maintain a grouped Port registry, also derived from RangeSet.
  • Furnish::Provisioner::IP, a furnish provisioner intended to be chained to resources that allocate their own IP addresses for recording purposes.
  • Furnish::Provisioner::AutoIP, a furnish provisioner that works against a subnet, allocating IPs automatically based on what's not in use.

Please see the documentation for these classes, and the furnish documentation, for further usage.

Installation

Add this line to your application's Gemfile:

gem 'furnish-ip'

And then execute:

$ bundle

Or install it yourself as:

$ gem install furnish-ip

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request