[SEBA-742] Adding requirement parameter for subscriber configuration with latest SEBA
Change-Id: Ieb1d9dcba89c27cdfad83670629b3ca0ec816131
diff --git a/xos-profiles/ponsim-pod/Chart.yaml b/xos-profiles/ponsim-pod/Chart.yaml
index 3bce47f..4d45314 100644
--- a/xos-profiles/ponsim-pod/Chart.yaml
+++ b/xos-profiles/ponsim-pod/Chart.yaml
@@ -17,7 +17,7 @@
description: A Helm chart for loading the Ponsim pod's TOSCA files into XOS
icon: https://guide.opencord.org/logos/xos.svg
-version: 1.3.1
+version: 1.3.2
# xosproject/tosca-loader version
appVersion: 1.3.1
diff --git a/xos-profiles/ponsim-pod/tosca/020-pod-olt.yaml b/xos-profiles/ponsim-pod/tosca/020-pod-olt.yaml
index 6d40563..47df05a 100644
--- a/xos-profiles/ponsim-pod/tosca/020-pod-olt.yaml
+++ b/xos-profiles/ponsim-pod/tosca/020-pod-olt.yaml
@@ -19,6 +19,9 @@
- custom_types/onudevice.yaml
- custom_types/ponport.yaml
- custom_types/voltservice.yaml
+ {{- if $.Values.bandwidthProfiles }}
+ - custom_types/technologyprofile.yaml
+ {{- end }}
description: Create a simulated OLT Device in VOLTHA
topology_template:
node_templates:
@@ -41,6 +44,9 @@
switch_datapath_id: of:0000000000000001
switch_port: "{{ add 2 $i }}"
outer_tpid: "0x8100"
+{{- if $.Values.bandwidthProfiles }}
+ technology: xgspon
+{{- end }}
{{- if $.Values.legacyPonsim }}
dp_id: of:0000aabbccddeeff
{{- else }}
@@ -61,4 +67,14 @@
- olt_device:
node: olt{{ $i }}_device
relationship: tosca.relationships.BelongsToOne
-{{- end }}
\ No newline at end of file
+{{- end }}
+
+{{- if $.Values.bandwidthProfiles }}
+ technologyProfile:
+ type: tosca.nodes.TechnologyProfile
+ properties:
+ profile_id: 64
+ technology: xgspon
+ profile_value: >
+ {}
+{{- end }}
diff --git a/xos-profiles/ponsim-pod/tosca/040-subscriber.yaml b/xos-profiles/ponsim-pod/tosca/040-subscriber.yaml
index 9b13427..a0952b1 100644
--- a/xos-profiles/ponsim-pod/tosca/040-subscriber.yaml
+++ b/xos-profiles/ponsim-pod/tosca/040-subscriber.yaml
@@ -49,6 +49,9 @@
status: pre-provisioned
c_tag: {{ add 111 $j }}
s_tag: {{ add 222 $i }}
+ {{- if $.Values.bandwidthProfiles }}
+ tech_profile_id: 64
+ {{- end }}
{{- if $.Values.legacyPonsim }}
onu_device: PSMO12345678
{{- else }}