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

View differences:

src/oca/ruby/OpenNebula/VirtualNetwork.rb
40 40
        # XML-RPC Methods for the Virtual Network Object
41 41
        #######################################################################
42 42

  
43
        # Retrieves the information of the given VirtualNetwork.
43 44
        def info()
44 45
            super(VN_METHODS[:info], 'VNET')
45 46
        end
46 47

  
48
        # Allocates a new VirtualNetwork in OpenNebula
49
        #
50
        # +description+ A string containing the template of the VirtualNetwork.
47 51
        def allocate(description)
48 52
            super(VN_METHODS[:allocate],description)
49 53
        end
50

  
54
        
55
        # Publishes the VirtualNetwork, to be used by other users
51 56
        def publish
52 57
            set_publish(true)
53 58
        end
54 59

  
60
        # Unplubishes the VirtualNetwork
55 61
        def unpublish
56 62
            set_publish(false)
57 63
        end
58 64

  
65
        # Deletes the VirtualNetwork
59 66
        def delete()
60 67
            super(VN_METHODS[:delete])
61 68
        end

Also available in: Unified diff