File: node.rb

package info (click to toggle)
ruby-fog-libvirt 0.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 508 kB
  • sloc: ruby: 2,593; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require 'fog/core/model'

module Fog
  module Libvirt
    class Compute
      class Node < Fog::Model
        identity :uuid

        attribute :model
        attribute :memory
        attribute :cpus
        attribute :mhz
        attribute :nodes
        attribute :sockets
        attribute :cores
        attribute :threads
        attribute :type
        attribute :version
        attribute :uri
        attribute :node_free_memory
        attribute :max_vcpus
        attribute :manufacturer
        attribute :product
        attribute :serial
        attribute :hostname
      end
    end
  end
end