Sha256: e489dc7d2a59e2d7cd3d49ed4f1623adfb4cec5697487fff5df070571f07e504
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
module Yao::Resources class FloatingIP < Base include PortAssociationable include ProjectAssociationable friendly_attributes :router_id, :description, :dns_domain, :dns_name, :revision_number, :floating_network_id, :fixed_ip_address, :floating_ip_address, :status, :port_details, :tags, :port_forwardings self.service = "network" self.resource_name = "floatingip" self.resources_name = "floatingips" # @return [Yao::Resources::Router] def router @router ||= Yao::Router.get(router_id) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yao-0.17.0 | lib/yao/resources/floating_ip.rb |
yao-0.16.0 | lib/yao/resources/floating_ip.rb |