Github user jburwell commented on the pull request:
https://github.com/apache/cloudstack/pull/1371#issuecomment-218355774
@abhinandanprateek Reading through the code, it seems like there could be
benefit from the following value objects:
* IpAddress interface whose implementations would wrap InetAddress to
provide factory methods and operations specific to CloudStack orchestration
* Netmask interface to encapsulate netmask-related operations for IPv4 and
IPv6
Assuming that these new network primitives should orient us towards
deprecating ``NetUtils``, the new methods added to ``NetUtils`` for this
enhancement should find a place in these new primitives.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---