* 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/221105 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=6effd35b793 08a1936bcac1ff0 289020338ff726
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 6effd35b79308a1 936bcac1ff02890 20338ff726
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