ea31f20afdad6848834b2b856ab24023b0f6b81b
[functest.git] / functest / opnfv_tests / features / sdnvpn.py
1 #!/usr/bin/python
2 #
3 # Copyright (c) 2016 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 import functest.core.feature as base
11
12
13 class SdnVpnTests(base.Feature):
14
15     def __init__(self):
16         super(SdnVpnTests, self).__init__(project='sdnvpn',
17                                           case_name='bgpvpn',
18                                           repo='dir_repo_sdnvpn')
19         dir_sfc_functest = '{}/sdnvpn/test/functest'.format(self.repo)
20         self.cmd = 'cd %s && python ./run_tests.py' % dir_sfc_functest