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/36509 github. com/Juniper/ contrail- test/commit/ b055b0fbff60b57 f644af392152c7b 0d94cbb2ef
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit b055b0fbff60b57 f644af392152c7b 0d94cbb2ef
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