Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve test tag string parsing
[csit.git]
/
resources
/
libraries
/
python
/
VppConfigGenerator.py
diff --git
a/resources/libraries/python/VppConfigGenerator.py
b/resources/libraries/python/VppConfigGenerator.py
index
7ee3e2c
..
15e8ffb
100644
(file)
--- a/
resources/libraries/python/VppConfigGenerator.py
+++ b/
resources/libraries/python/VppConfigGenerator.py
@@
-20,6
+20,7
@@
in 7 various places of CSIT code.
import re
import re
+from resources.libraries.python.Constants import Constants
from resources.libraries.python.ssh import exec_cmd_no_error
from resources.libraries.python.topology import NodeType
from resources.libraries.python.topology import Topology
from resources.libraries.python.ssh import exec_cmd_no_error
from resources.libraries.python.topology import NodeType
from resources.libraries.python.topology import Topology
@@
-196,10
+197,10
@@
class VppConfigGenerator(object):
path = ['unix', 'exec']
self.add_config_item(self._nodeconfig, value, path)
path = ['unix', 'exec']
self.add_config_item(self._nodeconfig, value, path)
- def add_socksvr(self, socket=
"default"
):
+ def add_socksvr(self, socket=
Constants.SOCKSVR_PATH
):
"""Add socksvr configuration."""
"""Add socksvr configuration."""
- path = ['socksvr',
socket
]
- self.add_config_item(self._nodeconfig,
''
, path)
+ path = ['socksvr',
'socket-name'
]
+ self.add_config_item(self._nodeconfig,
socket
, path)
def add_api_segment_gid(self, value='vpp'):
"""Add API-SEGMENT gid configuration.
def add_api_segment_gid(self, value='vpp'):
"""Add API-SEGMENT gid configuration.