Currently, setup_common_objects method in BaseResource class also creates the resources not required by the sanity test cases.
To solve this issue, a new class BaseSanityResource with its own setup_common_objects method having minimum resources should be inherited by BaseResource class.
With this change, setup_common_objects method of BaseSanityResource class gets called during sanity run, eliminating the need of creating an instance of BaseResource class.
Reviewed: https:/ /review. opencontrail. org/36511 github. com/Juniper/ contrail- test/commit/ ab43248ad397482 33b9fed589f13a3 c069c522f0
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit ab43248ad397482 33b9fed589f13a3 c069c522f0
Author: ankitja <email address hidden>
Date: Fri Oct 13 16:25:45 2017 +0530
Analytics resource class changes
Currently, setup_common_ objects method in BaseResource class also creates the resources not required by the sanity test cases. objects method having minimum resources should be inherited by BaseResource class. objects method of BaseSanityResource class gets called during sanity run, eliminating the need of creating an instance of BaseResource class.
To solve this issue, a new class BaseSanityResource with its own setup_common_
With this change, setup_common_
Change-Id: Ib155776927a1d2 86b80a1eb640165 e0823a280b1
Closes-bug: #1723234