Pip standerdization and tox replacement
[osm/RO.git] / scenarios / scenario-template.yaml
1 ##
2 # Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
3 # This file is part of openmano
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 #
18 # For those usages not covered by the Apache License, Version 2.0 please
19 # contact with: nfvlabs@tid.es
20 ##
21 ---
22 name:            insert a name for the scenario
23 description:     insert a description for the scenario
24 topology:
25   nodes:
26     vnf1:                     # vnf/net name in the scenario
27       type:      VNF          # VNF, network, external_network (if it is a datacenter network)
28       VNF model: vnf_model1   # VNF name as introduced in OPENMANO DB
29       # vnf_id:    519f03ee-8ab6-11e4-ab4c-52540056c317   # Optionally, instead of the VNF name, the VNF id in Openmano DB can be used
30     vnf2:
31       type:      VNF
32       VNF model: vnf_model2
33       # Optional information for display in the openmano-gui: graphical position of the node and its interfaces
34       graph:     {"y":399,"x":632,"ifaces":{"left":[["xe0","d"],["xe1","d"]],"bottom":[["eth0","v"],["eth1","m"]]}}
35     bridge1:                  # Bridge networks must be declared in this section if we want to interconnect VNFs using a Linux bridge
36       type:      network
37       model:     bridge_net   # 'bridge_net' or 'dataplane_net' for 'network' type
38     default:                  # External networks (datacenter nets) must be declared in this section if we want to interconnect VNFs to them
39       type:      external_network
40       model:     default      # datacenter net name, as introduced in OPENMANO DB
41   connections:                # In this section, connections between VNFs and networks are explicited
42     datanet:                  # name
43       # Data plane connections do not need to include a bridge since they are built through the Openflow Controller
44       nodes:                  # nodes that will be connected: one or several vnfs, and optionally one additional network declared in nodes section
45       -  vnf1: xe0            # First node and its interface to be connected (interfaces must match to one in the VNF descriptor)
46       -  vnf2: xe0            # Second node and its interface
47     control net:
48       # Control plane connections must include a bridge network in the list of nodes
49       nodes:
50       -   bridge1: null       # Bridge networks must be included if we want to interconnect the nodes to that network
51       -   vnf1: eth1
52       -   vnf2: eth1
53     external net:
54       # Connections based on external networks (datacenter nets) must include the external network in the list of nodes
55       nodes:
56       -   default: null       # Datacenter networks (external networks) must be included if we want to interconnect the nodes to that network
57       -   vnf1: eth0
58       -   vnf1: eth0
59