/* * Copyright (C) 2018-2019 THL A29 Limited, a Tencent company. All rights reserved. */ module openconfig-tencent-qos-ext { // namespace namespace "urn:tencent:yang:openconfig-tencent-qos-ext"; prefix "oc-tc-if-ext"; import openconfig-qos { prefix oc-qos;} import openconfig-yang-types { prefix oc-yang; } organization "Tencent DCN working group"; contact "Tencent TDCP working group"; description "This module defines optional extensions to the OpenConfig qos model."; revision "2019-02-01" { description "Initial revision"; reference "0.1.0"; } //augment statements augment "/oc-qos:qos/oc-qos:interfaces/oc-qos:interface/oc-qos:input/oc-qos:queues/oc-qos:queue/oc-qos:state" { description "Adding extension state data to interface"; leaf pfc-pkts { type oc-yang:counter64; description "Number of PFC packets transmit by the queue. This leaf is defined by Tencent"; } leaf pfc-deadlock-detect { type oc-yang:counter64; description "The times of the detection of pfc-deadlock. This leaf is defined by Tencent"; } leaf pfc-deadlock-recover { type boolean; description "The notification for the recover of pfc-deadlock. This leaf is defined by Tencent"; } leaf ecn-sign-pkts { type oc-yang:counter64; description "Number of packets signed by ecn. This leaf is defined by Tencent"; } leaf rocev2-nack-pkts { type oc-yang:counter64; description "Number of RoceV2 nack packets. This leaf is defined by Tencent"; } leaf pfc-speed-threshold { type oc-yang:counter64; description "Speed of PFC packets. This leaf is defined by Tencent"; } leaf pfc-overspeed { type boolean; description "PFC packets is overspeed. This leaf is defined by Tencent"; } leaf forward-pkt { type oc-yang:counter64; description "the count of forwarded packets. This leaf is defined by Tencent"; } leaf forward-traffic { type oc-yang:counter64; units bytes; description "the count of forwarded packets size. This leaf is defined by Tencent"; } leaf cnp { type oc-yang:counter64; description "the count of congestion notification packets. This leaf is defined by Tencent"; } } augment "/oc-qos:qos/oc-qos:interfaces/oc-qos:interface/oc-qos:output/oc-qos:queues/oc-qos:queue/oc-qos:state" { description "Adding extension state data to interface"; leaf pfc-pkts { type oc-yang:counter64; description "Number of PFC packets transmit by the queue. This leaf is defined by Tencent"; } leaf ecn-sign-pkts { type oc-yang:counter64; description "Number of packets signed by ecn. This leaf is defined by Tencent"; } leaf wred-drop-pkts { type oc-yang:counter64; description "Number of packets dropped by WRED. This leaf is defined by Tencent"; } leaf rocev2-nack-pkts { type oc-yang:counter64; description "Number of RoceV2 nack packets. This leaf is defined by Tencent"; } leaf pfc-speed-threshold { type oc-yang:counter64; description "Speed of PFC packets. This leaf is defined by Tencent"; } leaf pfc-overspeed { type boolean; description "PFC packets is overspeed. This leaf is defined by Tencent"; } leaf forward-pkt { type oc-yang:counter64; description "the count of forwarded packets. This leaf is defined by Tencent"; } leaf forward-traffic { type oc-yang:counter64; units bytes; description "the count of forwarded packets size. This leaf is defined by Tencent"; } leaf cnp { type oc-yang:counter64; description "the count of congestion notification packets. This leaf is defined by Tencent"; } } }