Revision b0ddfd38 src/oca/ruby/OpenNebula/VirtualNetwork.rb

View differences:

src/oca/ruby/OpenNebula/VirtualNetwork.rb
27 27
            :publish    => "vn.publish",
28 28
            :delete     => "vn.delete",
29 29
            :addleases  => "vn.addleases",
30
            :rmleases   => "vn.rmleases"
30
            :rmleases   => "vn.rmleases",
31
            :chown      => "vn.chown"
31 32
        }
32 33

  
33 34
        # Creates a VirtualNetwork description with just its identifier
......
111 112
            return rc
112 113
        end
113 114

  
115
        # Changes the owner/group
116
        # uid:: _Integer_ the new owner id. Set to -1 to leave the current one
117
        # gid:: _Integer_ the new group id. Set to -1 to leave the current one
118
        # [return] nil in case of success or an Error object
119
        def chown(uid, gid)
120
            super(VN_METHODS[:chown], uid, gid)
121
        end
122

  
114 123
        # ---------------------------------------------------------------------
115 124
        # Helpers to get VirtualNetwork information
116 125
        # ---------------------------------------------------------------------

Also available in: Unified diff