[VOL-2127] new files required for testing BAL3.1 and techprofiles on pod1
Change-Id: I68fe1d534ef0bd62a1de31ffd1d6d2bd850a03b1
diff --git a/tests/data/TechProfile-1T4GEM-bal31.json b/tests/data/TechProfile-1T4GEM-bal31.json
new file mode 100644
index 0000000..1a6d3fc
--- /dev/null
+++ b/tests/data/TechProfile-1T4GEM-bal31.json
@@ -0,0 +1,141 @@
+{
+ "name":"4QueueHybridProfileMap1",
+ "profile_type":"XPON",
+ "version":1,
+ "num_gem_ports":4,
+ "instance_control":{
+ "onu":"multi-instance",
+ "uni":"single-instance",
+ "max_gem_payload_size":"auto"
+ },
+ "us_scheduler":{
+ "additional_bw":"AdditionalBW_BestEffort",
+ "direction":"UPSTREAM",
+ "priority":0,
+ "weight":0,
+ "q_sched_policy":"hybrid"
+ },
+ "ds_scheduler":{
+ "additional_bw":"AdditionalBW_BestEffort",
+ "direction":"DOWNSTREAM",
+ "priority":0,
+ "weight":0,
+ "q_sched_policy":"hybrid"
+ },
+ "upstream_gem_port_attribute_list":[
+ {
+ "pbit_map":"0b00000101",
+ "aes_encryption":"True",
+ "scheduling_policy":"WRR",
+ "priority_q":4,
+ "weight":25,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "max_threshold":0,
+ "min_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b00011010",
+ "aes_encryption":"True",
+ "scheduling_policy":"WRR",
+ "priority_q":3,
+ "weight":75,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b00100000",
+ "aes_encryption":"True",
+ "scheduling_policy":"StrictPriority",
+ "priority_q":2,
+ "weight":0,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b11000000",
+ "aes_encryption":"True",
+ "scheduling_policy":"StrictPriority",
+ "priority_q":1,
+ "weight":25,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ }
+ ],
+ "downstream_gem_port_attribute_list":[
+ {
+ "pbit_map":"0b00000101",
+ "aes_encryption":"True",
+ "scheduling_policy":"WRR",
+ "priority_q":4,
+ "weight":10,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b00011010",
+ "aes_encryption":"True",
+ "scheduling_policy":"WRR",
+ "priority_q":3,
+ "weight":90,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b00100000",
+ "aes_encryption":"True",
+ "scheduling_policy":"StrictPriority",
+ "priority_q":2,
+ "weight":0,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ },
+ {
+ "pbit_map":"0b11000000",
+ "aes_encryption":"True",
+ "scheduling_policy":"StrictPriority",
+ "priority_q":1,
+ "weight":25,
+ "discard_policy":"TailDrop",
+ "max_q_size":"auto",
+ "discard_config":{
+ "min_threshold":0,
+ "max_threshold":0,
+ "max_probability":0
+ }
+ }
+ ]
+}
diff --git a/tests/data/onlab-pod1-sadis.json b/tests/data/onlab-pod1-sadis.json
new file mode 100644
index 0000000..64d9f90
--- /dev/null
+++ b/tests/data/onlab-pod1-sadis.json
@@ -0,0 +1,114 @@
+{
+ "devices": {
+ "of:000000000a5a0072": {
+ "basic": {
+ "driver": "voltha"
+ }
+ }
+ },
+ "apps": {
+ "org.opencord.sadis": {
+ "sadis": {
+ "integration": {
+ "cache": {
+ "enabled": false,
+ "maxsize": 50,
+ "ttl": "PT0m"
+ }
+ },
+ "entries": [
+ {
+ "id": "ALPHe3d1cfde-1",
+ "cTag": 112,
+ "sTag": 111,
+ "nasPortId": "",
+ "circuitId": "",
+ "remoteId": "",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "ALPHe3d1cfde-2",
+ "cTag": 902,
+ "sTag": 111,
+ "nasPortId": "",
+ "circuitId": "",
+ "remoteId": "",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "ALPHe3d1cfde-3",
+ "cTag": 903,
+ "sTag": 111,
+ "nasPortId": "",
+ "circuitId": "",
+ "remoteId": "",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "ALPHe3d1cfde-4",
+ "cTag": 904,
+ "sTag": 111,
+ "nasPortId": "",
+ "circuitId": "",
+ "remoteId": "",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "ALPHe3d1cfde-5",
+ "cTag": 905,
+ "sTag": 111,
+ "nasPortId": "",
+ "circuitId": "",
+ "remoteId": "",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "EC1838000853",
+ "hardwareIdentifier": "aa:bb:cc:dd:ee:ff",
+ "ipAddress": "10.192.20.206",
+ "nasId": "EC1838000853",
+ "uplinkPort": 65536
+ }
+ ]
+ },
+ "bandwidthprofile":{
+ "integration":{
+ "cache":{
+ "enabled":true,
+ "maxsize":40,
+ "ttl":"PT1m"
+ }
+ },
+ "entries":[
+ {
+ "id": "Default",
+ "air": 100000,
+ "cbs": 30,
+ "cir": 600,
+ "ebs": 30,
+ "eir": 400
+ },
+ {
+ "id": "User_Bandwidth1",
+ "air": 100000,
+ "cbs": 10000,
+ "cir": 5000,
+ "ebs": 1000,
+ "eir": 5000
+ }
+
+ ]
+ }
+ }
+ }
+}