aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/odl_sfc.py
blob: f96683e36506c3d5bcca8bf9ded4e5ac11ef334d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python
#
# Copyright (c) 2016 All rights reserved
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
import functest.core.feature as base


class OpenDaylightSFC(base.Feature):

    def __init__(self, case_name='functest-odl-sfc'):
        super(OpenDaylightSFC, self).__init__(project='sfc',
                                              case_name=case_name,
                                              repo='dir_repo_sfc')
        dir_sfc_functest = '{}/sfc/tests/functest'.format(self.repo)
        self.cmd = 'cd %s && python ./run_tests.py' % dir_sfc_functest