This YANG module defines the essential components for the management of the MPLS subsystem. The model fully conforms to the Net...
Version: 2020-12-18
module ietf-mpls { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-mpls"; prefix mpls; import ietf-routing { prefix rt; reference "RFC 8349: A YANG Data Model for Routing Management (NMDA Version)"; } import ietf-routing-types { prefix rt-types; reference "RFC 8294: Common YANG Data Types for the Routing Area"; } import ietf-yang-types { prefix yang; reference "RFC 6991: Common YANG Data Types"; } import ietf-interfaces { prefix if; reference "RFC 8343: A YANG Data Model for Interface Management"; } organization "IETF MPLS Working Group"; contact "WG Web: <https://datatracker.ietf.org/wg/mpls/> WG List: <mailto:mpls@ietf.org> Editor: Tarek Saad <mailto:tsaad@juniper.net> Editor: Kamran Raza <mailto:skraza@cisco.com> Editor: Rakesh Gandhi <mailto:rgandhi@cisco.com> Editor: Xufeng Liu <mailto:xufeng.liu.ietf@gmail.com> Editor: Vishnu Pavan Beeram <mailto:vbeeram@juniper.net>"; description "This YANG module defines the essential components for the management of the MPLS subsystem. The model fully conforms to the Network Management Datastore Architecture (NMDA). Copyright (c) 2020 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC 8960; see the RFC itself for full legal notices."; revision "2020-12-18" { description "Initial revision."; reference "RFC 8960: A YANG Data Model for MPLS Base"; } identity mpls { base rt:address-family; description "This identity represents the MPLS address family."; } identity mpls-unicast { base mpls:mpls; description "This identity represents the MPLS unicast address family."; } identity label-block-alloc-mode { description "Base identity for label-block allocation mode."; } identity label-block-alloc-mode-manager { base label-block-alloc-mode; description "Label-block allocation on the reserved block is managed by the label manager."; } identity label-block-alloc-mode-application { base label-block-alloc-mode; description "Label-block allocation on the reserved block is managed by the application."; } typedef mpls-operations-type { type enumeration { enum "impose-and-forward" { value 0; description "Operation to impose one or more outgoing labels and forward to the next hop."; } enum "pop-and-forward" { value 1; description "Operation to pop the incoming label and forward to the next hop."; } enum "pop-impose-and-forward" { value 2; description "Operation to pop the incoming label, impose one or more outgoing labels, and forward to the next hop."; } enum "swap-and-forward" { value 3; description "Operation to swap the incoming label with the outgoing label and forward to the next hop."; } enum "pop-and-lookup" { value 4; description "Operation to pop the incoming label and perform a lookup."; } } description "Types of MPLS operations."; } typedef nhlfe-role { type enumeration { enum "primary" { value 0; description "The next hop acts as the primary for carrying traffic."; } enum "backup" { value 1; description "The next hop acts as the backup."; } enum "primary-and-backup" { value 2; description "The next hop simultaneously acts as both the primary and the backup for carrying traffic."; } } description "Role of the next hop."; } } // module ietf-mpls
© 2023 YumaWorks, Inc. All rights reserved.