From 9ec36b4c0483c64d4cd89d0dafe8ae02d20fba87 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 11 Dec 2017 19:15:15 +0100 Subject: patches: pharos: Bump & drop upstream patches All our staged patches for Pharos repo are now upstream, so bump the git submodule and remove the patch files. Change-Id: I0d68eb3bdd9abfa286c3640acc1f13ce6100801d Signed-off-by: Alexandru Avadanii (cherry picked from commit 33d945e3045f68ea7cbd2f1b8d01618cb3fed23c) --- ...001-Add-IDF-mappings-to-installer-adapter.patch | 35 ------------ .../0002-extend-public-gateway-support.patch | 62 ---------------------- mcp/scripts/pharos | 2 +- 3 files changed, 1 insertion(+), 98 deletions(-) delete mode 100644 mcp/patches/pharos/0001-Add-IDF-mappings-to-installer-adapter.patch delete mode 100644 mcp/patches/pharos/0002-extend-public-gateway-support.patch diff --git a/mcp/patches/pharos/0001-Add-IDF-mappings-to-installer-adapter.patch b/mcp/patches/pharos/0001-Add-IDF-mappings-to-installer-adapter.patch deleted file mode 100644 index 4c3693bf5..000000000 --- a/mcp/patches/pharos/0001-Add-IDF-mappings-to-installer-adapter.patch +++ /dev/null @@ -1,35 +0,0 @@ -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -: Copyright (c) 2017 Mirantis Inc., Enea AB and others. -: -: All rights reserved. This program and the accompanying materials -: are made available under the terms of the Apache License, Version 2.0 -: which accompanies this distribution, and is available at -: http://www.apache.org/licenses/LICENSE-2.0 -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -From: Alexandru Avadanii -Date: Tue, 3 Oct 2017 02:41:41 +0200 -Subject: [PATCH] Add IDF mappings to installer adapter - -Signed-off-by: Alexandru Avadanii ---- - config/installers/fuel/pod_config.yml.j2 | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/config/installers/fuel/pod_config.yml.j2 b/config/installers/fuel/pod_config.yml.j2 -index 28c0b47..abded17 100644 ---- a/config/installers/fuel/pod_config.yml.j2 -+++ b/config/installers/fuel/pod_config.yml.j2 -@@ -26,6 +26,13 @@ - parameters: - _param: - -+{%- if conf.idf is defined %} -+ opnfv_jump_bridge_admin: {{ conf['idf']['fuel']['jumphost']['bridges']['admin'] }} -+ opnfv_jump_bridge_mgmt: {{ conf['idf']['fuel']['jumphost']['bridges']['mgmt'] }} -+ opnfv_jump_bridge_private: {{ conf['idf']['fuel']['jumphost']['bridges']['private'] }} -+ opnfv_jump_bridge_public: {{ conf['idf']['fuel']['jumphost']['bridges']['public'] }} -+{%- endif %} -+ - opnfv_infra_config_address: {{ net_mgmt | ipaddr_index('100') }} - opnfv_infra_maas_node01_address: {{ net_mgmt | ipaddr_index('3') }} - opnfv_infra_maas_node01_deploy_address: {{ net_admin | ipaddr_index('3') }} diff --git a/mcp/patches/pharos/0002-extend-public-gateway-support.patch b/mcp/patches/pharos/0002-extend-public-gateway-support.patch deleted file mode 100644 index 240f4a09b..000000000 --- a/mcp/patches/pharos/0002-extend-public-gateway-support.patch +++ /dev/null @@ -1,62 +0,0 @@ -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -: Copyright (c) 2017 Mirantis Inc., Enea AB and others. -: -: All rights reserved. This program and the accompanying materials -: are made available under the terms of the Apache License, Version 2.0 -: which accompanies this distribution, and is available at -: http://www.apache.org/licenses/LICENSE-2.0 -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -From: Guillermo Herrero -Date: Mon, 20 Nov 2017 11:33:29 +0100 -Subject: [PATCH] extend public gateway support - -JIRA: FUEL-305 - -Change-Id: Ic5a2d499925aeec5b597394a059640ddae83fb2d -Signed-off-by: Guillermo Herrero ---- - config/installers/fuel/pod_config.yml.j2 | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/config/installers/fuel/pod_config.yml.j2 b/config/installers/fuel/pod_config.yml.j2 -index abded17..cda5fc0 100644 ---- a/config/installers/fuel/pod_config.yml.j2 -+++ b/config/installers/fuel/pod_config.yml.j2 -@@ -8,6 +8,9 @@ - {%- if conf.net_config.public.dns is defined -%} - {%- set dns_public = conf['net_config']['public']['dns'] -%} - {%- endif -%} -+ {%- if conf.net_config.public.gateway is defined -%} -+ {%- set net_public_gw = conf['net_config']['public']['gateway'] -%} -+ {%- endif -%} - {%- set pxe_interface = conf['net_config']['admin']['interface'] -%} - {%- else -%} - {%- set net_admin = '192.168.11.0' -%} -@@ -22,6 +25,10 @@ - {%- if dns_public is not defined -%} - {%- set dns_public = [ '8.8.8.8', '8.8.4.4' ] -%} - {%- endif -%} -+{%- if net_public_gw is not defined -%} -+ {%- set net_public_gw = net_public | ipaddr_index('1') -%} -+{%- endif -%} -+ - --- - parameters: - _param: -@@ -53,6 +60,8 @@ parameters: - opnfv_openstack_proxy_address: {{ net_public | ipaddr_index('103') }} - opnfv_openstack_proxy_node01_address: {{ net_public | ipaddr_index('104') }} - opnfv_openstack_proxy_node02_address: {{ net_public | ipaddr_index('105') }} -+ opnfv_openstack_proxy_node01_control_address: {{ net_mgmt | ipaddr_index('104') }} -+ opnfv_openstack_proxy_node02_control_address: {{ net_mgmt | ipaddr_index('105') }} - opnfv_openstack_control_address: {{ net_mgmt | ipaddr_index('10') }} - opnfv_openstack_control_node01_address: {{ net_mgmt | ipaddr_index('11') }} - opnfv_openstack_control_node02_address: {{ net_mgmt | ipaddr_index('12') }} -@@ -83,6 +92,7 @@ parameters: - - opnfv_opendaylight_server_node01_single_address: {{ net_mgmt | ipaddr_index('111') }} - -+ opnfv_net_public_gw: {{ net_public_gw }} - opnfv_name_servers: {{ dns_public }} - opnfv_dns_server01: '{{ dns_public[0] }}' - diff --git a/mcp/scripts/pharos b/mcp/scripts/pharos index 2db1004f4..cf19f9ee6 160000 --- a/mcp/scripts/pharos +++ b/mcp/scripts/pharos @@ -1 +1 @@ -Subproject commit 2db1004f456f4ed956246bc85049a69b39e8cab2 +Subproject commit cf19f9ee69eacc1189cbeb746b30e3a09eaeac93 -- cgit 1.2.3-korg