conn.provisioning.get_director_port cannot get mac address of a Gige port
Closed this issue · 6 comments
conn.provisioning.get_director_port
cannot get mac address of a Gige port.
{
"symmetrixPortKey": {
"directorId": "SE-1G",
"portId": "24"
},
"port_status": "ON",
"director_status": "Online",
"type": "GigE",
"num_of_cores": 6,
"negotiated_speed": "25",
"num_of_port_groups": 0,
"num_of_masking_views": 0,
"num_of_mapped_vols": 1249,
"aclx": false,
"common_serial_number": true,
"volume_set_addressing": false,
"vnx_attached": false,
"avoid_reset_broadcast": false,
"negotiate_reset": false,
"enable_auto_negotiate": false,
"environ_set": false,
"disable_q_reset_on_ua": false,
"soft_reset": false,
"scsi_3": false,
"scsi_support1": false,
"spc2_protocol_version": false,
"hp_3000_mode": false,
"sunapee": false,
"siemens": false,
"max_speed": "25",
"iscsi_target": false,
"ip_addresses": [
"173.16.11.111",
"173.16.21.111"
]
}
Is possible add the mac address to the response? Or is there any other function I missed? Thanks.
Thanks for the response, @rawstorage .
The version of PyU4V I installed is 9.2.1.4.
Name: PyU4V
Version: 9.2.1.4
Summary: A Python library for use with Dell EMC's Unisphere for PowerMax REST API.
Home-page: https://github.com/dell/PyU4V/
Author: Dell Inc. or its subsidiaries
And the Unisphere connected is version V9.2.0.6
The unisphere version is V9.2.0.6
Hi I have just verified this agains Unisphere 9.2.1.2 and MAC address is returned at this level, also you get the light levels.
{
"symmetrixPort": {
"symmetrixPortKey": {
"directorId": "SE-2F",
"portId": "9"
},
"port_status": "ON",
"director_status": "Online",
"type": "GigE",
"num_of_cores": 6,
"negotiated_speed": "25",
"mac_address": "00:60:48:4e:d2:85",
"num_of_port_groups": 0,
"num_of_masking_views": 0,
"num_of_mapped_vols": 0,
"aclx": false,
"common_serial_number": true,
"volume_set_addressing": false,
"vnx_attached": false,
"avoid_reset_broadcast": false,
"negotiate_reset": false,
"enable_auto_negotiate": false,
"environ_set": false,
"disable_q_reset_on_ua": false,
"soft_reset": true,
"scsi_3": false,
"scsi_support1": false,
"spc2_protocol_version": false,
"hp_3000_mode": false,
"sunapee": false,
"siemens": false,
"rx_power_level_mw": 42949.67295,
"tx_power_level_mw": 42949.67295,
"power_levels_last_sampled_date_milliseconds": 1623127739000,
"max_speed": "25",
"iscsi_target": false
}
}
OK, thanks @rawstorage , I will try to upgrade unisphere to 9.2.1.2