saltstack/salt — pull request #9214 by lblasc (2013-12-12 19:27:27+00:00)
Title: Always generate same order of bonding options

When generating bonding interface on Debian bonding options are ordered
"randomly" producing unneded interface updates.

Example:

```
ID: bond0
Function: network.managed
Result: True
Comment: Interface bond0 updated.
Changes:
----------
interface:
---
+++
@@ -5,14 +5,14 @@
offload-gso off
offload-sg off
offload-tso off
+ bond_downdelay 200
+ bond_miimon 100
+ bond_use_carrier on
+ bond_mode 4
+ bond_xmit_hash_policy layer2+3
+ bond_updelay 0
+ bond_slaves eth0 eth1
bond_lacp_rate 4
- bond_miimon 100
- bond_xmit_hash_policy layer2+3
bond_ad_select 0
- bond_downdelay 200
- bond_mode 4
- bond_slaves eth0 eth1
- bond_updelay 0
- bond_use_carrier on

```