diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2018-03-01 15:11:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-01 15:11:03 +0000 |
commit | e825a2f5bcba8dbaf68577d9b2a38634927973db (patch) | |
tree | 6f6e5706b04020099f1f9666bdd3af7cb0b1e861 /docs/submodules/moon | |
parent | b0f743da431a12b94f836dd563957cfc7c0b1d82 (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Import "traffic_profile" modules only once"
- Import "traffic_profile" modules only once
"traffic_profile" modules should be imported only once. Every time
TrafficProfile.get is called, the modules under
"yardstick.network_services.traffic_profiles" are loaded [1]. Instead
of this, the modules should be registered only once the first time
"yardstick.network_services.traffic_profiles.base" is loaded. This
will reduce the execution time and will avoid unnecessary calls.
[1] https://github.com/opnfv/yardstick/blob/d2c7cc4e9768ed003257a95c92cdb278d516761b/yardstick/network_services/traffic_profile/base.py#L36-L37
JIRA: YARDSTICK-951
Change-Id: Ia3565378ba3a1377fcb0aea8bda50ef8189414fd
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'docs/submodules/moon')
0 files changed, 0 insertions, 0 deletions