Class: Proxy::Ipam::Api

Inherits:
Sinatra::Base
  • Object
show all
Extended by:
DependencyInjection
Includes:
IpamHelper, IpamValidator, Log
Defined in:
lib/smart_proxy_ipam/ipam_api.rb

Overview

Generic API for External IPAM interactions

Constant Summary

Constants included from IpamHelper

IpamHelper::ERRORS, IpamHelper::MAX_IP_RETRIES

Method Summary

Methods included from DependencyInjection

container_instance

Methods included from IpamValidator

#validate_cidr!, #validate_ip!, #validate_ip_in_cidr!, #validate_mac!, #validate_required_params!

Methods included from IpamHelper

#cache_next_ip, #find_new_ip, #get_request_group, #increment_ip, #provider, #usable_ip