SEBA-107 New modeling of whitelist
Change-Id: Ic1912685fb72b8d29e031735a963e9e4a21c97e5
diff --git a/samples/oss-service-instance-valid.yaml b/samples/oss-service-instance-valid.yaml
index 3ca4236..11881d0 100644
--- a/samples/oss-service-instance-valid.yaml
+++ b/samples/oss-service-instance-valid.yaml
@@ -18,6 +18,7 @@
imports:
- custom_types/hippieossservice.yaml
- custom_types/hippieossserviceinstance.yaml
+ - custom_types/hippieosswhitelistentry.yaml
description: Emulate the call for an VALID ONU
topology_template:
node_templates:
@@ -26,7 +27,6 @@
properties:
name: hippie-oss
must-exist: true
- whitelist: BRCM1234 # NOTE: this ONU must exist in the system (check in olt-service examples to create it)
oss_si:
type: tosca.nodes.HippieOSSServiceInstance
@@ -35,3 +35,11 @@
of_dpid: "of:1234"
serial_number: BRCM1234
+ oss_whitelist_BRCM1234:
+ type: tosca.nodes.HippieOSSWhiteListEntry
+ properties:
+ serial_number: BRCM1234 # NOTE: this ONU must exist in the system (check in olt-service examples to create it)
+ requirements:
+ - owner:
+ node: service#oss
+ relationship: tosca.relationships.BelongsToOne