iaa-inc / napalm-exos

Extreme Networks EXOS Driver implementation for the NAPALM Network Automation Project
Apache License 2.0
11 stars 14 forks source link

missing script /config/conf_diff.xsf #5

Open ferreol opened 4 years ago

ferreol commented 4 years ago

Hello I am experimenting the driver on a test device.

I manage to connect and run some commands such as salt <device> net.config through proxy.

However, when trying to run a state to configure ports (with napalm-yang) I'm encountering the following error: (I had to modify "run script" to "load script") Is the config_diff provided by XOS ? I'm running ExtremeXOS version 15.5.3.4

Cannot execute "load_merge_candidate" on lab-x670.labperf.mfp.mosaicfinance.fr as admin. Reason: ('Invalid response from server', b
              discard_config is not implemented for the NAPALM EXOS driver!

              Configuration diff:

              {'load script conf_diff': 'Cannot open EXSH script "/config/conf_diff.xsf"!'}
nicko170 commented 4 years ago

HI @ferreol

Yeah - you can grab that from the ExtremeScriping repo: https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/conf_diff