blob: 025ce8aa45cb2658730fd840217e8e877b5160ec [file] [log] [blame]
Andrea Campanellaed3e2ff2022-02-08 13:50:56 +01001---
2
Joey Armstrong34d4ad72023-01-03 09:47:15 -05003# Copyright 2020-2023 Open Networking Foundation (ONF) and the ONF Contributors
Andrea Campanellaed3e2ff2022-02-08 13:50:56 +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 config:
20 netcfg: >
21 {
22 "apps" : {
23 "org.opencord.igmpproxy" : {
24 "igmpproxy":{
25 "FastLeave":"true",
26 "LastQueryInterval":1,
27 "MaxResp":1,
28 "enableIgmpProvisioning":"false",
29 "globalConnectPointMode":"true",
30 "globalConnectPoint" : "of:0000000000000001/3",
31 "sourceDeviceAndPort":"of:0000000000000001/3",
32 "outgoingIgmpVlanId":550,
33 "outgoingIgmpInnerVlanId":55,
34 "outgoingIgmpWithV3":"true",
35 "IgmpCos":5,
36 "IgmpUniCos":5,
37 "PeriodicQuery":"true",
38 "KeepAliveInterval":60,
39 "KeepAliveCount":5,
40 "requestDsIgmpPackets":false
41 }
42 },
43 "org.opencord.dhcpl2relay" : {
44 "dhcpl2relay" : {
45 "useOltUplinkForServerPktInOut" : true
46 }
47 },
48 "org.opencord.kafka": {
49 "kafka" : {
50 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
51 }
52 },
53 "org.opencord.sadis": {
54 "sadis": {
55 "integration": {
56 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
57 "cache": {
58 "enabled": true,
59 "maxsize": 50,
60 "ttl": "PT1m"
61 }
62 }
63 },
64 "bandwidthprofile": {
65 "integration": {
66 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
67 "cache": {
68 "enabled": true,
69 "maxsize": 50,
70 "ttl": "PT1m"
71 }
72 }
73 }
74 }
75 }
76 }
77 componentConfig:
78 "org.opencord.olt.impl.OltFlowService": >
79 {
80 "enableDhcpOnNni": "true",
81 "defaultTechProfileId": "64",
82 "enableIgmpOnNni": "true",
83 "enableEapol": "false",
84 "enableDhcpV6": "false",
85 "enableDhcpV4": "true"
86 }
87
88# override BBSim config
89servicesConfig:
90 workflow: tt
91 services:
92 - name: hsia
93 uni_tag_match: 35
94 c_tag: 900
95 c_tag_allocation: unique
96 s_tag: 900
97 s_tag_allocation: shared
98 tp_id: 64
99 - name: voip
100 uni_tag_match: 65
101 c_tag: 444
102 c_tag_allocation: shared
103 s_tag: 333
104 s_tag_allocation: shared
105 needs_dhcp: true
106 tp_id: 65
107 enable_mac_learning: true
108 us_pon_c_tag_priority: 7
109 us_pon_s_tag_priority: 7
110 ds_pon_c_tag_priority: 7
111 ds_pon_s_tag_priority: 7
112 - name: vod
113 uni_tag_match: 55
114 c_tag: 55
115 c_tag_allocation: shared
116 s_tag: 555
117 s_tag_allocation: shared
118 needs_dhcp: true
119 needs_igmp: true
120 tp_id: 66
121 enable_mac_learning: true
122 us_pon_c_tag_priority: 5
123 us_pon_s_tag_priority: 5
124 ds_pon_c_tag_priority: 5
125 ds_pon_s_tag_priority: 5
126 # NOTE: the multicast service must be called MC unless you set
127 # multicastServiceName to something else in org.opencord.olt.impl.Olt
128 - name: MC
129 c_tag: 55
130 c_tag_allocation: shared
131 s_tag: 550
132 s_tag_allocation: shared
133 tp_id: 66
134 ds_pon_c_tag_priority: 5
135 ds_pon_s_tag_priority: 5