Sha256: c658004b6dcfffd1ad950678201133e7cbfb47fd5a3caad2be70541e6479dead

Contents?: true

Size: 1.19 KB

Versions: 16

Compression:

Stored size: 1.19 KB

Contents

# This file is part of the OpenStack-ActiveResource
#
# Copyright (C) 2012 Unidata S.p.A. (Davide Guerri - d.guerri@unidata.it)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

module OpenStack
  module Nova
    module Compute

      # An OpenStack Floating Ip Pool
      #
      # ==== Attributes
      # * +id+ - Id of the pool
      # * +name+ - Name of the pool
      class FloatingIpPool < Base
        self.collection_name = "os-floating-ip-pools"
        self.element_name = "floating_ip_pool"

        alias_attribute :id, :name

        schema do
          attribute :name, :string
        end

      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
openstack_activeresource-0.7.1 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.7.0 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.6.3 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.6.2 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.6.1 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.6.0 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.5.2 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.5.1 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.5.0 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.4.0 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.5 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.4 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.3 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.2 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.1 lib/open_stack/nova/compute/floating_ip_pool.rb
openstack_activeresource-0.3.0 lib/open_stack/nova/compute/floating_ip_pool.rb