This patch introduces default implmentation of get_resource method
to ResourceBaseDriver class to allow recovery mechanism to fetch a
resource based on id. If a driver wants to provide its own
implementation then introduced method has to be overridden.
Reviewed: https:/ /review. openstack. org/523043 /git.openstack. org/cgit/ openstack/ networking- odl/commit/ ?id=64f0692d680 b15530c8c1dc9f6 366a49aec57d0d
Committed: https:/
Submitter: Zuul
Branch: master
commit 64f0692d680b155 30c8c1dc9f6366a 49aec57d0d
Author: Rajiv Kumar <email address hidden>
Date: Fri Nov 24 05:43:36 2017 +0000
Base mechanism for recovery
This patch introduces default implmentation of get_resource method
to ResourceBaseDriver class to allow recovery mechanism to fetch a
resource based on id. If a driver wants to provide its own
implementation then introduced method has to be overridden.
Change-Id: I951d05783ccbe1 bc873a76511d254 f90e71a4914
Partial-Bug: #1713697