Updated armband
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Thu, 1 Sep 2016 14:56:02 +0000 (14:56 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 1 Sep 2016 14:56:02 +0000 (14:56 +0000)
Project: fuel  72a123c3f938fd033601b2d113dcd9f524056b8e

transplant: Generate extra interfaces config file

Original work by Josep, only signed by Alex for upstreaming.

The DEA override may contain a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:

fuel:
   IFCFG_ETH1:
     device: eth1
     ipaddress: 10.0.1.10
     netmask: 255.255.255.0
     gateway: 10.0.1.254

FIXME: In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) should be disabled. For now, we assume the admin
interface is always "eth0".

Change-Id: I96e3ac5046dd59ed10c43099dd76a6418806a1f3
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 56d816920bfefe7d41d9c35cb8fb52e36295ee07)

upstream/fuel

index d6f49d1..72a123c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit d6f49d16237333c1793d4296c43ad83892534db2
+Subproject commit 72a123c3f938fd033601b2d113dcd9f524056b8e