Thanks Ido! I have added comments in the feature page about restarting
the engine for the configuration changes to take effect.
On 22/09/14 13:12, Ido Barkan wrote:
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
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users