Internet-Draft | IfStackTable for P2P interface | June 2021 |
Liu, et al. | Expires 18 December 2021 | [Page] |
The point-to-point circuit type is one of the mainly used circuit types in link state routing protocol. It is important to identify the correct circuit type when forming adjacencies, flooding link state database packets, and monitor the link state. This document defines point-to-point interface type and relevant stack tables to provide benefit for operation, maintenance and statistics.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 3 December 2021.¶
Copyright (c) 2021 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.¶
Point-to-point is the predominant circuit type used by link state routing protocols such as IS-IS [RFC1195] and OSPF [RFC2328] [RFC5340]. Compare with broadcast interface, point-to-point interface is used differently when establish neighbor adjacencies, flood link state information, representing the topology, etc.¶
To simplify configuration and operation, it is helpful To represent the fact that an interface is to be considered a point-to-point interface explicitly in the interface stack. This enables, for example, routing protocols to automatically use the correct operating mode without further configuration.¶
So it is necessary to abstract P2P as special sub-interface type and define relevant interface stack table.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.¶
As defined in [RFC8343], if the device implements the IF-MIB [RFC2863], each entry in the "/interfaces/interface" list in the operational state is typically mapped to one ifEntry.¶
So P2P as sub-interface type should also fully map to one ifEntry, meanwhile define the "higher-layer-if" and "lower-layer-if" in the YANG corresponding to "ifStackTable" in IF-MIB to setup a complete interface stack table, then the P2P interface type can borrow all existing items in interfaces YANG and IF-MIB to take the full advantages from operation, statistic, etc.¶
The "higher-layer-if" should be a network layer interface type, and the lower-layer-if should be a data link layer interface type.¶
YANG Data Nodes and Related IF-MIB Objects¶
P2P interface type is a kind of point-to-point circuit type. P2P interface higher layer should be network layer "ipForward" (defined in IANA) to run routing protocol, P2P interface lower layer is link data layer "ethernetCsmacd" (defined in IANA).¶
P2P interface type ifStackTable should be define as:¶
The interface stack table specified in this document is read-only. Read operation to this table without complete protection shouldn't have a negative effect on network operations.¶
The interface stack table defines to be accessed via network management protocols such as NETCONF [RFC6241], RESTCONF [RFC8040]. The NETCONF is over on layer secure transport, and the mandatory secure transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer is HTTPS, and the mandatory-to-implement secure transport is TLS [RFC5246].¶
IANA need to update the "Interface Types(ifType)" registry (available at https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#smi-numbers-5) with the following status types:¶
IANA need to update the "IANAifType-MIB" registry (available at https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib.xhtml) with the following status types:¶
IANA need to update the "iana-if-type YANG Module" registry (available at https://www.iana.org/assignments/iana-if-type/iana-if-type.xhtml) with the following status types:¶