##############################################################################
# Copyright (c) 2018 ZTE, 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
##############################################################################
---
### ZTE POD 3 installer descriptor file ###

idf:
  version: 0.1
  # NOTE: Fuel checking is disabled until 'idf.fuel' is defined below
  installer: ['apex', 'compass4nfv', 'daisy', 'joid']
  net_config:
    oob:
      interface: 0
      ip-range: 192.168.1.32-192.168.1.36
      vlan: null
    admin:
      interface: 0
      vlan: native
      network: 10.20.0.0
      mask: 24
    mgmt:
      interface: 1
      vlan: 101
      network: 192.168.11.0
      mask: 24
    storage:
      interface: 2
      vlan: 102
      network: 192.168.12.0
      mask: 24
    private:
      interface: 3
      vlan: 1030
      network: 192.168.13.0
      mask: 24
    public:
      interface: 3
      vlan: 103
      network: 172.10.0.0
      mask: 24
      gateway: 172.10.0.1
      dns:
        - 172.10.0.1
  daisy:
    jumphost:
      bridges:
        admin: 'br0'
    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
            - 'enp2s0f0'
            - 'enp2s0f1'
            - 'enp132s0f0'
            - 'enp132s0f1'
          busaddr: &busaddr
            # Bus-info reported by `ethtool -i ethX`
            - '0000:02:00.0'
            - '0000:02:00.1'
            - '0000:84:00.0'
            - '0000:84:00.1'
        - interfaces: *interfaces
          busaddr: *busaddr
        - interfaces: *interfaces
          busaddr: *busaddr
        - interfaces: *interfaces
          busaddr: *busaddr
        - interfaces: *interfaces
          busaddr: *busaddr