blob: ca0fdb29014e9e24ca99b1399342f86b71980b52 [file] [log] [blame]
William Kurkian6f436d02019-02-06 16:25:01 -05001#
2# Copyright 2018 the original author or authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17DEFAULT_ONU_BW_PROFILE = "default"
18DEFAULT_ONU_PIR = 1000000 # 1Gbps
19
20
21class OpenOltBW(object):
22
23 def __init__(self, log, proxy):
24 self.log = log
25 self.proxy = proxy
26
27 def pir(self, serial_number):
Matt Jeanneretd2f155b2019-02-22 13:49:09 -050028 #TODO NEW CORE: the old xpon model traffic_descriptor_profiles is gone. Just return the default
29 # which was all that happened anyway
30 return DEFAULT_ONU_PIR
William Kurkian6f436d02019-02-06 16:25:01 -050031