blob: 797c8d87efef8ddf7efb4055efcfadcbe370c1eb [file] [log] [blame]
Andrea Campanella66534ee2022-03-17 14:50:00 +01001---
2
Joey Armstrong34d4ad72023-01-03 09:47:15 -05003# Copyright 2022-2023 Open Networking Foundation (ONF) and the ONF Contributors
Andrea Campanella66534ee2022-03-17 14:50:00 +01004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# override ONOS config
18onos-classic:
19 apps:
20 - org.onosproject.lldpprovider
21 - org.onosproject.openflow-base
22 - org.onosproject.gui2
23 - org.onosproject.drivers
24 - org.onosproject.mcast
25 - org.onosproject.segmentrouting
26 - org.opencord.kafka
27 - org.opencord.sadis
28 - org.opencord.maclearner
29 - org.opencord.igmpproxy
30 - org.opencord.mcast
31 - org.opencord.olt
32 - org.opencord.aaa
33 config:
34 componentConfig:
35 "org.opencord.olt.impl.OltFlowService": >
36 {
37 "enableDhcpOnNni": "true",
38 "defaultTechProfileId": "64",
39 "enableIgmpOnNni": "false",
40 "enableEapol": "false",
41 "enableDhcpV6": "false",
42 "enableDhcpV4": "true"
43 }
44 "org.opencord.maclearner.app.impl.MacLearnerManager": >
45 {
46 "enableDhcpForward": "true"
47 }
48
49# override BBSim config
50# The service names used in this file are mandatory
51# for FTTB to work correctly.
52# DPU_MGMT_TRAFFIC is used in bbsim to detect when the sTag
53# must be used for DHCP packets instead of the cTag, and the
54# Olt app has custom behavior that is triggered by each of
55# these names.
56servicesConfig:
57 workflow: dt-fttb
58 services:
59 - name: FTTB_SUBSCRIBER_TRAFFIC
60 c_tag: 101
61 c_tag_allocation: unique
62 s_tag: 3101
63 s_tag_allocation: unique
64 tp_id: 64
65 - name: DPU_ANCP_TRAFFIC
66 c_tag: 4
67 c_tag_allocation: shared
68 s_tag: 40
69 s_tag_allocation: shared
70 us_pon_s_tag_priority: 7
71 tp_id: 64
72 - name: DPU_MGMT_TRAFFIC
73 c_tag: 6
74 c_tag_allocation: shared
75 s_tag: 60
76 s_tag_allocation: shared
77 us_pon_c_tag_priority: 3
78 us_pon_s_tag_priority: 7
79 tp_id: 64
80 enable_mac_learning: true
81 needs_dhcp: true
82
83
84# override Bandwidth Profile format in Sadis BBSim
85bp_format: ietf
86nni_dhcp_trap_vid: 60