blob: 0719e17336e9bdea3fb1abe70fa5323d408cfb69 [file] [log] [blame]
tiernoc50e5da2016-07-06 17:49:45 +02001##
2# Copyright 2015 Telefónica Investigación 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##
tierno392f2852016-05-13 12:28:55 +020021---
22schema_version: 2
23scenario:
24 name: insert a name for the scenario
25 description: insert a description for the scenario
26 public: false # if available for other tenants
27 vnfs:
28 vnf1: # vnf name in the scenario
29 #identify an already openmano uploaded VNF either by vnf_id (uuid, prefered) or vnf_name
30 vnf_id: fb356022-f664-11e5-a1e7-0800273e724c #prefered id method
31 #vnf_name: openmano_vnf_name #can fail if several vnfs matches this name
32 #graph: {"y":399,"x":332,"ifaces":{"left":[["xe0","d"],["xe1","d"]],"bottom":[["eth0","v"],["eth1","m"]]}}
33 vnf2:
34 vnf_name: vnf_name_2 # can fail if several vnfs matches this name
35 graph: {"y":399,"x":632,"ifaces":{"left":[["xe0","d"],["xe1","d"]],"bottom":[["eth0","v"],["eth1","m"]]}}
36 networks:
37 net1: # network name in the scenario
38 #optional type, deduced from interfaces
39 type: dataplane # "dataplane", "bridge"
40 #graph: {}
41 interfaces: # nodes that will be connected: one or several vnfs
42 - vnf1: xe0 # First node and its interface to be connected (interfaces must match to one in the VNF descriptor)
43 - vnf2: xe0 # Second node and its interface
44 control net:
45 # Control plane connections must include a bridge network in the list of nodes
46 interfaces:
47 - vnf1: eth1
48 - vnf2: eth1
49 out:
50 # Connections based on external networks (datacenter nets) must include the external network in the list of nodes
51 type: dataplane
52 external: true #this will be connected outside
53 interfaces:
54 - vnf1: xe1
55