diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2018-01-03 15:15:09 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2018-01-03 15:15:09 +0800 |
commit | fca5170e5fcd04f0fac626699cca55757b5f9ed9 (patch) | |
tree | 9c0661151fa89019b5d498cba6543e307a7288f8 /config | |
parent | ac2b2bdddb422cbaceaf4fb3c4139dd44f8fa02e (diff) |
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 <yangyang1@zte.com.cn>
Diffstat (limited to 'config')
-rw-r--r-- | config/installers/daisy/network-dpdk.yaml.j2 | 4 | ||||
-rw-r--r-- | config/installers/daisy/network.yaml.j2 | 4 |
2 files changed, 8 insertions, 0 deletions
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: |