-
Notifications
You must be signed in to change notification settings - Fork 27
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
merge does a replace, and rollback raises an error #46
Comments
Example of load_merge_candidate:
New Config File:
Using Napalm:
Knowingly commit bad merge results:
|
Thanks for submitting the issue. I will investigate. Does appear (based on limited info from searching as I wasn't able to find anything official from Fortinet) that the |
@ebeahan any update on the merge issue? |
@jmcgill298 sorry not yet. I've done some initial testing and was able to recreate the merge issue you described, but I haven't been able to pin down where/what is causing the issue. I need to dig into the |
@dbarrosop Would you be able to take a look? Based on the logic I'm seeing in the pyFG https://github.com/spotify/pyfg/blob/master/pyFG/forticonfig.py#L160-L162 |
@ebeahan sorry for the late response. Yeah, you are correct. Regarding the issue, has someone contacted/talked with fortinet? |
@dbarrosop Thanks for clarifying. I don't have any vendor contacts with Fortinet anymore, so I haven't been able to confirm what version the |
I am running version v5.4.1 and I still have |
confirmed that |
###Description of Issue/Question
load_merge_candidate() replaces the "blocks" entire config with contents in the file
rollback() fails due to 'fnsysctl ls -l data2/config' not being a valid command
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
Setup
Ubuntu, Python 2.7.12, napalm-base==0.23.2, napalm-fortios==0.4.0, pyfg==0.49, paramiko==2.1.2, netmiko==1.3.0, FortiGate-VM64-KVM v5.2.5,build701 (GA)
napalm-fortios version
(Paste verbatim output from
pip freeze | grep napalm-fortios
between quotes below)FortiOS version
(Paste verbatim output from
get sys status
between quotes below)Steps to Reproduce the Issue
Error Traceback
(Paste the complete traceback of the exception between quotes below)
The text was updated successfully, but these errors were encountered: