change scenario examples to schema version 2
[osm/RO.git] / scenarios / examples / complex2.yaml
index b8969cf..1a418d4 100644 (file)
 # contact with: nfvlabs@tid.es
 ##
 ---
-name:            complex2
-description:     Complex network scenario consisting of 2 VNFs interconnected
-topology: 
-  nodes: 
-    VNF2vms:                        # vnf/net name in the scenario
-      type:      VNF                # VNF, network, external_network (if it is a datacenter network)
-      VNF model: dataplaneVNF_2VMs  # VNF name as introduced in OPENMANO DB
+schema_version:  2
+scenario:
+  name:          complex2
+  description:   Complex network scenario consisting of 2 VNFs interconnected
+  public:        false
+  vnfs: 
+    VNF2vms:                        # vnf name in the scenario
+      vnf_name:  dataplaneVNF_2VMs  # openmano vnf name
     VNF3:
-      type:      VNF
-      VNF model: dataplaneVNF3
-    default: 
-      type:      external_network # Datacenter net
-      model:     default
-  connections: 
+      vnf_name:  dataplaneVNF3
+  networks: 
     dataconn1:
-      nodes: 
+      interfaces: 
       -   VNF2vms: in
       -   VNF3:    data0
     dataconn2:
-      nodes: 
+      interfaces: 
       -   VNF2vms: out
       -   VNF3:    data1
-    mngmt-net:
-      nodes: 
-      -   default: null
+    default:
+      interfaces: 
       -   VNF2vms: control0
       -   VNF2vms: control1
       -   VNF3:    mgmt