diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-03-27 07:50:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-27 07:50:23 +0000 |
commit | 7d9d4d18b64fef71d9d4a7de0c4f143e2154ec2c (patch) | |
tree | 09c92ba1bb1ac3869d4c4afee36c35f585d4d7aa /sdnvpn/lib/utils.py | |
parent | c0c5ba6870a8e44c537c223aec8261587f39749b (diff) | |
parent | db1ce6276c443dd9766458c516cc58c7f2e098d5 (diff) |
Merge "Fix testcase3 (peering subcase) for Apex"
Diffstat (limited to 'sdnvpn/lib/utils.py')
-rw-r--r-- | sdnvpn/lib/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py index 5dcb8c1..90fce4a 100644 --- a/sdnvpn/lib/utils.py +++ b/sdnvpn/lib/utils.py @@ -408,7 +408,8 @@ def run_odl_cmd(odl_node, cmd): that contains "ERROR" and run_cmd doesn't like that. ''' - karaf_cmd = '/opt/opendaylight/bin/client "%s" 2>/dev/null' % cmd + karaf_cmd = ('/opt/opendaylight/bin/client -h 127.0.0.1 "%s"' + ' 2>/dev/null' % cmd) return odl_node.run_cmd(karaf_cmd) |