argus-netconf-exporter/exp/yangcli/h3c-yang/openconfig-tencent-interfaces-ext@2019-02-01.yang
2025-11-28 14:35:21 +08:00

279 lines
7.9 KiB
YANG

/*
* Copyright (C) 2018-2019 THL A29 Limited, a Tencent company. All rights reserved.
*/
module openconfig-tencent-interfaces-ext {
// namespace
namespace "urn:tencent:yang:openconfig-tencent-interfaces-ext";
prefix "oc-tc-if-ext";
import openconfig-interfaces { prefix oc-if;}
organization "Tencent DCN working group";
contact
"Tencent TDCP working group";
description "This module defines optional extensions to the OpenConfig interfaces model.";
revision "2019-02-01" {
description
"Initial revision";
reference "0.1.0";
}
//augment statements
augment "/oc-if:interfaces/oc-if:interface/oc-if:state" {
description
"Adding extension state data to interface";
leaf alias {
type string;
description
"the alias name of the interface.";
}
}
augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-if:ipv4/oc-if:state/oc-if:counters" {
description
"Adding extension state data to interface";
leaf in-L2-MTU-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of L2 MTU";
}
leaf out-L2-MTU-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of L2 MTU";
}
leaf in-vlan-mismatch-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of mismatching of vlan";
}
leaf out-vlan-mismatch-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of mismatching of vlan";
}
leaf in-spanningtree-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the filter of spanning tree";
}
leaf out-spanningtree-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of the filter of spanning tree";
}
leaf in-same-interface-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the same interface to transmit and receive";
}
leaf in-L3-header-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 header errors";
}
leaf in-L3-ttl-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 ttl0/ttl1 errors";
}
leaf in-storm-control-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the storm control";
}
leaf in-L3-rib-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 rib errors";
}
leaf in-L3-nexthop-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 nexthop behavior is dorp";
}
leaf in-L3-MTU-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of L3 MTU";
}
leaf in-ACL-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of ACL behavior";
}
leaf out-ACL-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of ACL behavior";
}
leaf in-checksum-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of checksum errors";
}
leaf out-checksum-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of checksum errors";
}
leaf in-illegal-interface-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of illegal interface";
}
}
augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-if:state" {
description
"Adding extension state data to subinterface";
leaf alias {
type string;
description
"the alias name of the interface.";
}
}
augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-if:ipv6/oc-if:state/oc-if:counters" {
description
"Adding extension state data to subinterface";
leaf in-L2-MTU-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of L2 MTU";
}
leaf out-L2-MTU-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of L2 MTU";
}
leaf in-vlan-mismatch-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of mismatching of vlan";
}
leaf out-vlan-mismatch-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of mismatching of vlan";
}
leaf in-spanningtree-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the filter of spanning tree";
}
leaf out-spanningtree-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of the filter of spanning tree";
}
leaf in-same-interface-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the same interface to transmit and receive";
}
leaf in-L3-header-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 header errors";
}
leaf in-L3-ttl-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 ttl0/ttl1 errors";
}
leaf in-storm-control-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the storm control";
}
leaf in-L3-rib-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 rib errors";
}
leaf in-L3-nexthop-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of the L3 nexthop behavior is dorp";
}
leaf in-L3-MTU-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of L3 MTU";
}
leaf in-ACL-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of ACL behavior";
}
leaf out-ACL-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of ACL behavior";
}
leaf in-checksum-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of checksum errors";
}
leaf out-checksum-errors{
type oc-yang:counter32;
description
"the reason of outbound packets could not be transmitted because of checksum errors";
}
leaf in-illegal-interface-errors{
type oc-yang:counter32;
description
"the reason of inbound packets could not be transmitted because of illegal interface";
}
}
}