From: Alex Yang Date: Wed, 3 Jan 2018 07:15:09 +0000 (+0800) Subject: Add admin external network mapping for daisy X-Git-Tag: 6.0.0~54 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fca5170e5fcd04f0fac626699cca55757b5f9ed9;p=pharos.git Add admin external network mapping for daisy The admin external network mapping is used by post deploy script in daisy to create network. Change-Id: I4bdde9ca52d8932f77e91b8bf7d41b0c2e821a20 Signed-off-by: Alex Yang --- diff --git a/config/installers/daisy/network-dpdk.yaml.j2 b/config/installers/daisy/network-dpdk.yaml.j2 index 507e7cfc..e4ecc3ba 100644 --- a/config/installers/daisy/network-dpdk.yaml.j2 +++ b/config/installers/daisy/network-dpdk.yaml.j2 @@ -88,6 +88,10 @@ networks: 'end': '{{ end }}' vlan_id: {{ vlan }} name: '{{ key }}' + {%- if key == 'EXTERNAL' %} + network_name: 'admin_external' + mapping: 'physnet1' + {%- endif -%} {%- endfor %} interfaces: diff --git a/config/installers/daisy/network.yaml.j2 b/config/installers/daisy/network.yaml.j2 index 9eef7390..a4132a1d 100644 --- a/config/installers/daisy/network.yaml.j2 +++ b/config/installers/daisy/network.yaml.j2 @@ -88,6 +88,10 @@ networks: 'end': '{{ end }}' vlan_id: {{ vlan }} name: '{{ key }}' + {%- if key == 'EXTERNAL' %} + network_name: 'admin_external' + mapping: 'physnet1' + {%- endif -%} {%- endfor %} interfaces: