[Discovery-NetApp] Difference in serial number passed to payload than what is in pattern designer. Example NetApp storage node serial number


Description

Difference in serial number passed to payload than what is in pattern designer.  Causing the below issue:
1. NetApp storage discovery is updating the part_number type serial number on the node CI where as we expect to have cim_chassis

Actual:
Check cmdb_ci_storage_node_element table element contians part_number type serial number.

Expected:
Check cmdb_ci_storage_node_element table element contians cim_chassis type serial number.

Steps to Reproduce

Prerequisites:
Need Netapp SNMP Community (password only) credentials for discovery.

Steps:
1.Login into the application as admin.
2.Navigate to Discovery --> Discovery Schedules.
3.Click on Quick Discovery button.
4. Ran a quick Discovery for the Storage Cluster IP
5.Wait till discovery completes.
6.Once discovery completes go to cmdb_ci_storage_node_element table and note the serial number.
7.Copy the name of any of the recently discovered node element.
8.Navigate to cmdb_serial_number table.
9.Click on Configuration item column field and Paste name copied in step 6.
10.Note the serial numbers and serial number type attached to node the element.

Workaround

Import the attached XML of the Pre-Post processor scripts  "OSs - Pre Sensor" and "OSs - Pre Sensor - Netapp" and test.


Related Problem: PRB1420602