Layer 3 & Layer 2 Topology Details
The APIs and Models defined here are used to read the Crosswork Optimization Engine discovered topology. The models here can report both L2 and L3 topology details. The models also have support for SR MPLS, SRv6, and Flex Algo related attributes for nodes and links.
The models (and resulting APIs) listed here are an aggregation of various Topology YANG models. The basis of these Topology models are formed from IETF models that are then augmented by Cisco propreitary models, for extra details.
The base IETF models are linked below.
https://datatracker.ietf.org/doc/html/rfc8345 ietf-network-state ietf-network-topology-state
https://datatracker.ietf.org/doc/html/rfc8346/ ietf-l3-unicast-topology-state
https://datatracker.ietf.org/doc/html/rfc8944/ ietf-l2-topology-state
https://datatracker.ietf.org/doc/html/draft-ietf-teas-yang-sr-te-topo ietf-sr-mpls-topology-state
https://datatracker.ietf.org/doc/html/draft-ietf-spring-srv6-yang ietf-srv6-types