X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=config%2Finstallers%2Fdaisy%2Fnetwork.yaml.j2;h=f976ab73a9d746d32f0d14125586675693916ee5;hb=9cd019d3af46e492b374534d2b5b9bfd6528688e;hp=f5ac61500e4caa7a3b0e66ffd9ad0d5d122d6efa;hpb=5a013a2f7b2b64b91d2f61ec1a1f1378a5d62977;p=pharos.git diff --git a/config/installers/daisy/network.yaml.j2 b/config/installers/daisy/network.yaml.j2 index f5ac6150..f976ab73 100644 --- a/config/installers/daisy/network.yaml.j2 +++ b/config/installers/daisy/network.yaml.j2 @@ -1,5 +1,5 @@ ############################################################################## -# Copyright (c) 2017 ZTE Corporation and others. +# Copyright (c) 2018 ZTE Corporation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 @@ -72,7 +72,8 @@ networks: {%- set gateway = ".".join([ips[0], ips[1], ips[2], "1"]) -%} {%- endif -%} - {%- set networks = networks.update({key: {'interface_name': interface_name, + {#- set v=v.update(...) is unpredictable and breaks in older j2 -#} + {%- set _ = networks.update({key: {'interface_name': interface_name, 'bus_addr': bus_addr, 'vlan': vlan, 'network': network,