@@ -51,7 +51,14 @@ module openconfig-interfaces {
51
51
Section 4.c of the IETF Trust's Legal Provisions Relating
52
52
to IETF Documents (http://trustee.ietf.org/license-info)." ;
53
53
54
- oc-ext:openconfig-version "3.7.2" ;
54
+ oc-ext:openconfig-version "3.8.0" ;
55
+
56
+ revision "2024-12-05" {
57
+ description
58
+ "Add interface-transitions and link-transitions counters" ;
59
+ reference
60
+ "3.8.0" ;
61
+ }
55
62
56
63
revision "2024-12-05" {
57
64
description
@@ -759,8 +766,7 @@ module openconfig-interfaces {
759
766
760
767
Discontinuities in the value of this counter can occur
761
768
at re-initialization of the management system, and at
762
- other times as indicated by the value of
763
- 'last-clear'." ;
769
+ other times as indicated by the value of 'last-clear'." ;
764
770
reference
765
771
"RFC 2863: The Interfaces Group MIB - ifHCInOctets.
766
772
RFC 4293: Management Information Base for the
@@ -788,8 +794,7 @@ module openconfig-interfaces {
788
794
789
795
Discontinuities in the value of this counter can occur
790
796
at re-initialization of the management system, and at
791
- other times as indicated by the value of
792
- 'last-clear'." ;
797
+ other times as indicated by the value of 'last-clear'." ;
793
798
reference
794
799
"RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts.
795
800
RFC 4293: Management Information Base for the
@@ -805,8 +810,7 @@ module openconfig-interfaces {
805
810
806
811
Discontinuities in the value of this counter can occur
807
812
at re-initialization of the management system, and at
808
- other times as indicated by the value of
809
- 'last-clear'." ;
813
+ other times as indicated by the value of 'last-clear'." ;
810
814
reference
811
815
"RFC 2863: The Interfaces Group MIB - ifHCInBroadcastPkts.
812
816
RFC 4293: Management Information Base for the
@@ -823,8 +827,7 @@ module openconfig-interfaces {
823
827
824
828
Discontinuities in the value of this counter can occur
825
829
at re-initialization of the management system, and at
826
- other times as indicated by the value of
827
- 'last-clear'." ;
830
+ other times as indicated by the value of 'last-clear'." ;
828
831
reference
829
832
"RFC 2863: The Interfaces Group MIB - ifHCInMulticastPkts.
830
833
RFC 4293: Management Information Base for the
@@ -844,8 +847,7 @@ module openconfig-interfaces {
844
847
845
848
Discontinuities in the value of this counter can occur
846
849
at re-initialization of the management system, and at
847
- other times as indicated by the value of
848
- 'last-clear'." ;
850
+ other times as indicated by the value of 'last-clear'." ;
849
851
reference
850
852
"RFC 2863: The Interfaces Group MIB - ifInErrors.
851
853
RFC 4293: Management Information Base for the
@@ -863,9 +865,7 @@ module openconfig-interfaces {
863
865
864
866
Discontinuities in the value of this counter can occur
865
867
at re-initialization of the management system, and at
866
- other times as indicated by the value of
867
- 'last-clear'." ;
868
-
868
+ other times as indicated by the value of 'last-clear'." ;
869
869
870
870
reference
871
871
"RFC 2863: The Interfaces Group MIB - ifInDiscards.
@@ -881,8 +881,7 @@ module openconfig-interfaces {
881
881
882
882
Discontinuities in the value of this counter can occur
883
883
at re-initialization of the management system, and at
884
- other times as indicated by the value of
885
- 'last-clear'." ;
884
+ other times as indicated by the value of 'last-clear'." ;
886
885
reference
887
886
"RFC 2863: The Interfaces Group MIB - ifHCOutOctets.
888
887
RFC 4293: Management Information Base for the
@@ -911,8 +910,7 @@ module openconfig-interfaces {
911
910
912
911
Discontinuities in the value of this counter can occur
913
912
at re-initialization of the management system, and at
914
- other times as indicated by the value of
915
- 'last-clear'." ;
913
+ other times as indicated by the value of 'last-clear'." ;
916
914
reference
917
915
"RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts.
918
916
RFC 4293: Management Information Base for the
@@ -929,8 +927,7 @@ module openconfig-interfaces {
929
927
930
928
Discontinuities in the value of this counter can occur
931
929
at re-initialization of the management system, and at
932
- other times as indicated by the value of
933
- 'last-clear'." ;
930
+ other times as indicated by the value of 'last-clear'." ;
934
931
reference
935
932
"RFC 2863: The Interfaces Group MIB - ifHCOutBroadcastPkts.
936
933
RFC 4293: Management Information Base for the
@@ -949,8 +946,7 @@ module openconfig-interfaces {
949
946
950
947
Discontinuities in the value of this counter can occur
951
948
at re-initialization of the management system, and at
952
- other times as indicated by the value of
953
- 'last-clear'." ;
949
+ other times as indicated by the value of 'last-clear'." ;
954
950
reference
955
951
"RFC 2863: The Interfaces Group MIB - ifHCOutMulticastPkts.
956
952
RFC 4293: Management Information Base for the
@@ -968,8 +964,7 @@ module openconfig-interfaces {
968
964
969
965
Discontinuities in the value of this counter can occur
970
966
at re-initialization of the management system, and at
971
- other times as indicated by the value of
972
- 'last-clear'." ;
967
+ other times as indicated by the value of 'last-clear'." ;
973
968
reference
974
969
"RFC 2863: The Interfaces Group MIB - ifOutDiscards.
975
970
RFC 4293: Management Information Base for the
@@ -987,8 +982,7 @@ module openconfig-interfaces {
987
982
988
983
Discontinuities in the value of this counter can occur
989
984
at re-initialization of the management system, and at
990
- other times as indicated by the value of
991
- 'last-clear'." ;
985
+ other times as indicated by the value of 'last-clear'." ;
992
986
reference
993
987
"RFC 2863: The Interfaces Group MIB - ifOutErrors.
994
988
RFC 4293: Management Information Base for the
@@ -1029,8 +1023,7 @@ module openconfig-interfaces {
1029
1023
1030
1024
Discontinuities in the value of this counter can occur
1031
1025
at re-initialization of the management system, and at
1032
- other times as indicated by the value of
1033
- 'last-clear'." ;
1026
+ other times as indicated by the value of 'last-clear'." ;
1034
1027
reference
1035
1028
"RFC 2863: The Interfaces Group MIB - ifInUnknownProtos" ;
1036
1029
}
@@ -1042,16 +1035,63 @@ module openconfig-interfaces {
1042
1035
frame check sequence (FCS), i.e., framing errors.
1043
1036
1044
1037
Discontinuities in the value of this counter can occur
1045
- when the device is re-initialization as indicated by the
1046
- value of 'last-clear'." ;
1038
+ at re-initialization of the management system, and at
1039
+ other times as indicated by the value of 'last-clear'." ;
1047
1040
}
1048
1041
1049
1042
leaf carrier-transitions {
1050
1043
type oc-yang:counter64;
1044
+ status deprecated ;
1051
1045
description
1052
1046
"Number of times the interface state has transitioned
1053
1047
between up and down since the time the device restarted
1054
- or the last-clear time, whichever is most recent." ;
1048
+ or the last-clear time, whichever is most recent.
1049
+
1050
+ Please use interface-transitions instead, which has
1051
+ similar, but more precisely specified, semantics and a
1052
+ clearer name." ;
1053
+ oc-ext:telemetry-on-change;
1054
+ }
1055
+
1056
+ leaf interface-transitions {
1057
+ type oc-yang:counter64;
1058
+ description
1059
+ "The total number of times the interface state (oper-status)
1060
+ has either transitioned to 'UP' state from any other state, or
1061
+ from state 'UP' to any other state. I.e., an interface flap
1062
+ from UP to DOWN back to UP increments the counter by 2.
1063
+ Transitions between any other interface states other than to
1064
+ or from 'UP' state are not included in the counter.
1065
+
1066
+ Discontinuities in the value of this counter can occur
1067
+ at re-initialization of the management system, and at
1068
+ other times as indicated by the value of 'last-clear'." ;
1069
+ oc-ext:telemetry-on-change;
1070
+ }
1071
+
1072
+ leaf link-transitions {
1073
+ type oc-yang:counter64;
1074
+ description
1075
+ "This is the number of times that the underlying link state
1076
+ (e.g., at the optical receiver) has transitioned to or from
1077
+ 'UP' state before any holdtime, dampening, or other processing
1078
+ has been applied that could suppress an update to the interface
1079
+ 'oper-status' and corresponding interface-transitions counter.
1080
+
1081
+ The counter is incremented both when the link transitions
1082
+ to 'UP' state from any other link state and also when the link
1083
+ transitions from 'UP' state to any other link state, i.e., an
1084
+ interface flap from UP to DOWN back to UP increments the
1085
+ counter by 2.
1086
+
1087
+ Implementations are not required to count all transitions,
1088
+ e.g., if they are below the level of granularity monitored by
1089
+ the system, and hence may not tally with the equivalent counter
1090
+ on the remote end of the link.
1091
+
1092
+ Discontinuities in the value of this counter can occur
1093
+ at re-initialization of the management system, and at
1094
+ other times as indicated by the value of 'last-clear'." ;
1055
1095
oc-ext:telemetry-on-change;
1056
1096
}
1057
1097
@@ -1086,8 +1126,7 @@ module openconfig-interfaces {
1086
1126
1087
1127
Discontinuities in the value of this counter can occur
1088
1128
at re-initialization of the management system, and at
1089
- other times as indicated by the value of
1090
- 'last-clear'." ;
1129
+ other times as indicated by the value of 'last-clear'." ;
1091
1130
reference
1092
1131
"RFC 2863: The Interfaces Group MIB - ifInUnknownProtos" ;
1093
1132
}
@@ -1100,8 +1139,8 @@ module openconfig-interfaces {
1100
1139
frame check sequence (FCS), i.e., framing errors.
1101
1140
1102
1141
Discontinuities in the value of this counter can occur
1103
- when the device is re-initialization as indicated by the
1104
- value of 'last-clear'." ;
1142
+ at re-initialization of the management system, and at
1143
+ other times as indicated by the value of 'last-clear'." ;
1105
1144
}
1106
1145
1107
1146
leaf carrier-transitions {
0 commit comments