Sha256: 132ba36fd969ea49804ede54de6241b5e5e8baa4d18b9dfa706508deaad3255b
Contents?: true
Size: 708 Bytes
Versions: 30
Compression:
Stored size: 708 Bytes
Contents
require 'fog/openstack/models/collection' require 'fog/network/openstack/models/network_ip_availability' module Fog module Network class OpenStack class NetworkIpAvailabilities < Fog::OpenStack::Collection model Fog::Network::OpenStack::NetworkIpAvailability def all load_response(service.list_network_ip_availabilities, 'network_ip_availabilities') end def get(network_id) if network_ip_availability = service.get_network_ip_availability(network_id).body['network_ip_availability'] new(network_ip_availability) end rescue Fog::Network::OpenStack::NotFound nil end end end end end
Version data entries
30 entries across 28 versions & 3 rubygems