mirror of https://github.com/sipwise/ngcpcfg.git
Sometimes (e.g. on 'push-parallel') we need to call ngcpcfg on remote host and generating summary only output about the results. It simplifies complex 'push-parallel' codebase which is critical for huge Carrier installation. P.S. we cannot print summary message all the time to console output, as a lot of code depends on the ngcpcfg output, e.g.: > root@web01a:~# ngcp-ppa gerrit_alutay_63758_push_parallel_2 > ERROR: There are uncommitted changes in config files: > 2019-10-02 11:59:38 web01a: Successfully executed 'diff' on 'web01a' > ERROR: Please commit them or discard > root@web01a:~# Instead, let's be backward compatible with printing on console, but always print this message to log file (as we sometimes need to know ngcpcfg exit code and it was impossible to find it in log file previously.) Change-Id: I9aad0912796500cddb23d1f3eaa428b0b39152d0changes/49/33849/11
parent
15537ab533
commit
fa3593aea1
Loading…
Reference in new issue