VOL-5327 - Cleanup linting errors
pkg/techprofile/4QueueHybridProfileMap1.json
pkg/techprofile/SingleQueueEponProfile.json
============================================
o Enable source linting by inserting SPDX copyright strings.
o Strings will be validated later by the reuse tool.
o pre-commit cleanups for json
- Add missing newline at EOF.
- Normalize cr/lf line endings.
[TODO: next patch]
o Re-indent and format source to be consistent.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: Ia83305912a66da020f04096a23f9e07f3478c72b
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index 5c7247b..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": []
-}
\ No newline at end of file
diff --git a/VERSION b/VERSION
index 93c8dda..e8be684 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-7.6.0
+7.6.1
diff --git a/pkg/techprofile/4QueueHybridProfileMap1.json b/pkg/techprofile/4QueueHybridProfileMap1.json
index d11f8e4..3385a64 100644
--- a/pkg/techprofile/4QueueHybridProfileMap1.json
+++ b/pkg/techprofile/4QueueHybridProfileMap1.json
@@ -137,5 +137,10 @@
"max_probability": 0
}
}
- ]
+ ],
+ "copyright-notice" : {
+ "SPDX-FileCopyrightText" : "2019-2024 Open Networking Foundation Contributors",
+ "SPDX-License-Identifier" : "Apache-2.0"
+ },
+ "[EOF]" : "True"
}
diff --git a/pkg/techprofile/SingleQueueEponProfile.json b/pkg/techprofile/SingleQueueEponProfile.json
index 4015251..b5c5e84 100644
--- a/pkg/techprofile/SingleQueueEponProfile.json
+++ b/pkg/techprofile/SingleQueueEponProfile.json
@@ -1,61 +1,65 @@
-{
- "name": "SingleQueueEponProfile",
- "profile_type": "EPON",
- "version": 1,
- "num_gem_ports": 1,
- "instance_control": {
- "onu": "multi-instance",
- "uni": "single-instance",
- "max_gem_payload_size": "auto"
- },
- "epon_attribute": {
- "package_type": "B"
- },
- "upstream_queue_attribute_list": [
- {
- "pbit_map": "0b11111111",
- "aes_encryption": "False",
- "traffic_type": "BE",
- "unsolicited_grant_size": 0,
- "nominal_interval": 0,
- "tolerated_poll_jitter": 0,
- "request_transmission_policy": 0,
- "num_q_sets": 2,
- "q_thresholds": {
- "q_threshold1":5500,
- "q_threshold2":0,
- "q_threshold3":0,
- "q_threshold4":0,
- "q_threshold5":0,
- "q_threshold6":0,
- "q_threshold7":0
- },
- "scheduling_policy": "StrictPriority",
- "priority_q": 4,
- "weight": 0,
- "discard_policy": "TailDrop",
- "max_q_size": "auto",
- "discard_config": {
- "min_threshold": 0,
- "max_threshold": 0,
- "max_probability": 0
- }
- }
- ],
- "downstream_queue_attribute_list": [
- {
- "pbit_map": "0b11111111",
- "aes_encryption": "True",
- "scheduling_policy": "StrictPriority",
- "priority_q": 4,
- "weight": 0,
- "discard_policy": "TailDrop",
- "max_q_size": "auto",
- "discard_config": {
- "min_threshold": 0,
- "max_threshold": 0,
- "max_probability": 0
- }
- }
- ]
+{
+ "name": "SingleQueueEponProfile",
+ "profile_type": "EPON",
+ "version": 1,
+ "num_gem_ports": 1,
+ "instance_control": {
+ "onu": "multi-instance",
+ "uni": "single-instance",
+ "max_gem_payload_size": "auto"
+ },
+ "epon_attribute": {
+ "package_type": "B"
+ },
+ "upstream_queue_attribute_list": [
+ {
+ "pbit_map": "0b11111111",
+ "aes_encryption": "False",
+ "traffic_type": "BE",
+ "unsolicited_grant_size": 0,
+ "nominal_interval": 0,
+ "tolerated_poll_jitter": 0,
+ "request_transmission_policy": 0,
+ "num_q_sets": 2,
+ "q_thresholds": {
+ "q_threshold1":5500,
+ "q_threshold2":0,
+ "q_threshold3":0,
+ "q_threshold4":0,
+ "q_threshold5":0,
+ "q_threshold6":0,
+ "q_threshold7":0
+ },
+ "scheduling_policy": "StrictPriority",
+ "priority_q": 4,
+ "weight": 0,
+ "discard_policy": "TailDrop",
+ "max_q_size": "auto",
+ "discard_config": {
+ "min_threshold": 0,
+ "max_threshold": 0,
+ "max_probability": 0
+ }
+ }
+ ],
+ "downstream_queue_attribute_list": [
+ {
+ "pbit_map": "0b11111111",
+ "aes_encryption": "True",
+ "scheduling_policy": "StrictPriority",
+ "priority_q": 4,
+ "weight": 0,
+ "discard_policy": "TailDrop",
+ "max_q_size": "auto",
+ "discard_config": {
+ "min_threshold": 0,
+ "max_threshold": 0,
+ "max_probability": 0
+ }
+ }
+ ],
+ "copyright-notice" : {
+ "SPDX-FileCopyrightText" : "2020-2024 Open Networking Foundation Contributors",
+ "SPDX-License-Identifier" : "Apache-2.0"
+ }
}