Handle new base type provided by MD-SAL 35/29935/1
authorStephen Kitt <skitt@redhat.com>
Thu, 19 Nov 2015 17:41:29 +0000 (18:41 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 19 Nov 2015 17:44:13 +0000 (18:44 +0100)
commit5483b28f4afe78afb2cdb76e7ea392c4fa356ea3
treebf5563166630e60eb5c784434b6625dce4e8730b
parenta117b1b6c0d0f6db45efba035bf85c1ee3728dd5
Handle new base type provided by MD-SAL

When deserialized, OvsdbBridgeAugmentation's datapathType is now
initialized as DatapathTypeBase instead of null. This is now handled
as an absent value in SouthboundMapper instead of producing an
IllegalArgumentException.

The exception's message is clarified to trace the unknown datapath
type class, instead of the value retrieved from the map (which is
always null in this case).

Change-Id: Ie10ff09878bf182d4747d63f1580a37dfd71ac88
Signed-off-by: Stephen Kitt <skitt@redhat.com>
openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/SouthboundMapper.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundMapper.java