summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b0a7a51)
- Remove logout from the bash command sent with subprocess run to avoid
having a runtime exception in karaf when we install the
odl-transportpce-nbinotifications feature
- remove an useless variable in sims_update_cp_port_ntcf method
JIRA: TRNSPRTPCE-782
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I002c3c154d49ff5f128929084a5802f9eea16c9f
# -b option needed below because of Karaf client bug reporte in the JIRA ticket mentioned above
return subprocess.run([executable, '-b'],
input='feature:install ' + feature_name + '\n feature:list | grep '
# -b option needed below because of Karaf client bug reporte in the JIRA ticket mentioned above
return subprocess.run([executable, '-b'],
input='feature:install ' + feature_name + '\n feature:list | grep '
- + feature_name + ' \n logout \n',
+ + feature_name + ' \n',
universal_newlines=True, check=False)
universal_newlines=True, check=False)
username=NODES_LOGIN,
password=NODES_PWD) as session:
mgr = Manager(session, timeout=120)
username=NODES_LOGIN,
password=NODES_PWD) as session:
mgr = Manager(session, timeout=120)
- reply = mgr.edit_config(xml_body, target="candidate", default_operation="merge")
- if "None" in str(reply):
+ mgr.edit_config(xml_body, target="candidate", default_operation="merge")