2 Commits

Author SHA1 Message Date
Javier Pena
4d92141aa3 Set NAME as well as DEVICE in ifcfg-*
Previously, only DEVICE was set in ifcfg-* files. This works fine
for the traditional network service under CentOS/RHEL/Fedora, but
for NetworkManager we need to have NAME. Fixing the redhat provider
to add it as well.

Change-Id: Ic29ce07a461913a3b70067ce642b1a03109f164b
Resolves: rhbz#1167326
2015-11-03 21:02:49 +01:00
Gilles Dubreuil
17b62e56e0 Refacfored a more suitable ovs_redhat provider
- Added a helper class/library to handle ifcfg content

  - Removed keep_ip and sleep parameters, replaced by
    automatic behaviour

  - No need for a redhat vs_bridge provider

  - Only port/bridge associated with a phyical interface get a
    ifcfg file managed

  - Requires Puppet 2.7.8+
    Not using optional_commands anymore

When the bridge is associated with an active physical interface
  - It will be initially populated from the existing interface
    file, inheriting its parameters

Change-Id: I584fb1442de9a760b3a092f96cbfcbcd6776fdba
2014-09-01 14:46:18 +10:00