forked from nleiva/xrgrpc
/
sl_common_types.pb.go
1334 lines (1282 loc) · 64.7 KB
/
sl_common_types.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go.
// source: sl_common_types.proto
// DO NOT EDIT!
/*
Package service_layer is a generated protocol buffer package.
It is generated from these files:
sl_common_types.proto
sl_global.proto
sl_route_common.proto
sl_route_ipv6.proto
sl_version.proto
It has these top-level messages:
SLErrorStatus
SLInterface
SLIpAddress
SLInitMsg
SLInitMsgRsp
SLGlobalNotif
SLGlobalsGetMsg
SLGlobalsGetMsgRsp
SLRouteGlobalsGetMsg
SLRouteGlobalsGetMsgRsp
SLRouteGlobalStatsGetMsg
SLRouteGlobalStatsGetMsgRsp
SLVrfReg
SLVrfRegMsg
SLVrfRegMsgRes
SLVrfRegMsgRsp
SLVrfRegGetMsg
SLVrfRegGetMsgRsp
SLVRFGetStatsMsgRes
SLVRFGetStatsMsgRsp
SLRouteCommon
SLRoutePath
SLRoutev6
SLRoutev6Msg
SLRoutev6Res
SLRoutev6MsgRsp
SLRoutev6GetMsg
SLRoutev6GetMsgRsp
*/
package service_layer
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Registration Operations.
type SLRegOp int32
const (
// Reserved. 0x0
SLRegOp_SL_REGOP_RESERVED SLRegOp = 0
// Register. 0x1
SLRegOp_SL_REGOP_REGISTER SLRegOp = 1
// Un-Register. 0x2
SLRegOp_SL_REGOP_UNREGISTER SLRegOp = 2
// End Of File. 0x3
SLRegOp_SL_REGOP_EOF SLRegOp = 3
)
var SLRegOp_name = map[int32]string{
0: "SL_REGOP_RESERVED",
1: "SL_REGOP_REGISTER",
2: "SL_REGOP_UNREGISTER",
3: "SL_REGOP_EOF",
}
var SLRegOp_value = map[string]int32{
"SL_REGOP_RESERVED": 0,
"SL_REGOP_REGISTER": 1,
"SL_REGOP_UNREGISTER": 2,
"SL_REGOP_EOF": 3,
}
func (x SLRegOp) String() string {
return proto.EnumName(SLRegOp_name, int32(x))
}
func (SLRegOp) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// Object Operations.
type SLObjectOp int32
const (
// Reserved. 0x0
SLObjectOp_SL_OBJOP_RESERVED SLObjectOp = 0
// Add. 0x1
SLObjectOp_SL_OBJOP_ADD SLObjectOp = 1
// Update. 0x2
SLObjectOp_SL_OBJOP_UPDATE SLObjectOp = 2
// Delete. 0x3
SLObjectOp_SL_OBJOP_DELETE SLObjectOp = 3
)
var SLObjectOp_name = map[int32]string{
0: "SL_OBJOP_RESERVED",
1: "SL_OBJOP_ADD",
2: "SL_OBJOP_UPDATE",
3: "SL_OBJOP_DELETE",
}
var SLObjectOp_value = map[string]int32{
"SL_OBJOP_RESERVED": 0,
"SL_OBJOP_ADD": 1,
"SL_OBJOP_UPDATE": 2,
"SL_OBJOP_DELETE": 3,
}
func (x SLObjectOp) String() string {
return proto.EnumName(SLObjectOp_name, int32(x))
}
func (SLObjectOp) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
// Notification Operations.
type SLNotifOp int32
const (
// Reserved. 0x0
SLNotifOp_SL_NOTIFOP_RESERVED SLNotifOp = 0
// Enable. 0x1
SLNotifOp_SL_NOTIFOP_ENABLE SLNotifOp = 1
// Disable. 0x2
SLNotifOp_SL_NOTIFOP_DISABLE SLNotifOp = 2
)
var SLNotifOp_name = map[int32]string{
0: "SL_NOTIFOP_RESERVED",
1: "SL_NOTIFOP_ENABLE",
2: "SL_NOTIFOP_DISABLE",
}
var SLNotifOp_value = map[string]int32{
"SL_NOTIFOP_RESERVED": 0,
"SL_NOTIFOP_ENABLE": 1,
"SL_NOTIFOP_DISABLE": 2,
}
func (x SLNotifOp) String() string {
return proto.EnumName(SLNotifOp_name, int32(x))
}
func (SLNotifOp) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
type SLErrorStatus_SLErrno int32
const (
// Success, no errors detected. 0x0.
SLErrorStatus_SL_SUCCESS SLErrorStatus_SLErrno = 0
// Client is not connected.
// The client is expected to remain connected after init and version
// validation, RPC calls can fail with this error code otherwise.
// Refer to RPC SLGlobalInitNotif. 0x1
SLErrorStatus_SL_NOT_CONNECTED SLErrorStatus_SLErrno = 1
// Operation must be retried. 0x2
SLErrorStatus_SL_EAGAIN SLErrorStatus_SLErrno = 2
// One or more components does not have sufficient memory. 0x3
SLErrorStatus_SL_ENOMEM SLErrorStatus_SLErrno = 3
// Too many outstanding requests. 0x4
SLErrorStatus_SL_EBUSY SLErrorStatus_SLErrno = 4
// One or more arguments are invalid. 0x5
SLErrorStatus_SL_EINVAL SLErrorStatus_SLErrno = 5
// Unsupported version. 0x6
SLErrorStatus_SL_UNSUPPORTED_VER SLErrorStatus_SLErrno = 6
// Not Available. 0x7
SLErrorStatus_SL_NOT_AVAILABLE SLErrorStatus_SLErrno = 7
// Stream mode not supported. 0x8
SLErrorStatus_SL_STREAM_NOT_SUPPORTED SLErrorStatus_SLErrno = 8
// Operation not supported. 0x9
SLErrorStatus_SL_ENOTSUP SLErrorStatus_SLErrno = 9
// One or more objects is errored:
// Each object must be individually examined. 0xa
SLErrorStatus_SL_SOME_ERR SLErrorStatus_SLErrno = 10
// Operation Timed out.
// The result of the operation is undeterministic (success or fail). 0xb
SLErrorStatus_SL_TIMEOUT SLErrorStatus_SLErrno = 11
// Due to some event, the client will no longer receive notification
// events on this channel. 0xc
// Such events include:
// - Notification Session was hijacked by another client.
SLErrorStatus_SL_NOTIF_TERM SLErrorStatus_SLErrno = 12
// Offset for INIT errors. 0x500
SLErrorStatus_SL_INIT_START_OFFSET SLErrorStatus_SLErrno = 1280
// Success, no errors detected - clear state.
// This error is returned on the first-ever initialization, or,
// when a fatal event has occured and all previous state was lost. 0x501
SLErrorStatus_SL_INIT_STATE_CLEAR SLErrorStatus_SLErrno = 1281
// Success, no errors detected - previous state fully recovered.
// This error is returned on a client re-initialization with
// successful recovery of state. 0x502
SLErrorStatus_SL_INIT_STATE_READY SLErrorStatus_SLErrno = 1282
// Server software incompatible with client software version. 0x503
SLErrorStatus_SL_INIT_UNSUPPORTED_VER SLErrorStatus_SLErrno = 1283
// Initialization request received while server is not ready. 0x504
SLErrorStatus_SL_INIT_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 1284
// Server operational mode change from stream to non-stream
// or vice-versa failed. 0x505
SLErrorStatus_SL_INIT_SERVER_MODE_CHANGE_FAILED SLErrorStatus_SLErrno = 1285
// Offset for VRF errors. 0x1000
SLErrorStatus_SL_RPC_VRF_START_OFFSET SLErrorStatus_SLErrno = 4096
// Operation rejected for ALL VRFs due to too many VRF registration
// messages in the request. 0x1001
SLErrorStatus_SL_RPC_VRF_TOO_MANY_VRF_REG_MSGS SLErrorStatus_SLErrno = 4097
// Operation rejected for all VRFs as server is not initialized. 0x1002
SLErrorStatus_SL_RPC_VRF_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 4098
// Offset for VRF errors. 0x2000
SLErrorStatus_SL_VRF_START_OFFSET SLErrorStatus_SLErrno = 8192
// VRF name in the VRF registration message is too long. 0x2001
SLErrorStatus_SL_VRF_NAME_TOOLONG SLErrorStatus_SLErrno = 8193
// VRF not found during a unregister or EOF. 0x2002
SLErrorStatus_SL_VRF_NOT_FOUND SLErrorStatus_SLErrno = 8194
// On a VRF registration, Table ID for the VRF is not found. 0x2003
SLErrorStatus_SL_VRF_NO_TABLE_ID SLErrorStatus_SLErrno = 8195
// VRF add registration message with invalid administrative distance. 0x2004
SLErrorStatus_SL_VRF_REG_INVALID_ADMIN_DISTANCE SLErrorStatus_SLErrno = 8196
// On a VRF registration, Table cannot be added to persistent memory. 0x2005
SLErrorStatus_SL_VRF_TABLE_ADD_ERR SLErrorStatus_SLErrno = 8197
// VRF table cannot be registered with RIB. 0x2006
SLErrorStatus_SL_VRF_TABLE_REGISTRATION_ERR SLErrorStatus_SLErrno = 8198
// VRF table cannot be unregistered with RIB. 0x2007
SLErrorStatus_SL_VRF_TABLE_UNREGISTRATION_ERR SLErrorStatus_SLErrno = 8199
// VRF table RIB EOF operation error. 0x2008
SLErrorStatus_SL_VRF_TABLE_EOF_ERR SLErrorStatus_SLErrno = 8200
// VRF registration message does not have a VRF name. 0x2009
SLErrorStatus_SL_VRF_REG_VRF_NAME_MISSING SLErrorStatus_SLErrno = 8201
// Offset for Route operation errors. 0x3000
SLErrorStatus_SL_RPC_ROUTE_START_OFFSET SLErrorStatus_SLErrno = 12288
// Operation rejected for ALL routes due to too many routes in the
// request. 0x3001
SLErrorStatus_SL_RPC_ROUTE_TOO_MANY_ROUTES SLErrorStatus_SLErrno = 12289
// Operation rejected for ALL routes as the request's VRF name
// is too long. 0x3002
SLErrorStatus_SL_RPC_ROUTE_VRF_NAME_TOOLONG SLErrorStatus_SLErrno = 12290
// Operation rejected for ALL routes as VRF for the given name
// is not found. 0x3003
SLErrorStatus_SL_RPC_ROUTE_VRF_NOT_FOUND SLErrorStatus_SLErrno = 12291
// Operation rejected for ALL routes as VRF's Table ID is not found.
// 0x3004
SLErrorStatus_SL_RPC_ROUTE_VRF_NO_TABLE SLErrorStatus_SLErrno = 12292
// Operation rejected for ALL routes as VRF is not registered with RIB.
// 0x3005
SLErrorStatus_SL_RPC_ROUTE_VRF_TABLE_NOT_REGISTERED SLErrorStatus_SLErrno = 12293
// Route Operation rejected for ALL objects as VRF name is missing.
// 0x3006
SLErrorStatus_SL_RPC_ROUTE_VRF_NAME_MISSING SLErrorStatus_SLErrno = 12294
// Operation rejected for all routes as the RPC request is
// not supported for the library's initialization mode. 0x3007
SLErrorStatus_SL_RPC_ROUTE_INIT_MODE_INCOMPATIBLE SLErrorStatus_SLErrno = 12295
// Operation rejected for all routes as server is not initialized.
// 0x3008
SLErrorStatus_SL_RPC_ROUTE_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 12296
// Offset for route errors. 0x4000
SLErrorStatus_SL_ROUTE_START_OFFSET SLErrorStatus_SLErrno = 16384
// Route add operation requested but no paths were provided. 0x4001
SLErrorStatus_SL_ROUTE_ADD_NO_PATHS SLErrorStatus_SLErrno = 16385
// Route update operation requested but no paths were provided. 0x4002
SLErrorStatus_SL_ROUTE_UPDATE_NO_PATHS SLErrorStatus_SLErrno = 16386
// Route's prefix length is invalid. 0x4003
SLErrorStatus_SL_ROUTE_INVALID_PREFIX_LEN SLErrorStatus_SLErrno = 16387
// Route's admininstrative distance is invalid. 0x4004
SLErrorStatus_SL_ROUTE_INVALID_ADMIN_DISTANCE SLErrorStatus_SLErrno = 16388
// Route's number of paths exceeds system capabilities. 0x4005
SLErrorStatus_SL_ROUTE_INVALID_NUM_PATHS SLErrorStatus_SLErrno = 16389
// Size of IPv6 prefix is invalid. 0x4006
SLErrorStatus_SL_ROUTE_INVALID_PREFIX_SZ SLErrorStatus_SLErrno = 16390
// Route's prefix is invalid. 0x4007
SLErrorStatus_SL_ROUTE_INVALID_PREFIX SLErrorStatus_SLErrno = 16391
// Route programming failed in RIB as VRF table limit reached. 0x4008
SLErrorStatus_SL_ROUTE_ERR_RIB_TABLE_LIMIT_REACHED SLErrorStatus_SLErrno = 16392
// RIB route programming failed in RIB due to invalid arguments. 0x4009
SLErrorStatus_SL_ROUTE_ERR_RIB_INVALID_ARGS SLErrorStatus_SLErrno = 16393
// One or more paths could not be programmed in RIB as VRF
// table limit reached. 0x400a
SLErrorStatus_SL_ROUTE_ERR_RIB_PATH_TABLE_LIMIT SLErrorStatus_SLErrno = 16394
// One or more paths could not be programmed in RIB as number of paths
// reached system limit. 0x400b
SLErrorStatus_SL_ROUTE_ERR_RIB_TOOMANYPATHS SLErrorStatus_SLErrno = 16395
// This route already exists in the database. 0x400c
SLErrorStatus_SL_ROUTE_EEXIST SLErrorStatus_SLErrno = 16396
// Route prefix has host bits set. 0x400d
SLErrorStatus_SL_ROUTE_HOST_BITS_SET SLErrorStatus_SLErrno = 16397
// IPv4 Route prefix is a multicast address. 0x400e
SLErrorStatus_SL_ROUTE_INVALID_PREFIX_MCAST SLErrorStatus_SLErrno = 16398
// Route and Path AFI does not match. 0x400f
SLErrorStatus_SL_ROUTE_PATH_AFI_MISMATCH SLErrorStatus_SLErrno = 16399
// Number of primary paths exceeds system capabilities. 0x4010
SLErrorStatus_SL_ROUTE_TOOMANY_PRIMARY_PATHS SLErrorStatus_SLErrno = 16400
// Number of backup paths exceeds system capabilities. 0x4011
SLErrorStatus_SL_ROUTE_TOOMANY_BACKUP_PATHS SLErrorStatus_SLErrno = 16401
// The route database is out of memory. 0x4012
SLErrorStatus_SL_ROUTE_DB_NOMEM SLErrorStatus_SLErrno = 16402
// The route has an invalid local label. 0x4013
SLErrorStatus_SL_ROUTE_INVALID_LOCAL_LABEL SLErrorStatus_SLErrno = 16403
// Offset for route path errors. 0x5000
SLErrorStatus_SL_PATH_START_OFFSET SLErrorStatus_SLErrno = 20480
// VRF table for the path could not be determined. 0x5001
SLErrorStatus_SL_PATH_NH_NO_TABLE SLErrorStatus_SLErrno = 20481
// Path next hop interface not found. 0x5002
SLErrorStatus_SL_PATH_NH_INTF_NOT_FOUND SLErrorStatus_SLErrno = 20482
// Number of labels in the path exceeds system capabilities. 0x5003
SLErrorStatus_SL_PATH_INVALID_LABEL_COUNT SLErrorStatus_SLErrno = 20483
// Path ID assigned to the path falls outside the supported range. 0x5004
SLErrorStatus_SL_PATH_INVALID_ID SLErrorStatus_SLErrno = 20484
// Path VRF name exceeds supported length. 0x5005
SLErrorStatus_SL_PATH_VRF_NAME_TOOLONG SLErrorStatus_SLErrno = 20485
// Path next hop interface name exceeds supported length. 0x5006
SLErrorStatus_SL_PATH_NH_INTF_NAME_TOOLONG SLErrorStatus_SLErrno = 20486
// Size of next hop IPv6 address is invalid. 0x5007
SLErrorStatus_SL_PATH_NH_INVALID_ADDR_SZ SLErrorStatus_SLErrno = 20487
// Next hop interface name is missing from path. 0x5008
SLErrorStatus_SL_PATH_NH_INF_NAME_MISSING SLErrorStatus_SLErrno = 20488
// Path has an invalid next hop address. 0x5009
SLErrorStatus_SL_PATH_INVALID_NEXT_HOP_ADDR SLErrorStatus_SLErrno = 20489
// Number of remote backup addresses in the path exceeds
// system capabilities. 0x500a
SLErrorStatus_SL_PATH_INVALID_REMOTE_ADDR_COUNT SLErrorStatus_SLErrno = 20490
// Size of IPv6 remote backup address is invalid. 0x500b
SLErrorStatus_SL_PATH_REMOTE_ADDR_INVALID_SZ SLErrorStatus_SLErrno = 20491
// Route and Path remote backup address AFI does not match. 0x500c
SLErrorStatus_SL_PATH_REMOTE_ADDR_AFI_MISMATCH SLErrorStatus_SLErrno = 20492
// Path has an invalid protection bitmap. 0x500d
SLErrorStatus_SL_PATH_INVALID_PROTECTED_BITMAP SLErrorStatus_SLErrno = 20493
// Protection bitmap of a backup path refers to a missing path. 0x500e
SLErrorStatus_SL_PATH_BACKUP_MISSING_PRIMARY_PATH SLErrorStatus_SLErrno = 20494
// Too many primary paths with same Path ID. 0x500f
SLErrorStatus_SL_PATH_PRIMARY_ID_REPEATED SLErrorStatus_SLErrno = 20495
// Too many pure backup paths with same Path ID. 0x5010
SLErrorStatus_SL_PATH_BACKUP_ID_REPEATED SLErrorStatus_SLErrno = 20496
// A primary path has too many backup paths. 0x5011
SLErrorStatus_SL_PATH_PRIMARY_TOOMANY_BACKUP_PATHS SLErrorStatus_SLErrno = 20497
// A primary path has too many labels. 0x5012
SLErrorStatus_SL_PATH_PRIMARY_TOOMANY_LABELS SLErrorStatus_SLErrno = 20498
// A primary path has too many remote addresses. 0x5013
SLErrorStatus_SL_PATH_PRIMARY_TOOMANY_REMOTE_ADDR SLErrorStatus_SLErrno = 20499
// A pure backup remote address is invalid. 0x5014
SLErrorStatus_SL_PATH_REMOTE_ADDR_INVALID SLErrorStatus_SLErrno = 20500
// Path has an invalid label. 0x5015
SLErrorStatus_SL_PATH_INVALID_LABEL SLErrorStatus_SLErrno = 20501
// Offset for BFD operation errors. 0x6000
SLErrorStatus_SL_RPC_BFD_START_OFFSET SLErrorStatus_SLErrno = 24576
// BFD Operation rejected for ALL Sessions as the BFD Session count
// is beyond supported limit. 0x6001
SLErrorStatus_SL_RPC_BFD_TOO_MANY_BFD_SESSIONS SLErrorStatus_SLErrno = 24577
// BFD Operation rejected due to one or many invalid parameters. 0x6002
SLErrorStatus_SL_RPC_BFD_API_BAD_PARAMETER SLErrorStatus_SLErrno = 24578
// BFD Operation failed as server is not registered with BFD. 0x6003
SLErrorStatus_SL_RPC_BFD_API_CLIENT_NOT_REGISTERED SLErrorStatus_SLErrno = 24579
// BFD Operation failed with internal error. 0x6004
SLErrorStatus_SL_RPC_BFD_API_INTERNAL_ERROR SLErrorStatus_SLErrno = 24580
// BFD Operation rejected as server is not initialized. 0x6005
SLErrorStatus_SL_RPC_BFD_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 24581
// BFD IPv4 not registered. 0x6006
SLErrorStatus_SL_RPC_BFD_V4_NOT_REGISTERED SLErrorStatus_SLErrno = 24582
// BFD IPv6 not registered. 0x6007
SLErrorStatus_SL_RPC_BFD_V6_NOT_REGISTERED SLErrorStatus_SLErrno = 24583
// Offset for BFD errors. 0x7000
SLErrorStatus_SL_BFD_START_OFFSET SLErrorStatus_SLErrno = 28672
// BFD Session's interface name exceeds supported length. 0x7001
SLErrorStatus_SL_BFD_INTF_NAME_TOOLONG SLErrorStatus_SLErrno = 28673
// BFD Session's interface not found. 0x7002
SLErrorStatus_SL_BFD_INTF_NOT_FOUND SLErrorStatus_SLErrno = 28674
// BFD Session's tx interval or multiplier are beyond the
// supported range. 0x7003
SLErrorStatus_SL_BFD_INVALID_ATTRIBUTE SLErrorStatus_SLErrno = 28675
// BFD Session's interface name is missing. 0x7004
SLErrorStatus_SL_BFD_INTF_NAME_MISSING SLErrorStatus_SLErrno = 28676
// BFD Session's neighbor is mcast address. 0x7005
SLErrorStatus_SL_BFD_INVALID_NBR_MCAST SLErrorStatus_SLErrno = 28677
// BFD Session's neighbor address is invalid. 0x7006
SLErrorStatus_SL_BFD_INVALID_NBR SLErrorStatus_SLErrno = 28678
// BFD Session's VRF Name is too long. 0x7007
SLErrorStatus_SL_BFD_VRF_NAME_TOOLONG SLErrorStatus_SLErrno = 28679
// BFD Session's one or more parameters are invalid.
// For example, Multihop BFD can not have the interface name set. 0x7008
SLErrorStatus_SL_BFD_BAD_PARAMETER SLErrorStatus_SLErrno = 28680
// BFD Session failed with internal error. 0x7009
SLErrorStatus_SL_BFD_API_INTERNAL_ERROR SLErrorStatus_SLErrno = 28681
// BFD Session's VRF not found. 0x700a
SLErrorStatus_SL_BFD_VRF_NOT_FOUND SLErrorStatus_SLErrno = 28682
// BFD Session's neighbor IPv6 prefix size is invalid. 0x700b
SLErrorStatus_SL_BFD_INVALID_PREFIX_SIZE SLErrorStatus_SLErrno = 28683
// BFD Session type invalid. 0x700c
SLErrorStatus_SL_BFD_INVALID_SESSION_TYPE SLErrorStatus_SLErrno = 28684
// BFD Session's VRF is Invalid. 0x700d
SLErrorStatus_SL_BFD_INVALID_VRF SLErrorStatus_SLErrno = 28685
// BFD Session not found. 0x700e
SLErrorStatus_SL_BFD_SESSION_NOT_FOUND SLErrorStatus_SLErrno = 28686
// BFD Session exists. 0x700f
SLErrorStatus_SL_BFD_SESSION_EXISTS SLErrorStatus_SLErrno = 28687
// BFD Internal database error. 0x7010
SLErrorStatus_SL_BFD_INTERNAL_DB_ERROR SLErrorStatus_SLErrno = 28688
// BFD Recovery error. 0x7011
SLErrorStatus_SL_BFD_RECOVERY_ERROR SLErrorStatus_SLErrno = 28689
// Offset for MPLS operation errors. 0x8000
SLErrorStatus_SL_RPC_MPLS_START_OFFSET SLErrorStatus_SLErrno = 32768
// Operation rejected for ALL ILMS due to too many ILMS in the
// request. 0x8001
SLErrorStatus_SL_RPC_MPLS_ILM_TOO_MANY_ILMS SLErrorStatus_SLErrno = 32769
// Operation rejected for all ILMs as server is not initialized.
// 0x0x8002
SLErrorStatus_SL_RPC_MPLS_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 32770
// Operation rejected for all ILMs as the RPC request is
// not supported for the library's initialization mode. 0x8003
SLErrorStatus_SL_RPC_MPLS_INIT_MODE_INCOMPATIBLE SLErrorStatus_SLErrno = 32771
// Operation rejected for ALL label blocks due to too many
// label blocks in the request. 0x8004
SLErrorStatus_SL_RPC_MPLS_LABEL_BLK_TOO_MANY_LABEL_BLKS SLErrorStatus_SLErrno = 32772
// Operation rejected for ALL ILMs as MPLS layer is not registered.
// 0x8005
SLErrorStatus_SL_RPC_MPLS_NOT_REGISTERED SLErrorStatus_SLErrno = 32773
// Offset for MPLS ILM errors. 0x9000
SLErrorStatus_SL_ILM_ERR_OFFSET SLErrorStatus_SLErrno = 36864
// MPLS ILM add to service layer failed. 0x9001
SLErrorStatus_SL_ILM_ADD_FAILED SLErrorStatus_SLErrno = 36865
// MPLS ILM add to Label Switching Database failed. 0x9002
SLErrorStatus_SL_ILM_LSD_ADD_FAILED SLErrorStatus_SLErrno = 36866
// MPLS ILM NHLFE count exceeded max supported number. 0x9003
SLErrorStatus_SL_ILM_INVALID_NUM_NHLFE SLErrorStatus_SLErrno = 36867
// MPLS ILM label value out of range. 0x9004
SLErrorStatus_SL_ILM_INVALID_LABEL SLErrorStatus_SLErrno = 36868
// MPLS ILM delete from service layer failed. 0x9005
SLErrorStatus_SL_ILM_DELETE_FAILED SLErrorStatus_SLErrno = 36869
// MPLS ILM delete from Label Switching Database failed. 0x9006
SLErrorStatus_SL_ILM_LSD_DELETE_FAILED SLErrorStatus_SLErrno = 36870
// Number of primary NHLFEs exceeds system capabilities. 0x9007
SLErrorStatus_SL_ILM_TOOMANY_PRIMARY_NHLFES SLErrorStatus_SLErrno = 36871
// Number of backup NHLFEs exceeds system capabilities. 0x9008
SLErrorStatus_SL_ILM_TOOMANY_BACKUP_NHLFES SLErrorStatus_SLErrno = 36872
// MPLS ILM label alloc failed in Label switching database. 0x9009
SLErrorStatus_SL_ILM_LSD_ADD_LABEL_ALLOC_FAILED SLErrorStatus_SLErrno = 36873
// MPLS ILM NHLFE attribute invalid. 0x900a
SLErrorStatus_SL_ILM_LSD_NHLFE_INVALID_ATTRIB SLErrorStatus_SLErrno = 36874
// MPLS ILM already exists in the database. 0x900b
SLErrorStatus_SL_ILM_EEXIST SLErrorStatus_SLErrno = 36875
// The ILM database is out of memory. 0x900c
SLErrorStatus_SL_ILM_DB_NOMEM SLErrorStatus_SLErrno = 36876
// Offset for MPLS NHLFE errors. 0xa000
SLErrorStatus_SL_NHLFE_ERR_OFFSET SLErrorStatus_SLErrno = 40960
// MPLS NHLFE vrf table could not be determined. 0xa001
SLErrorStatus_SL_NHLFE_NH_NO_TABLE SLErrorStatus_SLErrno = 40961
// Size of next hop IPv6 address is invalid. 0xa002
SLErrorStatus_SL_NHLFE_NH_INVALID_ADDR_SZ SLErrorStatus_SLErrno = 40962
// NHLFE has an invalid next hop address. 0xa003
SLErrorStatus_SL_NHLFE_INVALID_NEXT_HOP_ADDR SLErrorStatus_SLErrno = 40963
// Path VRF name exceeds supported length. 0xa004
SLErrorStatus_SL_NHLFE_VRF_NAME_TOOLONG SLErrorStatus_SLErrno = 40964
// Next hop interface name is missing from path. 0xa005
SLErrorStatus_SL_NHLFE_NH_INF_NAME_MISSING SLErrorStatus_SLErrno = 40965
// Interface name exceeds supported length. 0xa006
SLErrorStatus_SL_NHLFE_NH_INTF_NAME_TOOLONG SLErrorStatus_SLErrno = 40966
// Number of labels in the path exceeds system capabilities. 0xa007
SLErrorStatus_SL_NHLFE_INVALID_LABEL_COUNT SLErrorStatus_SLErrno = 40967
// Path id is invalid in NHLFE. 0xa008
SLErrorStatus_SL_NHLFE_INVALID_PATH_ID SLErrorStatus_SLErrno = 40968
// MPLS NHLFE label value out of range. 0xa009
SLErrorStatus_SL_NHLFE_INVALID_LABEL SLErrorStatus_SLErrno = 40969
// NHLFE has an invalid protection bitmap. 0xa00a
SLErrorStatus_SL_NHLFE_INVALID_PROTECTED_BITMAP SLErrorStatus_SLErrno = 40970
// Number of remote backup addresses in the NHLFE exceeds
// system capabilities. 0xa00b
SLErrorStatus_SL_NHLFE_INVALID_REMOTE_ADDR_COUNT SLErrorStatus_SLErrno = 40971
// Size of IPv6 remote backup address is invalid. 0xa00c
SLErrorStatus_SL_NHLFE_REMOTE_ADDR_INVALID_SZ SLErrorStatus_SLErrno = 40972
// A primary NHLFE has too many labels. 0xa00d
SLErrorStatus_SL_NHLFE_PRIMARY_TOOMANY_LABELS SLErrorStatus_SLErrno = 40973
// A primary NHLFE has too many remote addresses. 0xa00e
SLErrorStatus_SL_NHLFE_PRIMARY_TOOMANY_REMOTE_ADDR SLErrorStatus_SLErrno = 40974
// Too many pure backup NHLFE with same Path ID. 0xa00f
SLErrorStatus_SL_NHLFE_BACKUP_ID_REPEATED SLErrorStatus_SLErrno = 40975
// Too many primary NHLFE with same Path ID. 0xa010
SLErrorStatus_SL_NHLFE_PRIMARY_ID_REPEATED SLErrorStatus_SLErrno = 40976
// Pure backup NHLFE has a empty protected bitmap. 0xa011
SLErrorStatus_SL_NHLFE_BACKUP_PROTECTED_BITMAP_EMPTY SLErrorStatus_SLErrno = 40977
// A primary NHLFE has too many backup paths. 0xa012
SLErrorStatus_SL_NHLFE_PRIMARY_TOOMANY_BACKUP_PATHS SLErrorStatus_SLErrno = 40978
// A pure backup remote address is invalid. 0xa013
SLErrorStatus_SL_NHLFE_REMOTE_ADDR_INVALID SLErrorStatus_SLErrno = 40979
// Protection bitmap of a backup NHLFE refers to a missing path. 0xa014
SLErrorStatus_SL_NHLFE_BACKUP_MISSING_PRIMARY_PATH SLErrorStatus_SLErrno = 40980
// NHLFE next-hop missing. 0xa015
SLErrorStatus_SL_NHLFE_NEXT_HOP_MISSING SLErrorStatus_SLErrno = 40981
// Label action specified is invalid. 0xa016
SLErrorStatus_SL_NHLFE_LABEL_ACTION_INVALID SLErrorStatus_SLErrno = 40982
// NHLFE next hop interface not found. 0xa017
SLErrorStatus_SL_NHLFE_NH_INTF_NOT_FOUND SLErrorStatus_SLErrno = 40983
// MPLS NHLFE operation failed. 0xa018
SLErrorStatus_SL_NHLFE_OPER_FAILED SLErrorStatus_SLErrno = 40984
// MPLS NHLFE label action missing. 0xa019
SLErrorStatus_SL_NHLFE_LABEL_ACTION_MISSING SLErrorStatus_SLErrno = 40985
// Offset for label block errors. 0xb000
SLErrorStatus_SL_LABEL_BLK_ERR_OFFSET SLErrorStatus_SLErrno = 45056
// MPLS label block add from Label Switching Database failed. 0xb001
SLErrorStatus_SL_LABEL_BLK_LSD_ADD_FAILED SLErrorStatus_SLErrno = 45057
// MPLS label block delete from Label Switching Database failed. 0xb002
SLErrorStatus_SL_LABEL_BLK_LSD_DELETE_FAILED SLErrorStatus_SLErrno = 45058
// MPLS label block not found. 0xb003
SLErrorStatus_SL_LABEL_BLK_LSD_LABEL_BLK_NOT_FOUND SLErrorStatus_SLErrno = 45059
// MPLS label block in use. 0xb004
SLErrorStatus_SL_LABEL_BLK_LSD_LABEL_BLK_IN_USE SLErrorStatus_SLErrno = 45060
// MPLS label block attribute invalid. 0xb005
SLErrorStatus_SL_LABEL_BLK_LSD_INVALID_ATTRIB SLErrorStatus_SLErrno = 45061
// MPLS label block size > max size per block. 0xb006
SLErrorStatus_SL_LABEL_BLK_INVALID_BLOCK_SIZE SLErrorStatus_SLErrno = 45062
// MPLS label start_label < min label for platform . 0xb007
SLErrorStatus_SL_LABEL_BLK_INVALID_START_LABEL SLErrorStatus_SLErrno = 45063
// MPLS label block already exists in the database. 0xb008
SLErrorStatus_SL_LABEL_BLK_EEXIST SLErrorStatus_SLErrno = 45064
// MPLS label database is out of memory. 0xb009
SLErrorStatus_SL_LABEL_BLK_DB_NOMEM SLErrorStatus_SLErrno = 45065
// Offset for MPLS registration errors. 0xc000
SLErrorStatus_SL_MPLS_REG_ERR_OFFSET SLErrorStatus_SLErrno = 49152
// MPLS registration error. 0xc001
SLErrorStatus_SL_MPLS_REG_ERR SLErrorStatus_SLErrno = 49153
// MPLS unregistration error. 0xc002
SLErrorStatus_SL_MPLS_UNREG_ERR SLErrorStatus_SLErrno = 49154
// MPLS EOF error. 0xc003
SLErrorStatus_SL_MPLS_EOF_ERR SLErrorStatus_SLErrno = 49155
// Offset for Interface operation errors. 0xd000
SLErrorStatus_SL_RPC_INTF_START_OFFSET SLErrorStatus_SLErrno = 53248
// Interface Operation rejected for ALL Sessions as the Interface
// Session count is beyond supported limit. 0xd001
SLErrorStatus_SL_RPC_INTF_TOO_MANY_INTERFACES SLErrorStatus_SLErrno = 53249
// Interface Operation rejected as server is not initialized. 0xd002
SLErrorStatus_SL_RPC_INTF_SERVER_NOT_INITIALIZED SLErrorStatus_SLErrno = 53250
// Interface Operation failed as server is not registered with
// interface manager. 0xd003
SLErrorStatus_SL_RPC_INTF_API_CLIENT_NOT_REGISTERED SLErrorStatus_SLErrno = 53251
// Offset for Interface object errors. 0xe000
SLErrorStatus_SL_INTF_START_OFFSET SLErrorStatus_SLErrno = 57344
// Interface object's interface name missing. 0xe001
SLErrorStatus_SL_INTF_INTERFACE_NAME_MISSING SLErrorStatus_SLErrno = 57345
// Interface object's interface name exceeds supported length. 0xe002
SLErrorStatus_SL_INTF_INTERFACE_NAME_TOOLONG SLErrorStatus_SLErrno = 57346
// Interface internal registration error. 0xe003
SLErrorStatus_SL_INTF_INTERFACE_REG_ERR SLErrorStatus_SLErrno = 57347
// Internal database error. 0xe004
SLErrorStatus_SL_INTF_INTERNAL_DB_ERROR SLErrorStatus_SLErrno = 57348
// Interface Recovery error. 0xe005
SLErrorStatus_SL_INTF_RECOVERY_ERROR SLErrorStatus_SLErrno = 57349
// Interface exists. 0xe006
SLErrorStatus_SL_INTF_INTERFACE_EXISTS SLErrorStatus_SLErrno = 57350
// Interface not found. 0xe007
SLErrorStatus_SL_INTF_INTERFACE_NOT_FOUND SLErrorStatus_SLErrno = 57351
// Offset for Internal errors. 0x100000
SLErrorStatus_SL_INTERNAL_START_OFFSET SLErrorStatus_SLErrno = 1048576
)
var SLErrorStatus_SLErrno_name = map[int32]string{
0: "SL_SUCCESS",
1: "SL_NOT_CONNECTED",
2: "SL_EAGAIN",
3: "SL_ENOMEM",
4: "SL_EBUSY",
5: "SL_EINVAL",
6: "SL_UNSUPPORTED_VER",
7: "SL_NOT_AVAILABLE",
8: "SL_STREAM_NOT_SUPPORTED",
9: "SL_ENOTSUP",
10: "SL_SOME_ERR",
11: "SL_TIMEOUT",
12: "SL_NOTIF_TERM",
1280: "SL_INIT_START_OFFSET",
1281: "SL_INIT_STATE_CLEAR",
1282: "SL_INIT_STATE_READY",
1283: "SL_INIT_UNSUPPORTED_VER",
1284: "SL_INIT_SERVER_NOT_INITIALIZED",
1285: "SL_INIT_SERVER_MODE_CHANGE_FAILED",
4096: "SL_RPC_VRF_START_OFFSET",
4097: "SL_RPC_VRF_TOO_MANY_VRF_REG_MSGS",
4098: "SL_RPC_VRF_SERVER_NOT_INITIALIZED",
8192: "SL_VRF_START_OFFSET",
8193: "SL_VRF_NAME_TOOLONG",
8194: "SL_VRF_NOT_FOUND",
8195: "SL_VRF_NO_TABLE_ID",
8196: "SL_VRF_REG_INVALID_ADMIN_DISTANCE",
8197: "SL_VRF_TABLE_ADD_ERR",
8198: "SL_VRF_TABLE_REGISTRATION_ERR",
8199: "SL_VRF_TABLE_UNREGISTRATION_ERR",
8200: "SL_VRF_TABLE_EOF_ERR",
8201: "SL_VRF_REG_VRF_NAME_MISSING",
12288: "SL_RPC_ROUTE_START_OFFSET",
12289: "SL_RPC_ROUTE_TOO_MANY_ROUTES",
12290: "SL_RPC_ROUTE_VRF_NAME_TOOLONG",
12291: "SL_RPC_ROUTE_VRF_NOT_FOUND",
12292: "SL_RPC_ROUTE_VRF_NO_TABLE",
12293: "SL_RPC_ROUTE_VRF_TABLE_NOT_REGISTERED",
12294: "SL_RPC_ROUTE_VRF_NAME_MISSING",
12295: "SL_RPC_ROUTE_INIT_MODE_INCOMPATIBLE",
12296: "SL_RPC_ROUTE_SERVER_NOT_INITIALIZED",
16384: "SL_ROUTE_START_OFFSET",
16385: "SL_ROUTE_ADD_NO_PATHS",
16386: "SL_ROUTE_UPDATE_NO_PATHS",
16387: "SL_ROUTE_INVALID_PREFIX_LEN",
16388: "SL_ROUTE_INVALID_ADMIN_DISTANCE",
16389: "SL_ROUTE_INVALID_NUM_PATHS",
16390: "SL_ROUTE_INVALID_PREFIX_SZ",
16391: "SL_ROUTE_INVALID_PREFIX",
16392: "SL_ROUTE_ERR_RIB_TABLE_LIMIT_REACHED",
16393: "SL_ROUTE_ERR_RIB_INVALID_ARGS",
16394: "SL_ROUTE_ERR_RIB_PATH_TABLE_LIMIT",
16395: "SL_ROUTE_ERR_RIB_TOOMANYPATHS",
16396: "SL_ROUTE_EEXIST",
16397: "SL_ROUTE_HOST_BITS_SET",
16398: "SL_ROUTE_INVALID_PREFIX_MCAST",
16399: "SL_ROUTE_PATH_AFI_MISMATCH",
16400: "SL_ROUTE_TOOMANY_PRIMARY_PATHS",
16401: "SL_ROUTE_TOOMANY_BACKUP_PATHS",
16402: "SL_ROUTE_DB_NOMEM",
16403: "SL_ROUTE_INVALID_LOCAL_LABEL",
20480: "SL_PATH_START_OFFSET",
20481: "SL_PATH_NH_NO_TABLE",
20482: "SL_PATH_NH_INTF_NOT_FOUND",
20483: "SL_PATH_INVALID_LABEL_COUNT",
20484: "SL_PATH_INVALID_ID",
20485: "SL_PATH_VRF_NAME_TOOLONG",
20486: "SL_PATH_NH_INTF_NAME_TOOLONG",
20487: "SL_PATH_NH_INVALID_ADDR_SZ",
20488: "SL_PATH_NH_INF_NAME_MISSING",
20489: "SL_PATH_INVALID_NEXT_HOP_ADDR",
20490: "SL_PATH_INVALID_REMOTE_ADDR_COUNT",
20491: "SL_PATH_REMOTE_ADDR_INVALID_SZ",
20492: "SL_PATH_REMOTE_ADDR_AFI_MISMATCH",
20493: "SL_PATH_INVALID_PROTECTED_BITMAP",
20494: "SL_PATH_BACKUP_MISSING_PRIMARY_PATH",
20495: "SL_PATH_PRIMARY_ID_REPEATED",
20496: "SL_PATH_BACKUP_ID_REPEATED",
20497: "SL_PATH_PRIMARY_TOOMANY_BACKUP_PATHS",
20498: "SL_PATH_PRIMARY_TOOMANY_LABELS",
20499: "SL_PATH_PRIMARY_TOOMANY_REMOTE_ADDR",
20500: "SL_PATH_REMOTE_ADDR_INVALID",
20501: "SL_PATH_INVALID_LABEL",
24576: "SL_RPC_BFD_START_OFFSET",
24577: "SL_RPC_BFD_TOO_MANY_BFD_SESSIONS",
24578: "SL_RPC_BFD_API_BAD_PARAMETER",
24579: "SL_RPC_BFD_API_CLIENT_NOT_REGISTERED",
24580: "SL_RPC_BFD_API_INTERNAL_ERROR",
24581: "SL_RPC_BFD_SERVER_NOT_INITIALIZED",
24582: "SL_RPC_BFD_V4_NOT_REGISTERED",
24583: "SL_RPC_BFD_V6_NOT_REGISTERED",
28672: "SL_BFD_START_OFFSET",
28673: "SL_BFD_INTF_NAME_TOOLONG",
28674: "SL_BFD_INTF_NOT_FOUND",
28675: "SL_BFD_INVALID_ATTRIBUTE",
28676: "SL_BFD_INTF_NAME_MISSING",
28677: "SL_BFD_INVALID_NBR_MCAST",
28678: "SL_BFD_INVALID_NBR",
28679: "SL_BFD_VRF_NAME_TOOLONG",
28680: "SL_BFD_BAD_PARAMETER",
28681: "SL_BFD_API_INTERNAL_ERROR",
28682: "SL_BFD_VRF_NOT_FOUND",
28683: "SL_BFD_INVALID_PREFIX_SIZE",
28684: "SL_BFD_INVALID_SESSION_TYPE",
28685: "SL_BFD_INVALID_VRF",
28686: "SL_BFD_SESSION_NOT_FOUND",
28687: "SL_BFD_SESSION_EXISTS",
28688: "SL_BFD_INTERNAL_DB_ERROR",
28689: "SL_BFD_RECOVERY_ERROR",
32768: "SL_RPC_MPLS_START_OFFSET",
32769: "SL_RPC_MPLS_ILM_TOO_MANY_ILMS",
32770: "SL_RPC_MPLS_SERVER_NOT_INITIALIZED",
32771: "SL_RPC_MPLS_INIT_MODE_INCOMPATIBLE",
32772: "SL_RPC_MPLS_LABEL_BLK_TOO_MANY_LABEL_BLKS",
32773: "SL_RPC_MPLS_NOT_REGISTERED",
36864: "SL_ILM_ERR_OFFSET",
36865: "SL_ILM_ADD_FAILED",
36866: "SL_ILM_LSD_ADD_FAILED",
36867: "SL_ILM_INVALID_NUM_NHLFE",
36868: "SL_ILM_INVALID_LABEL",
36869: "SL_ILM_DELETE_FAILED",
36870: "SL_ILM_LSD_DELETE_FAILED",
36871: "SL_ILM_TOOMANY_PRIMARY_NHLFES",
36872: "SL_ILM_TOOMANY_BACKUP_NHLFES",
36873: "SL_ILM_LSD_ADD_LABEL_ALLOC_FAILED",
36874: "SL_ILM_LSD_NHLFE_INVALID_ATTRIB",
36875: "SL_ILM_EEXIST",
36876: "SL_ILM_DB_NOMEM",
40960: "SL_NHLFE_ERR_OFFSET",
40961: "SL_NHLFE_NH_NO_TABLE",
40962: "SL_NHLFE_NH_INVALID_ADDR_SZ",
40963: "SL_NHLFE_INVALID_NEXT_HOP_ADDR",
40964: "SL_NHLFE_VRF_NAME_TOOLONG",
40965: "SL_NHLFE_NH_INF_NAME_MISSING",
40966: "SL_NHLFE_NH_INTF_NAME_TOOLONG",
40967: "SL_NHLFE_INVALID_LABEL_COUNT",
40968: "SL_NHLFE_INVALID_PATH_ID",
40969: "SL_NHLFE_INVALID_LABEL",
40970: "SL_NHLFE_INVALID_PROTECTED_BITMAP",
40971: "SL_NHLFE_INVALID_REMOTE_ADDR_COUNT",
40972: "SL_NHLFE_REMOTE_ADDR_INVALID_SZ",
40973: "SL_NHLFE_PRIMARY_TOOMANY_LABELS",
40974: "SL_NHLFE_PRIMARY_TOOMANY_REMOTE_ADDR",
40975: "SL_NHLFE_BACKUP_ID_REPEATED",
40976: "SL_NHLFE_PRIMARY_ID_REPEATED",
40977: "SL_NHLFE_BACKUP_PROTECTED_BITMAP_EMPTY",
40978: "SL_NHLFE_PRIMARY_TOOMANY_BACKUP_PATHS",
40979: "SL_NHLFE_REMOTE_ADDR_INVALID",
40980: "SL_NHLFE_BACKUP_MISSING_PRIMARY_PATH",
40981: "SL_NHLFE_NEXT_HOP_MISSING",
40982: "SL_NHLFE_LABEL_ACTION_INVALID",
40983: "SL_NHLFE_NH_INTF_NOT_FOUND",
40984: "SL_NHLFE_OPER_FAILED",
40985: "SL_NHLFE_LABEL_ACTION_MISSING",
45056: "SL_LABEL_BLK_ERR_OFFSET",
45057: "SL_LABEL_BLK_LSD_ADD_FAILED",
45058: "SL_LABEL_BLK_LSD_DELETE_FAILED",
45059: "SL_LABEL_BLK_LSD_LABEL_BLK_NOT_FOUND",
45060: "SL_LABEL_BLK_LSD_LABEL_BLK_IN_USE",
45061: "SL_LABEL_BLK_LSD_INVALID_ATTRIB",
45062: "SL_LABEL_BLK_INVALID_BLOCK_SIZE",
45063: "SL_LABEL_BLK_INVALID_START_LABEL",
45064: "SL_LABEL_BLK_EEXIST",
45065: "SL_LABEL_BLK_DB_NOMEM",
49152: "SL_MPLS_REG_ERR_OFFSET",
49153: "SL_MPLS_REG_ERR",
49154: "SL_MPLS_UNREG_ERR",
49155: "SL_MPLS_EOF_ERR",
53248: "SL_RPC_INTF_START_OFFSET",
53249: "SL_RPC_INTF_TOO_MANY_INTERFACES",
53250: "SL_RPC_INTF_SERVER_NOT_INITIALIZED",
53251: "SL_RPC_INTF_API_CLIENT_NOT_REGISTERED",
57344: "SL_INTF_START_OFFSET",
57345: "SL_INTF_INTERFACE_NAME_MISSING",
57346: "SL_INTF_INTERFACE_NAME_TOOLONG",
57347: "SL_INTF_INTERFACE_REG_ERR",
57348: "SL_INTF_INTERNAL_DB_ERROR",
57349: "SL_INTF_RECOVERY_ERROR",
57350: "SL_INTF_INTERFACE_EXISTS",
57351: "SL_INTF_INTERFACE_NOT_FOUND",
1048576: "SL_INTERNAL_START_OFFSET",
}
var SLErrorStatus_SLErrno_value = map[string]int32{
"SL_SUCCESS": 0,
"SL_NOT_CONNECTED": 1,
"SL_EAGAIN": 2,
"SL_ENOMEM": 3,
"SL_EBUSY": 4,
"SL_EINVAL": 5,
"SL_UNSUPPORTED_VER": 6,
"SL_NOT_AVAILABLE": 7,
"SL_STREAM_NOT_SUPPORTED": 8,
"SL_ENOTSUP": 9,
"SL_SOME_ERR": 10,
"SL_TIMEOUT": 11,
"SL_NOTIF_TERM": 12,
"SL_INIT_START_OFFSET": 1280,
"SL_INIT_STATE_CLEAR": 1281,
"SL_INIT_STATE_READY": 1282,
"SL_INIT_UNSUPPORTED_VER": 1283,
"SL_INIT_SERVER_NOT_INITIALIZED": 1284,
"SL_INIT_SERVER_MODE_CHANGE_FAILED": 1285,
"SL_RPC_VRF_START_OFFSET": 4096,
"SL_RPC_VRF_TOO_MANY_VRF_REG_MSGS": 4097,
"SL_RPC_VRF_SERVER_NOT_INITIALIZED": 4098,
"SL_VRF_START_OFFSET": 8192,
"SL_VRF_NAME_TOOLONG": 8193,
"SL_VRF_NOT_FOUND": 8194,
"SL_VRF_NO_TABLE_ID": 8195,
"SL_VRF_REG_INVALID_ADMIN_DISTANCE": 8196,
"SL_VRF_TABLE_ADD_ERR": 8197,
"SL_VRF_TABLE_REGISTRATION_ERR": 8198,
"SL_VRF_TABLE_UNREGISTRATION_ERR": 8199,
"SL_VRF_TABLE_EOF_ERR": 8200,
"SL_VRF_REG_VRF_NAME_MISSING": 8201,
"SL_RPC_ROUTE_START_OFFSET": 12288,
"SL_RPC_ROUTE_TOO_MANY_ROUTES": 12289,
"SL_RPC_ROUTE_VRF_NAME_TOOLONG": 12290,
"SL_RPC_ROUTE_VRF_NOT_FOUND": 12291,
"SL_RPC_ROUTE_VRF_NO_TABLE": 12292,
"SL_RPC_ROUTE_VRF_TABLE_NOT_REGISTERED": 12293,
"SL_RPC_ROUTE_VRF_NAME_MISSING": 12294,
"SL_RPC_ROUTE_INIT_MODE_INCOMPATIBLE": 12295,
"SL_RPC_ROUTE_SERVER_NOT_INITIALIZED": 12296,
"SL_ROUTE_START_OFFSET": 16384,
"SL_ROUTE_ADD_NO_PATHS": 16385,
"SL_ROUTE_UPDATE_NO_PATHS": 16386,
"SL_ROUTE_INVALID_PREFIX_LEN": 16387,
"SL_ROUTE_INVALID_ADMIN_DISTANCE": 16388,
"SL_ROUTE_INVALID_NUM_PATHS": 16389,
"SL_ROUTE_INVALID_PREFIX_SZ": 16390,
"SL_ROUTE_INVALID_PREFIX": 16391,
"SL_ROUTE_ERR_RIB_TABLE_LIMIT_REACHED": 16392,
"SL_ROUTE_ERR_RIB_INVALID_ARGS": 16393,
"SL_ROUTE_ERR_RIB_PATH_TABLE_LIMIT": 16394,
"SL_ROUTE_ERR_RIB_TOOMANYPATHS": 16395,
"SL_ROUTE_EEXIST": 16396,
"SL_ROUTE_HOST_BITS_SET": 16397,
"SL_ROUTE_INVALID_PREFIX_MCAST": 16398,
"SL_ROUTE_PATH_AFI_MISMATCH": 16399,
"SL_ROUTE_TOOMANY_PRIMARY_PATHS": 16400,
"SL_ROUTE_TOOMANY_BACKUP_PATHS": 16401,
"SL_ROUTE_DB_NOMEM": 16402,
"SL_ROUTE_INVALID_LOCAL_LABEL": 16403,
"SL_PATH_START_OFFSET": 20480,
"SL_PATH_NH_NO_TABLE": 20481,
"SL_PATH_NH_INTF_NOT_FOUND": 20482,
"SL_PATH_INVALID_LABEL_COUNT": 20483,
"SL_PATH_INVALID_ID": 20484,
"SL_PATH_VRF_NAME_TOOLONG": 20485,
"SL_PATH_NH_INTF_NAME_TOOLONG": 20486,
"SL_PATH_NH_INVALID_ADDR_SZ": 20487,
"SL_PATH_NH_INF_NAME_MISSING": 20488,
"SL_PATH_INVALID_NEXT_HOP_ADDR": 20489,
"SL_PATH_INVALID_REMOTE_ADDR_COUNT": 20490,
"SL_PATH_REMOTE_ADDR_INVALID_SZ": 20491,
"SL_PATH_REMOTE_ADDR_AFI_MISMATCH": 20492,
"SL_PATH_INVALID_PROTECTED_BITMAP": 20493,
"SL_PATH_BACKUP_MISSING_PRIMARY_PATH": 20494,
"SL_PATH_PRIMARY_ID_REPEATED": 20495,
"SL_PATH_BACKUP_ID_REPEATED": 20496,
"SL_PATH_PRIMARY_TOOMANY_BACKUP_PATHS": 20497,
"SL_PATH_PRIMARY_TOOMANY_LABELS": 20498,
"SL_PATH_PRIMARY_TOOMANY_REMOTE_ADDR": 20499,
"SL_PATH_REMOTE_ADDR_INVALID": 20500,
"SL_PATH_INVALID_LABEL": 20501,
"SL_RPC_BFD_START_OFFSET": 24576,
"SL_RPC_BFD_TOO_MANY_BFD_SESSIONS": 24577,
"SL_RPC_BFD_API_BAD_PARAMETER": 24578,
"SL_RPC_BFD_API_CLIENT_NOT_REGISTERED": 24579,
"SL_RPC_BFD_API_INTERNAL_ERROR": 24580,
"SL_RPC_BFD_SERVER_NOT_INITIALIZED": 24581,
"SL_RPC_BFD_V4_NOT_REGISTERED": 24582,
"SL_RPC_BFD_V6_NOT_REGISTERED": 24583,
"SL_BFD_START_OFFSET": 28672,
"SL_BFD_INTF_NAME_TOOLONG": 28673,
"SL_BFD_INTF_NOT_FOUND": 28674,
"SL_BFD_INVALID_ATTRIBUTE": 28675,
"SL_BFD_INTF_NAME_MISSING": 28676,
"SL_BFD_INVALID_NBR_MCAST": 28677,
"SL_BFD_INVALID_NBR": 28678,
"SL_BFD_VRF_NAME_TOOLONG": 28679,
"SL_BFD_BAD_PARAMETER": 28680,
"SL_BFD_API_INTERNAL_ERROR": 28681,
"SL_BFD_VRF_NOT_FOUND": 28682,
"SL_BFD_INVALID_PREFIX_SIZE": 28683,
"SL_BFD_INVALID_SESSION_TYPE": 28684,
"SL_BFD_INVALID_VRF": 28685,
"SL_BFD_SESSION_NOT_FOUND": 28686,
"SL_BFD_SESSION_EXISTS": 28687,
"SL_BFD_INTERNAL_DB_ERROR": 28688,
"SL_BFD_RECOVERY_ERROR": 28689,
"SL_RPC_MPLS_START_OFFSET": 32768,
"SL_RPC_MPLS_ILM_TOO_MANY_ILMS": 32769,
"SL_RPC_MPLS_SERVER_NOT_INITIALIZED": 32770,
"SL_RPC_MPLS_INIT_MODE_INCOMPATIBLE": 32771,
"SL_RPC_MPLS_LABEL_BLK_TOO_MANY_LABEL_BLKS": 32772,
"SL_RPC_MPLS_NOT_REGISTERED": 32773,
"SL_ILM_ERR_OFFSET": 36864,
"SL_ILM_ADD_FAILED": 36865,
"SL_ILM_LSD_ADD_FAILED": 36866,
"SL_ILM_INVALID_NUM_NHLFE": 36867,
"SL_ILM_INVALID_LABEL": 36868,
"SL_ILM_DELETE_FAILED": 36869,
"SL_ILM_LSD_DELETE_FAILED": 36870,
"SL_ILM_TOOMANY_PRIMARY_NHLFES": 36871,
"SL_ILM_TOOMANY_BACKUP_NHLFES": 36872,
"SL_ILM_LSD_ADD_LABEL_ALLOC_FAILED": 36873,
"SL_ILM_LSD_NHLFE_INVALID_ATTRIB": 36874,
"SL_ILM_EEXIST": 36875,
"SL_ILM_DB_NOMEM": 36876,
"SL_NHLFE_ERR_OFFSET": 40960,
"SL_NHLFE_NH_NO_TABLE": 40961,
"SL_NHLFE_NH_INVALID_ADDR_SZ": 40962,
"SL_NHLFE_INVALID_NEXT_HOP_ADDR": 40963,
"SL_NHLFE_VRF_NAME_TOOLONG": 40964,
"SL_NHLFE_NH_INF_NAME_MISSING": 40965,
"SL_NHLFE_NH_INTF_NAME_TOOLONG": 40966,
"SL_NHLFE_INVALID_LABEL_COUNT": 40967,
"SL_NHLFE_INVALID_PATH_ID": 40968,
"SL_NHLFE_INVALID_LABEL": 40969,
"SL_NHLFE_INVALID_PROTECTED_BITMAP": 40970,
"SL_NHLFE_INVALID_REMOTE_ADDR_COUNT": 40971,
"SL_NHLFE_REMOTE_ADDR_INVALID_SZ": 40972,
"SL_NHLFE_PRIMARY_TOOMANY_LABELS": 40973,
"SL_NHLFE_PRIMARY_TOOMANY_REMOTE_ADDR": 40974,
"SL_NHLFE_BACKUP_ID_REPEATED": 40975,
"SL_NHLFE_PRIMARY_ID_REPEATED": 40976,
"SL_NHLFE_BACKUP_PROTECTED_BITMAP_EMPTY": 40977,
"SL_NHLFE_PRIMARY_TOOMANY_BACKUP_PATHS": 40978,
"SL_NHLFE_REMOTE_ADDR_INVALID": 40979,
"SL_NHLFE_BACKUP_MISSING_PRIMARY_PATH": 40980,
"SL_NHLFE_NEXT_HOP_MISSING": 40981,
"SL_NHLFE_LABEL_ACTION_INVALID": 40982,
"SL_NHLFE_NH_INTF_NOT_FOUND": 40983,
"SL_NHLFE_OPER_FAILED": 40984,
"SL_NHLFE_LABEL_ACTION_MISSING": 40985,
"SL_LABEL_BLK_ERR_OFFSET": 45056,
"SL_LABEL_BLK_LSD_ADD_FAILED": 45057,
"SL_LABEL_BLK_LSD_DELETE_FAILED": 45058,
"SL_LABEL_BLK_LSD_LABEL_BLK_NOT_FOUND": 45059,
"SL_LABEL_BLK_LSD_LABEL_BLK_IN_USE": 45060,
"SL_LABEL_BLK_LSD_INVALID_ATTRIB": 45061,
"SL_LABEL_BLK_INVALID_BLOCK_SIZE": 45062,
"SL_LABEL_BLK_INVALID_START_LABEL": 45063,
"SL_LABEL_BLK_EEXIST": 45064,
"SL_LABEL_BLK_DB_NOMEM": 45065,
"SL_MPLS_REG_ERR_OFFSET": 49152,
"SL_MPLS_REG_ERR": 49153,
"SL_MPLS_UNREG_ERR": 49154,
"SL_MPLS_EOF_ERR": 49155,
"SL_RPC_INTF_START_OFFSET": 53248,
"SL_RPC_INTF_TOO_MANY_INTERFACES": 53249,
"SL_RPC_INTF_SERVER_NOT_INITIALIZED": 53250,
"SL_RPC_INTF_API_CLIENT_NOT_REGISTERED": 53251,
"SL_INTF_START_OFFSET": 57344,
"SL_INTF_INTERFACE_NAME_MISSING": 57345,
"SL_INTF_INTERFACE_NAME_TOOLONG": 57346,
"SL_INTF_INTERFACE_REG_ERR": 57347,
"SL_INTF_INTERNAL_DB_ERROR": 57348,
"SL_INTF_RECOVERY_ERROR": 57349,
"SL_INTF_INTERFACE_EXISTS": 57350,
"SL_INTF_INTERFACE_NOT_FOUND": 57351,
"SL_INTERNAL_START_OFFSET": 1048576,
}
func (x SLErrorStatus_SLErrno) String() string {
return proto.EnumName(SLErrorStatus_SLErrno_name, int32(x))
}
func (SLErrorStatus_SLErrno) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
// Status codes, including errors and success codes.
// All service layer errors are defined below.
type SLErrorStatus struct {
Status SLErrorStatus_SLErrno `protobuf:"varint,1,opt,name=Status,enum=service_layer.SLErrorStatus_SLErrno" json:"Status,omitempty"`
}
func (m *SLErrorStatus) Reset() { *m = SLErrorStatus{} }
func (m *SLErrorStatus) String() string { return proto.CompactTextString(m) }
func (*SLErrorStatus) ProtoMessage() {}
func (*SLErrorStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *SLErrorStatus) GetStatus() SLErrorStatus_SLErrno {
if m != nil {
return m.Status
}
return SLErrorStatus_SL_SUCCESS
}
// Interface info.
type SLInterface struct {
// One of Interface name or handle
//
// Types that are valid to be assigned to Interface:
// *SLInterface_Name
// *SLInterface_Handle
Interface isSLInterface_Interface `protobuf_oneof:"Interface"`
}
func (m *SLInterface) Reset() { *m = SLInterface{} }
func (m *SLInterface) String() string { return proto.CompactTextString(m) }
func (*SLInterface) ProtoMessage() {}
func (*SLInterface) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
type isSLInterface_Interface interface {
isSLInterface_Interface()
}
type SLInterface_Name struct {
Name string `protobuf:"bytes,1,opt,name=Name,oneof"`
}
type SLInterface_Handle struct {
Handle uint32 `protobuf:"varint,2,opt,name=Handle,oneof"`
}
func (*SLInterface_Name) isSLInterface_Interface() {}
func (*SLInterface_Handle) isSLInterface_Interface() {}
func (m *SLInterface) GetInterface() isSLInterface_Interface {
if m != nil {
return m.Interface
}
return nil
}
func (m *SLInterface) GetName() string {
if x, ok := m.GetInterface().(*SLInterface_Name); ok {
return x.Name
}
return ""
}
func (m *SLInterface) GetHandle() uint32 {
if x, ok := m.GetInterface().(*SLInterface_Handle); ok {
return x.Handle
}
return 0
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*SLInterface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _SLInterface_OneofMarshaler, _SLInterface_OneofUnmarshaler, _SLInterface_OneofSizer, []interface{}{
(*SLInterface_Name)(nil),