diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-08-19 15:48:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-19 15:48:47 +0000 |
commit | 3847403e3fa389f096f24dd253e6849a60102ed4 (patch) | |
tree | c1ccc246191fcef0ee93c5be88e2e75919b2210c /patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch | |
parent | 56b0a136525f957644e09f10d1f8c30fb3b54104 (diff) | |
parent | fef75a0204f74ead2698d8bb5080f4d2b6d976cd (diff) |
Merge "Rebase: upstream DEA mechanism changes"
Diffstat (limited to 'patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch')
-rw-r--r-- | patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch b/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch index 1291769e..76c27163 100644 --- a/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch +++ b/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch @@ -92,8 +92,8 @@ index e57a4fb..9a65cf6 100644 @@ -51,11 +85,14 @@ def main(): - dea_file = parse_arguments() check_file_exists(ASTUTE_YAML) + check_file_exists(FUEL_BOOTSTRAP_CLI_YAML) dea = DeploymentEnvironmentAdapter(dea_file) + log('Reading astute file %s' % ASTUTE_YAML) with io.open(ASTUTE_YAML) as stream: @@ -103,6 +103,6 @@ index e57a4fb..9a65cf6 100644 with io.open(ASTUTE_YAML, 'w') as stream: yaml.dump(astute, stream, default_flow_style=False) + log('Transplant done') - - - if __name__ == '__main__': + # Update bootstrap config yaml with info from DEA/astute.yaml + with io.open(FUEL_BOOTSTRAP_CLI_YAML) as stream: + fuel_bootstrap_cli = yaml.load(stream) |