[MDSAL-510] Add interface to strip zone from Ipv{4,6}Address to form Ipv{4,6}AddressNoZone Created: 07/Jan/20 Updated: 07/Jan/20 Resolved: 07/Jan/20 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | models |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0, 4.0.9, 5.0.7 |
| 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 | ||
| Description |
|
While Ipv4AddressNoZone is equivalent with Ipv4Address without a zone, we do not have a fast way of making such an assertion stick - after the check we still need to go through validation. Expose utility methods from ietfInetUtil which will do such conversions by stripping the zone and instantiatin IpvXAddressNoZone |