Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / instance-scenarios / examples / instance-creation-complex4.yaml
diff --git a/instance-scenarios/examples/instance-creation-complex4.yaml b/instance-scenarios/examples/instance-creation-complex4.yaml
new file mode 100644 (file)
index 0000000..b43010a
--- /dev/null
@@ -0,0 +1,63 @@
+##
+# 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
+##
+---
+schema_version:  "0.1"
+instance:
+  name:          complex4-instance
+  description:   Example of IP parameters in networks
+  scenario:      complex4
+  networks: 
+    dataconn1:
+      ip-profile:
+        ip-version:       IPv4
+        subnet-address:   10.11.1.0/24
+        gateway-address:  10.11.1.1
+        dns-address:      8.8.8.8
+        dhcp:
+          enabled:       true
+          start-address: 10.11.1.100
+          count:         150
+      interfaces:
+      -   vnf:           VNF1
+          vnf_interface: in
+          ip_address:    10.11.1.2
+      -   vnf:           VNF2
+          vnf_interface: in
+          ip_address:    10.11.1.3
+    dataconn2:
+      ip-profile:
+        ip-version:       IPv4
+        subnet-address:   10.11.2.0/24
+        gateway-address:  10.11.2.1
+        dns-address:      8.8.8.8
+        dhcp:
+          enabled:       true
+          start-address: 10.11.2.100
+          count:         150
+      interfaces:
+      -   vnf:           VNF1
+          vnf_interface: out
+          ip_address:    10.11.2.2
+      -   vnf:           VNF2
+          vnf_interface: out
+          ip_address:    10.11.2.3
+
+