[VOL-5310] yamllint cleanups for pre-commit script
api/bbsim/bbsim.yaml
configs/att-services.yaml
configs/bbsim.yaml
configs/dt-fttb-services.yaml
configs/dt-services.yaml
configs/pon-interfaces.yaml
configs/tt-services.yaml
-----------------------------
o Added missing copyright notice.
o adding missing '---' header at begin-of-file.
o Line length:
- Split long comments to fit width restriction.
- Use '>' format char to wrap long urls and paths.
o [Fix] "Mapping Values Are Not Allowed Here"
- Common keys must be indented to the same line.
- ie: workflow & services
o Add missing newline at end-of-file.
o Indent comments to match lines they document.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: Ibaa909e60bcbb5a75acf9d2288bef2de1da257e4
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
diff --git a/configs/dt-fttb-services.yaml b/configs/dt-fttb-services.yaml
index 6ade030..ab67d38 100644
--- a/configs/dt-fttb-services.yaml
+++ b/configs/dt-fttb-services.yaml
@@ -1,35 +1,57 @@
-# Contains a description of the services that needs to be created for each UNI and the corresponding tagging scheme
+---
+# Contains a description of the services that needs to be
+# created for each UNI and the corresponding tagging scheme
+#
# The service names used in this file are mandatory
# for FTTB to work correctly.
# DPU_MGMT_TRAFFIC is used in bbsim to detect when the sTag
# must be used for DHCP packets instead of the cTag, and the
# Olt app has custom behavior that is triggered by each of
# these names.
-
+#
# DT FTTB
workflow: dt-fttb
- services:
- - name: FTTB_SUBSCRIBER_TRAFFIC
- c_tag: 101
- c_tag_allocation: unique
- s_tag: 3101
- s_tag_allocation: unique
- tp_id: 64
- - name: DPU_ANCP_TRAFFIC
- c_tag: 4
- c_tag_allocation: shared
- s_tag: 40
- s_tag_allocation: shared
- us_pon_s_tag_priority: 7
- tp_id: 64
- - name: DPU_MGMT_TRAFFIC
- c_tag: 6
- c_tag_allocation: shared
- s_tag: 60
- s_tag_allocation: shared
- us_pon_c_tag_priority: 3
- us_pon_s_tag_priority: 7
- tp_id: 64
- enable_mac_learning: true
- needs_dhcp: true
\ No newline at end of file
+services:
+ - name: FTTB_SUBSCRIBER_TRAFFIC
+ c_tag: 101
+ c_tag_allocation: unique
+ s_tag: 3101
+ s_tag_allocation: unique
+ tp_id: 64
+ - name: DPU_ANCP_TRAFFIC
+ c_tag: 4
+ c_tag_allocation: shared
+ s_tag: 40
+ s_tag_allocation: shared
+ us_pon_s_tag_priority: 7
+ tp_id: 64
+ - name: DPU_MGMT_TRAFFIC
+ c_tag: 6
+ c_tag_allocation: shared
+ s_tag: 60
+ s_tag_allocation: shared
+ us_pon_c_tag_priority: 3
+ us_pon_s_tag_priority: 7
+ tp_id: 64
+ enable_mac_learning: true
+ needs_dhcp: true
+
+# -----------------------------------------------------------------------
+# Copyright 2022-2024 Open Networking Foundation Contributors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http:#www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -----------------------------------------------------------------------
+# SPDX-FileCopyrightText: 2022-2024 Open Networking Foundation Contributors
+# SPDX-License-Identifier: Apache-2.0
+# -----------------------------------------------------------------------