Add if-cap-support for If-OTU4-ODU4 ports (7.1) 35/106935/2
authorBalagangadhar (Bala) Bathula <bb4341@att.com>
Wed, 19 Jul 2023 17:37:27 +0000 (13:37 -0400)
committerBalagangadhar (Bala) Bathula <bb4341@att.com>
Fri, 21 Jul 2023 13:46:09 +0000 (09:46 -0400)
commit534795bb0ae26e969639d4f0e1cf74658ec2146e
treee145491013df33dcab70883088b3a93e213e94f0
parentb83c844bfa881465108c190acdcb2e6b226fa8d4
Add if-cap-support for If-OTU4-ODU4 ports (7.1)

- Currently the if-capability support is missing for IfOTU4ODU4
  type ports for 7.1 devices.
- Port-mapping fails to mount the NE with a null pointer expection when
  the supporting-interface-capabilities are not present in MappingUtilImpl.
- Add code to avoid null-pointer expection, even when the MappingUtilImpl
  does not contain required supported-if-cap.

JIRA: TRNSPRTPCE-747

Change-Id: I0270f99a93a02107a7c9a66f49e9825c65b06242
Signed-off-by: Balagangadhar (Bala) Bathula <bb4341@att.com>
common/src/main/java/org/opendaylight/transportpce/common/mapping/MappingUtilsImpl.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion710.java