* Make bond mode and xmit_hash_policy bond_properties processed firstly.
Due to if it goes after lacp_rate
than lacp_rate is not set correctly.
* Change the way to write into file because old way does not rise an
error if "Operation not permitted".
* Move type tests into correct place hence enable them.
* Add wrapper for get/set /sys/class/... properties
* don't change bond property if no required
Reviewed: https:/ /review. openstack. org/220201 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=e84fb82f37c 2c2dca17c5a8638 4f5ed0830840b3
Committed: https:/
Submitter: Jenkins
Branch: master
commit e84fb82f37c2c2d ca17c5a86384f5e d0830840b3
Author: Stanislav Makar <email address hidden>
Date: Thu Sep 3 15:28:32 2015 +0000
Fix problem with bonds configuration
* Make bond mode and xmit_hash_policy bond_properties processed firstly.
Due to if it goes after lacp_rate
than lacp_rate is not set correctly.
* Change the way to write into file because old way does not rise an
error if "Operation not permitted".
* Move type tests into correct place hence enable them.
* Add wrapper for get/set /sys/class/... properties
* don't change bond property if no required
Change-Id: Ib76b88a8ed272d 3465b1871db9f4b 7b267888d64
Closes-bug: #1469746