commit | 855ea2d5b9b44ae4be0bdc2be6221084dab10f63 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Thu Oct 30 15:32:39 2014 -0700 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Thu Oct 30 15:32:39 2014 -0700 |
tree | 270c5275a6040affcd00561b21fd407cde1ec1a2 | |
parent | ee66e61638bbd7e55730b48903c182a22bf2ac6d [diff] |
Refactor the IpPrefix API and implementation: * Now IpPrefix uses IpAddress to represent the subnet address * The IpPrefix subnet address is masked-out by the prefix length. E.g., IpPrefix("1.2.3.4/24") is now stored as IpPrefix("1.2.3.0/24") * Removed IpPrefix methods that are not used or don't apply anymore * Replaced usage of IpPrefix with IpAddress where appropriate