Add NIC enumeration to InventoryManagement
Change-Id: I32e3d8ae5103d3a0f47a9d0aa3bb9464ff575d03
This commit is contained in:
parent
3e9d66173b
commit
157eba7a64
@ -170,6 +170,10 @@ list_memory
|
|||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
Returns a list of installed memory modules.
|
Returns a list of installed memory modules.
|
||||||
|
|
||||||
|
list_nics
|
||||||
|
~~~~~~~~~
|
||||||
|
Returns a list of NICs.
|
||||||
|
|
||||||
Job management
|
Job management
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -451,6 +451,18 @@ class DRACClient(object):
|
|||||||
|
|
||||||
return self._inventory_mgmt.list_memory()
|
return self._inventory_mgmt.list_memory()
|
||||||
|
|
||||||
|
def list_nics(self):
|
||||||
|
"""Returns a list of NICs
|
||||||
|
|
||||||
|
:returns: a list of NIC objects
|
||||||
|
:raises: WSManRequestFailure on request failures
|
||||||
|
:raises: WSManInvalidResponse when receiving invalid response
|
||||||
|
:raises: DRACOperationFailed on error reported back by the DRAC
|
||||||
|
interface
|
||||||
|
"""
|
||||||
|
|
||||||
|
return self._inventory_mgmt.list_nics()
|
||||||
|
|
||||||
|
|
||||||
class WSManClient(wsman.Client):
|
class WSManClient(wsman.Client):
|
||||||
"""Wrapper for wsman.Client with return value checking"""
|
"""Wrapper for wsman.Client with return value checking"""
|
||||||
|
@ -15,3 +15,6 @@
|
|||||||
POWER_ON = 'POWER_ON'
|
POWER_ON = 'POWER_ON'
|
||||||
POWER_OFF = 'POWER_OFF'
|
POWER_OFF = 'POWER_OFF'
|
||||||
REBOOT = 'REBOOT'
|
REBOOT = 'REBOOT'
|
||||||
|
|
||||||
|
# binary unit constants
|
||||||
|
UNITS_KI = 2 ** 10
|
||||||
|
@ -13,25 +13,55 @@
|
|||||||
|
|
||||||
import collections
|
import collections
|
||||||
|
|
||||||
|
from dracclient import constants
|
||||||
from dracclient.resources import uris
|
from dracclient.resources import uris
|
||||||
from dracclient import utils
|
from dracclient import utils
|
||||||
|
|
||||||
CPU = collections.namedtuple(
|
PRIMARY_STATUS = {
|
||||||
'CPU',
|
|
||||||
['id', 'cores', 'speed', 'ht_enabled', 'model', 'status', 'turbo_enabled',
|
|
||||||
'vt_enabled'])
|
|
||||||
|
|
||||||
Memory = collections.namedtuple(
|
|
||||||
'Memory',
|
|
||||||
['id', 'size', 'speed', 'manufacturer', 'model', 'status'])
|
|
||||||
|
|
||||||
PrimaryStatus = {
|
|
||||||
'0': 'Unknown',
|
'0': 'Unknown',
|
||||||
'1': 'OK',
|
'1': 'OK',
|
||||||
'2': 'Degraded',
|
'2': 'Degraded',
|
||||||
'3': 'Error'
|
'3': 'Error'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NIC_LINK_SPEED_MBPS = {
|
||||||
|
'0': None,
|
||||||
|
'1': 10,
|
||||||
|
'2': 100,
|
||||||
|
'3': 1000,
|
||||||
|
'4': 2.5 * constants.UNITS_KI,
|
||||||
|
'5': 10 * constants.UNITS_KI,
|
||||||
|
'6': 20 * constants.UNITS_KI,
|
||||||
|
'7': 40 * constants.UNITS_KI,
|
||||||
|
'8': 100 * constants.UNITS_KI,
|
||||||
|
'9': 25 * constants.UNITS_KI,
|
||||||
|
'10': 50 * constants.UNITS_KI
|
||||||
|
}
|
||||||
|
|
||||||
|
NIC_LINK_DUPLEX = {
|
||||||
|
'0': 'unknown',
|
||||||
|
'1': 'full duplex',
|
||||||
|
'2': 'half duplex'
|
||||||
|
}
|
||||||
|
|
||||||
|
NIC_MODE = {
|
||||||
|
'0': 'unknown',
|
||||||
|
'2': 'enabled',
|
||||||
|
'3': 'disabled'}
|
||||||
|
|
||||||
|
CPU = collections.namedtuple(
|
||||||
|
'CPU',
|
||||||
|
['id', 'cores', 'speed_mhz', 'ht_enabled', 'model', 'status',
|
||||||
|
'turbo_enabled', 'vt_enabled'])
|
||||||
|
|
||||||
|
Memory = collections.namedtuple(
|
||||||
|
'Memory',
|
||||||
|
['id', 'size', 'speed_mhz', 'manufacturer', 'model', 'status'])
|
||||||
|
|
||||||
|
NIC = collections.namedtuple(
|
||||||
|
'NIC',
|
||||||
|
['id', 'mac', 'model', 'speed_mbps', 'duplex', 'media_type'])
|
||||||
|
|
||||||
|
|
||||||
class InventoryManagement(object):
|
class InventoryManagement(object):
|
||||||
|
|
||||||
@ -63,10 +93,10 @@ class InventoryManagement(object):
|
|||||||
return CPU(
|
return CPU(
|
||||||
id=self._get_cpu_attr(cpu, 'FQDD'),
|
id=self._get_cpu_attr(cpu, 'FQDD'),
|
||||||
cores=int(self._get_cpu_attr(cpu, 'NumberOfProcessorCores')),
|
cores=int(self._get_cpu_attr(cpu, 'NumberOfProcessorCores')),
|
||||||
speed=int(self._get_cpu_attr(cpu, 'CurrentClockSpeed')),
|
speed_mhz=int(self._get_cpu_attr(cpu, 'CurrentClockSpeed')),
|
||||||
ht_enabled=bool(self._get_cpu_attr(cpu, 'HyperThreadingEnabled')),
|
ht_enabled=bool(self._get_cpu_attr(cpu, 'HyperThreadingEnabled')),
|
||||||
model=self._get_cpu_attr(cpu, 'Model'),
|
model=self._get_cpu_attr(cpu, 'Model'),
|
||||||
status=PrimaryStatus[self._get_cpu_attr(cpu, 'PrimaryStatus')],
|
status=PRIMARY_STATUS[self._get_cpu_attr(cpu, 'PrimaryStatus')],
|
||||||
turbo_enabled=bool(self._get_cpu_attr(cpu, 'TurboModeEnabled')),
|
turbo_enabled=bool(self._get_cpu_attr(cpu, 'TurboModeEnabled')),
|
||||||
vt_enabled=bool(self._get_cpu_attr(cpu,
|
vt_enabled=bool(self._get_cpu_attr(cpu,
|
||||||
'VirtualizationTechnologyEnabled'))
|
'VirtualizationTechnologyEnabled'))
|
||||||
@ -96,14 +126,47 @@ class InventoryManagement(object):
|
|||||||
def _parse_memory(self, memory):
|
def _parse_memory(self, memory):
|
||||||
return Memory(id=self._get_memory_attr(memory, 'FQDD'),
|
return Memory(id=self._get_memory_attr(memory, 'FQDD'),
|
||||||
size=int(self._get_memory_attr(memory, 'Size')),
|
size=int(self._get_memory_attr(memory, 'Size')),
|
||||||
speed=int(self._get_memory_attr(memory, 'Speed')),
|
speed_mhz=int(self._get_memory_attr(memory, 'Speed')),
|
||||||
manufacturer=self._get_memory_attr(memory,
|
manufacturer=self._get_memory_attr(memory,
|
||||||
'Manufacturer'),
|
'Manufacturer'),
|
||||||
model=self._get_memory_attr(memory, 'Model'),
|
model=self._get_memory_attr(memory, 'Model'),
|
||||||
status=PrimaryStatus[self._get_memory_attr(
|
status=PRIMARY_STATUS[self._get_memory_attr(
|
||||||
memory,
|
memory,
|
||||||
'PrimaryStatus')])
|
'PrimaryStatus')])
|
||||||
|
|
||||||
def _get_memory_attr(self, memory, attr_name):
|
def _get_memory_attr(self, memory, attr_name):
|
||||||
return utils.get_wsman_resource_attr(memory, uris.DCIM_MemoryView,
|
return utils.get_wsman_resource_attr(memory, uris.DCIM_MemoryView,
|
||||||
attr_name)
|
attr_name)
|
||||||
|
|
||||||
|
def list_nics(self):
|
||||||
|
"""Returns the list of NICs
|
||||||
|
|
||||||
|
:returns: a list of NIC objects
|
||||||
|
:raises: WSManRequestFailure on request failures
|
||||||
|
:raises: WSManInvalidResponse when receiving invalid response
|
||||||
|
:raises: DRACOperationFailed on error reported back by the DRAC
|
||||||
|
interface
|
||||||
|
"""
|
||||||
|
|
||||||
|
doc = self.client.enumerate(uris.DCIM_NICView)
|
||||||
|
drac_nics = utils.find_xml(doc, 'DCIM_NICView', uris.DCIM_NICView,
|
||||||
|
find_all=True)
|
||||||
|
|
||||||
|
return [self._parse_drac_nic(nic) for nic in drac_nics]
|
||||||
|
|
||||||
|
def _parse_drac_nic(self, drac_nic):
|
||||||
|
fqdd = self._get_nic_attr(drac_nic, 'FQDD')
|
||||||
|
drac_speed = self._get_nic_attr(drac_nic, 'LinkSpeed')
|
||||||
|
drac_duplex = self._get_nic_attr(drac_nic, 'LinkDuplex')
|
||||||
|
|
||||||
|
return NIC(
|
||||||
|
id=fqdd,
|
||||||
|
mac=self._get_nic_attr(drac_nic, 'CurrentMACAddress'),
|
||||||
|
model=self._get_nic_attr(drac_nic, 'ProductName'),
|
||||||
|
speed_mbps=NIC_LINK_SPEED_MBPS[drac_speed],
|
||||||
|
duplex=NIC_LINK_DUPLEX[drac_duplex],
|
||||||
|
media_type=self._get_nic_attr(drac_nic, 'MediaType'))
|
||||||
|
|
||||||
|
def _get_nic_attr(self, drac_nic, attr_name):
|
||||||
|
return utils.get_wsman_resource_attr(drac_nic, uris.DCIM_NICView,
|
||||||
|
attr_name)
|
||||||
|
@ -49,6 +49,9 @@ DCIM_LifecycleJob = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
|||||||
DCIM_MemoryView = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
DCIM_MemoryView = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
||||||
'DCIM_MemoryView')
|
'DCIM_MemoryView')
|
||||||
|
|
||||||
|
DCIM_NICView = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
||||||
|
'DCIM_NICView')
|
||||||
|
|
||||||
DCIM_PhysicalDiskView = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
DCIM_PhysicalDiskView = ('http://schemas.dell.com/wbem/wscim/1/cim-schema/2/'
|
||||||
'DCIM_PhysicalDiskView')
|
'DCIM_PhysicalDiskView')
|
||||||
|
|
||||||
|
@ -1046,6 +1046,92 @@ class ClientRAIDManagementTestCase(base.BaseTest):
|
|||||||
cim_name='DCIM:RAIDService', target='controller')
|
cim_name='DCIM:RAIDService', target='controller')
|
||||||
|
|
||||||
|
|
||||||
|
@requests_mock.Mocker()
|
||||||
|
class ClientInventoryManagementTestCase(base.BaseTest):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
super(ClientInventoryManagementTestCase, self).setUp()
|
||||||
|
self.drac_client = dracclient.client.DRACClient(
|
||||||
|
**test_utils.FAKE_ENDPOINT)
|
||||||
|
|
||||||
|
def test_list_cpus(self, mock_requests):
|
||||||
|
expected_cpu = [inventory.CPU(
|
||||||
|
id='CPU.Socket.1',
|
||||||
|
cores=6,
|
||||||
|
speed_mhz=2400,
|
||||||
|
ht_enabled=True,
|
||||||
|
model='Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz',
|
||||||
|
status='OK',
|
||||||
|
turbo_enabled=True,
|
||||||
|
vt_enabled=True
|
||||||
|
)]
|
||||||
|
|
||||||
|
mock_requests.post(
|
||||||
|
'https://1.2.3.4:443/wsman',
|
||||||
|
text=test_utils.InventoryEnumerations[uris.DCIM_CPUView]['ok'])
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
expected_cpu,
|
||||||
|
self.drac_client.list_cpus())
|
||||||
|
|
||||||
|
def test_list_memory(self, mock_requests):
|
||||||
|
expected_memory = [inventory.Memory(
|
||||||
|
id='DIMM.Socket.A1',
|
||||||
|
size=16384,
|
||||||
|
speed_mhz=2133,
|
||||||
|
manufacturer='Samsung',
|
||||||
|
model='DDR4 DIMM',
|
||||||
|
status='OK',
|
||||||
|
)]
|
||||||
|
|
||||||
|
mock_requests.post(
|
||||||
|
'https://1.2.3.4:443/wsman',
|
||||||
|
text=test_utils.InventoryEnumerations[uris.DCIM_MemoryView]['ok'])
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
expected_memory,
|
||||||
|
self.drac_client.list_memory())
|
||||||
|
|
||||||
|
def test_list_nics(self, mock_requests):
|
||||||
|
expected_nics = [
|
||||||
|
inventory.NIC(
|
||||||
|
id='NIC.Embedded.1-1-1',
|
||||||
|
mac='B0:83:FE:C6:6F:A1',
|
||||||
|
model='Broadcom Gigabit Ethernet BCM5720 - B0:83:FE:C6:6F:A1',
|
||||||
|
speed_mbps=1000,
|
||||||
|
duplex='full duplex',
|
||||||
|
media_type='Base T'),
|
||||||
|
inventory.NIC(
|
||||||
|
id='NIC.Slot.2-1-1',
|
||||||
|
mac='A0:36:9F:52:7D:1E',
|
||||||
|
model='Intel(R) Gigabit 2P I350-t Adapter - A0:36:9F:52:7D:1E',
|
||||||
|
speed_mbps=1000,
|
||||||
|
duplex='full duplex',
|
||||||
|
media_type='Base T'),
|
||||||
|
inventory.NIC(
|
||||||
|
id='NIC.Slot.2-2-1',
|
||||||
|
mac='A0:36:9F:52:7D:1F',
|
||||||
|
model='Intel(R) Gigabit 2P I350-t Adapter - A0:36:9F:52:7D:1F',
|
||||||
|
speed_mbps=1000,
|
||||||
|
duplex='full duplex',
|
||||||
|
media_type='Base T'),
|
||||||
|
inventory.NIC(
|
||||||
|
id='NIC.Embedded.2-1-1',
|
||||||
|
mac='B0:83:FE:C6:6F:A2',
|
||||||
|
model='Broadcom Gigabit Ethernet BCM5720 - B0:83:FE:C6:6F:A2',
|
||||||
|
speed_mbps=1000,
|
||||||
|
duplex='full duplex',
|
||||||
|
media_type='Base T')]
|
||||||
|
|
||||||
|
mock_requests.post(
|
||||||
|
'https://1.2.3.4:443/wsman',
|
||||||
|
text=test_utils.InventoryEnumerations[uris.DCIM_NICView]['ok'])
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
expected_nics,
|
||||||
|
self.drac_client.list_nics())
|
||||||
|
|
||||||
|
|
||||||
@requests_mock.Mocker()
|
@requests_mock.Mocker()
|
||||||
class WSManClientTestCase(base.BaseTest):
|
class WSManClientTestCase(base.BaseTest):
|
||||||
|
|
||||||
@ -1110,59 +1196,3 @@ class WSManClientTestCase(base.BaseTest):
|
|||||||
self.assertRaises(exceptions.DRACUnexpectedReturnValue, client.invoke,
|
self.assertRaises(exceptions.DRACUnexpectedReturnValue, client.invoke,
|
||||||
'http://resource', 'Foo',
|
'http://resource', 'Foo',
|
||||||
expected_return_value='4242')
|
expected_return_value='4242')
|
||||||
|
|
||||||
|
|
||||||
@requests_mock.Mocker()
|
|
||||||
class ClientCPUTestCase(base.BaseTest):
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
super(ClientCPUTestCase, self).setUp()
|
|
||||||
self.drac_client = dracclient.client.DRACClient(
|
|
||||||
**test_utils.FAKE_ENDPOINT)
|
|
||||||
|
|
||||||
def test_list_cpus(self, mock_requests):
|
|
||||||
expected_cpu = [inventory.CPU(
|
|
||||||
id='CPU.Socket.1',
|
|
||||||
cores=6,
|
|
||||||
speed=2400,
|
|
||||||
ht_enabled=True,
|
|
||||||
model='Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz',
|
|
||||||
status='OK',
|
|
||||||
turbo_enabled=True,
|
|
||||||
vt_enabled=True
|
|
||||||
)]
|
|
||||||
|
|
||||||
mock_requests.post(
|
|
||||||
'https://1.2.3.4:443/wsman',
|
|
||||||
text=test_utils.CPUEnumerations[uris.DCIM_CPUView]['ok'])
|
|
||||||
|
|
||||||
self.assertEqual(
|
|
||||||
expected_cpu,
|
|
||||||
self.drac_client.list_cpus())
|
|
||||||
|
|
||||||
|
|
||||||
@requests_mock.Mocker()
|
|
||||||
class ClientMemoryestCase(base.BaseTest):
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
super(ClientMemoryestCase, self).setUp()
|
|
||||||
self.drac_client = dracclient.client.DRACClient(
|
|
||||||
**test_utils.FAKE_ENDPOINT)
|
|
||||||
|
|
||||||
def test_list_memory(self, mock_requests):
|
|
||||||
expected_memory = [inventory.Memory(
|
|
||||||
id='DIMM.Socket.A1',
|
|
||||||
size=16384,
|
|
||||||
speed=2133,
|
|
||||||
manufacturer='Samsung',
|
|
||||||
model='DDR4 DIMM',
|
|
||||||
status='OK',
|
|
||||||
)]
|
|
||||||
|
|
||||||
mock_requests.post(
|
|
||||||
'https://1.2.3.4:443/wsman',
|
|
||||||
text=test_utils.MemoryEnumerations[uris.DCIM_MemoryView]['ok'])
|
|
||||||
|
|
||||||
self.assertEqual(
|
|
||||||
expected_memory,
|
|
||||||
self.drac_client.list_memory())
|
|
||||||
|
@ -97,9 +97,15 @@ BIOSInvocations = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CPUEnumerations = {
|
InventoryEnumerations = {
|
||||||
uris.DCIM_CPUView: {
|
uris.DCIM_CPUView: {
|
||||||
'ok': load_wsman_xml('cpu-enumeration-enum-ok')
|
'ok': load_wsman_xml('cpu-enumeration-enum-ok')
|
||||||
|
},
|
||||||
|
uris.DCIM_MemoryView: {
|
||||||
|
'ok': load_wsman_xml('memory-enumeration-enum-ok')
|
||||||
|
},
|
||||||
|
uris.DCIM_NICView: {
|
||||||
|
'ok': load_wsman_xml('nic_view-enum-ok')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,12 +139,6 @@ LifecycleControllerEnumerations = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
MemoryEnumerations = {
|
|
||||||
uris.DCIM_MemoryView: {
|
|
||||||
'ok': load_wsman_xml('memory-enumeration-enum-ok')
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
RAIDEnumerations = {
|
RAIDEnumerations = {
|
||||||
uris.DCIM_ControllerView: {
|
uris.DCIM_ControllerView: {
|
||||||
'ok': load_wsman_xml('controller_view-enum-ok')
|
'ok': load_wsman_xml('controller_view-enum-ok')
|
||||||
|
189
dracclient/tests/wsman_mocks/nic_view-enum-ok.xml
Normal file
189
dracclient/tests/wsman_mocks/nic_view-enum-ok.xml
Normal file
@ -0,0 +1,189 @@
|
|||||||
|
<s:Envelope xmlns:n1="http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_NICView"
|
||||||
|
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
|
||||||
|
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
||||||
|
xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
|
||||||
|
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<s:Header>
|
||||||
|
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
||||||
|
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</wsa:Action>
|
||||||
|
<wsa:RelatesTo>uuid:c31a0567-63f6-4a58-8379-b4ea037a18a6</wsa:RelatesTo>
|
||||||
|
<wsa:MessageID>uuid:94e955b1-371f-171f-94f8-a36fc6fe83b0</wsa:MessageID>
|
||||||
|
</s:Header>
|
||||||
|
<s:Body>
|
||||||
|
<wsen:EnumerateResponse>
|
||||||
|
<wsman:Items>
|
||||||
|
<n1:DCIM_NICView>
|
||||||
|
<n1:AutoNegotiation>2</n1:AutoNegotiation>
|
||||||
|
<n1:BusNumber>2</n1:BusNumber>
|
||||||
|
<n1:ControllerBIOSVersion>1.34</n1:ControllerBIOSVersion>
|
||||||
|
<n1:CurrentMACAddress>B0:83:FE:C6:6F:A1</n1:CurrentMACAddress>
|
||||||
|
<n1:DataBusWidth>0002</n1:DataBusWidth>
|
||||||
|
<n1:DeviceDescription>Embedded NIC 1 Port 1 Partition 1</n1:DeviceDescription>
|
||||||
|
<n1:DeviceNumber>0</n1:DeviceNumber>
|
||||||
|
<n1:EFIVersion>16.4.14</n1:EFIVersion>
|
||||||
|
<n1:FCoEOffloadMode>3</n1:FCoEOffloadMode>
|
||||||
|
<n1:FCoEWWNN/>
|
||||||
|
<n1:FQDD>NIC.Embedded.1-1-1</n1:FQDD>
|
||||||
|
<n1:FamilyVersion>7.10.17</n1:FamilyVersion>
|
||||||
|
<n1:FunctionNumber>0</n1:FunctionNumber>
|
||||||
|
<n1:InstanceID>NIC.Embedded.1-1-1</n1:InstanceID>
|
||||||
|
<n1:LastSystemInventoryTime>20151126211205.000000+000</n1:LastSystemInventoryTime>
|
||||||
|
<n1:LastUpdateTime>20141017011300.000000+000</n1:LastUpdateTime>
|
||||||
|
<n1:LinkDuplex>1</n1:LinkDuplex>
|
||||||
|
<n1:LinkSpeed>3</n1:LinkSpeed>
|
||||||
|
<n1:MaxBandwidth>0</n1:MaxBandwidth>
|
||||||
|
<n1:MediaType>Base T</n1:MediaType>
|
||||||
|
<n1:MinBandwidth>0</n1:MinBandwidth>
|
||||||
|
<n1:NicMode>3</n1:NicMode>
|
||||||
|
<n1:PCIDeviceID>165f</n1:PCIDeviceID>
|
||||||
|
<n1:PCISubDeviceID>04f7</n1:PCISubDeviceID>
|
||||||
|
<n1:PCISubVendorID>1028</n1:PCISubVendorID>
|
||||||
|
<n1:PCIVendorID>14e4</n1:PCIVendorID>
|
||||||
|
<n1:PermanentFCOEMACAddress/>
|
||||||
|
<n1:PermanentMACAddress>B0:83:FE:C6:6F:A1</n1:PermanentMACAddress>
|
||||||
|
<n1:PermanentiSCSIMACAddress/>
|
||||||
|
<n1:ProductName>Broadcom Gigabit Ethernet BCM5720 - B0:83:FE:C6:6F:A1</n1:ProductName>
|
||||||
|
<n1:ReceiveFlowControl>2</n1:ReceiveFlowControl>
|
||||||
|
<n1:SlotLength>0002</n1:SlotLength>
|
||||||
|
<n1:SlotType>0002</n1:SlotType>
|
||||||
|
<n1:TransmitFlowControl>2</n1:TransmitFlowControl>
|
||||||
|
<n1:VendorName>Broadcom Corp</n1:VendorName>
|
||||||
|
<n1:VirtWWN xsi:nil="true"/>
|
||||||
|
<n1:VirtWWPN xsi:nil="true"/>
|
||||||
|
<n1:WWN xsi:nil="true"/>
|
||||||
|
<n1:WWPN xsi:nil="true"/>
|
||||||
|
<n1:iScsiOffloadMode>3</n1:iScsiOffloadMode>
|
||||||
|
</n1:DCIM_NICView>
|
||||||
|
<n1:DCIM_NICView>
|
||||||
|
<n1:AutoNegotiation>2</n1:AutoNegotiation>
|
||||||
|
<n1:BusNumber>8</n1:BusNumber>
|
||||||
|
<n1:ControllerBIOSVersion xsi:nil="true"/>
|
||||||
|
<n1:CurrentMACAddress>A0:36:9F:52:7D:1E</n1:CurrentMACAddress>
|
||||||
|
<n1:DataBusWidth>000D</n1:DataBusWidth>
|
||||||
|
<n1:DeviceDescription>NIC in Slot 2 Port 1 Partition 1</n1:DeviceDescription>
|
||||||
|
<n1:DeviceNumber>0</n1:DeviceNumber>
|
||||||
|
<n1:EFIVersion xsi:nil="true"/>
|
||||||
|
<n1:FCoEOffloadMode>3</n1:FCoEOffloadMode>
|
||||||
|
<n1:FCoEWWNN/>
|
||||||
|
<n1:FQDD>NIC.Slot.2-1-1</n1:FQDD>
|
||||||
|
<n1:FamilyVersion>16.0.22</n1:FamilyVersion>
|
||||||
|
<n1:FunctionNumber>0</n1:FunctionNumber>
|
||||||
|
<n1:InstanceID>NIC.Slot.2-1-1</n1:InstanceID>
|
||||||
|
<n1:LastSystemInventoryTime>20151126211205.000000+000</n1:LastSystemInventoryTime>
|
||||||
|
<n1:LastUpdateTime>20150114205015.000000+000</n1:LastUpdateTime>
|
||||||
|
<n1:LinkDuplex>1</n1:LinkDuplex>
|
||||||
|
<n1:LinkSpeed>3</n1:LinkSpeed>
|
||||||
|
<n1:MaxBandwidth>0</n1:MaxBandwidth>
|
||||||
|
<n1:MediaType>Base T</n1:MediaType>
|
||||||
|
<n1:MinBandwidth>0</n1:MinBandwidth>
|
||||||
|
<n1:NicMode>3</n1:NicMode>
|
||||||
|
<n1:PCIDeviceID>1521</n1:PCIDeviceID>
|
||||||
|
<n1:PCISubDeviceID>5002</n1:PCISubDeviceID>
|
||||||
|
<n1:PCISubVendorID>8086</n1:PCISubVendorID>
|
||||||
|
<n1:PCIVendorID>8086</n1:PCIVendorID>
|
||||||
|
<n1:PermanentFCOEMACAddress/>
|
||||||
|
<n1:PermanentMACAddress>A0:36:9F:52:7D:1E</n1:PermanentMACAddress>
|
||||||
|
<n1:PermanentiSCSIMACAddress/>
|
||||||
|
<n1:ProductName>Intel(R) Gigabit 2P I350-t Adapter - A0:36:9F:52:7D:1E</n1:ProductName>
|
||||||
|
<n1:ReceiveFlowControl>2</n1:ReceiveFlowControl>
|
||||||
|
<n1:SlotLength>0004</n1:SlotLength>
|
||||||
|
<n1:SlotType>00B1</n1:SlotType>
|
||||||
|
<n1:TransmitFlowControl>3</n1:TransmitFlowControl>
|
||||||
|
<n1:VendorName>Intel Corp</n1:VendorName>
|
||||||
|
<n1:VirtWWN xsi:nil="true"/>
|
||||||
|
<n1:VirtWWPN xsi:nil="true"/>
|
||||||
|
<n1:WWN xsi:nil="true"/>
|
||||||
|
<n1:WWPN xsi:nil="true"/>
|
||||||
|
<n1:iScsiOffloadMode>3</n1:iScsiOffloadMode>
|
||||||
|
</n1:DCIM_NICView>
|
||||||
|
<n1:DCIM_NICView>
|
||||||
|
<n1:AutoNegotiation>2</n1:AutoNegotiation>
|
||||||
|
<n1:BusNumber>8</n1:BusNumber>
|
||||||
|
<n1:ControllerBIOSVersion xsi:nil="true"/>
|
||||||
|
<n1:CurrentMACAddress>A0:36:9F:52:7D:1F</n1:CurrentMACAddress>
|
||||||
|
<n1:DataBusWidth>000D</n1:DataBusWidth>
|
||||||
|
<n1:DeviceDescription>NIC in Slot 2 Port 2 Partition 1</n1:DeviceDescription>
|
||||||
|
<n1:DeviceNumber>0</n1:DeviceNumber>
|
||||||
|
<n1:EFIVersion xsi:nil="true"/>
|
||||||
|
<n1:FCoEOffloadMode>3</n1:FCoEOffloadMode>
|
||||||
|
<n1:FCoEWWNN/>
|
||||||
|
<n1:FQDD>NIC.Slot.2-2-1</n1:FQDD>
|
||||||
|
<n1:FamilyVersion>16.0.22</n1:FamilyVersion>
|
||||||
|
<n1:FunctionNumber>1</n1:FunctionNumber>
|
||||||
|
<n1:InstanceID>NIC.Slot.2-2-1</n1:InstanceID>
|
||||||
|
<n1:LastSystemInventoryTime>20151126211205.000000+000</n1:LastSystemInventoryTime>
|
||||||
|
<n1:LastUpdateTime>20150114205015.000000+000</n1:LastUpdateTime>
|
||||||
|
<n1:LinkDuplex>1</n1:LinkDuplex>
|
||||||
|
<n1:LinkSpeed>3</n1:LinkSpeed>
|
||||||
|
<n1:MaxBandwidth>0</n1:MaxBandwidth>
|
||||||
|
<n1:MediaType>Base T</n1:MediaType>
|
||||||
|
<n1:MinBandwidth>0</n1:MinBandwidth>
|
||||||
|
<n1:NicMode>3</n1:NicMode>
|
||||||
|
<n1:PCIDeviceID>1521</n1:PCIDeviceID>
|
||||||
|
<n1:PCISubDeviceID>5002</n1:PCISubDeviceID>
|
||||||
|
<n1:PCISubVendorID>8086</n1:PCISubVendorID>
|
||||||
|
<n1:PCIVendorID>8086</n1:PCIVendorID>
|
||||||
|
<n1:PermanentFCOEMACAddress/>
|
||||||
|
<n1:PermanentMACAddress>A0:36:9F:52:7D:1F</n1:PermanentMACAddress>
|
||||||
|
<n1:PermanentiSCSIMACAddress/>
|
||||||
|
<n1:ProductName>Intel(R) Gigabit 2P I350-t Adapter - A0:36:9F:52:7D:1F</n1:ProductName>
|
||||||
|
<n1:ReceiveFlowControl>2</n1:ReceiveFlowControl>
|
||||||
|
<n1:SlotLength>0004</n1:SlotLength>
|
||||||
|
<n1:SlotType>00B1</n1:SlotType>
|
||||||
|
<n1:TransmitFlowControl>3</n1:TransmitFlowControl>
|
||||||
|
<n1:VendorName>Intel Corp</n1:VendorName>
|
||||||
|
<n1:VirtWWN xsi:nil="true"/>
|
||||||
|
<n1:VirtWWPN xsi:nil="true"/>
|
||||||
|
<n1:WWN xsi:nil="true"/>
|
||||||
|
<n1:WWPN xsi:nil="true"/>
|
||||||
|
<n1:iScsiOffloadMode>3</n1:iScsiOffloadMode>
|
||||||
|
</n1:DCIM_NICView>
|
||||||
|
<n1:DCIM_NICView>
|
||||||
|
<n1:AutoNegotiation>2</n1:AutoNegotiation>
|
||||||
|
<n1:BusNumber>2</n1:BusNumber>
|
||||||
|
<n1:ControllerBIOSVersion>1.34</n1:ControllerBIOSVersion>
|
||||||
|
<n1:CurrentMACAddress>B0:83:FE:C6:6F:A2</n1:CurrentMACAddress>
|
||||||
|
<n1:DataBusWidth>0002</n1:DataBusWidth>
|
||||||
|
<n1:DeviceDescription>Embedded NIC 2 Port 1 Partition 1</n1:DeviceDescription>
|
||||||
|
<n1:DeviceNumber>0</n1:DeviceNumber>
|
||||||
|
<n1:EFIVersion>16.4.14</n1:EFIVersion>
|
||||||
|
<n1:FCoEOffloadMode>3</n1:FCoEOffloadMode>
|
||||||
|
<n1:FCoEWWNN/>
|
||||||
|
<n1:FQDD>NIC.Embedded.2-1-1</n1:FQDD>
|
||||||
|
<n1:FamilyVersion>7.10.17</n1:FamilyVersion>
|
||||||
|
<n1:FunctionNumber>1</n1:FunctionNumber>
|
||||||
|
<n1:InstanceID>NIC.Embedded.2-1-1</n1:InstanceID>
|
||||||
|
<n1:LastSystemInventoryTime>20151126211205.000000+000</n1:LastSystemInventoryTime>
|
||||||
|
<n1:LastUpdateTime>20150114205015.000000+000</n1:LastUpdateTime>
|
||||||
|
<n1:LinkDuplex>1</n1:LinkDuplex>
|
||||||
|
<n1:LinkSpeed>3</n1:LinkSpeed>
|
||||||
|
<n1:MaxBandwidth>0</n1:MaxBandwidth>
|
||||||
|
<n1:MediaType>Base T</n1:MediaType>
|
||||||
|
<n1:MinBandwidth>0</n1:MinBandwidth>
|
||||||
|
<n1:NicMode>3</n1:NicMode>
|
||||||
|
<n1:PCIDeviceID>165f</n1:PCIDeviceID>
|
||||||
|
<n1:PCISubDeviceID>04f7</n1:PCISubDeviceID>
|
||||||
|
<n1:PCISubVendorID>1028</n1:PCISubVendorID>
|
||||||
|
<n1:PCIVendorID>14e4</n1:PCIVendorID>
|
||||||
|
<n1:PermanentFCOEMACAddress/>
|
||||||
|
<n1:PermanentMACAddress>B0:83:FE:C6:6F:A2</n1:PermanentMACAddress>
|
||||||
|
<n1:PermanentiSCSIMACAddress/>
|
||||||
|
<n1:ProductName>Broadcom Gigabit Ethernet BCM5720 - B0:83:FE:C6:6F:A2</n1:ProductName>
|
||||||
|
<n1:ReceiveFlowControl>2</n1:ReceiveFlowControl>
|
||||||
|
<n1:SlotLength>0002</n1:SlotLength>
|
||||||
|
<n1:SlotType>0002</n1:SlotType>
|
||||||
|
<n1:TransmitFlowControl>2</n1:TransmitFlowControl>
|
||||||
|
<n1:VendorName>Broadcom Corp</n1:VendorName>
|
||||||
|
<n1:VirtWWN xsi:nil="true"/>
|
||||||
|
<n1:VirtWWPN xsi:nil="true"/>
|
||||||
|
<n1:WWN xsi:nil="true"/>
|
||||||
|
<n1:WWPN xsi:nil="true"/>
|
||||||
|
<n1:iScsiOffloadMode>3</n1:iScsiOffloadMode>
|
||||||
|
</n1:DCIM_NICView>
|
||||||
|
</wsman:Items>
|
||||||
|
<wsen:EnumerationContext/>
|
||||||
|
<wsman:EndOfSequence/>
|
||||||
|
</wsen:EnumerateResponse>
|
||||||
|
</s:Body>
|
||||||
|
</s:Envelope>
|
Loading…
Reference in New Issue
Block a user