
------=_Part_35279276_1362727715.1411380773026 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, Following is a summery of testing the Network custom properties feature as detailed the link at the bottom. setUp: ====== engine: F19 Hosts: F20 (virtual) REHL 6.5 (physical) - in separate clusters Network custom properties: ========================== 1. I have defined a custom property entry via 'engine-config' cli and verified it consisted. * The property was defined with a validation regular expression * note that this requires an engine restart. 2. Added a new network to the DC and set the new property with the new drop-down value of 'custom properties'. - verified that violating the regular expression validation fails the network set up (client side validation). - verified that a legal value is passed to the server using a custom hook at before_network_setup stage. [hook code attached] 3. removed the value from the DB -- verified it is no longer available in the set up networks custom properties drop down. bridge options: =============== 1. changed the bridge options at the OS level (via editing /sys/class/net/<bridge>/bridge/<options>) 2. defined overrides in the logical level using the bridge_opts drop down value (key=value comma separated list) --verified that the values are changed after setting up network 3. removed the logical level settings -- verified that the values are set back to the original ones ethtool options: ================ * note- testing this on a virtual host, or on a virtual NIC on a physical host is pretty useless. For the NIC driver to be capable of actually allowing NIC changes you need a bare metal NIC. 1. installed the vdsm-hook-ethtool-options hook on a physical host 2. set up network with the following ethtool command line arguments added: "-s eth1 speed 100 autoneg off" -- verified using ethtool that changes took place 3. set up network with the following ethtool command line arguments added: "-s eth1 autoneg on" -- verified using ethtool that changes took place feature page: http://www.ovirt.org/Features/Network_Custom_Properties Thanks, Ido ------=_Part_35279276_1362727715.1411380773026 Content-Type: text/x-python; name=print_hostonly.py Content-Disposition: attachment; filename=print_hostonly.py Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9weXRob24KaW1wb3J0IG9zCmltcG9ydCBob29raW5nCgoKZGVmIG1haW4oKToK ICAgIHNldHVwX25ldHNfY29uZmlnID0gaG9va2luZy5yZWFkX2pzb24oKQogICAgaG9va2luZy5s b2coJ2tleXM6Jysgc3RyKHNldHVwX25ldHNfY29uZmlnLmtleXMoKSkpCiAgICBmb3IgbmV0d29y aywgYXR0cnMgaW4gc2V0dXBfbmV0c19jb25maWdbJ3JlcXVlc3QnXVsnbmV0d29ya3MnXS5pdGVt cygpOgogICAgICAgIGlmICdjdXN0b20nIGluIGF0dHJzIGFuZCAnaG9zdG9ubHknIGluIGF0dHJz WydjdXN0b20nXToKICAgICAgICAgICAgdmFsdWUgPSBhdHRyc1snY3VzdG9tJ11bJ2hvc3Rvbmx5 J10KICAgICAgICBlbHNlOgogICAgICAgICAgICB2YWx1ZSA9ICdub3QgZm91bmQnCiAgICAgICAg aG9va2luZy5sb2coJ1RFU1RJTkc6IHswfScuZm9ybWF0KHZhbHVlKSkKCmlmIF9fbmFtZV9fID09 ICdfX21haW5fXyc6CiAgICBtYWluKCk= ------=_Part_35279276_1362727715.1411380773026--