Add uninstall and test scripts for SEBA
[iec.git] / src / use_cases / seba_on_arm / install / olt.yaml
diff --git a/src/use_cases/seba_on_arm/install/olt.yaml b/src/use_cases/seba_on_arm/install/olt.yaml
new file mode 100644 (file)
index 0000000..df5b77f
--- /dev/null
@@ -0,0 +1,32 @@
+tosca_definitions_version: tosca_simple_yaml_1_0\r
+imports:\r
+  - custom_types/oltdevice.yaml\r
+  - custom_types/onudevice.yaml\r
+  - custom_types/voltservice.yaml\r
+description: Create an OLT Device in VOLTHA\r
+topology_template:\r
+  node_templates:\r
+\r
+    service#volt:\r
+      type: tosca.nodes.VOLTService\r
+      properties:\r
+        name: volt\r
+        must-exist: true\r
+\r
+    olt_device:\r
+      type: tosca.nodes.OLTDevice\r
+      properties:\r
+        name: My OLT\r
+        device_type: openolt\r
+        host: {{bbsim_ip}}\r
+        port: 50060\r
+        switch_datapath_id: of:0000000000000002             # the openflow switch to which the OLT is connected\r
+        switch_port: "1"          # the port on the switch on which the OLT is connected\r
+        outer_tpid: "0x8100"\r
+        uplink: "65536"\r
+        nas_id: "NAS_ID"\r
+        serial_number: "{{bbsim_ip}}:50060"\r
+      requirements:\r
+        - volt_service:\r
+            node: service#volt\r
+            relationship: tosca.relationships.BelongsToOne\r