Getter for port-capability in port-mapping 2.2.1 65/99665/3
authorBalagangadhar Bathula <bb4341@att.com>
Tue, 8 Feb 2022 18:58:03 +0000 (13:58 -0500)
committerguillaume.lambert <guillaume.lambert@orange.com>
Fri, 11 Feb 2022 14:03:01 +0000 (15:03 +0100)
commit6758b3817a44e31150a6ebea828a94d46241a63d
treed5a13c9962f6d02ed2a26403c53647b173f8200e
parent5fbe564fe5828bb7eee0d73eaf3d3225855c1b90
Getter for port-capability in port-mapping 2.2.1

- There are two ways the 2.2.1 device can advertise
  supported port-capabilities
  a. Using the leaf list supported-interface-capability
     under ports list
  b. Using port-capabilities tree.
- Currently port-mapping only supports case (a).
- Add code to provide support for case (b).

JIRA: TRNSPRTPCE-610
Change-Id: I2e6900ccafa3e50d44d59d55c97acf824c28639e
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion221.java