v0.4.38 new openmanoclient.py library; new version2 for scenario descriptor
[osm/RO.git] / scenarios / scenario-template2.yaml
1 ---
2 schema_version:  2
3 scenario:
4   name:          insert a name for the scenario
5   description:   insert a description for the scenario
6   public:        false      # if available for other tenants
7   vnfs:
8     vnf1:                     # vnf name in the scenario
9       #identify an already openmano uploaded VNF either by vnf_id (uuid, prefered) or vnf_name
10       vnf_id:    fb356022-f664-11e5-a1e7-0800273e724c                  #prefered id method
11       #vnf_name:  openmano_vnf_name   #can fail if several vnfs matches this name 
12       #graph:     {"y":399,"x":332,"ifaces":{"left":[["xe0","d"],["xe1","d"]],"bottom":[["eth0","v"],["eth1","m"]]}}
13     vnf2:
14       vnf_name:  vnf_name_2 # can fail if several vnfs matches this name 
15       graph:     {"y":399,"x":632,"ifaces":{"left":[["xe0","d"],["xe1","d"]],"bottom":[["eth0","v"],["eth1","m"]]}}
16   networks:                
17     net1:                     # network name in the scenario
18       #optional type, deduced from interfaces
19       type:      dataplane # "dataplane", "bridge"  
20       #graph:     {}
21       interfaces:                  # nodes that will be connected: one or several vnfs
22       -  vnf1:   xe0            # First node and its interface to be connected (interfaces must match to one in the VNF descriptor)
23       -  vnf2:   xe0            # Second node and its interface
24     control net:
25       # Control plane connections must include a bridge network in the list of nodes
26       interfaces:
27       -   vnf1:  eth1
28       -   vnf2:  eth1
29     out:
30       # Connections based on external networks (datacenter nets) must include the external network in the list of nodes
31       type:      dataplane
32       external:  true       #this will be connected outside
33       interfaces:
34       -   vnf1:  xe1
35