Skip to content

load_merge_candidate() question #2000

Answered by ktbyers
decoupca asked this question in Q&A
Discussion options

You must be logged in to vote

The user didn't say to discard_config() on the pending change (to discard the pending candidate config), nor did you say commit_config() (to commit the initial candidate config), I am inclined to say that is the right behavior (though definitely open to arguments).

In other words, if you load a bunch of incremental merge changes one after the other they should all just go into the candidate config.

In the case of Cisco IOS and NX-OS (since the candidate config is not real) this can result in some strange things like duplicate configs, but the router will resolve those when the config is loaded. Also issues would potentially show up in the compare_config (though this compare_config on merg…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ktbyers
Comment options

Answer selected by decoupca
@decoupca
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants