Class: Virtuozzo::SOAP::Types::Packagem::Net_vethType

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

Overview

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

id - SOAP::SOAPString
ip_address - Virtuozzo::SOAP::Types::Packagem::Ip_addressType
dhcp - (any)
network_id - SOAP::SOAPBase64
status - Virtuozzo::SOAP::Types::Packagem::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.



2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2313

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.



2310
2311
2312
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2310

def default_gateway
  @default_gateway
end

#dhcpObject

Returns the value of attribute dhcp.



2304
2305
2306
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2304

def dhcp
  @dhcp
end

#host_routedObject

Returns the value of attribute host_routed.



2311
2312
2313
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2311

def host_routed
  @host_routed
end

#idObject

Returns the value of attribute id.



2302
2303
2304
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2302

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



2303
2304
2305
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2303

def ip_address
  @ip_address
end

#mac_addressObject

Returns the value of attribute mac_address.



2307
2308
2309
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2307

def mac_address
  @mac_address
end

#nameserverObject

Returns the value of attribute nameserver.



2309
2310
2311
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2309

def nameserver
  @nameserver
end

#network_idObject

Returns the value of attribute network_id.



2305
2306
2307
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2305

def network_id
  @network_id
end

#statusObject

Returns the value of attribute status.



2306
2307
2308
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2306

def status
  @status
end

#wins_serverObject

Returns the value of attribute wins_server.



2308
2309
2310
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2308

def wins_server
  @wins_server
end