Class: Hpe3parSdk::Agent

Inherits:
Object
  • Object
show all
Defined in:
lib/Hpe3parSdk/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_hash) ⇒ Agent

Returns a new instance of Agent.



1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
# File 'lib/Hpe3parSdk/models.rb', line 1516

def initialize(object_hash)
  if object_hash == nil
    return
  end

  self.reported_name = object_hash['reportedName']

  self.ipaddr = object_hash['IPAddr']

  self.architecture = object_hash['architecture']

  self.os = object_hash['os']

  self.os_version = object_hash['osVersion']

  self.os_patch = object_hash['osPatch']

  self.multi_path_software = object_hash['multiPathSoftware']

  self.multi_path_software_version = object_hash['multiPathSoftwareVersion']

  self.cluster_name = object_hash['clusterName']

  self.cluster_software = object_hash['clusterSoftware']

  self.cluster_version = object_hash['clusterVersion']

  self.cluster_id = object_hash['clusterId']

  self.hosted = object_hash['hosted']

end

Instance Attribute Details

#architectureObject

type - String

The architecture description of the host agent.



1474
1475
1476
# File 'lib/Hpe3parSdk/models.rb', line 1474

def architecture
  @architecture
end

#cluster_idObject

type - String

Identifier for the cluster.



1510
1511
1512
# File 'lib/Hpe3parSdk/models.rb', line 1510

def cluster_id
  @cluster_id
end

#cluster_nameObject

type - String

Name of the host cluster of which the host is a member.



1498
1499
1500
# File 'lib/Hpe3parSdk/models.rb', line 1498

def cluster_name
  @cluster_name
end

#cluster_softwareObject

type - String

Host clustering software in use on host.



1502
1503
1504
# File 'lib/Hpe3parSdk/models.rb', line 1502

def cluster_software
  @cluster_software
end

#cluster_versionObject

type - String

Version of the host clustering software in use.



1506
1507
1508
# File 'lib/Hpe3parSdk/models.rb', line 1506

def cluster_version
  @cluster_version
end

#hostedObject

type - String

Identifier for the host agent.



1514
1515
1516
# File 'lib/Hpe3parSdk/models.rb', line 1514

def hosted
  @hosted
end

#ipaddrObject

type - String

The host agent IP address.



1470
1471
1472
# File 'lib/Hpe3parSdk/models.rb', line 1470

def ipaddr
  @ipaddr
end

#multi_path_softwareObject

type - String

The multipathing software in use by the host agent.



1490
1491
1492
# File 'lib/Hpe3parSdk/models.rb', line 1490

def multi_path_software
  @multi_path_software
end

#multi_path_software_versionObject

type - String

The multipathing software version.



1494
1495
1496
# File 'lib/Hpe3parSdk/models.rb', line 1494

def multi_path_software_version
  @multi_path_software_version
end

#osObject

type - String

Operating system of the host agent.



1478
1479
1480
# File 'lib/Hpe3parSdk/models.rb', line 1478

def os
  @os
end

#os_patchObject

type - String

The operating system patch level of host agent.



1486
1487
1488
# File 'lib/Hpe3parSdk/models.rb', line 1486

def os_patch
  @os_patch
end

#os_versionObject

type - String

The operating system version of the host agent.



1482
1483
1484
# File 'lib/Hpe3parSdk/models.rb', line 1482

def os_version
  @os_version
end

#reported_nameObject

type - String

The host name reported by the agent.



1466
1467
1468
# File 'lib/Hpe3parSdk/models.rb', line 1466

def reported_name
  @reported_name
end