blob: ee44286f33d386d246db51d49289fae38ebdafe8 [file] [log] [blame]
Beerappa S M7af96e52021-04-20 18:57:54 +00001/*
2 * Copyright 2021-present Open Networking Foundation
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 * http://www.apache.org/licenses/LICENSE-2.0
7 * Unless required by applicable law or agreed to in writing, software
8 * distributed under the License is distributed on an "AS IS" BASIS,
9 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 * See the License for the specific language governing permissions and
11 * limitations under the License.
12 */
13
14#ifndef DMI_PHYCOMP_FACTORY_H_
15#include "dmi_phycomp_factory.h"
16#endif
17
18
19
20uint8_t FanComp::UpdateComp(uint8_t comp_number)
21{
22 return 0;
23}
24
25uint8_t FanComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
26{
27 /*Set the Component feilds sent from the NEM/DM in mod_fields */
28 return 0;
29}
30
31uint8_t DiskComp::UpdateComp(uint8_t comp_number)
32{
33 /*Fetch the particular fan details from the onlp array and update the object*/
34 /*Update ComponentSensorData*/
35 return 0;
36}
37
38uint8_t DiskComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
39{
40 /*Set the Component feilds sent from the NEM/DM in mod_fields */
41 return 0;
42}
43
44uint8_t ContainerComp::UpdateComp(uint8_t comp_number)
45{
46 /*Fetch the particular fan details from the onlp array and update the object*/
47 /*Update ComponentSensorData*/
48 return 0;
49}
50
51uint8_t ContainerComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
52{
53 /*Set the Component feilds sent from the NEM/DM in mod_fields */
54 return 0;
55}
56
57uint8_t PortComp::UpdateComp(uint8_t comp_number)
58{
59 /*Fetch the particular fan details from the onlp array and update the object*/
60 /*Update ComponentSensorData*/
61 return 0;
62}
63
64uint8_t PortComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
65{
66 /*Set the Component feilds sent from the NEM/DM in mod_fields */
67 return 0;
68}
69
70uint8_t CPUComp::UpdateComp(uint8_t comp_number)
71{
72 /*Fetch the particular fan details from the onlp array and update the object*/
73 /*Update ComponentSensorData*/
74 return 0;
75}
76
77uint8_t CPUComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
78{
79 /*Set the Component feilds sent from the NEM/DM in mod_fields */
80 return 0;
81}
82
83uint8_t TransceiverComp::UpdateComp(uint8_t comp_number)
84{
85 /*Fetch the particular fan details from the onlp array and update the object*/
86 /*Update ComponentSensorData*/
87 return 0;
88}
89
90uint8_t TransceiverComp::SetModifiableCompFields(dmi::ModifiableComponent mod_fields)
91{
92 /*Set the Component feilds sent from the NEM/DM in mod_fields */
93 return 0;
94}
95