Class: Virtuozzo::SOAP::Types::Envm::Net_vethType

Inherits:
Net_nicType show all
Defined in:
lib/virtuozzo/soap/types/envm.rb

Overview

http://www.swsoft.com/webservices/vza/4.0.0/vzatypesnet_vethType

id - SOAP::SOAPString
ip_address - Virtuozzo::SOAP::Types::Envm::Ip_addressType
dhcp - (any)
network_id - SOAP::SOAPBase64
status - Virtuozzo::SOAP::Types::Envm::Net_vethType::Status
mac_address - SOAP::SOAPString
wins_server - SOAP::SOAPString
nameserver - SOAP::SOAPString
default_gateway - SOAP::SOAPString
host_routed - (any)

Defined Under Namespace

Classes: Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil, wins_server = [], nameserver = [], default_gateway = nil, host_routed = nil) ⇒ Net_vethType

Returns a new instance of Net_vethType.



1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
# File 'lib/virtuozzo/soap/types/envm.rb', line 1827

def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil, wins_server = [], nameserver = [], default_gateway = nil, host_routed = nil)
  @id = id
  @ip_address = ip_address
  @dhcp = dhcp
  @network_id = network_id
  @status = status
  @mac_address = mac_address
  @wins_server = wins_server
  @nameserver = nameserver
  @default_gateway = default_gateway
  @host_routed = host_routed
end

Instance Attribute Details

#default_gatewayObject

Returns the value of attribute default_gateway.



1824
1825
1826
# File 'lib/virtuozzo/soap/types/envm.rb', line 1824

def default_gateway
  @default_gateway
end

#dhcpObject

Returns the value of attribute dhcp.



1818
1819
1820
# File 'lib/virtuozzo/soap/types/envm.rb', line 1818

def dhcp
  @dhcp
end

#host_routedObject

Returns the value of attribute host_routed.



1825
1826
1827
# File 'lib/virtuozzo/soap/types/envm.rb', line 1825

def host_routed
  @host_routed
end

#idObject

Returns the value of attribute id.



1816
1817
1818
# File 'lib/virtuozzo/soap/types/envm.rb', line 1816

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



1817
1818
1819
# File 'lib/virtuozzo/soap/types/envm.rb', line 1817

def ip_address
  @ip_address
end

#mac_addressObject

Returns the value of attribute mac_address.



1821
1822
1823
# File 'lib/virtuozzo/soap/types/envm.rb', line 1821

def mac_address
  @mac_address
end

#nameserverObject

Returns the value of attribute nameserver.



1823
1824
1825
# File 'lib/virtuozzo/soap/types/envm.rb', line 1823

def nameserver
  @nameserver
end

#network_idObject

Returns the value of attribute network_id.



1819
1820
1821
# File 'lib/virtuozzo/soap/types/envm.rb', line 1819

def network_id
  @network_id
end

#statusObject

Returns the value of attribute status.



1820
1821
1822
# File 'lib/virtuozzo/soap/types/envm.rb', line 1820

def status
  @status
end

#wins_serverObject

Returns the value of attribute wins_server.



1822
1823
1824
# File 'lib/virtuozzo/soap/types/envm.rb', line 1822

def wins_server
  @wins_server
end