blob: 4a656540350364174a2309c98ab9ae4b811200d6 [file] [log] [blame]
Zack Williams477ba092018-10-17 10:50:06 -07001/*
Girish Gowdraa707e7c2019-11-07 11:36:13 +05302 * Copyright 2018-present Open Networking Foundation
Zack Williams477ba092018-10-17 10:50:06 -07003
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
Zack Williams477ba092018-10-17 10:50:06 -07007
Girish Gowdraa707e7c2019-11-07 11:36:13 +05308 * http://www.apache.org/licenses/LICENSE-2.0
Zack Williams477ba092018-10-17 10:50:06 -07009
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 */
Nicolas Palpacuera32f4c32018-06-28 12:55:10 -040016#ifndef OPENOLT_TRANSLATION_H_
17#define OPENOLT_TRANSLATION_H_
18
19#include <string>
20extern "C"
21{
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000022#include <bcmolt_api_model_api_structs.h>
Nicolas Palpacuera32f4c32018-06-28 12:55:10 -040023}
24
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000025int interface_key_to_port_no(bcmolt_interface_id intf_id,
26 bcmolt_interface_type intf_type);
27std::string alarm_status_to_string(bcmolt_status status);
Girish Gowdra0c0b5c02019-12-16 14:11:08 +053028std::string bcmolt_result_to_string(bcmolt_result result);
Nicolas Palpacuera32f4c32018-06-28 12:55:10 -040029
30#endif