3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
11 import functest.core.feature as base
12 from functest.utils.constants import CONST
15 class GluonVping(base.BashFeature):
17 def __init__(self, **kwargs):
18 repo = CONST.__getattribute__('dir_repo_netready')
19 dir_netready_functest = '{}/test/functest'.format(repo)
20 kwargs["cmd"] = ('cd %s && python ./gluon-test-suite.py' %
21 dir_netready_functest)
22 super(GluonVping, self).__init__(**kwargs)