Adding cover to tox.ini default envs
[osm/RO.git] / scenarios / examples / simple.yaml
old mode 100755 (executable)
new mode 100644 (file)
index 7ea2b4b..e9c8768
@@ -1,17 +1,34 @@
+##
+# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
+# This file is part of openmano
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
 ---
-name:            simple
-description:     Simple network scenario consisting of a single VNF connected to an external network
-topology: 
-  nodes: 
+schema_version:  2
+scenario:
+  name:          simple
+  description:   Simple network scenario consisting of a single VNF connected to an external network
+  vnfs: 
     linux1:                   # vnf/net name in the scenario
-      type:      VNF          # VNF, network, external_network (if it is a datacenter network)
-      VNF model: linux        # VNF name as introduced in OPENMANO DB
-    default: 
-      type:      external_network # Datacenter net
-      model:     default
-  connections: 
-    conn1:                   # provide a name for this net or connection
-      nodes: 
-      -   default: null      # Datacenter net
-      -   linux1: eth0       # Node and its interface
+      vnf_name:  linux        # VNF name as introduced in OPENMANO DB
+  networks: 
+    default:                   # provide a name for this net or connection
+      external:  true
+      interfaces: 
+      - linux1:  eth0       # Node and its interface