Proposition to add a network descriptor in the pdf file 83/38283/8
authorJulien <zhang.jun3g@zte.com.cn>
Thu, 27 Jul 2017 14:39:37 +0000 (16:39 +0200)
committerBlaisonneau David <david.blaisonneau@orange.com>
Thu, 24 Aug 2017 14:20:09 +0000 (16:20 +0200)
linked with patch 36297

Add a network descriptor in the file.
The network descriptor contains what is in the wiki
Each network is linked to an interface number, who refer to an interface
  on each server.
Each nodes, list only mac addresses that are used, and plugged, in order
Each nodes can specify ip addresses for each interfaces, it is optionnal
  depending on installer choice
This solution split network definition and node definition that contains
  only physical informations

Updated this patchset to fix typos
we could rename the net_config names to be less openstack specific
But I don't think it hurts and deploying openstack is a major usecase.

Change-Id: I27f4a56db0e50436f5c59e1645b6d2c4c9b8ae5c
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
Signed-off-by: agardner <agardner@linuxfoundation.org>
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
labs/lf/pod4.yaml [new file with mode: 0644]

diff --git a/labs/lf/pod4.yaml b/labs/lf/pod4.yaml
new file mode 100644 (file)
index 0000000..b75f54a
--- /dev/null
@@ -0,0 +1,168 @@
+---
+### LF POD 4 descriptor file ###
+
+details:
+  pod owner: Trevor Bramwell
+  contact: tbramwell@linuxfoundation.org
+  lab: LF Pharos Lab
+  location: Portland
+  type: production
+  link: https://wiki.opnfv.org/display/pharos/LF+POD+4
+###################################################
+net_config:
+  oob:
+    interface: 0
+    ip-range: 172.30.8.83-172.30.8.88
+    vlan: 410
+  admin:
+    interface: 0
+    vlan: 0
+    network: 10.20.0.0
+    mask: 25
+    gateway: 10.20.0.1
+    dns: 10.20.0.1
+  mgmt:
+    interface: 1
+    vlan: 450
+    network: 192.168.0.0
+    mask: 25
+  storage:
+    interface: 2
+    vlan: 451
+    network: 192.168.1.0
+    mask: 25
+  private:
+    interface: 1
+    vlan: 452
+    network: 192.168.2.0
+    mask: 25
+  public:
+    interface: 2
+    vlan: 414
+    network: 172.30.12.64
+    mask: 26
+###################################################
+jumphost:
+  name: lfpod4-jumpserver
+  node:
+    type: baremetal
+    vendor: Intel
+    model: E5-2699
+    arch: x86_64
+    cpus: 4
+    cpu_cflags: haswell
+    cores: 22
+    memory: 64G
+  disks: &disks
+    - name: 'disk1'
+      disk_capacity: 480G
+      disk_type: ssd
+      disk_interface: sata
+      disk_rotation: ssd
+  os: centos-7
+  remote_params: &remote_params
+    type: ipmi
+    versions:
+      - 2.0
+  remote_management:
+    <<: *remote_params
+    address: 172.30.8.83
+    mac_address: "a4:bf:01:01:b0:bb"
+  interfaces:
+    - "a4:bf:01:01:b0:b9"
+    - "00:1e:67:fd:9a:04"
+    - "00:1e:67:fd:9a:05"
+  fixed_ips:
+    admin: 10.20.0.2
+    mgmt: 192.168.0.2
+    public: 172.30.12.83
+####################################################
+nodes:
+  - name: lfpod4-node1
+    node: &nodeparams
+      type: baremetal
+      vendor: Intel
+      model: E5-2699
+      arch: x86_64
+      cpus: 4
+      cpu_cflags: hasewell
+      cores: 22
+      memory: 64G
+    disks: *disks
+    os: centos-7
+    remote_management:
+      <<: *remote_params
+      address: 172.30.8.84
+      mac_address: "a4:bf:01:01:ab:b6"
+    interfaces:
+      - "a4:bf:01:01:ab:b4"
+      - "00:1e:67:fd:9b:32"
+      - "00:1e:67:fd:9b:33"
+    fixed_ips:
+      admin: 10.20.0.4
+      mgmt: 192.168.0.4
+      public: 172.30.12.84
+#####################################
+  - name: lfpod4-node2
+    node: *nodeparams
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 172.30.8.85
+      mac_address: "a4:bf:01:01:b6:97"
+    interfaces:
+      - "a4:bf:01:01:b6:95"
+      - "00:1e:67:fd:98:e2"
+      - "00:1e:67:fd:98:e3"
+    fixed_ips:
+      admin: 10.20.0.5
+      mgmt: 192.168.0.5
+      public: 172.30.12.85
+#####################################################
+  - name: lfpod4-node3
+    node: *nodeparams
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 172.30.8.86
+      mac_address: "a4:bf:01:01:66:fe"
+    interfaces:
+      - "a4:bf:01:01:66:fc"
+      - "00:1e:67:fd:9c:c8"
+      - "00:1e:67:fd:9c:c9"
+    fixed_ips:
+      admin: 10.20.0.5
+      mgmt: 192.168.0.5
+      public: 172.30.12.85
+######################################################
+  - name: lfpod4-node4
+    node: *nodeparams
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 172.30.8.87
+      mac_address: "a4:bf:01:01:b2:f5"
+    interfaces:
+      - "a4:bf:01:01:b2:f3"
+      - "00:1e:67:fd:9b:38"
+      - "00:1e:67:fd:9b:39"
+    fixed_ips:
+      admin: 10.20.0.6
+      mgmt: 192.168.0.6
+      public: 172.30.12.86
+######################################################
+  - name: lfpod4-node5
+    node: *nodeparams
+    disks: *disks
+    remote_management:
+      <<: *remote_params
+      address: 172.30.8.88
+      mac_address: "a4:bf:01:01:b5:11"
+    interfaces:
+      - "a4:bf:01:01:b5:0f"
+      - "00:1e:67:fd:99:40"
+      - "00:1e:67:fd:99:41"
+    fixed_ips:
+      admin: 10.20.0.7
+      mgmt: 192.168.0.7
+      public: 172.30.12.87