Update SubnetConfig Validation 72/3872/5
authorKatelyn Kasperowicz <kkaspero@cisco.com>
Fri, 20 Dec 2013 15:42:15 +0000 (07:42 -0800)
committerKatelyn Kasperowicz <kkaspero@cisco.com>
Mon, 23 Dec 2013 22:17:26 +0000 (14:17 -0800)
commit8f663452c3c03428b41186631922085bc094c589
tree1b7215d3aafeeb765e4704386dc5171034f7f594
parent66af51651ec5099484fc25ae53eaf38370bb9f30
Update SubnetConfig Validation

-SubnetConfig now validates that the address does not begin with 0 or 255
-Validates that host address is not set to all zeros or ones
-Caught exception when subnet not set to number

Change-Id: I825e2d54b48b7f74e35cfde8dc7e5967dac11684
Signed-off-by: Katelyn Kasperowicz <kkaspero@cisco.com>
opendaylight/switchmanager/api/src/main/java/org/opendaylight/controller/switchmanager/SubnetConfig.java