[MDSAL-486] Add PhysAddress/MacAddress-to-byte[] IetfYangTypes utility Created: 11/Oct/19  Updated: 19/Oct/19  Resolved: 19/Oct/19

Status: Resolved
Project: mdsal
Component/s: models
Affects Version/s: None
Fix Version/s: 3.0.12, 4.0.7, 5.0.4

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to GENIUS-280 Centralize node identifier parsing In Review

 Description   

Downstreams (Genius) specifically are interested in efficient transformation of PhysAddress to byte[]. We do not provide this utility, although we provide these facilities for Ipv4/Ipv6Address.

Create efficient utility methods, so that downstreams do not have to brew their own.



 Comments   
Comment by Robert Varga [ 19/Oct/19 ]

We actually have IetfYangUtil.bytesFor(), which operates on MacAddress, but we lack that capability for PhysAddress.

Generated at Wed Feb 07 20:09:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.