BUG-5507: ignore schema-related AutoAttach errors 98/36198/1
authorStephen Kitt <skitt@redhat.com>
Mon, 14 Mar 2016 14:47:54 +0000 (15:47 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 14 Mar 2016 15:15:38 +0000 (15:15 +0000)
commit1cfc430b625566e20f0765e74d763ccc7230978e
tree55364c35ac438986a9292b011313fe4a287f28f0
parent25ce7ab4b34777d98d6933a8c192785a1298ccd9
BUG-5507: ignore schema-related AutoAttach errors

When initialising OvsdbAutoAttachedRemovedCommand and
OvsdbAutoAttachUpdateCommand, schemas without support for autoattach
cause IllegalArgumentException to be thrown. This is in all likelihood
the only scenario which can lead to this, so for now ignore the
exceptions.

A proper fix would involve checking the schema as done in TyperUtils.
Once this is done these constructors will be updated to use that
instead of ignoring IllegalArgumentException.

Change-Id: Idd284ab8acdc0886ef11dae6ecfb410e487ca312
Signed-off-by: Stephen Kitt <skitt@redhat.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/OvsdbAutoAttachRemovedCommand.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/OvsdbAutoAttachUpdateCommand.java