mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: bond: 'ifquery -c' doesn't re-order user's bond-slaves list
Ticket: CM-11953 Reviewed By: Roopa, Nikhil G, Daniel W Testing Done: $ ifquery b0 auto b0 iface b0 bond-slaves swp1 swp2 $ ifreload -a $ ifquery -a -c auto b0 iface b0 bond-slaves swp2 swp1 [pass] $ ifquery -a -c auto b0 iface b0 bond-slaves swp1 swp2 [pass] Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@@ -362,8 +362,8 @@ class bond(moduleBase):
|
||||
if not difference:
|
||||
retslave = 0
|
||||
ifaceobjcurr.update_config_with_status('bond-slaves',
|
||||
' '.join(runningslaves)
|
||||
if runningslaves else 'None', retslave)
|
||||
' '.join(slaves)
|
||||
if slaves else 'None', retslave)
|
||||
|
||||
def _query_running_attrs(self, bondname):
|
||||
bondattrs = {'bond-mode' :
|
||||
|
Reference in New Issue
Block a user