Fix bug 666 - Neutron Subnet Creation Error 15/6315/3
authorDave Tucker <dave@dtucker.co.uk>
Sun, 6 Apr 2014 16:48:33 +0000 (17:48 +0100)
committerDave Tucker <djt@redhat.com>
Mon, 28 Apr 2014 14:42:56 +0000 (14:42 +0000)
commit71c9cc2102efc57e69356d949991a209c58ff32f
tree6b5804a5def7234b7fe6232d76a7ecd21f2cb595
parent326aff85309d6ddbf7ccc74d4fc46dc0e0b4b002
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>
Signed-off-by: Dave Tucker <djt@redhat.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