@@ -355,7 +355,7 @@ hmc_definition:
355355 adapter-port-uri : /api/adapters/fcp1
356356 partition-uri : /api/partitions/part1
357357
358- tape_library :
358+ tape_libraries :
359359 - properties :
360360 # class : created automatically
361361 # parent : created automatically
@@ -364,69 +364,70 @@ hmc_definition:
364364 name : Tape Library
365365 description : Tape Library resource 1
366366 cpc-uri : /api/cpcs/cpc_dpm
367- tape_links :
367+
368+ tape_links :
369+ - properties :
370+ # class: created automatically
371+ # parent: created automatically
372+ # object-uri: created automatically
373+ object-id : tlink1
374+ name : " Tape Link 1"
375+ cpc-uri : /api/cpcs/cpc_dpm
376+ description : " Tape link connecting Tape Library to PART1"
377+ tape-library-uri : /api/tape-libraries/tl1
378+ virtual_tape_resources :
379+ - properties :
380+ # class: created automatically
381+ # parent: created automatically
382+ # element-uri: created automatically
383+ element-id : vtr1
384+ name : " Virtual Tape Resource 1"
385+ description : " Virtual tape resource 1"
386+ device-number : " 0001"
387+ adapter-port-uri : /api/adapters/fcp1/storage-ports/0
388+ partition-uri : /api/partitions/part1
389+ world-wide-port-name-info :
390+ status : validated
391+ world-wide-port-name : " c05076ffe8000001"
392+ degraded-reasons : []
368393 - properties :
369394 # class: created automatically
370395 # parent: created automatically
371396 # element-uri: created automatically
372- element-id : tlink1
373- name : " Tape Link 1"
374- description : " Tape link connecting Tape Library to PART1"
397+ element-id : vtr2
398+ name : " Virtual Tape Resource 2"
399+ description : " Virtual tape resource 2"
400+ device-number : " 0002"
401+ adapter-port-uri : /api/adapters/fcp1/storage-ports/1
375402 partition-uri : /api/partitions/part1
376- tape-library-uri : /api/tape-libraries/tl1
377- virtual_tape_resources :
378- - properties :
379- # class: created automatically
380- # parent: created automatically
381- # element-uri: created automatically
382- element-id : vtr1
383- name : " Virtual Tape Resource 1"
384- description : " Virtual tape resource 1"
385- device-number : " 0001"
386- adapter-port-uri : /api/adapters/fcp1/storage-ports/0
387- partition-uri : /api/partitions/part1
388- world-wide-port-name-info :
389- status : validated
390- world-wide-port-name : " c05076ffe8000001"
391- degraded-reasons : []
392- - properties :
393- # class: created automatically
394- # parent: created automatically
395- # element-uri: created automatically
396- element-id : vtr2
397- name : " Virtual Tape Resource 2"
398- description : " Virtual tape resource 2"
399- device-number : " 0002"
400- adapter-port-uri : /api/adapters/fcp1/storage-ports/1
401- partition-uri : /api/partitions/part1
402- world-wide-port-name-info :
403- status : validated
404- world-wide-port-name : " c05076ffe8000002"
405- degraded-reasons : []
403+ world-wide-port-name-info :
404+ status : validated
405+ world-wide-port-name : " c05076ffe8000002"
406+ degraded-reasons : []
407+ - properties :
408+ # class: created automatically
409+ # parent: created automatically
410+ # object-uri: created automatically
411+ object-id : tlink2
412+ name : " Tape Link 2"
413+ cpc-uri : /api/cpcs/cpc_dpm
414+ description : " Tape link for testing"
415+ tape-library-uri : /api/tape-libraries/tl1
416+ virtual_tape_resources :
406417 - properties :
407418 # class: created automatically
408419 # parent: created automatically
409420 # element-uri: created automatically
410- element-id : tlink2
411- name : " Tape Link 2"
412- description : " Tape link for testing"
421+ element-id : vtr3
422+ name : " Virtual Tape Resource 3"
423+ description : " Virtual tape resource 3"
424+ device-number : " 0003"
425+ adapter-port-uri : /api/adapters/fcp1/storage-ports/0
413426 partition-uri : /api/partitions/part1
414- tape-library-uri : /api/tape-libraries/tl1
415- virtual_tape_resources :
416- - properties :
417- # class: created automatically
418- # parent: created automatically
419- # element-uri: created automatically
420- element-id : vtr3
421- name : " Virtual Tape Resource 3"
422- description : " Virtual tape resource 3"
423- device-number : " 0003"
424- adapter-port-uri : /api/adapters/fcp1/storage-ports/0
425- partition-uri : /api/partitions/part1
426- world-wide-port-name-info :
427- status : not-validated
428- world-wide-port-name : " c05076ffe8000003"
429- degraded-reasons : []
427+ world-wide-port-name-info :
428+ status : not-validated
429+ world-wide-port-name : " c05076ffe8000003"
430+ degraded-reasons : []
430431
431432 hw_messages :
432433 - properties :
0 commit comments