cbac4fb293549be81ca0fb888384a7f43315eabb
[octopus.git] / scenarios / examples / sdf-fdio-example.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei others.
3 # ulrich.kleber@huawei.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 ##############################################################################
11 # Description:
12 # This an example for a specific scenario.
13 # It is derived from:
14 # apex/config/deploy/os-odl_l2-fdio-ha
15 ##############################################################################
16
17 ##############################################################################
18 # scenario meta-data
19 scenario-metadata:
20   name: odl-fdio-devops
21   title: fdio odl basic for devops
22   generic-scenario: false
23   version: 1.0.0
24   creation-date:  2017-03-16
25   # This scenario introduces fd.io with odl and a basic feature set.
26   # It is derived from parent odl_l2 nofeature. In a next step, odl_l2 and
27   # old_l3 functionality shall be merged and provide sfc as well as other
28   # features.
29   # This scenario will use newer versions of ODL and other upstream components
30   # than used in Euphrates. It is planned to release it or DevOps use more
31   # often than regular OPNFV release cycle.
32   opnfv-release: colorado
33   opnfv-version: 3.1.0  # the first opnfv version, the scenario was introduced
34   owner: Frank Brockners, frank.brockners@cisco.com
35   # Add additional contact persons e.g. from installers or major components
36
37 ##############################################################################
38
39 ##############################################################################
40 # components
41 components:
42   - sdn-controller:
43       component-type: opendaylight
44       release: carbon
45       version: ">6.0.1"
46       features:
47         - odl_l2
48         - vpp
49   - storage:
50       component-type: ceph
51       #$$$$ Should we add num-replicas 3 here?
52
53   - cloud-controller:
54       type: openstack
55       release: ocata
56       modules:
57         - nova
58         - cinder
59         - dashboard
60         - glance
61         - heat
62         - neutron
63         - tacker
64         - congress
65   - dataplane:
66       type: fdio
67       release: xx
68       version: 9.9.9
69       features:
70         - performance:
71             controller-nodes:
72               kernel:
73                 hugepages: 1024   # decimal number
74                 hugepagesz: 2M    # values like 2M, 1G
75                 intel_iommu: 'on'
76                 iommu: pt
77                 isolcpus: 1,2
78               vpp:
79                 main-core: 1
80                 corelist-workers: 2
81                 uio-driver: uio_pci_generic
82             compute-nodes:
83               kernel:
84                 hugepagesz: 2M
85                 hugepages: 2048
86                 intel_iommu: 'on'
87                 iommu: pt
88                 isolcpus: 1,2
89               vpp:
90                 main-core: 1
91                 corelist-workers: 2
92                 uio-driver: uio_pci_generic
93 ##############################################################################
94
95 ##############################################################################
96 # deployment options
97 deployment-options:
98   deployment-types:     # only intel baremetal is supported
99     - baremetal:
100       architecture: x86_64
101   availability:
102     - ha:               # We support only HA
103         nodes:
104           - name: host1
105             roles:
106               - openstack-controller # need to add fd.io?
107               - odl
108           - name: host2
109             roles:
110               - openstack-controller
111               - odl
112           - name: host3
113             roles:
114               - openstack-controller
115               - odl
116           - name: host4              # need to add fd.io?
117             roles:
118               - openstack-compute
119           - name: host5
120             roles:
121               - openstack-compute
122   deployment-tools:
123     - apex:
124          cpu: intel
125          pod: baremetal
126          availability: ha
127     # fuel support shall be added soon
128 ##############################################################################
129
130 ##############################################################################
131 # Prerequisites
132 # No other prerequisites
133 ##############################################################################