Merge "Update eyaml README"
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 14 Dec 2017 21:57:25 +0000 (21:57 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 14 Dec 2017 21:57:25 +0000 (21:57 +0000)
18 files changed:
labs/arm/idf-pod5.yaml [new file with mode: 0644]
labs/arm/idf-pod6.yaml [new file with mode: 0644]
labs/arm/pod5.yaml [new file with mode: 0644]
labs/arm/pod6.yaml [new file with mode: 0644]
labs/zte/idf-pod1.yaml [new file with mode: 0644]
labs/zte/idf-pod2.yaml [new file with mode: 0644]
labs/zte/idf-pod3.yaml [new file with mode: 0644]
labs/zte/pod1.yaml [new file with mode: 0644]
labs/zte/pod2.yaml [new file with mode: 0644]
labs/zte/pod2/daisy/config/deploy.yml [new file with mode: 0644]
labs/zte/pod2/daisy/config/network.yml [new file with mode: 0644]
labs/zte/pod3.yaml [new file with mode: 0644]
labs/zte/pod3/daisy/config/deploy.yml [new file with mode: 0644]
labs/zte/pod3/daisy/config/network.yml [new file with mode: 0644]
labs/zte/virtual1/daisy/config/deploy.yml [new file with mode: 0644]
labs/zte/virtual1/daisy/config/network.yml [new file with mode: 0644]
labs/zte/virtual2/daisy/config/deploy.yml [new file with mode: 0644]
labs/zte/virtual2/daisy/config/network.yml [new file with mode: 0644]

diff --git a/labs/arm/idf-pod5.yaml b/labs/arm/idf-pod5.yaml
new file mode 100644 (file)
index 0000000..52ea6ed
--- /dev/null
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2017 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
+##############################################################################
+---
+### ARM POD 5 installer descriptor file ###
+
+idf:
+  version: 0.1
+  fuel:
+    jumphost:
+      bridges:
+        admin: 'admin7_br0'
+        mgmt: 'mgmt7_br0'
+        private: ''
+        public: 'public7_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
+            - 'eth0'
+            - 'eth1'
+          busaddr: &busaddr
+            # Bus-info reported by `ethtool -i ethX`
+            - 'e0700000.xgmac'
+            - 'e0900000.xgmac'
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
diff --git a/labs/arm/idf-pod6.yaml b/labs/arm/idf-pod6.yaml
new file mode 100644 (file)
index 0000000..db03686
--- /dev/null
@@ -0,0 +1,46 @@
+##############################################################################\r
+# Copyright (c) 2017 Enea AB and others.\r
+# All rights reserved. This program and the accompanying materials\r
+# are made available under the terms of the Apache License, Version 2.0\r
+# which accompanies this distribution, and is available at\r
+# http://www.apache.org/licenses/LICENSE-2.0\r
+##############################################################################\r
+---\r
+### ARM POD 6 installer descriptor file ###\r
+\r
+idf:\r
+  version: 0.1\r
+  fuel:\r
+    jumphost:\r
+      bridges:\r
+        admin: 'admin14_br0'\r
+        mgmt: 'mgmt14_br0'\r
+        private: ''\r
+        public: 'public14_br0'\r
+    network:\r
+      node:\r
+        # Ordered-list, index should be in sync with node index in PDF\r
+        - interfaces: &interfaces\r
+            # Ordered-list, index should be in sync with interface index in PDF\r
+            - 'enP5p144s0'\r
+            - 'enP2p1s0f1'\r
+            - 'enP2p1s0f2'\r
+            - 'enP2p1s0f3'\r
+            - 'enP2p1s0f4'\r
+            - 'enP2p1s0f5'\r
+          busaddr: &busaddr\r
+            # Bus-info reported by `ethtool -i ethX`\r
+            - '0005:90:00.0'\r
+            - '0002:01:00.1'\r
+            - '0002:01:00.2'\r
+            - '0002:01:00.3'\r
+            - '0002:01:00.4'\r
+            - '0002:01:00.5'\r
+        - interfaces: *interfaces\r
+          busaddr: *busaddr\r
+        - interfaces: *interfaces\r
+          busaddr: *busaddr\r
+        - interfaces: *interfaces\r
+          busaddr: *busaddr\r
+        - interfaces: *interfaces\r
+          busaddr: *busaddr\r
diff --git a/labs/arm/pod5.yaml b/labs/arm/pod5.yaml
new file mode 100644 (file)
index 0000000..7ee358f
--- /dev/null
@@ -0,0 +1,209 @@
+---
+### Enea ARM POD 5 descriptor file ###
+
+details:
+  pod_owner: ENEA AB
+  contact: dan.lilliehorn@enea.com
+  lab: ENEA lab
+  location: Stockholm, Sweden
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/Enea+Hosting
+##############################################################################
+net_config:
+  oob:
+    ip-range: 10.0.8.3-10.0.8.10
+    vlan: native
+  admin:
+    interface: 0
+    vlan: native
+    network: 192.168.11.0
+    mask: 24
+  mgmt:
+    interface: 1
+    vlan: 2183
+    network: 172.16.10.0
+    mask: 24
+  storage:
+    interface: 1
+    vlan: 2184
+    network: 10.2.0.0
+    mask: 24
+  private:
+    interface: 1
+    vlan: 2185
+    network: 10.1.0.0
+    mask: 24
+  public:
+    interface: 1
+    vlan: native
+    network: 10.0.8.0
+    mask: 24
+    gateway: 10.0.8.254
+    dns:
+      - 8.8.8.8
+      - 8.8.4.4
+##############################################################################
+jumphost:
+  name: jenkins-slave-arm-pod5
+  node:
+    type: baremetal
+    vendor: Cavium
+    model: ThunderX
+    arch: aarch64
+    cpus: 1
+    cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
+    cores: 48
+    memory: 128G
+  disks:
+    - name: disk1
+      disk_capacity: 500G
+      disk_type: hdd
+      disk_interface: sata
+      disk_rotation: 7200
+  os: ubuntu-16.04
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+    user: admin
+    pass: admin
+  remote_management:
+    <<: *remote_params
+    address: 10.0.1.32
+    mac_address: "40:8D:5C:BA:B9:6A"
+  interfaces:
+    # Connected, used only for admin/PXE
+    - mac_address: "68:05:ca:34:60:e3"
+      speed: 1gb
+      features: ''
+    # Not connected for now
+    - mac_address: "00:0f:b7:04:00:c1"
+      speed: 40gb
+      features: 'dpdk|sriov'
+    # Not connected for now
+    - mac_address: "00:0f:b7:04:00:c2"
+      speed: 40gb
+      features: 'dpdk|sriov'
+    # Connected, trunk for all other VLANs
+    - mac_address: "00:0f:b7:04:00:c0"
+      speed: 10gb
+      features: ''
+  fixed_ips:
+    admin: 192.168.11.1
+    mgmt: 172.16.10.1
+    public: 10.0.8.9
+##############################################################################
+nodes:
+  - name: softiron-3
+    node: &nodeparams
+      type: baremetal
+      vendor: Softiron
+      model: Overdrive 3000
+      arch: aarch64
+      cpus: 1
+      cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
+      cores: 8
+      memory: 32G
+    disks: &disks
+      - name: 'disk1'
+        disk_capacity: 128G
+        disk_type: ssd
+        disk_interface: sata
+      - name: 'disk2'
+        disk_capacity: 2048G
+        disk_type: hdd
+        disk_interface: sata
+        disk_rotation: 7200
+    remote_management:
+      <<: *remote_params
+      address: 10.0.8.3
+      mac_address: "e0:ff:f7:00:04:99"
+    interfaces:
+      # Connected, used only for admin/PXE
+      - mac_address: "e0:ff:f7:00:08:ae"
+        speed: 10gb
+        features: ''
+      # Connected, trunk for all other VLANs
+      - mac_address: "e0:ff:f7:00:08:af"
+        speed: 10gb
+        features: ''
+    fixed_ips:
+      admin: 192.168.11.2
+      mgmt: 172.16.10.141
+      public: 10.0.8.141
+  ############################################################################
+  - name: softiron-4
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.8.4
+      mac_address: "e0:ff:f7:00:05:00"
+    interfaces:
+      - mac_address: "e0:ff:f7:00:08:b1"
+        speed: 10gb
+        features: ''
+      - mac_address: "e0:ff:f7:00:08:b2"
+        speed: 10gb
+        features: ''
+    fixed_ips:
+      admin: 192.168.11.3
+      mgmt: 172.16.10.142
+      public: 10.0.8.142
+  ############################################################################
+  - name: softiron-5
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.8.5
+      mac_address: "e0:ff:f7:00:04:a9"
+    interfaces:
+      - mac_address: "e0:ff:f7:00:08:bd"
+        speed: 10gb
+        features: ''
+      - mac_address: "e0:ff:f7:00:08:be"
+        speed: 10gb
+        features: ''
+    fixed_ips:
+      admin: 192.168.11.4
+      mgmt: 172.16.10.143
+      public: 10.0.8.143
+  ############################################################################
+  - name: softiron-6
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.8.6
+      mac_address: "e0:ff:f7:00:04:78"
+    interfaces:
+      - mac_address: "e0:ff:f7:00:08:c6"
+        speed: 10gb
+        features: ''
+      - mac_address: "e0:ff:f7:00:08:c7"
+        speed: 10gb
+        features: ''
+    fixed_ips:
+      admin: 192.168.11.5
+      mgmt: 172.16.10.101
+      public: 10.0.8.101
+  ############################################################################
+  - name: softiron-7
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.8.7
+      mac_address: "e0:ff:f7:00:05:19"
+    interfaces:
+      - mac_address: "e0:ff:f7:00:08:cf"
+        speed: 10gb
+        features: ''
+      - mac_address: "e0:ff:f7:00:08:d0"
+        speed: 10gb
+        features: ''
+    fixed_ips:
+      admin: 192.168.11.6
+      mgmt: 172.16.10.102
+      public: 10.0.8.102
diff --git a/labs/arm/pod6.yaml b/labs/arm/pod6.yaml
new file mode 100644 (file)
index 0000000..f4f92dd
--- /dev/null
@@ -0,0 +1,280 @@
+---
+### Enea ARM POD 6 descriptor file ###
+
+details:
+  pod_owner: ENEA AB
+  contact: dan.lilliehorn@enea.com
+  lab: ENEA lab
+  location: Stockholm, Sweden
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/Enea+Hosting
+##############################################################################
+net_config:
+  oob:
+    ip-range: 10.0.1.54-10.0.1.58
+    vlan: native
+  admin:
+    interface: 0
+    vlan: native
+    network: 192.168.11.0
+    mask: 24
+  mgmt:
+    interface: 1
+    vlan: 2323
+    network: 172.16.10.0
+    mask: 24
+  storage:
+    interface: 1
+    vlan: 2324
+    network: 10.2.0.0
+    mask: 24
+  private:
+    interface: 1
+    vlan: 2325
+    network: 10.1.0.0
+    mask: 24
+  public:
+    interface: 1
+    vlan: native
+    network: 10.0.15.0
+    mask: 24
+    gateway: 10.0.15.254
+    dns:
+      - 8.8.8.8
+      - 8.8.4.4
+##############################################################################
+jumphost:
+  name: jenkins-slave-arm-pod6
+  node:
+    type: baremetal
+    vendor: AppliedMicro
+    model: XGene 1
+    arch: aarch64
+    cpus: 1
+    cpu_cflags: fp asimd evtstrm
+    cores: 8
+    memory: 32G
+  disks:
+    ## /dev/sda
+    - name: disk1
+      disk_capacity: 120G
+      disk_type: ssd
+      disk_interface: sata
+    ## /dev/sdb
+    - name: disk2
+      disk_capacity: 1T
+      disk_type: hdd
+      disk_interface: sata
+      disk_rotation: 7200
+    ## /dev/sdc
+    - name: disk3
+      disk_capacity: 1T
+      disk_type: hdd
+      disk_interface: sata
+      disk_rotation: 7200
+  os: ubuntu-16.04
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+    user: ADMIN
+    pass: ADMIN
+  remote_management:
+    <<: *remote_params
+    address: 0.0.0.0
+    mac_address: "00:00:00:00:00:00"
+  interfaces:
+    ## eth0, Not connected for now
+    - mac_address: "00:01:73:02:36:d4"
+      speed: 1gb
+      features: ''
+    ## eth1, Connected, used only for admin/PXE
+    - mac_address: "00:01:73:02:36:d5"
+      speed: 1gb
+      features: ''
+    ## eth2, Not connected for now
+    - mac_address: "00:01:73:02:36:d6"
+      speed: 1gb
+      features: ''
+    ## eth3, Connected, trunk for all other VLANs
+    - mac_address: "00:01:73:02:36:d7"
+      speed: 10gb
+      features: ''
+  fixed_ips:
+    admin: 192.168.11.1
+    mgmt: 172.16.10.1
+    public: 10.0.15.9
+##############################################################################
+nodes:
+  - name: cn8890-24
+    node: &nodeparams
+      type: baremetal
+      vendor: Cavium
+      model: ThunderX
+      arch: aarch64
+      cpus: 1
+      cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
+      cores: 48
+      memory: 62G
+    disks: &disks
+      - name: 'disk1'
+        disk_capacity: 480G
+        disk_type: ssd
+        disk_interface: sata
+    remote_management:
+      <<: *remote_params
+      address: 10.0.1.54
+      mac_address: "1c:1b:0d:e8:fa:8b"
+    interfaces:
+      ## enP5p144s0, Connected, used only for admin/PXE
+      - mac_address: "68:05:ca:5a:c3:a7"
+        speed: 1gb
+        features: ''
+      ## enP2p1s0f1, Connected, trunk for all other VLANs
+      - mac_address: "1c:1b:0d:e8:fa:83"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      ## enP2p1s0f2, Not connected for now
+      - mac_address: "1c:1b:0d:e8:fa:84"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      ## enP2p1s0f3, Not connected for now
+      - mac_address: "1c:1b:0d:e8:fa:85"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      ## enP2p1s0f4, Not connected for now
+      - mac_address: "1c:1b:0d:e8:fa:86"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      ## enP2p1s0f5, Not connected for now
+      - mac_address: "1c:1b:0d:e8:fa:87"
+        speed: 10gb
+        features: 'dpdk|sriov'
+    fixed_ips:
+      admin: 192.168.11.2
+      mgmt: 172.16.10.142
+      public: 10.0.15.142
+  ############################################################################
+  - name: cn8890-25
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.1.55
+      mac_address: "1c:1b:0d:e8:fa:ad"
+    interfaces:
+      - mac_address: "68:05:ca:5a:c3:bc"
+        speed: 1gb
+        features: ''
+      - mac_address: "1c:1b:0d:e8:fb:a5"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:a6"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:a7"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:a8"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:a9"
+        speed: 10gb
+        features: 'dpdk|sriov'
+    fixed_ips:
+      admin: 192.168.11.3
+      mgmt: 172.16.10.143
+      public: 10.0.15.143
+  ############################################################################
+  - name: cn8890-26
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.1.56
+      mac_address: "1c:1b:0d:e8:fa:6d"
+    interfaces:
+      - mac_address: "68:05:ca:61:b9:00"
+        speed: 1gb
+        features: ''
+      - mac_address: "1c:1b:0d:e8:fa:65"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fa:66"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fa:67"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fa:68"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fa:69"
+        speed: 10gb
+        features: 'dpdk|sriov'
+    fixed_ips:
+      admin: 192.168.11.4
+      mgmt: 172.16.10.144
+      public: 10.0.15.144
+  ############################################################################
+  - name: cn8890-27
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.1.57
+      mac_address: "1c:1b:0d:e8:fb:21"
+    interfaces:
+      - mac_address: "68:05:ca:57:f7:16"
+        speed: 1gb
+        features: ''
+      - mac_address: "1c:1b:0d:e8:fb:19"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:1a"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:1b"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:1c"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:1d"
+        speed: 10gb
+        features: 'dpdk|sriov'
+    fixed_ips:
+      admin: 192.168.11.5
+      mgmt: 172.16.10.145
+      public: 10.0.15.145
+  ############################################################################
+  - name: cn8890-28
+    node: *nodeparams
+    disk: *disks
+    remote_management:
+      <<: *remote_params
+      address: 10.0.1.58
+      mac_address: "1c:1b:0d:e8:fb:85"
+    interfaces:
+      - mac_address: "68:05:ca:61:97:5a"
+        speed: 1gb
+        features: ''
+      - mac_address: "1c:1b:0d:e8:fb:7d"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:7e"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:7f"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:80"
+        speed: 10gb
+        features: 'dpdk|sriov'
+      - mac_address: "1c:1b:0d:e8:fb:81"
+        speed: 10gb
+        features: 'dpdk|sriov'
+    fixed_ips:
+      admin: 192.168.11.6
+      mgmt: 172.16.10.146
+      public: 10.0.15.146
diff --git a/labs/zte/idf-pod1.yaml b/labs/zte/idf-pod1.yaml
new file mode 100644 (file)
index 0000000..42e5dda
--- /dev/null
@@ -0,0 +1,44 @@
+##############################################################################
+# Copyright (c) 2017 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 1 installer descriptor file ###
+
+idf:
+  version: 0.1
+  fuel:
+    jumphost:
+      bridges:
+        admin: 'pxebr'
+        mgmt: 'br-mgmt'
+        private: ''
+        public: 'br-external'
+    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
+            - 'ens4f0'
+            - 'ens12f0'
+            - 'ens12f1'
+            - 'ens44f0'
+            - 'ens44f1'
+          busaddr: &busaddr
+            # Bus-info reported by `ethtool -i ethX`
+            - '0000:01:00.0'
+            - '0000:08:00.0'
+            - '0000:08:00.1'
+            - '0000:81:00.0'
+            - '0000:81:00.1'
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
diff --git a/labs/zte/idf-pod2.yaml b/labs/zte/idf-pod2.yaml
new file mode 100644 (file)
index 0000000..e8d7f78
--- /dev/null
@@ -0,0 +1,41 @@
+##############################################################################
+# Copyright (c) 2017 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 2 installer descriptor file ###
+
+idf:
+  version: 0.1
+  daisy:
+    jumphost:
+      bridges:
+        admin: 'br7'
+    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
+            - 'ens4f0'
+            - 'ens12f0'
+            - 'ens12f1'
+            - 'ens44f0'
+            - 'ens44f1'
+          busaddr: &busaddr
+            # Bus-info reported by `ethtool -i ethX`
+            - '0000:01:00.0'
+            - '0000:08:00.0'
+            - '0000:08:00.1'
+            - '0000:81:00.0'
+            - '0000:81:00.1'
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
diff --git a/labs/zte/idf-pod3.yaml b/labs/zte/idf-pod3.yaml
new file mode 100644 (file)
index 0000000..d1bb156
--- /dev/null
@@ -0,0 +1,39 @@
+##############################################################################
+# Copyright (c) 2017 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
+  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
diff --git a/labs/zte/pod1.yaml b/labs/zte/pod1.yaml
new file mode 100644 (file)
index 0000000..83a59af
--- /dev/null
@@ -0,0 +1,226 @@
+---
+### ZTE POD 1 descriptor file ###
+# refering to https://gerrit.opnfv.org/gerrit/#/c/23727/9/config/pod1.yaml
+
+details:
+  pod_owner: Alex Yang
+  contact: yangyang1@zte.com.cn
+  lab: ZTE Pharos Lab
+  location: Shanghai, China
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/ZTE+SH+Testlab
+##############################################################################
+net_config:
+  # NOTE: Network names are likely to change after the PDF spec is updated
+  oob:
+    interface: 0
+    ip-range: 192.168.1.101-192.168.1.105
+    vlan: null
+  admin:
+    interface: 0
+    vlan: native
+    network: 10.20.6.0
+    mask: 24
+  mgmt:
+    interface: 1
+    vlan: 161
+    network: 192.168.61.0
+    mask: 24
+  storage:
+    interface: 2
+    vlan: 162
+    network: 192.168.62.0
+    mask: 24
+  private:
+    interface: 3
+    vlan: 1120
+    network: 192.168.63.0
+    mask: 24
+  public:
+    interface: 4
+    vlan: 163
+    network: 172.60.0.0
+    mask: 24
+    gateway: 172.60.0.1
+    dns:
+      - 172.10.0.1
+##############################################################################
+jumphost:
+  name: pod1-jump
+  node:
+    type: baremetal
+    vendor: ZTE
+    model: R5300
+    arch: x86_64
+    cpus: 2
+    cpu_cflags: hasewell
+    cores: 12
+    memory: 128G
+  disks:
+    - name: 'disk1'
+      disk_capacity: 600G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10000
+    - name: 'disk2'
+      disk_capacity: 600G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10000
+    - name: 'disk3'
+      disk_capacity: 600G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10000
+  os: CentOS-7
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+    user:
+    pass:
+  remote_management:
+    <<: *remote_params
+    address:
+    mac_address:
+  interfaces:
+    - mac_address: "74:4a:a4:00:91:b3"
+      speed: 1gb
+  fixed_ips:
+    admin: 10.20.6.1
+    mgmt: 192.168.61.238
+    public: 172.60.0.238
+nodes:
+  - name: pod1-node1
+    node: &nodeparas
+      type: baremetal
+      vendor: ZTE
+      model: E9000
+      arch: x86_64
+      cpus: 2
+      cpu_cflags: hasewell
+      cores: 10
+      memory: 128G
+    disks: &disks
+      - name: 'disk1'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+      - name: 'disk2'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.101
+      mac_address: "74:4a:a4:00:cf:d9"
+    interfaces:
+      - mac_address: "74:4a:a4:00:cf:dc"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:b0:e1"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:e2"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:dd"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:de"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod1-node2
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.102
+      mac_address: "74:4a:a4:00:ce:cb"
+    interfaces:
+      - mac_address: "74:4a:a4:00:ce:ce"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:ad"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:ae"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:a9"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:aa"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod1-node3
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.103
+      mac_address: "74:4a:a4:00:cf:55"
+    interfaces:
+      - mac_address: "74:4a:a4:00:cf:58"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:ab"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:ac"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:af"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:b0"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod1-node4
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.104
+      mac_address: "74:4a:a4:00:49:81"
+    interfaces:
+      - mac_address: "74:4a:a4:00:49:84"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:b1:a5"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b1:a6"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b1:b1"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b1:b2"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod1-node5
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.105
+      mac_address: "74:4a:a4:00:ce:bf"
+    interfaces:
+      - mac_address: "74:4a:a4:00:ce:c2"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:8d"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:8e"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:9b"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:9c"
+        speed: 10gb
+        features: dpdk|sriov
diff --git a/labs/zte/pod2.yaml b/labs/zte/pod2.yaml
new file mode 100644 (file)
index 0000000..fac1f9a
--- /dev/null
@@ -0,0 +1,226 @@
+---
+### ZTE POD 2 descriptor file ###
+# refering to https://gerrit.opnfv.org/gerrit/#/c/23727/9/config/pod1.yaml
+
+details:
+  pod_owner: Alex Yang
+  contact: yangyang1@zte.com.cn
+  lab: ZTE Pharos Lab
+  location: Shanghai, China
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/ZTE+SH+Testlab
+##############################################################################
+net_config:
+  # NOTE: Network names are likely to change after the PDF spec is updated
+  oob:
+    interface: 0
+    ip-range: 192.168.1.106-192.168.1.110
+    vlan: null
+  admin:
+    interface: 0
+    vlan: native
+    network: 10.20.7.0
+    mask: 24
+  mgmt:
+    interface: 1
+    vlan: 171
+    network: 192.168.71.0
+    mask: 24
+  storage:
+    interface: 2
+    vlan: 172
+    network: 192.168.72.0
+    mask: 24
+  private:
+    interface: 3
+    vlan: 1170
+    network: 192.168.73.0
+    mask: 24
+  public:
+    interface: 4
+    vlan: 173
+    network: 172.70.0.0
+    mask: 24
+    gateway: 172.70.0.1
+    dns:
+      - 172.10.0.1
+##############################################################################
+jumphost:
+  name: pod2-jump
+  node:
+    type: baremetal
+    vendor: ZTE
+    model: R5300
+    arch: x86_64
+    cpus: 2
+    cpu_cflags: hasewell
+    cores: 12
+    memory: 128G
+  disks:
+    - name: 'disk1'
+      disk_capacity: 600G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10500
+    - name: 'disk2'
+      disk_capacity: 4000G
+      disk_type: hdd
+      disk_interface: sata
+      disk_rotation: 7200
+    - name: 'disk3'
+      disk_capacity: 4000G
+      disk_type: hdd
+      disk_interface: sata
+      disk_rotation: 7200
+
+  os: CentOS-7
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+    user:
+    pass:
+  remote_management:
+    <<: *remote_params
+    address:
+    mac_address:
+  interfaces:
+    - mac_address: "74:4a:a4:00:91:18"
+      speed: 1gb
+  fixed_ips:
+    admin: 10.20.7.1
+    public: 172.70.0.239
+nodes:
+  - name: pod2-node1
+    node: &nodeparas
+      type: baremetal
+      vendor: ZTE
+      model: E9000
+      arch: x86_64
+      cpus: 2
+      cpu_cflags: hasewell
+      cores: 10
+      memory: 128G
+    disks: &disks
+      - name: 'disk1'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+      - name: 'disk2'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.106
+      mac_address: "74:4a:a4:00:cd:6f"
+    interfaces:
+      - mac_address: "74:4a:a4:00:cd:72"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:b0:e9"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:ea"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:eb"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:b0:ec"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod2-node2
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.107
+      mac_address: "74:4a:a4:00:ca:c9"
+    interfaces:
+      - mac_address: "74:4a:a4:00:ca:cc"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:a3"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:a4"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:99"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:9a"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod2-node3
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.108
+      mac_address: "74:4a:a4:00:cd:0f"
+    interfaces:
+      - mac_address: "74:4a:a4:00:cd:12"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:9d"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:9e"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d3:15"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d3:16"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod2-node4
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.109
+      mac_address: "74:4a:a4:00:cf:3d"
+    interfaces:
+      - mac_address: "74:4a:a4:00:cf:40"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d6:a5"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:a6"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:a7"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d6:a8"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod2-node5
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.110
+      mac_address: "74:4a:a4:00:ce:d1"
+    interfaces:
+      - mac_address: "74:4a:a4:00:ce:d4"
+        speed: 1gb
+        features: null
+      - mac_address: "74:4a:a4:00:d2:c3"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d2:c4"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d2:c1"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:d2:c2"
+        speed: 10gb
+        features: dpdk|sriov
diff --git a/labs/zte/pod2/daisy/config/deploy.yml b/labs/zte/pod2/daisy/config/deploy.yml
new file mode 100644 (file)
index 0000000..5b74dad
--- /dev/null
@@ -0,0 +1,78 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+---
+adapter: ipmi
+hosts:
+  - name: 'controller01'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.106
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:cd:72
+      - 74:4a:a4:00:b0:e9
+      - 74:4a:a4:00:b0:ea
+      - 74:4a:a4:00:b0:eb
+      - 74:4a:a4:00:b0:ec
+  - name: 'controller02'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.107
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:ca:cc
+      - 74:4a:a4:00:d6:a3
+      - 74:4a:a4:00:d6:a4
+      - 74:4a:a4:00:d6:99
+      - 74:4a:a4:00:d6:9a
+  - name: 'controller03'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.108
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:cd:12
+      - 74:4a:a4:00:d6:9d
+      - 74:4a:a4:00:d6:9e
+      - 74:4a:a4:00:d3:15
+      - 74:4a:a4:00:d3:16
+  - name: 'computer01'
+    roles:
+      - 'COMPUTER'
+    ipmi_ip: 192.168.1.109
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:cf:40
+      - 74:4a:a4:00:d6:a5
+      - 74:4a:a4:00:d6:a6
+      - 74:4a:a4:00:d6:a7
+      - 74:4a:a4:00:d6:a8
+  - name: 'computer02'
+    roles:
+      - 'COMPUTER'
+    ipmi_ip: 192.168.1.110
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:ce:d4
+      - 74:4a:a4:00:d2:c3
+      - 74:4a:a4:00:d2:c4
+      - 74:4a:a4:00:d2:c1
+      - 74:4a:a4:00:d2:c2
+disks:
+  daisy: 50
+daisy_passwd: ''
+daisy_ip: '10.20.7.3'
+daisy_gateway: '10.20.7.1'
+ceph_disk_name: '/dev/sdb'
diff --git a/labs/zte/pod2/daisy/config/network.yml b/labs/zte/pod2/daisy/config/network.yml
new file mode 100644 (file)
index 0000000..739d1a4
--- /dev/null
@@ -0,0 +1,85 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+
+##############################################################################
+# Description
+# MANAGEMENT: used for PXE, vlan used
+# SOTRAGE: used for storage access
+# EXTERNAL: tenant public/floating IP associated network,
+#     requires a dedicated interface
+# PUBLICAPI: used for horizon access, openstack API access
+# TENANT: used for tenant access, vlan and VxLan supported, default VxLan
+##############################################################################
+---
+network-config-metadata:
+  title: 'Deployment Adapter for baremetal POD'
+  version: '0.1'
+  created: 'Feb 2 2017'
+  comment: 'For Daisy initial'
+networks:
+  - cidr: '192.168.71.0/24'
+    gateway: '192.168.71.1'
+    ip_ranges:
+      - 'start': '192.168.71.2'
+        'end': '192.168.71.254'
+    vlan_id: 171
+    name: 'MANAGEMENT'
+  - cidr: '192.168.72.0/24'
+    gateway: '192.168.72.1'
+    ip_ranges:
+      - 'start': '192.168.72.2'
+        'end': '192.168.72.254'
+    vlan_id: 172
+    name: 'STORAGE'
+  - cidr: '172.70.0.0/24'
+    gateway: '172.70.0.1'
+    ip_ranges:
+      - 'start': '172.70.0.2'
+        'end': '172.70.0.100'
+    vlan_id: 173
+    'name': 'EXTERNAL'
+    network_name: 'admin_external'
+    mapping: 'physnet1'
+  - cidr: '192.168.71.0/24'
+    gateway: '192.168.71.1'
+    ip_ranges:
+      - 'start': '192.168.71.2'
+        'end': '192.168.71.254'
+    vlan_id: 171
+    name: 'PUBLICAPI'
+  - cidr: '192.168.73.0/24'
+    gateway: '192.168.73.1'
+    ip_ranges:
+      - 'start': '192.168.73.2'
+        'end': '192.168.73.254'
+    vlan_id: 1130
+    name: 'TENANT'
+  - cidr: '10.20.7.0/24'
+    gateway: '10.20.7.1'
+    ip_ranges:
+      - 'start': '10.20.7.20'
+        'end': '10.20.7.200'
+    vlan_id: null
+    name: 'HEARTBEAT'
+interfaces:
+  - name: 'EXTERNAL'
+    interface: 'ens44f1'
+  - name: 'MANAGEMENT'
+    interface: 'ens12f0'
+  - name: 'PUBLICAPI'
+    interface: 'ens12f0'
+  - name: 'STORAGE'
+    interface: 'ens12f1'
+  - name: 'TENANT'
+    interface: 'ens44f0'
+  - name: 'HEARTBEAT'
+    interface: 'ens4f0'
+internal_vip: '192.168.71.10'
+public_vip: '10.20.7.11'
diff --git a/labs/zte/pod3.yaml b/labs/zte/pod3.yaml
new file mode 100644 (file)
index 0000000..c3c835b
--- /dev/null
@@ -0,0 +1,210 @@
+---
+### ZTE POD 3 descriptor file ###
+# refering to https://gerrit.opnfv.org/gerrit/#/c/23727/9/config/pod1.yaml
+
+details:
+  pod_owner: Alex Yang
+  contact: yangyang1@zte.com.cn
+  lab: ZTE Pharos Lab
+  location: Shanghai, China
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/ZTE+SH+Testlab
+##############################################################################
+net_config:
+  # NOTE: Network names are likely to change after the PDF spec is updated
+  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
+##############################################################################
+jumphost:
+  name: pod3-jump
+  node:
+    type: baremetal
+    vendor: ZTE
+    model: R5300
+    arch: x86_64
+    cpus: 1
+    cpu_cflags: hasewell
+    cores: 6
+    memory: 80G
+  disks:
+    - name: 'disk1'
+      disk_capacity: 300G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10000
+    - name: 'disk2'
+      disk_capacity: 300G
+      disk_type: hdd
+      disk_interface: sas
+      disk_rotation: 10000
+    - name: 'disk3'
+      disk_capacity: 1200G
+      disk_type: hdd
+      disk_interface: iscsi
+      disk_rotation: 10000
+  os: CentOS-7
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+    user:
+    pass:
+  remote_management:
+    <<: *remote_params
+    address:
+    mac_address:
+  interfaces:
+    - mac_address: "74:4a:a4:00:21:0c"
+      speed: 1gb
+  fixed_ips:
+    admin: 10.20.0.1
+    public: 172.10.0.240
+nodes:
+  - name: pod3-node1
+    node: &nodeparas
+      type: baremetal
+      vendor: ZTE
+      model: E9000
+      arch: x86_64
+      cpus: 2
+      cpu_cflags: ivybridge
+      cores: 10
+      memory: 64G
+    disks: &disks
+      - name: 'disk1'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+      - name: 'disk2'
+        disk_capacity: 600G
+        disk_type: hdd
+        disk_interface: sas
+        disk_rotation: 10000
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.32
+      mac_address: "0c:12:62:e4:bf:de"
+    interfaces:
+      - mac_address: "74:4a:a4:00:0b:85"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:0b:86"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:0b:87"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:0b:88"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod3-node2
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.33
+      mac_address: "00:12:62:e4:c0:33"
+    interfaces:
+      - mac_address: "74:4a:a4:00:5c:5d"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:5e"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:5f"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:60"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod3-node3
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.34
+      mac_address: "74:4a:a4:00:30:93"
+    interfaces:
+      - mac_address: "74:4a:a4:00:5c:35"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:36"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:37"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:38"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod3-node4
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.35
+      mac_address: "00:12:62:e4:c0:42"
+    interfaces:
+      - mac_address: "74:4a:a4:00:5c:69"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:6a"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:6b"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:6c"
+        speed: 10gb
+        features: dpdk|sriov
+  - name: pod3-node5
+    node: *nodeparas
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 192.168.1.36
+      mac_address: "74:4a:a4:00:30:43"
+    interfaces:
+      - mac_address: "74:4a:a4:00:5c:6d"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:6e"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:6f"
+        speed: 10gb
+        features: dpdk|sriov
+      - mac_address: "74:4a:a4:00:5c:70"
+        speed: 10gb
+        features: dpdk|sriov
diff --git a/labs/zte/pod3/daisy/config/deploy.yml b/labs/zte/pod3/daisy/config/deploy.yml
new file mode 100644 (file)
index 0000000..55c1b07
--- /dev/null
@@ -0,0 +1,73 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+---
+adapter: ipmi
+hosts:
+  - name: 'controller01'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.32
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:0b:85
+      - 74:4a:a4:00:0b:86
+      - 74:4a:a4:00:0b:87
+      - 74:4a:a4:00:0b:88
+  - name: 'controller02'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.33
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:5c:5d
+      - 74:4a:a4:00:5c:5e
+      - 74:4a:a4:00:5c:5f
+      - 74:4a:a4:00:5c:60
+  - name: 'controller03'
+    roles:
+      - 'CONTROLLER_LB'
+    ipmi_ip: 192.168.1.34
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:5c:35
+      - 74:4a:a4:00:5c:36
+      - 74:4a:a4:00:5c:37
+      - 74:4a:a4:00:5c:38
+  - name: 'computer01'
+    roles:
+      - 'COMPUTER'
+    ipmi_ip: 192.168.1.35
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:5c:69
+      - 74:4a:a4:00:5c:6a
+      - 74:4a:a4:00:5c:6b
+      - 74:4a:a4:00:5c:6c
+  - name: 'computer02'
+    roles:
+      - 'COMPUTER'
+    ipmi_ip: 192.168.1.36
+    ipmi_user:
+    ipmi_pass:
+    mac_addresses:
+      - 74:4a:a4:00:5c:6d
+      - 74:4a:a4:00:5c:6e
+      - 74:4a:a4:00:5c:6f
+      - 74:4a:a4:00:5c:70
+disks:
+  daisy: 50
+daisy_passwd: ''
+daisy_ip: '10.20.0.2'
+daisy_gateway: '10.20.0.1'
+ceph_disk_name: '/dev/sdb'
diff --git a/labs/zte/pod3/daisy/config/network.yml b/labs/zte/pod3/daisy/config/network.yml
new file mode 100644 (file)
index 0000000..b2d6696
--- /dev/null
@@ -0,0 +1,85 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+
+##############################################################################
+# Description
+# MANAGEMENT: used for PXE, vlan used
+# SOTRAGE: used for storage access
+# EXTERNAL: tenant public/floating IP associated network,
+#     requires a dedicated interface
+# PUBLICAPI: used for horizon access, openstack API access
+# TENANT: used for tenant access, vlan and VxLan supported, default VxLan
+##############################################################################
+---
+network-config-metadata:
+  title: 'Deployment Adapter for baremetal POD'
+  version: '0.1'
+  created: 'Sep 13 2017'
+  comment: 'For Daisy initial'
+networks:
+  - cidr: '192.168.11.0/24'
+    gateway: '192.168.11.1'
+    ip_ranges:
+      - 'start': '192.168.11.2'
+        'end': '192.168.11.254'
+    vlan_id: 101
+    name: 'MANAGEMENT'
+  - cidr: '192.168.12.0/24'
+    gateway: '192.168.12.1'
+    ip_ranges:
+      - 'start': '192.168.12.2'
+        'end': '192.168.12.254'
+    vlan_id: 102
+    name: 'STORAGE'
+  - cidr: '172.10.0.0/24'
+    gateway: '172.10.0.1'
+    ip_ranges:
+      - 'start': '172.10.0.2'
+        'end': '172.10.0.200'
+    vlan_id: 103
+    'name': 'EXTERNAL'
+    network_name: 'admin_external'
+    mapping: 'physnet1'
+  - cidr: '192.168.11.0/24'
+    gateway: '192.168.11.1'
+    ip_ranges:
+      - 'start': '192.168.11.2'
+        'end': '192.168.11.254'
+    vlan_id: 101
+    name: 'PUBLICAPI'
+  - cidr: '192.168.13.0/24'
+    gateway: '192.168.13.1'
+    ip_ranges:
+      - 'start': '192.168.13.2'
+        'end': '192.168.13.254'
+    vlan_id: 1030
+    name: 'TENANT'
+  - cidr: '10.20.0.0/24'
+    gateway: '10.20.0.1'
+    ip_ranges:
+      - 'start': '10.20.0.20'
+        'end': '10.20.0.200'
+    vlan_id: null
+    name: 'HEARTBEAT'
+interfaces:
+  - name: 'EXTERNAL'
+    interface: 'enp132s0f1'
+  - name: 'MANAGEMENT'
+    interface: 'enp2s0f1'
+  - name: 'PUBLICAPI'
+    interface: 'enp2s0f1'
+  - name: 'STORAGE'
+    interface: 'enp132s0f0'
+  - name: 'TENANT'
+    interface: 'enp132s0f1'
+  - name: 'HEARTBEAT'
+    interface: 'enp2s0f0'
+internal_vip: '192.168.11.10'
+public_vip: '10.20.0.11'
diff --git a/labs/zte/virtual1/daisy/config/deploy.yml b/labs/zte/virtual1/daisy/config/deploy.yml
new file mode 100644 (file)
index 0000000..49db19e
--- /dev/null
@@ -0,0 +1,32 @@
+---
+adapter: libvirt
+hosts:
+  - name: 'controller01'
+    roles:
+      - 'CONTROLLER_LB'
+    template: 'templates/virtual_environment/vms/controller.xml'
+  - name: 'controller02'
+    roles:
+      - 'CONTROLLER_LB'
+    template: 'templates/virtual_environment/vms/controller.xml'
+  - name: 'controller03'
+    roles:
+      - 'CONTROLLER_LB'
+    template: 'templates/virtual_environment/vms/controller.xml'
+  - name: 'computer01'
+    roles:
+      - 'COMPUTER'
+    template: 'templates/virtual_environment/vms/computer.xml'
+  - name: 'computer02'
+    roles:
+      - 'COMPUTER'
+    template: 'templates/virtual_environment/vms/computer.xml'
+disks:
+  daisy: 50
+  controller: 110
+  compute: 110
+  ceph: 110
+daisy_passwd: ''
+daisy_ip: '10.20.11.2'
+daisy_gateway: '10.20.11.1'
+ceph_disk_name: '/dev/sdb'
diff --git a/labs/zte/virtual1/daisy/config/network.yml b/labs/zte/virtual1/daisy/config/network.yml
new file mode 100644 (file)
index 0000000..35b49fe
--- /dev/null
@@ -0,0 +1,69 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Coreporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+---
+network-config-metadata:
+  title: 'zte-virtual1 network config'
+  version: '0.1'
+  created: 'Tue Apr 11 2017'
+  comment: 'five vm node deploy'
+networks:
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'MANAGEMENT'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'STORAGE'
+  - cidr: '172.10.101.0/24'
+    gateway: '172.10.101.1'
+    ip_ranges:
+      - start: '172.10.101.2'
+        end: '172.10.101.20'
+    name: 'EXTERNAL'
+    network_name: 'admin_external'
+    mapping: 'physnet1'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'PUBLICAPI'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'TENANT'
+  - cidr: '100.20.11.0/24'
+    gateway: '100.20.11.1'
+    ip_ranges:
+      - start: '100.20.11.3'
+        end: '100.20.11.10'
+    name: 'HEARTBEAT'
+interfaces:
+  - name: 'EXTERNAL'
+    interface: 'ens8'
+  - name: 'MANAGEMENT'
+    interface: 'ens3'
+  - name: 'PUBLICAPI'
+    interface: 'ens3'
+  - name: 'STORAGE'
+    interface: 'ens3'
+  - name: 'TENANT'
+    interface: 'ens3'
+  - name: 'HEARTBEAT'
+    interface: 'ens9'
+internal_vip: '10.20.11.11'
+public_vip: '10.20.11.11'
diff --git a/labs/zte/virtual2/daisy/config/deploy.yml b/labs/zte/virtual2/daisy/config/deploy.yml
new file mode 100644 (file)
index 0000000..1f25e02
--- /dev/null
@@ -0,0 +1,16 @@
+---
+adapter: libvirt
+hosts:
+  - name: 'all_in_one'
+    roles:
+      - 'CONTROLLER_LB'
+      - 'COMPUTER'
+    template: 'templates/virtual_environment/vms/all_in_one.xml'
+disks:
+  daisy: 50
+  controller: 110
+  compute: 110
+daisy_passwd: ''
+daisy_ip: '10.20.11.2'
+daisy_gateway: '10.20.11.1'
+ceph_disk_name: ''
diff --git a/labs/zte/virtual2/daisy/config/network.yml b/labs/zte/virtual2/daisy/config/network.yml
new file mode 100644 (file)
index 0000000..d27fd03
--- /dev/null
@@ -0,0 +1,69 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Coreporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# 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
+##############################################################################
+---
+network-config-metadata:
+  title: 'zte-virtual2 network config'
+  version: '0.1'
+  created: 'Tue Apr 11 2017'
+  comment: 'all-in-one vm node deploy'
+networks:
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'MANAGEMENT'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'STORAGE'
+  - cidr: '172.10.101.0/24'
+    gateway: '172.10.101.1'
+    ip_ranges:
+      - start: '172.10.101.2'
+        end: '172.10.101.20'
+    name: 'EXTERNAL'
+    network_name: 'admin_external'
+    mapping: 'physnet1'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'PUBLICAPI'
+  - cidr: '10.20.11.0/24'
+    gateway: '10.20.11.1'
+    ip_ranges:
+      - start: '10.20.11.3'
+        end: '10.20.11.10'
+    name: 'TENANT'
+  - cidr: '100.20.11.0/24'
+    gateway: '100.20.11.1'
+    ip_ranges:
+      - start: '100.20.11.3'
+        end: '100.20.11.10'
+    name: 'HEARTBEAT'
+interfaces:
+  - name: 'EXTERNAL'
+    interface: 'ens8'
+  - name: 'MANAGEMENT'
+    interface: 'ens3'
+  - name: 'PUBLICAPI'
+    interface: 'ens3'
+  - name: 'STORAGE'
+    interface: 'ens3'
+  - name: 'TENANT'
+    interface: 'ens3'
+  - name: 'HEARTBEAT'
+    interface: 'ens9'
+internal_vip: '10.20.11.11'
+public_vip: '10.20.11.11'