Revision 6329d8b3 src/oca/ruby/OpenNebula/Host.rb

View differences:

src/oca/ruby/OpenNebula/Host.rb
121 121
            SHORT_HOST_STATES[state_str]
122 122
        end
123 123

  
124
        # Returns the cluster of the Host
125
        def cluster
126
            self['CLUSTER']
124
        # Returns the cluster ID of the Host
125
        def cluster_id
126
            self['CID']
127 127
        end
128 128

  
129 129

  

Also available in: Unified diff