d082a24eef661bf31d0801f8d4639de7aa28c610
[octopus.git] / scenarios / examples / sdf-mano-example.yaml
1 ---
2 ##############################################################################
3 # Copyright (c) 2017 Huawei and others.
4 # ulrich.kleber@huawei.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 ##############################################################################
12 # Description:
13 # This is an example for a MANO scenario
14 # It illustrates how MANO components can test orchestration capabilities
15 # together with various infrastructure scenarios.
16 # This way, the SDF describes the MANO components (NFVO and VNFM) only. For
17 # the infrastructure (NFVI and VIM) part another scenario is just referenced;
18 # that scenario is deployed independently in a separate deployment step, and
19 # can be deployed even using a different installer tool.
20 #
21 # More details can be found in the scenario lifecycle document.
22 ##############################################################################
23
24 ##############################################################################
25 # scenario meta-data: Metadata describing this sdf.yaml file and the
26 # scenario history and purpose, like in any other scenario descriptor
27 scenario-metadata:
28   name: orchestra-example
29   title: "orchestra main scenario"
30   generic-scenario: false
31   version: 1.0.3
32   creation-date: 2017-07-13
33   # This scenario integrates the main open-baton NFVO components to OPNFV
34   # infrastructure.
35   # In the first step, no sdn controller scenarios are supported, but only
36   # os-nosdn-nofeature and os-nosdn-ovs, installed by compass.
37   opnfv-release: euphrates
38   opnfv-version:
39     - begins: 5.1.0
40   owner: Ulrich Kleber, ulrich.kleber@huawei.com
41
42 ##############################################################################
43
44 ##############################################################################
45 # components
46 components:
47   - nfvo:
48       type: open-baton
49       version: 3.0
50       # here a list of optional features or artifacts to deploy could follow
51
52   - vnfm:
53       type: juju
54       # juju doesn't have release name
55       version: 2.2
56
57   - opnfv-infrastructure:
58       release: euphrates    # this determines also ocata as openstack version
59       version: 5.0.0
60       scenarios:
61         - os-nosdn-nofeature:
62           options:
63             - availability: [HA, NOHA]
64             - tools: [compass, joid]
65             # this is for the example. In first step only joid will work
66         - os-nosdn-ovs:
67           options:
68             - availability: [HA, NOHA]
69             - tools: compass
70
71 ##############################################################################
72
73 ##############################################################################
74 # deployment options
75
76 deployment-options:
77   deployment-types:
78     - baremetal:
79       architecture: x86_64
80
81   # $$$$ following proposal 2 from the template (patchset 6)
82   roles:
83     - jump-host:
84         components:
85           - open-baton
86           - juju-controller
87     - controller-node:
88         components:
89           - juju-client
90           # this is in addition to the components defined in the
91           # opnfv-infrastructure scenario.
92     - compute-node:     # no additional component to be deployed here
93
94   role-disctribution:
95     - ha:
96         controller-node: 3
97         compute-node: 2
98         jump-host: 1
99     - noha:
100         controller-node: 1
101         compute-node: 4
102         jump-host: 1
103
104   deployment-tools:
105     # Please note that the component "opnfv-infrastructure" specified their
106     # own deployment tools and options. Definition here is related only
107     # for the nfvo and vnfm components specified above.
108
109     - joid:
110         cpu: intel
111         pod: baremetal
112         availability: HA
113     - joid:
114         cpu: intel
115         pod: baremetal
116         availability: NOHA
117     - joid:
118         cpu: intel
119         pod: virtual
120         availability: NOHA
121
122 ##############################################################################
123
124 ##############################################################################
125 # Prerequisites
126 prerequisites:
127   RAM: 128GB