Fix bug 666 - Neutron Subnet Creation Error 30/5930/1
authorDave Tucker <dave@dtucker.co.uk>
Sun, 6 Apr 2014 16:48:33 +0000 (17:48 +0100)
committerDave Tucker <dave@dtucker.co.uk>
Sun, 6 Apr 2014 17:00:51 +0000 (18:00 +0100)
commitf56409bf07209d661eb79f3c82a6df106728ebdb
tree7dce9115aa3c83918dc676e61166f559b337eda4
parent043856746f66822e2fec6e006a4bea87f897ac6d
Fix bug 666 - Neutron Subnet Creation Error

When a neutron subnet is created on the Northbound API, containing the
new "ipv6_address_mode" or "ipv6_ra_mode" fields with "null" values
Jersey will fail to deserialise the object correctly and throw an HTTP
500 error with a NullPointerException.

This commit adds the above fields to the NeutronSubnet object and
permits these fields to be nillable.

Change-Id: I225581b57a1698a5e5c17f91b117fba556b70976
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronSubnetsNorthbound.java