Closed rajjaisur closed 1 month ago
You are going to have to expand on the issue you are seeing i.e. the current code should work with this string from IOS-XR:
RP/0/0/CPU0:ios-xrv(config)#end
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:
@rajjaisur Any updates on my question on why this change is needed?
No it will not because current code is only reading till Uncommitted not full sentence.
Cisco_xr exit_config_mode function in case of uncommitted changes error. The current function is not working in case of uncommitted changes. because the output is until "uncommitted". function matching is for "Uncommitted changes found" .