diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-17 18:12:25 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-18 22:30:22 +0000 |
commit | f0dbe42bdb6739e30b018f4aff33d2fe75befc5a (patch) | |
tree | 039c68e9e7886e8198578973c6e6ee46f2bbedac /mcp/config/labs/local/idf-pod1.yaml | |
parent | 0d8c30e7544a801af6303fb037dfa90ec074c8fd (diff) |
[baremetal] PDF-based network config
This change extends current PDF/IDF support with:
- dynamic interface / vlan definition;
- dynamic interface and/or bridge allocation of installer networks on
top of interfaces (physical or vlans);
This allows us to drop hardcoded interface names and vlan / bridge
configuration in favor of a runtime determined model based on PDF/IDF.
For now, we duplicate common jinja variable definitions in each
template, but this will later be moved to a common include file.
JIRA: FUEL-275
Change-Id: Ia80a66dbdf898b0bd0a4fb99d069ce9ebe33fa65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c360b972649028d2613fc8561899c2c8b7f71832)
Diffstat (limited to 'mcp/config/labs/local/idf-pod1.yaml')
-rw-r--r-- | mcp/config/labs/local/idf-pod1.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mcp/config/labs/local/idf-pod1.yaml b/mcp/config/labs/local/idf-pod1.yaml index 95af596a4..4ee359f88 100644 --- a/mcp/config/labs/local/idf-pod1.yaml +++ b/mcp/config/labs/local/idf-pod1.yaml @@ -17,3 +17,26 @@ idf: mgmt: 'br-ctl' private: '' public: '' + network: + node: + # Ordered-list, index should be in sync with node index in PDF + - interfaces: &interfaces + # Ordered-list, index should be in sync with interface index in PDF + - 'enp6s0' + - 'enp7s0' + - 'enp8s0' + - 'enp9s0' + busaddr: &busaddr + # Bus-info reported by `ethtool -i ethX` + - '0000:06:00.0' + - '0000:07:00.0' + - '0000:08:00.0' + - '0000:09:00.0' + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr |