blob: 4a94df1f84b6591a571cefdf97b0bad7ef898920 [file] [log] [blame]
Craig Lutgen88a22ad2018-10-04 12:30:46 -05001/*
Girish Gowdraa707e7c2019-11-07 11:36:13 +05302 * Copyright 2018-present Open Networking Foundation
Craig Lutgen88a22ad2018-10-04 12:30:46 -05003
Girish Gowdraa707e7c2019-11-07 11:36:13 +05304 * 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
Craig Lutgen88a22ad2018-10-04 12:30:46 -05007
Girish Gowdraa707e7c2019-11-07 11:36:13 +05308 * http://www.apache.org/licenses/LICENSE-2.0
Craig Lutgen88a22ad2018-10-04 12:30:46 -05009
Girish Gowdraa707e7c2019-11-07 11:36:13 +053010 * 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 */
Craig Lutgen88a22ad2018-10-04 12:30:46 -050016
17#ifndef __VENDOR_H__
18#define __VENDOR_H__
19#define VENDOR_ID "generic"
20#define MODEL_ID "generic"
Girish Gowdra252f4972020-09-07 21:24:01 -070021
22// DeviceInfo definitions
23
24#define ONU_ID_START 1
25#define ONU_ID_END 32
26#define MAX_ONUS_PER_PON 32
27
28#define ALLOC_ID_START 1024
29#define ALLOC_ID_END 16383
30
31#define GEM_PORT_ID_START 1024
32#define GEM_PORT_ID_END 65535
33
34#define FLOW_ID_START 1
35#define FLOW_ID_END 65535
36#define MAX_FLOW_ID 65535
37#define INVALID_FLOW_ID 0
38
Craig Lutgen88a22ad2018-10-04 12:30:46 -050039#endif