Revision 202b47e9 src/oca/ruby/opennebula/vm_group.rb

View differences:

src/oca/ruby/opennebula/vm_group.rb
169 169
        def owner_id
170 170
            self['UID'].to_i
171 171
        end
172

  
173
        # [return] _Array_ with the name of roles
174
        def role_names
175
            self.retrieve_elements('ROLES/ROLE/NAME')
176
        end
172 177
    end
173 178
end

Also available in: Unified diff