* 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
* filter undefined properties
Co-Authored: Stanislav Makar <email address hidden>
This patch is a refactor of commit e84fb82f37c2c2dca17c5a86384f5ed0830840b3.
Reviewed: https:/ /review. openstack. org/220840 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=09696007c09 4653fcde86d002c 42fdac6b0cfc5b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 09696007c094653 fcde86d002c42fd ac6b0cfc5b
Author: Sergey Vasilenko <email address hidden>
Date: Sun Sep 6 13:29:11 2015 -0500
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
* filter undefined properties
Co-Authored: Stanislav Makar <email address hidden>
This patch is a refactor of commit e84fb82f37c2c2d ca17c5a86384f5e d0830840b3.
Closes-bug: #1469746
Сloses-Bug: #1492781
Change-Id: I72b95851b5d4ad dc1b0e826cbdcf7 4b720d377ae