Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.4.4.5
openapi_stacking.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2016-2018 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 **********************************************************************
26 *
27 * @filename openapi_stacking.h
28 *
29 * @purpose Stacking Configuration and Status
30 *
31 * @component OpEN
32 *
33 * @create 10/22/2015
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_STACKING_H_INCLUDED
39 #define OPENAPI_STACKING_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
44 typedef enum
45 {
55 
57 typedef enum
58 {
63 
65 typedef enum
66 {
85 
87 typedef enum
88 {
92 
94 typedef enum
95 {
101 
102 
103 /*****************************************************************/
119  uint32_t startUnit,
120  uint32_t *nextUnit);
121 
122 /*****************************************************************/
137  uint32_t *unit);
138 
139 /*****************************************************************/
157  uint32_t unit,
158  open_buffdesc *serialNumber);
159 
160 /*****************************************************************/
178  uint32_t unit,
179  open_buffdesc *serviceTag);
180 
181 /*****************************************************************/
200  uint32_t unit,
201  open_buffdesc *modelId);
202 
203 /*****************************************************************/
220  uint32_t unit,
221  OPEN_BOOL_t *isValid);
222 
223 /*****************************************************************/
239  uint32_t *unit);
240 
241 /*****************************************************************/
257  uint32_t unit,
259 
260 /*****************************************************************/
276  uint32_t unit,
277  OPEN_USMDB_UNITMGR_MGMT_FLAG_t *mgmtStatus);
278 
279 /*****************************************************************/
301  uint32_t unit,
302  open_buffdesc *modelId,
303  open_buffdesc *preconfigModelId);
304 
305 /*****************************************************************/
321  uint32_t unit,
322  open_revision_data_t *codeVersion);
323 
324 /*****************************************************************/
340  uint32_t unit,
341  open_revision_data_t *codeVersion);
342 
343 /*****************************************************************/
360  uint32_t unit,
362  OPEN_USMDB_UNITMGR_MGMTPREF_t *adminPref);
363 
364 /*****************************************************************/
382  uint32_t unit,
383  uint32_t *unitType,
384  uint32_t *unitTypeIndex);
385 
386 /*****************************************************************/
404  uint32_t unitTypeIndex,
405  open_buffdesc *unitDescr);
406 
407 /*****************************************************************/
423  uint32_t unit,
424  OPEN_UNIT_MGR_SFS_SWITCH_STATUS_t *firmwareSyncStatus);
425 
426 /*****************************************************************/
442  OPEN_UNIT_MGR_SFS_SWITCH_STATUS_t *firmwareSyncStatus);
443 
444 /*****************************************************************/
461  uint32_t unit,
462  uint32_t *lastAttemptStatus);
463 
464 /*****************************************************************/
481  uint32_t unit,
482  uint32_t *templateId);
483 
484 /*****************************************************************/
501  uint32_t templateId,
502  open_buffdesc *templateDescr);
503 
504 /*****************************************************************/
520  uint32_t unit,
521  uint32_t *upTime);
522 
523 /*****************************************************************/
541  uint32_t unitTypeIndex,
542  uint32_t *unitType);
543 
544 /*****************************************************************/
563  uint32_t unitTypeIndex,
564  uint32_t *nextUnitTypeIndex,
565  uint32_t *unitType);
566 
567 /*****************************************************************/
588  uint32_t unit,
589  uint32_t unitTypeIndex,
590  OPEN_BOOL_t synchMode);
591 
592 /*****************************************************************/
609  uint32_t unit);
610 
611 /*****************************************************************/
627  uint32_t targetUnit);
628 
629 /*****************************************************************/
647  OPEN_CONTROL_t *fpsQosMode);
648 
649 /*****************************************************************/
666  OPEN_CONTROL_t fpsQosMode);
667 
668 /*****************************************************************/
686  uint32_t *configUnit,
687  uint32_t *standbyUnit,
688  OPEN_BOOL_t *standbyAdminMode);
689 
690 /*****************************************************************/
706  uint32_t standbyUnit,
707  OPEN_BOOL_t standbyAdminMode);
708 
709 /*****************************************************************/
730  uint32_t unit,
731  uint32_t slot,
732  uint32_t port,
733  OPEN_BOOL_t *stackPortMode);
734 
735 /*****************************************************************/
755  uint32_t unit,
756  uint32_t slot,
757  uint32_t port,
758  OPEN_BOOL_t stackPortMode);
759 
760 
761 
762 /*****************************************************************/
780  uint32_t unit,
781  uint32_t slot,
782  OPEN_BOOL_t *isValid);
783 
784 /**********************************************************************/
803  uint32_t unit,
804  uint32_t *count,
805  open_buffdesc *bufd);
806 
807 /*****************************************************************/
827  uint32_t unit,
828  uint32_t slot,
829  OPEN_BOOL_t *isFull);
830 
831 /*****************************************************************/
852  uint32_t unit,
853  uint32_t slot,
854  OPEN_CONTROL_t *adminMode);
855 
856 /*****************************************************************/
877  uint32_t unit,
878  uint32_t slot,
879  OPEN_CONTROL_t adminMode);
880 
881 /*****************************************************************/
902  uint32_t unit,
903  uint32_t slot,
904  OPEN_CONTROL_t *powerMode);
905 
906 /*****************************************************************/
927  uint32_t unit,
928  uint32_t slot,
929  OPEN_CONTROL_t powerMode);
930 
931 /*****************************************************************/
951  uint32_t unit,
952  uint32_t slot,
953  uint32_t *cardIdConfig,
954  uint32_t *cardIdInsert);
955 
956 /*****************************************************************/
974  uint32_t cardId,
975  open_buffdesc *bufd);
976 
977 /*****************************************************************/
995  uint32_t cardId,
996  open_buffdesc *bufd);
997 
998 /*****************************************************************/
1018  uint32_t unit,
1019  uint32_t slot,
1020  OPEN_BOOL_t *isPluggable);
1021 
1022 /*****************************************************************/
1042  uint32_t unit,
1043  uint32_t slot,
1044  OPEN_BOOL_t *isPowerdown);
1045 
1046 #endif /* OPENAPI_STACKING_H_INCLUDED */
1047