napalm-automation / napalm-nxos

Apache License 2.0
9 stars 21 forks source link

`load_merge_candidate` is not additive #62

Closed mirceaulinic closed 7 years ago

mirceaulinic commented 7 years ago

Description of Issue/Question

The configuration buffer preserved corresponds only to the latest call:

>>> n.load_merge_candidate(config='ntp peer 172.17.17.1')
>>> n.load_merge_candidate(config='ntp commit')
>>> n.compare_config()
u'ntp commit'

Which is against the behaviour of the rest of the drivers.

napalm-nxos version

(Paste verbatim output from pip freeze | grep napalm-nxos between quotes below)

$ pip freeze | grep napalm-nxos
napalm-nxos==0.5.0