You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debian@khn-dev> show compare | display cli
set devices device crpd1
set devices device crpd1 enabled true
set devices device crpd1 conn-type NETCONF_SSH
set devices device crpd1 user admin
set devices device crpd1 addr 172.40.0.2
set devices device crpd1 config
set devices device crpd1
set devices device crpd1 enabled true
set devices device crpd1 conn-type NETCONF_SSH
set devices device crpd1 user admin
set devices device crpd1 addr 172.40.0.2
set devices device crpd1 config
The text was updated successfully, but these errors were encountered:
The reason is that compare_dbs uses fork/exec as well, and then the output pipes do not work.
compare_dbs() can be rewritten using xml_tree_diff_print()
Improved diff algorithm for XML and TEXT/curly, replaced UNIX diff with structural in-mem algorithm
Fixed: ["show compare" and "show compare | display cli" differs #23](clicon/clixon-controller#23)
Changed parameters of example clispec function `compare_dbs()`
Added show2cbuf functions for TEXT/CLI
Renamed clixon_txt2file to clixon_text2file
And:
The text was updated successfully, but these errors were encountered: