Add license headers where missing
[fuel.git] / mcp / patches / 0007-linux.network.interface-noifupdown-support.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Sat, 5 Aug 2017 02:03:01 +0200
11 Subject: [PATCH] linux.network.interface: noifupdown support
12
13 According to [1], salt states/network supports "noifupdown" as a
14 parameter for each interface.
15 Adjust salt formula part for `linux.network.interface`, by extending
16 the "interface_params" in <linux/map.jinja> accordingly.
17
18 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
19 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
20 Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
21 ---
22
23 diff --git a/linux/map.jinja b/linux/map.jinja
24 --- a/linux/map.jinja
25 +++ b/linux/map.jinja
26 @@ -92,6 +92,7 @@
27      'hashing-algorithm',
28      'hardware-dma-ring-rx',
29      'hwaddr',
30 +    'noifupdown',
31  ] %}
32
33  {% set network = salt['grains.filter_by']({