Merge pull request #15629 from privateip/fix-15496

make netcfg preserve command order
pull/15891/head
Peter Sprygada 9 years ago
commit 8f7c879574

@ -229,7 +229,7 @@ class NetworkConfig(object):
if self._device_os == 'junos':
return updates
diffs = dict()
diffs = collections.OrderedDict()
for update in updates:
if replace == 'block' and update.parents:
update = update.parents[-1]

Loading…
Cancel
Save