Class: Virtuozzo::SOAP::Types::Devm::Net_vethType

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

Overview

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

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



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
# File 'lib/virtuozzo/soap/types/devm.rb', line 2265

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.



2262
2263
2264
# File 'lib/virtuozzo/soap/types/devm.rb', line 2262

def default_gateway
  @default_gateway
end

#dhcpObject

Returns the value of attribute dhcp.



2256
2257
2258
# File 'lib/virtuozzo/soap/types/devm.rb', line 2256

def dhcp
  @dhcp
end

#host_routedObject

Returns the value of attribute host_routed.



2263
2264
2265
# File 'lib/virtuozzo/soap/types/devm.rb', line 2263

def host_routed
  @host_routed
end

#idObject

Returns the value of attribute id.



2254
2255
2256
# File 'lib/virtuozzo/soap/types/devm.rb', line 2254

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



2255
2256
2257
# File 'lib/virtuozzo/soap/types/devm.rb', line 2255

def ip_address
  @ip_address
end

#mac_addressObject

Returns the value of attribute mac_address.



2259
2260
2261
# File 'lib/virtuozzo/soap/types/devm.rb', line 2259

def mac_address
  @mac_address
end

#nameserverObject

Returns the value of attribute nameserver.



2261
2262
2263
# File 'lib/virtuozzo/soap/types/devm.rb', line 2261

def nameserver
  @nameserver
end

#network_idObject

Returns the value of attribute network_id.



2257
2258
2259
# File 'lib/virtuozzo/soap/types/devm.rb', line 2257

def network_id
  @network_id
end

#statusObject

Returns the value of attribute status.



2258
2259
2260
# File 'lib/virtuozzo/soap/types/devm.rb', line 2258

def status
  @status
end

#wins_serverObject

Returns the value of attribute wins_server.



2260
2261
2262
# File 'lib/virtuozzo/soap/types/devm.rb', line 2260

def wins_server
  @wins_server
end