Add 'ForwardFault to ctrl_pb.Fault. (#184)

This commit is contained in:
Michael Quigley
2021-02-11 12:42:50 -05:00
parent 4dc8923bbc
commit 517d6dba8d
2 changed files with 8 additions and 3 deletions
+7 -3
View File
@@ -174,6 +174,7 @@ const (
FaultSubject_IngressFault FaultSubject = 0
FaultSubject_EgressFault FaultSubject = 1
FaultSubject_LinkFault FaultSubject = 2
FaultSubject_ForwardFault FaultSubject = 3
)
// Enum value maps for FaultSubject.
@@ -182,11 +183,13 @@ var (
0: "IngressFault",
1: "EgressFault",
2: "LinkFault",
3: "ForwardFault",
}
FaultSubject_value = map[string]int32{
"IngressFault": 0,
"EgressFault": 1,
"LinkFault": 2,
"ForwardFault": 3,
}
)
@@ -1352,12 +1355,13 @@ var file_ctrl_proto_rawDesc = []byte{
0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x65, 0x63, 0x65, 0x64, 0x65,
0x6e, 0x63, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x00,
0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0a,
0x0a, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x02, 0x2a, 0x40, 0x0a, 0x0c, 0x46, 0x61,
0x0a, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x02, 0x2a, 0x52, 0x0a, 0x0c, 0x46, 0x61,
0x75, 0x6c, 0x74, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x6e,
0x67, 0x72, 0x65, 0x73, 0x73, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x01, 0x12, 0x0d, 0x0a,
0x09, 0x4c, 0x69, 0x6e, 0x6b, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
0x09, 0x4c, 0x69, 0x6e, 0x6b, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c,
0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x10, 0x03, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
+1
View File
@@ -82,6 +82,7 @@ enum FaultSubject {
IngressFault = 0;
EgressFault = 1;
LinkFault = 2;
ForwardFault = 3;
}
message Fault {