paladin-projects / partsurfer

Fetch spare parts from HPE Partsurfer
GNU General Public License v3.0
0 stars 1 forks source link

Implement search for serial numbers with choice #6

Closed tzong closed 6 months ago

tzong commented 6 months ago

Some serial numbers provide page with choice of particular product, since serial numbers are either duplicate, or apply to both system and its component. Proposal is for defining search for such a serial numbers with product number and serial number separated with colon:

$ ./partsurfer.py -s XXX Several products found for serial XXX: ['A9958AR - HP Srv rp8440 Base Chassis Reman Solutio', 'AB446A - HP Server 32-way rx8640 Solution'] $ ./partsurfer -s A9958AR:XXX (search succeeds)