rfc-8542

A YANG Data Model for Fabric Topology in Data-Center Networks

Y. Zhuang, D. Shi, R. Gu, H. Ananthakrishnan
date2019-03 streamIETF areartg wgi2rs statusPROPOSED STANDARD pages32 canonicalhttps://www.rfc-editor.org/rfc/rfc8542 doi10.17487/RFC8542 errataview
This document defines a YANG data model for fabric topology in data- center networks and represents one possible view of the data-center fabric. This document focuses on the data model only and does not endorse any kind of network design that could be based on the abovementioned model.

Extracted elements (20)

design-rationale §1

A fabric is modeled as an atomic node in a network topology (analogous to a POD) rather than exposing individual devices and links, allowing clients to consume topology information at the fabric level without needing to be aware of the entire underlay network.

yang, netconf

design-rationale §3.2.3

Fabric port termination-point information is read-only (config false) and learned from underlay networks rather than configured at the fabric topology layer, reflecting that port connectivity is derived from physical infrastructure discovery.

yang, netconf

design-rationale §4

Service capabilities (ip-mapping/NAT, acl-redirect/SFC, dynamic-route-exchange) and device roles are defined as identity-refs to allow vendors and users to extend the model by defining new identities without modifying the base module.

yang, netconf

design-rationale §4

The fabric-id typedef is defined as nw:node-id with a note that fabric composition (e.g., via RPC) is left for vendor-specific implementation and is not provided in the model, intentionally keeping the standard model generic.

yang, netconf

design-rationale §1

The fabric topology model augments RFC 8345 (ietf-network and ietf-network-topology) rather than defining a standalone model, enabling integration with L1/L2/L3 topology models and use as a service topology layer that maps to underlay topologies such as L3 as defined in RFC 8346.

yang, netconf

interoperability-note §A SHOULD NOT

The ietf-dc-fabric-topology-state companion module (Appendix A) is provided for non-NMDA-compliant implementations; it mirrors ietf-dc-fabric-topology but augments ietf-network-state and contains only read-only state data. It SHOULD NOT be supported by implementations that support NMDA (RFC 8342).

yang, netconf

normative-requirement §6 MUST

The lowest NETCONF layer is the secure transport layer, and the mandatory-to-implement secure transport is SSH (RFC 6242). The lowest RESTCONF layer is HTTPS, and the mandatory-to-implement secure transport is TLS (RFC 8446).

yang, netconf, security, tls

protocol-element §3.2.3

Fabric termination points are augmented with a read-only 'fport-attributes' container (config false) containing name, role (internal/external/access), type (layer2interface, layer3interface, layer2Tunnel, layer3Tunnel), device-port (tp-ref), and a tunnel-option choice.

yang, netconf

protocol-element §3.2.2

The 'device-attributes' grouping provides a device-ref (instance-identifier to a node in another topology) and a leaf-list of roles (SPINE, LEAF, Border, or Border-Leaf, default leaf) representing a device's role within a POD.

yang, netconf

protocol-element §3.2.2

The 'fabric-attributes' container carries fabric-id, name, type (underlay-network-type identity such as VXLAN, VLAN, or TRILL), vni-capacity (min/max int32 VNI range), description, options, device-nodes, device-links, and device-ports.

yang, netconf

protocol-element §3.2.2

The 'fabric-options' grouping defines gateway-mode (centralized or distributed, default distributed) and traffic-behavior (normal or policy-driven, default normal), plus a leaf-list of capability-supported service capabilities.

yang, netconf

protocol-element §4

The fabric-port-type enumeration defines four values: layer2interface (L2 interface), layer3interface (L3 interface), layer2Tunnel (L2 tunnel), and layer3Tunnel (L3 tunnel), used to classify termination points on a fabric.

yang, netconf

protocol-element §3.2.1

The ietf-dc-fabric-topology module defines a 'fabric-network' network type by augmenting the 'network-types' container of ietf-network, using a presence container to indicate fabric topology. A fabric is modeled as a node under the network/node container with a 'fabric-attributes' container.

yang, netconf

protocol-element §4

The ietf-dc-fabric-types module defines identity hierarchies for fabric-type (vxlan-fabric, vlan-fabric, trill-fabric), port-type (eth, serial), bandwidth (bw-1M through bw-400G), device-role (spine, leaf, border), fabric-port-role (internal, external, access), and service-capability (ip-mapping, acl-redirect, dynamic-route-exchange).

yang, netconf

protocol-element §3.2.2

The 'port-attributes' grouping defines port-ref (tp-ref instance-identifier), port-type (identityref based on port-type identity: ethernet or serial), and bandwidth (identityref supporting speeds from 1M to 400G).

yang, netconf

protocol-element §3.2.2

The 'vni-capacity' container in fabric-attributes specifies the range of VXLAN Network Identifiers (VNI) used by the POD, with min and max leaves of type int32.

yang, netconf

registry §5

Three namespace URIs are registered in the 'IETF XML Registry' (RFC 3688): urn:ietf:params:xml:ns:yang:ietf-dc-fabric-types, urn:ietf:params:xml:ns:yang:ietf-dc-fabric-topology, and urn:ietf:params:xml:ns:yang:ietf-dc-fabric-topology-state.

yang, registry

registry §5

Three YANG module names are registered in the 'YANG Module Names' registry (RFC 6020): ietf-dc-fabric-types (prefix: fabrictypes), ietf-dc-fabric-topology (prefix: fabric), and ietf-dc-fabric-topology-state (prefix: sfabric), all referencing RFC 8542.

yang, registry

security-consideration §6

The read-only 'fport-attributes' data nodes (config false) are also sensitive: a malicious client could attempt to read fabric connection topology including device-port and name without permission. Read access should be controlled via NACM.

yang, netconf, security

security-consideration §6

The writable 'fabric-attributes' data nodes are sensitive: a malicious client could attempt to sabotage fabric configuration such as device nodes or type. Write operations without proper protection can have a negative effect on network operations. NACM (RFC 8341) provides access control for NETCONF/RESTCONF users.

yang, netconf, security