-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up before test execution #12
Comments
Discard changes is implemented. Still missing the cancel commit. |
discard changes must be a feature of the test and not "hardcoded" as part of the test. |
Date: 15/02/2021 Username: Carlos Rodriguez Issue: Device ( clean ) setup before each test execution As a: For devices where candidate datastore is not supported, but only running, tests don't work because netconf discard-changes operation can't be executed as candidate datastore doesn't exist. That operation discard-changes discards any uncommitted changes by resetting the candidate configuration with the content of the running configuration. An enhancement would be read the device capability when netconf session is started ( netconf hello message ) and in case it isn't supported then skip discard-changes operation at the beginning of test flow. I want: 1.- After opening a netconf session with the device, seek for this line announcing candidate support capability "urn:ietf:params:netconf:capability:candidate:1.0" within in the netconf hello message received. If not found, then automatically discard-changes operation should be is skipped. 2.- Also modification of YML file for the set of test affected so as to replace target and commit variables in that way: target: running So that: Test for those vendors like Infinera that don't support candidate datastore can be performed without any change in the testing process. Accept Criteria: Testing tool. |
Implement a dicard changes y cancel commit before the execution of each test
The text was updated successfully, but these errors were encountered: