module ieee802-dot1q-tpmr { namespace "urn:ieee:std:802.1Q:yang:ieee802-dot1q-tpmr"; prefix "dot1q-tpmr"; import ieee802-dot1q-bridge { prefix "dot1q"; } import ietf-yang-types { prefix "yang"; } import ietf-interfaces { prefix "if"; } organization "Institute of Electrical and Electronics Engineers"; contact "WG-URL: http://grouper.ieee.org/groups/802/1/ WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG"; description "This YANG module describes the bridge configuration model for the Two Port MAC Relay Bridges."; revision 2017-09-07 { description "Updates based upon comment resolution on draft D1.2 of P802.1Qcp."; reference "IEEE 802.1Q-2017, Media Access Control (MAC) Bridges and Virtual Bridged Local Area Networks."; } augment "/if:interfaces/if:interface/dot1q:bridge-port" { when "dot1q:port-type = 'dot1q:d-bridge-port'" { description "Applies to TPMR Bridges ports"; } description "Augment Interface model with TPMR bridge port configuration specific nodes."; leaf managed-address { type boolean; default "true"; description "A Boolean value, which is TRUE if the MAC address is the management address for the TPMR, and is otherwise FALSE. The TPMR management entity may make use of one or both Ports of a TPMR to transmit and receive management frames. However, the MAC address used by the TPMR management entity as the source MAC address in transmitted management frames (the management MAC address) is the individual MAC address associated with one of the Ports of the TPMR"; reference "IEEE 802.1Q-2017 Clause 12.19.1.1.1.3"; } container mac-status-propagation { description "MAC status propagation configuration node parameters."; leaf link-notify { type boolean; default "true"; description "The current value (Boolean) of LinkNotify (23.5.1) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } leaf link-notify-wait { type yang:timeticks { range "20..100"; } default 40; description "The current value, in centiseconds, of LinkNotifyWait (23.5.2) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } leaf link-notify-retry { type yang:timeticks { range "10..100"; } default 100; description "The current value, in centiseconds, of LinkNotifyRetry (23.5.3) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } leaf mac-notify { type boolean; default "true"; description "The current value (Boolean) of MACNotify (23.5.4) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } leaf mac-notify-time { type yang:timeticks { range "1..50"; } default 20; description "The current value, in centiseconds, of MACNotifyTime (23.5.5) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } leaf mac-recover-time { type yang:timeticks { range "2..50"; } default 10; description "The current value, in centiseconds, of MACRecoverTime (23.5.6) being used by the MSP state machines."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.1.3, 12.19.4.1.2.2"; } } } augment "/if:interfaces/if:interface" + "/dot1q:bridge-port/dot1q:statistics" { when "../dot1q:port-type = 'dot1q:d-bridge-port'" { description "Applies to TPMR Bridges ports"; } description "Augment Interface model with TPMR bridge port operational state specific nodes."; leaf acks-tx { type yang:counter64; config false; description "The number of acks transmitted (23.6.15) by the Ports Transmit Process as a consequence of txAck being set. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf add-notificatons-tx { type yang:counter64; config false; description "The number of adds transmitted (23.6.16) by the Ports Transmit Process as a consequence of txAdd being set. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf loss-notification-tx { type yang:counter64; config false; description "The number of losses transmitted (23.6.18) by the Ports Transmit Process as a consequence of txLoss being set. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf loss-confirmation-tx { type yang:counter64; config false; description "The number of loss confirms transmitted (23.6.19) by the Ports Transmit Process as a consequence of txLossConfirm being set. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf acks-rx { type yang:counter64; config false; description "The number of acks received (23.6.10) by the Ports Transmit Process. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf add-notificatons-rx { type yang:counter64; config false; description "The number of adds received (23.6.11) by the Ports Receive Process. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf loss-notification-rx { type yang:counter64; config false; description "The number of losses received (23.6.13) by the Ports Receive Process. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf loss-confirmation-rx { type yang:counter64; config false; description "The number of loss confirms received (23.6.14) by the Ports Receive Process. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf add-events { type yang:counter64; config false; description "The number of transitions to STM:ADD directly from STM:DOWN or STM:LOSS (23.8). Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf loss-events { type yang:counter64; config false; description "The number of transitions to STM:LOSS directly from STM:UP or STM:ADD (23.8). Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } leaf mac-status-notifications { type yang:counter64; config false; description "The number of transitions to SNM:MAC_NOTIFICATION (23.9). Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; reference "IEEE 802.1Q-2017 Clause 12.19.4.1.3.3"; } } }