Parent

Pangea::Network

Public Instance Methods

default_gateway() click to toggle source

Returns a string or nil if the gateway is not defined.

xen-api: network.get_default_gateway

# File lib/pangea/objects.rb, line 641
    def default_gateway
      gw = ref_call :get_default_gateway
      return nil if gw.strip.chomp.empty?
      gw
    end
default_netmask() click to toggle source

Returns a string or nil if the netmask is not defined.

xen-api: network.get_default_netmask

# File lib/pangea/objects.rb, line 653
    def default_netmask
      nm = ref_call :get_default_netmask
      return nil if nm.strip.chomp.empty?
      gw
    end
label() click to toggle source

(Not documented)

# File lib/pangea/objects.rb, line 631
    def label
      ref_call :get_name_label
    end
vifs() click to toggle source

Virtual Interfaces bridged to the network bridge

xen-api: network.get_VIFs

# File lib/pangea/objects.rb, line 664
    def vifs
      l = []
      ref_call(:get_VIFs).each do |ref|
        l << VIF.new(@link, ref)
      end
      l
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.