Calling nb_cli_pending_commit_check only makes sense after nb_cli_apply_changes.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
NB_OP_MODIFY, "true");
}
- nb_cli_pending_commit_check(vty);
ret = nb_cli_apply_changes(vty, base_xpath);
if (ret == CMD_SUCCESS) {
VTY_PUSH_XPATH(BGP_NODE, base_xpath);
* For backward compatibility with old commands we still
* need to use the qobj infrastructure.
*/
+ nb_cli_pending_commit_check(vty);
bgp = bgp_lookup(as, name);
if (bgp)
VTY_PUSH_CONTEXT(BGP_NODE, bgp);