configuring pod1 for qa tests
Change-Id: I93490e4d66413e74b0e5d228cada9ea7823aa3ac
diff --git a/tosca-configs/att-workflow/onlab-pod1-qa-subscriber.yaml b/tosca-configs/att-workflow/onlab-pod1-qa-subscriber.yaml
index 5ee3c0c..6b03150 100755
--- a/tosca-configs/att-workflow/onlab-pod1-qa-subscriber.yaml
+++ b/tosca-configs/att-workflow/onlab-pod1-qa-subscriber.yaml
@@ -17,12 +17,19 @@
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- custom_types/rcordsubscriber.yaml
+ - custom_types/bandwidthprofile.yaml
description: Pre-provsion a subscriber
topology_template:
node_templates:
+ default_bp:
+ type: tosca.nodes.BandwidthProfile
+ properties:
+ name: Default
+ must-exist: true
+
# Pre-provision the subscriber the subscriber
onf_subscriber_1:
type: tosca.nodes.RCORDSubscriber
@@ -35,6 +42,13 @@
nas_port_id : "PON 1/1/03/1:1.1.1"
circuit_id: foo1
remote_id: bar1
+ requirements:
+ - upstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne
+ - downstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne
onf_subscriber_2:
type: tosca.nodes.RCORDSubscriber
@@ -47,6 +61,13 @@
nas_port_id : "PON 1/1/04/1:1.1.1"
circuit_id: foo2
remote_id: bar2
+ requirements:
+ - upstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne
+ - downstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne
onf_subscriber_3:
type: tosca.nodes.RCORDSubscriber
@@ -59,3 +80,10 @@
nas_port_id : "PON 1/1/05/1:1.1.1"
circuit_id: foo3
remote_id: bar3
+ requirements:
+ - upstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne
+ - downstream_bps:
+ node: default_bp
+ relationship: tosca.relationships.BelongsToOne