CCAMP Working Group J. Lopez de Vergara
Internet-Draft Naudit HPCN
Intended status: Informational D. Perdices Burrero
Expires: January 13, 2022 Universidad Autonoma de Madrid
D. King
Old Dog Consulting
V. Lopez
Nokia
I. Busi
Huawei Technologies
O. Gonzalez de Dios
Telefonica I+D/GCTO
Y. Lee
Samsung
G. Galimberti
Cisco
July 12, 2021
A YANG Data Model for Flexi-Grid Media Channels
draft-ietf-ccamp-flexigrid-media-channel-yang-04
Abstract
This document defines a YANG model for managing flexi-grid optical
media channels, complementing the information provided by the flexi-
grid topology model.
The YANG data model defined in this document conforms to the Network
Management Datastore Architecture (NMDA).
Status of This Memo
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 January 13, 2022.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 1]
Internet-Draft Flexi-Grid YANG July 2021
Copyright Notice
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.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Flexi-Grid Media-Channel Overview . . . . . . . . . . . . . . 3
4. Example of Use . . . . . . . . . . . . . . . . . . . . . . . 4
5. YANG Model for Flexi-Grid Media Channel . . . . . . . . . . . 6
5.1. YANG Tree . . . . . . . . . . . . . . . . . . . . . . . . 6
5.2. YANG Code . . . . . . . . . . . . . . . . . . . . . . . . 44
6. Security Considerations . . . . . . . . . . . . . . . . . . . 59
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 59
8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 60
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 60
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.1. Normative References . . . . . . . . . . . . . . . . . . 60
10.2. Informative References . . . . . . . . . . . . . . . . . 61
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 61
1. Introduction
Transport networks are evolving from current DWDM systems towards
elastic optical networks, based on flexi-grid transmission and
switching technologies [RFC7698]. Such technology aims at increasing
both transport network scalability and flexibility, allowing the
optimization of bandwidth usage.
While [I-D.ietf-ccamp-flexigrid-yang] focuses on flexi-grid objects
such as nodes, transponders and links, this document presents a YANG
[RFC7950] model for the flexi-grid media-channel. This YANG module
defines the whole path from a source transponder or node to the
destination through a number of intermediate nodes in the flexi-grid
network.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 2]
Internet-Draft Flexi-Grid YANG July 2021
This document identifies the flexi-grid media-channel components,
parameters and their values, characterizes the features and the
performances of the flexi-grid elements. An application example is
provided towards the end of the document to better understand their
utility.
2. Terminology
Refer to [RFC7446] and [RFC7699] for the key terms used in this
document.
The following terms are defined in [RFC7950] and are not redefined
here:
o client
o server
o augment
o data model
o data node
The following terms are defined in [RFC6241] and are not redefined
here:
o configuration data
o state data
The terminology for describing YANG data models is found in
[RFC7950].
3. Flexi-Grid Media-Channel Overview
The present model defines a flexi-grid media-channel mainly composed
of:
o source address
o source flexi-grid port
o source flexi-grid transponder
o destination address
o destination flexi-grid port
Lopez de Vergara, et al.Expires January 13, 2022 [Page 3]
Internet-Draft Flexi-Grid YANG July 2021
o destination flexi-grid transponder
o list of links that defines the path
o other optical attributes
Each path can be a media-channel (only defined by source and
destination node) or a network media-channel (additionally needs
source and destination transponders). Therefore, all the attributes
are optional to support both situations.
This is achieved by a combination of the traffic engineering tunnel
attributes explained in [I-D.ietf-teas-yang-te] and augments when
necessary. For instance, source address, source flexi-grid
transponder, destination address and destination flexi-grid
transponder attributes are directly taken from tunnel, whereas other
attributes such as source flexi-grid port, destination flexi-grid
port are defined, as they are specific for flexi-grid.
4. Example of Use
In order to explain how this model is used, we provide the following
example. An optical network usually has multiple transponders,
switches (nodes) and links. Figure 1 shows a simple topology, where
two physical paths interconnect two optical transponders.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 4]
Internet-Draft Flexi-Grid YANG July 2021
Tunnel
<==============================================================>
Media Channel Group x
<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
+------------+ +------------+
| Flexi- | | Flexi- |
| grid | | grid |
| node A | | node E |
| | +------+ +------+ | |
| | Link 1 |Flexi-| Link 2 |Flexi-| Link 3 | |
| |<------>| grid |<------>| grid |<------>| |
|......... | |node B| |node C| | .........|
| Trans- : | +------+ +------+ | : Trans- |
| ponder : | | : ponder |
| A : | +----------+ | : E |
|........: | Link 4 |Flexi-grid| Link 5 | :........|
| | | D | | |
| |<------------>| node |<------------>| |
| | +----------+ | |
+------------+ +------------+
<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
Media Channel Group y
Figure 1: Topology Example
In order to configure a network media channel to interconnect
transponders A and E, first of all we have to populate the flexi-grid
topology YANG model with all elements in the network:
o We define the transponders within nodes A and E as tunnel
termination points (TTPs) and provide their internal local link
connectivity towards the node interfaces. We also provide nodes A
and B identifiers, addresses and interfaces.
o We do the same for the nodes B, C and D, providing their
identifiers, addresses and interfaces, as well as the internal
connectivity matrix between interfaces.
o Then, we also define the links 1 to 5 that interconnect nodes,
indicating which flexi-grid labels are available.
o Other information, such as the slot frequency and granularity are
also provided.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 5]
Internet-Draft Flexi-Grid YANG July 2021
After the nodes, links and transponders have been defined using
[I-D.ietf-ccamp-flexigrid-yang] we can configure the media-channel
from the information we have stored in the flexi-grid topology, by
querying which elements are available, and planning the resources
that have to be provided on each situation. Note that every element
in the flexi-grid topology has a reference, and this is the way in
which they are called in the media-channel.
o Depending on the case, it is possible to define either the source
and destination node ports, or the source and destination node and
transponder. In our case, we would define a network media
channel, with source transponder A and source node B, and
destination transponder E and destination node C. Thus, we are
going to follow path x.
o Then, for each link in the path x, we indicate which channel we
are going to use, providing information about the slots, and what
nodes are connected.
o Finally, the flexi-grid topology has to be updated with each
element usage status each time a media channel is created or torn
down.
5. YANG Model for Flexi-Grid Media Channel
5.1. YANG Tree
module: ietf-te
+--rw te!
+--rw globals
| +--rw named-admin-groups
| | +--rw named-admin-group* [name]
| | {te-types:extended-admin-groups,te-types:named-extended-admin-groups}?
| | +--rw name string
| | +--rw bit-position? uint32
| +--rw named-srlgs
| | +--rw named-srlg* [name] {te-types:named-srlg-groups}?
| | +--rw name string
| | +--rw group? te-types:srlg
| | +--rw cost? uint32
| +--rw named-path-constraints
| +--rw named-path-constraint* [name]
| {te-types:named-path-constraints}?
| +--rw name string
| +--rw te-bandwidth
| | +--rw (technology)?
| | +--:(generic)
Lopez de Vergara, et al.Expires January 13, 2022 [Page 6]
Internet-Draft Flexi-Grid YANG July 2021
| | +--rw generic? te-bandwidth
| +--rw link-protection? identityref
| +--rw setup-priority? uint8
| +--rw hold-priority? uint8
| +--rw signaling-type? identityref
| +--rw path-metric-bounds
| | +--rw path-metric-bound* [metric-type]
| | +--rw metric-type identityref
| | +--rw upper-bound? uint64
| +--rw path-affinities-values
| | +--rw path-affinities-value* [usage]
| | +--rw usage identityref
| | +--rw value? admin-groups
| +--rw path-affinity-names
| | +--rw path-affinity-name* [usage]
| | +--rw usage identityref
| | +--rw affinity-name* [name]
| | +--rw name string
| +--rw path-srlgs-lists
| | +--rw path-srlgs-list* [usage]
| | +--rw usage identityref
| | +--rw values* srlg
| +--rw path-srlgs-names
| | +--rw path-srlgs-name* [usage]
| | +--rw usage identityref
| | +--rw names* string
| +--rw disjointness?
| | te-path-disjointness
| +--rw explicit-route-objects-always
| | +--rw route-object-exclude-always* [index]
| | | +--rw index uint32
| | | +--rw (type)?
| | | +--:(numbered-node-hop)
| | | | +--rw numbered-node-hop
| | | | +--rw node-id te-node-id
| | | | +--rw hop-type? te-hop-type
| | | +--:(numbered-link-hop)
| | | | +--rw numbered-link-hop
| | | | +--rw link-tp-id te-tp-id
| | | | +--rw hop-type? te-hop-type
| | | | +--rw direction? te-link-direction
| | | +--:(unnumbered-link-hop)
| | | | +--rw unnumbered-link-hop
| | | | +--rw link-tp-id te-tp-id
| | | | +--rw node-id te-node-id
| | | | +--rw hop-type? te-hop-type
| | | | +--rw direction? te-link-direction
| | | +--:(as-number)
Lopez de Vergara, et al.Expires January 13, 2022 [Page 7]
Internet-Draft Flexi-Grid YANG July 2021
| | | | +--rw as-number-hop
| | | | +--rw as-number inet:as-number
| | | | +--rw hop-type? te-hop-type
| | | +--:(label)
| | | +--rw label-hop
| | | +--rw te-label
| | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic?
| | | | rt-types:generalized-label
| | | +--rw direction?
| | | te-label-direction
| | +--rw route-object-include-exclude* [index]
| | +--rw explicit-route-usage? identityref
| | +--rw index uint32
| | +--rw (type)?
| | +--:(numbered-node-hop)
| | | +--rw numbered-node-hop
| | | +--rw node-id te-node-id
| | | +--rw hop-type? te-hop-type
| | +--:(numbered-link-hop)
| | | +--rw numbered-link-hop
| | | +--rw link-tp-id te-tp-id
| | | +--rw hop-type? te-hop-type
| | | +--rw direction? te-link-direction
| | +--:(unnumbered-link-hop)
| | | +--rw unnumbered-link-hop
| | | +--rw link-tp-id te-tp-id
| | | +--rw node-id te-node-id
| | | +--rw hop-type? te-hop-type
| | | +--rw direction? te-link-direction
| | +--:(as-number)
| | | +--rw as-number-hop
| | | +--rw as-number inet:as-number
| | | +--rw hop-type? te-hop-type
| | +--:(label)
| | | +--rw label-hop
| | | +--rw te-label
| | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic?
| | | | rt-types:generalized-label
| | | +--rw direction?
| | | te-label-direction
| | +--:(srlg)
| | +--rw srlg
| | +--rw srlg? uint32
| +--rw shared-resources-tunnels
Lopez de Vergara, et al.Expires January 13, 2022 [Page 8]
Internet-Draft Flexi-Grid YANG July 2021
| | +--rw lsp-shared-resources-tunnel* tunnel-ref
| +--rw path-in-segment!
| | +--rw label-restrictions
| | +--rw label-restriction* [index]
| | +--rw restriction? enumeration
| | +--rw index uint32
| | +--rw label-start
| | | +--rw te-label
| | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic?
| | | | rt-types:generalized-label
| | | +--rw direction?
| | | te-label-direction
| | +--rw label-end
| | | +--rw te-label
| | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic?
| | | | rt-types:generalized-label
| | | +--rw direction?
| | | te-label-direction
| | +--rw label-step
| | | +--rw (technology)?
| | | +--:(generic)
| | | +--rw generic? int32
| | +--rw range-bitmap? yang:hex-string
| +--rw path-out-segment!
| +--rw label-restrictions
| +--rw label-restriction* [index]
| +--rw restriction? enumeration
| +--rw index uint32
| +--rw label-start
| | +--rw te-label
| | +--rw (technology)?
| | | +--:(generic)
| | | +--rw generic?
| | | rt-types:generalized-label
| | +--rw direction?
| | te-label-direction
| +--rw label-end
| | +--rw te-label
| | +--rw (technology)?
| | | +--:(generic)
| | | +--rw generic?
| | | rt-types:generalized-label
| | +--rw direction?
| | te-label-direction
Lopez de Vergara, et al.Expires January 13, 2022 [Page 9]
Internet-Draft Flexi-Grid YANG July 2021
| +--rw label-step
| | +--rw (technology)?
| | +--:(generic)
| | +--rw generic? int32
| +--rw range-bitmap? yang:hex-string
+--rw tunnels
| +--rw tunnel* [name]
| | +--ro operational-state? identityref
| | +--rw name string
| | +--rw identifier? uint16
| | +--rw description? string
| | +--rw encoding? identityref
| | +--rw switching-type? identityref
| | +--rw provisioning-state? identityref
| | +--rw preference? uint8
| | +--rw reoptimize-timer? uint16
| | +--rw source? te-types:te-node-id
| | +--rw destination? te-types:te-node-id
| | +--rw src-tp-id? yang:hex-string
| | +--rw dst-tp-id? yang:hex-string
| | +--rw bidirectional? boolean
| | +--rw association-objects
| | | +--rw association-object*
| | | | [type ID source global-source]
| | | | +--rw type identityref
| | | | +--rw ID uint16
| | | | +--rw source te-types:te-node-id
| | | | +--rw global-source te-types:te-node-id
| | | +--rw association-object-extended*
| | | [type ID source global-source extended-ID]
| | | +--rw type identityref
| | | +--rw ID uint16
| | | +--rw source te-types:te-node-id
| | | +--rw global-source te-types:te-node-id
| | | +--rw extended-ID yang:hex-string
| | +--rw protection
| | | +--rw enable? boolean
| | | +--rw protection-type? identityref
| | | +--rw protection-reversion-disable? boolean
| | | +--rw hold-off-time? uint32
| | | +--rw wait-to-revert? uint16
| | | +--rw aps-signal-id? uint8
| | +--rw restoration
| | | +--rw enable? boolean
| | | +--rw restoration-type? identityref
| | | +--rw restoration-scheme? identityref
| | | +--rw restoration-reversion-disable? boolean
| | | +--rw hold-off-time? uint32
Lopez de Vergara, et al.Expires January 13, 2022 [Page 10]
Internet-Draft Flexi-Grid YANG July 2021
| | | +--rw wait-to-restore? uint16
| | | +--rw wait-to-revert? uint16
| | +--rw te-topology-identifier
| | | +--rw provider-id? te-global-id
| | | +--rw client-id? te-global-id
| | | +--rw topology-id? te-topology-id
| | +--rw te-bandwidth
| | | +--rw (technology)?
| | | +--:(generic)
| | | +--rw generic? te-bandwidth
| | +--rw link-protection? identityref
| | +--rw setup-priority? uint8
| | +--rw hold-priority? uint8
| | +--rw signaling-type? identityref
| | +--rw dependency-tunnels
| | | +--rw dependency-tunnel* [name]
| | | +--rw name
| | | | -> ../../../../../tunnels/tunnel/name
| | | +--rw encoding? identityref
| | | +--rw switching-type? identityref
| | +--rw hierarchical-link
| | | +--rw local-te-node-id? te-types:te-node-id
| | | +--rw local-te-link-tp-id? te-types:te-tp-id
| | | +--rw remote-te-node-id? te-types:te-node-id
| | | +--rw te-topology-identifier
| | | +--rw provider-id? te-global-id
| | | +--rw client-id? te-global-id
| | | +--rw topology-id? te-topology-id
| | +--rw p2p-primary-paths
| | | +--rw p2p-primary-path* [name]
| | | +--rw name string
| | | +--rw path-setup-protocol? identityref
| | | +--rw path-computation-method? identityref
| | | +--rw path-computation-server?
| | | | inet:ip-address
| | | +--rw compute-only? empty
| | | +--rw use-path-computation? boolean
| | | +--rw lockdown? empty
| | | +--ro path-scope? identityref
| | | +--rw optimizations
| | | | +--rw (algorithm)?
| | | | +--:(metric) {path-optimization-metric}?
| | | | | +--rw optimization-metric* [metric-type]
| | | | | | +--rw metric-type
| | | | | | | identityref
| | | | | | +--rw weight?
| | | | | | | uint8
| | | | | | +--rw explicit-route-exclude-objects
Lopez de Vergara, et al.Expires January 13, 2022 [Page 11]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | +--rw route-object-exclude-object*
| | | | | | | [index]
| | | | | | | +--rw index
| | | | | | | | uint32
| | | | | | | +--rw (type)?
| | | | | | | +--:(numbered-node-hop)
| | | | | | | | +--rw numbered-node-hop
| | | | | | | | +--rw node-id
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(numbered-link-hop)
| | | | | | | | +--rw numbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(unnumbered-link-hop)
| | | | | | | | +--rw unnumbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw node-id
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(as-number)
| | | | | | | | +--rw as-number-hop
| | | | | | | | +--rw as-number
| | | | | | | | | inet:as-number
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(label)
| | | | | | | | +--rw label-hop
| | | | | | | | +--rw te-label
| | | | | | | | +--rw (technology)?
| | | | | | | | | +--:(generic)
| | | | | | | | | +--rw generic?
| | | | | | | | | rt-types:generalized-label
| | | | | | | | +--rw direction?
| | | | | | | | te-label-direction
| | | | | | | +--:(srlg)
| | | | | | | +--rw srlg
| | | | | | | +--rw srlg? uint32
| | | | | | +--rw explicit-route-include-objects
Lopez de Vergara, et al.Expires January 13, 2022 [Page 12]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--rw route-object-include-object*
| | | | | | [index]
| | | | | | +--rw index
| | | | | | | uint32
| | | | | | +--rw (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--rw numbered-node-hop
| | | | | | | +--rw node-id
| | | | | | | | te-node-id
| | | | | | | +--rw hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--rw numbered-link-hop
| | | | | | | +--rw link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--rw unnumbered-link-hop
| | | | | | | +--rw link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--rw node-id
| | | | | | | | te-node-id
| | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(as-number)
| | | | | | | +--rw as-number-hop
| | | | | | | +--rw as-number
| | | | | | | | inet:as-number
| | | | | | | +--rw hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(label)
| | | | | | +--rw label-hop
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw tiebreakers
| | | | | +--rw tiebreaker* [tiebreaker-type]
| | | | | +--rw tiebreaker-type identityref
| | | | +--:(objective-function)
Lopez de Vergara, et al.Expires January 13, 2022 [Page 13]
Internet-Draft Flexi-Grid YANG July 2021
| | | | {path-optimization-objective-function}?
| | | | +--rw objective-function
| | | | +--rw objective-function-type?
| | | | identityref
| | | +--rw preference? uint8
| | | +--rw k-requested-paths? uint8
| | | +--rw named-path-constraint? leafref
| | | | {te-types:named-path-constraints}?
| | | +--rw te-bandwidth
| | | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic? te-bandwidth
| | | +--rw link-protection? identityref
| | | +--rw setup-priority? uint8
| | | +--rw hold-priority? uint8
| | | +--rw signaling-type? identityref
| | | +--rw path-metric-bounds
| | | | +--rw path-metric-bound* [metric-type]
| | | | +--rw metric-type identityref
| | | | +--rw upper-bound? uint64
| | | +--rw path-affinities-values
| | | | +--rw path-affinities-value* [usage]
| | | | +--rw usage identityref
| | | | +--rw value? admin-groups
| | | +--rw path-affinity-names
| | | | +--rw path-affinity-name* [usage]
| | | | +--rw usage identityref
| | | | +--rw affinity-name* [name]
| | | | +--rw name string
| | | +--rw path-srlgs-lists
| | | | +--rw path-srlgs-list* [usage]
| | | | +--rw usage identityref
| | | | +--rw values* srlg
| | | +--rw path-srlgs-names
| | | | +--rw path-srlgs-name* [usage]
| | | | +--rw usage identityref
| | | | +--rw names* string
| | | +--rw disjointness?
| | | | te-path-disjointness
| | | +--rw explicit-route-objects-always
| | | | +--rw route-object-exclude-always* [index]
| | | | | +--rw index uint32
| | | | | +--rw (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--rw numbered-node-hop
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(numbered-link-hop)
Lopez de Vergara, et al.Expires January 13, 2022 [Page 14]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--rw numbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction? te-link-direction
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--rw unnumbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction? te-link-direction
| | | | | +--:(as-number)
| | | | | | +--rw as-number-hop
| | | | | | +--rw as-number inet:as-number
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(label)
| | | | | +--rw label-hop
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw route-object-include-exclude* [index]
| | | | +--rw explicit-route-usage? identityref
| | | | +--rw index uint32
| | | | +--rw (type)?
| | | | +--:(numbered-node-hop)
| | | | | +--rw numbered-node-hop
| | | | | +--rw node-id te-node-id
| | | | | +--rw hop-type? te-hop-type
| | | | +--:(numbered-link-hop)
| | | | | +--rw numbered-link-hop
| | | | | +--rw link-tp-id te-tp-id
| | | | | +--rw hop-type? te-hop-type
| | | | | +--rw direction? te-link-direction
| | | | +--:(unnumbered-link-hop)
| | | | | +--rw unnumbered-link-hop
| | | | | +--rw link-tp-id te-tp-id
| | | | | +--rw node-id te-node-id
| | | | | +--rw hop-type? te-hop-type
| | | | | +--rw direction? te-link-direction
| | | | +--:(as-number)
| | | | | +--rw as-number-hop
| | | | | +--rw as-number inet:as-number
| | | | | +--rw hop-type? te-hop-type
| | | | +--:(label)
| | | | | +--rw label-hop
Lopez de Vergara, et al.Expires January 13, 2022 [Page 15]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--:(srlg)
| | | | +--rw srlg
| | | | +--rw srlg? uint32
| | | +--rw shared-resources-tunnels
| | | | +--rw lsp-shared-resources-tunnel* tunnel-ref
| | | +--rw path-in-segment!
| | | | +--rw label-restrictions
| | | | +--rw label-restriction* [index]
| | | | +--rw restriction? enumeration
| | | | +--rw index uint32
| | | | +--rw label-start
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-end
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-step
| | | | | +--rw (technology)?
| | | | | +--:(generic)
| | | | | +--rw generic? int32
| | | | +--rw range-bitmap? yang:hex-string
| | | +--rw path-out-segment!
| | | | +--rw label-restrictions
| | | | +--rw label-restriction* [index]
| | | | +--rw restriction? enumeration
| | | | +--rw index uint32
| | | | +--rw label-start
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
Lopez de Vergara, et al.Expires January 13, 2022 [Page 16]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-end
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-step
| | | | | +--rw (technology)?
| | | | | +--:(generic)
| | | | | +--rw generic? int32
| | | | +--rw range-bitmap? yang:hex-string
| | | +--ro computed-paths-properties
| | | | +--ro computed-path-properties* [k-index]
| | | | +--ro k-index uint8
| | | | +--ro path-properties
| | | | +--ro path-metric* [metric-type]
| | | | | +--ro metric-type identityref
| | | | | +--ro accumulative-value? uint64
| | | | +--ro path-affinities-values
| | | | | +--ro path-affinities-value* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro value? admin-groups
| | | | +--ro path-affinity-names
| | | | | +--ro path-affinity-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro affinity-name* [name]
| | | | | +--ro name string
| | | | +--ro path-srlgs-lists
| | | | | +--ro path-srlgs-list* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro values* srlg
| | | | +--ro path-srlgs-names
| | | | | +--ro path-srlgs-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro names* string
| | | | +--ro path-route-objects
| | | | | +--ro path-computed-route-object*
| | | | | [index]
| | | | | +--ro index
| | | | | | uint32
| | | | | +--ro (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--ro numbered-node-hop
Lopez de Vergara, et al.Expires January 13, 2022 [Page 17]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--ro node-id te-node-id
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(numbered-link-hop)
| | | | | | +--ro numbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--ro unnumbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro node-id
| | | | | | | te-node-id
| | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(as-number)
| | | | | | +--ro as-number-hop
| | | | | | +--ro as-number
| | | | | | | inet:as-number
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(label)
| | | | | +--ro label-hop
| | | | | +--ro te-label
| | | | | +--ro (technology)?
| | | | | | +--:(generic)
| | | | | | +--ro generic?
| | | | | | rt-types:generalized-label
| | | | | +--ro direction?
| | | | | te-label-direction
| | | | +--ro shared-resources-tunnels
| | | | +--ro lsp-shared-resources-tunnel*
| | | | tunnel-ref
| | | +--ro lsps
| | | | +--ro lsp*
| | | | [source destination tunnel-id lsp-id extended-tunnel-id]
| | | | +--ro source
| | | | | te-types:te-node-id
| | | | +--ro destination
| | | | | te-types:te-node-id
| | | | +--ro tunnel-id
| | | | | uint16
| | | | +--ro lsp-id
| | | | | uint16
Lopez de Vergara, et al.Expires January 13, 2022 [Page 18]
Internet-Draft Flexi-Grid YANG July 2021
| | | | +--ro extended-tunnel-id
| | | | | yang:dotted-quad
| | | | +--ro operational-state?
| | | | | identityref
| | | | +--ro path-setup-protocol?
| | | | | identityref
| | | | +--ro origin-type?
| | | | | enumeration
| | | | +--ro lsp-resource-status?
| | | | | enumeration
| | | | +--ro lockout-of-normal?
| | | | | boolean
| | | | +--ro freeze?
| | | | | boolean
| | | | +--ro lsp-protection-role?
| | | | | enumeration
| | | | +--ro lsp-protection-state?
| | | | | identityref
| | | | +--ro protection-group-ingress-node-id?
| | | | | te-types:te-node-id
| | | | +--ro protection-group-egress-node-id?
| | | | | te-types:te-node-id
| | | | +--ro lsp-shared-resources-tunnel?
| | | | | tunnel-ref
| | | | +--ro lsp-record-route-information
| | | | | +--ro lsp-record-route-information* [index]
| | | | | +--ro index
| | | | | | uint32
| | | | | +--ro (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--ro numbered-node-hop
| | | | | | +--ro node-id te-node-id
| | | | | | +--ro flags*
| | | | | | path-attribute-flags
| | | | | +--:(numbered-link-hop)
| | | | | | +--ro numbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro flags*
| | | | | | path-attribute-flags
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--ro unnumbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro node-id? te-node-id
| | | | | | +--ro flags*
| | | | | | path-attribute-flags
| | | | | +--:(label)
| | | | | +--ro label-hop
| | | | | +--ro te-label
Lopez de Vergara, et al.Expires January 13, 2022 [Page 19]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--ro (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--ro generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--ro direction?
| | | | | | te-label-direction
| | | | | +--ro flags*
| | | | | path-attribute-flags
| | | | +--ro path-properties
| | | | +--ro path-metric* [metric-type]
| | | | | +--ro metric-type identityref
| | | | | +--ro accumulative-value? uint64
| | | | +--ro path-affinities-values
| | | | | +--ro path-affinities-value* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro value? admin-groups
| | | | +--ro path-affinity-names
| | | | | +--ro path-affinity-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro affinity-name* [name]
| | | | | +--ro name string
| | | | +--ro path-srlgs-lists
| | | | | +--ro path-srlgs-list* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro values* srlg
| | | | +--ro path-srlgs-names
| | | | | +--ro path-srlgs-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro names* string
| | | | +--ro path-route-objects
| | | | | +--ro path-computed-route-object*
| | | | | [index]
| | | | | +--ro index
| | | | | | uint32
| | | | | +--ro (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--ro numbered-node-hop
| | | | | | +--ro node-id te-node-id
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(numbered-link-hop)
| | | | | | +--ro numbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(unnumbered-link-hop)
Lopez de Vergara, et al.Expires January 13, 2022 [Page 20]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--ro unnumbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro node-id
| | | | | | | te-node-id
| | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(as-number)
| | | | | | +--ro as-number-hop
| | | | | | +--ro as-number
| | | | | | | inet:as-number
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(label)
| | | | | +--ro label-hop
| | | | | +--ro te-label
| | | | | +--ro (technology)?
| | | | | | +--:(generic)
| | | | | | +--ro generic?
| | | | | | rt-types:generalized-label
| | | | | +--ro direction?
| | | | | te-label-direction
| | | | +--ro shared-resources-tunnels
| | | | +--ro lsp-shared-resources-tunnel*
| | | | tunnel-ref
| | | +--rw p2p-primary-reverse-path
| | | | +--rw name? string
| | | | +--rw path-setup-protocol?
| | | | | identityref
| | | | +--rw path-computation-method?
| | | | | identityref
| | | | +--rw path-computation-server?
| | | | | inet:ip-address
| | | | +--rw compute-only? empty
| | | | +--rw use-path-computation? boolean
| | | | +--rw lockdown? empty
| | | | +--ro path-scope?
| | | | | identityref
| | | | +--rw optimizations
| | | | | +--rw (algorithm)?
| | | | | +--:(metric) {path-optimization-metric}?
| | | | | | +--rw optimization-metric* [metric-type]
| | | | | | | +--rw metric-type
| | | | | | | | identityref
| | | | | | | +--rw weight?
| | | | | | | | uint8
| | | | | | | +--rw explicit-route-exclude-objects
Lopez de Vergara, et al.Expires January 13, 2022 [Page 21]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | | +--rw route-object-exclude-object*
| | | | | | | | [index]
| | | | | | | | +--rw index
| | | | | | | | | uint32
| | | | | | | | +--rw (type)?
| | | | | | | | +--:(numbered-node-hop)
| | | | | | | | | +--rw numbered-node-hop
| | | | | | | | | +--rw node-id
| | | | | | | | | | te-node-id
| | | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--:(numbered-link-hop)
| | | | | | | | | +--rw numbered-link-hop
| | | | | | | | | +--rw link-tp-id
| | | | | | | | | | te-tp-id
| | | | | | | | | +--rw hop-type?
| | | | | | | | | | te-hop-type
| | | | | | | | | +--rw direction?
| | | | | | | | | te-link-direction
| | | | | | | | +--:(unnumbered-link-hop)
| | | | | | | | | +--rw unnumbered-link-hop
| | | | | | | | | +--rw link-tp-id
| | | | | | | | | | te-tp-id
| | | | | | | | | +--rw node-id
| | | | | | | | | | te-node-id
| | | | | | | | | +--rw hop-type?
| | | | | | | | | | te-hop-type
| | | | | | | | | +--rw direction?
| | | | | | | | | te-link-direction
| | | | | | | | +--:(as-number)
| | | | | | | | | +--rw as-number-hop
| | | | | | | | | +--rw as-number
| | | | | | | | | | inet:as-number
| | | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--:(label)
| | | | | | | | | +--rw label-hop
| | | | | | | | | +--rw te-label
| | | | | | | | | +--rw (technology)?
| | | | | | | | | | +--:(generic)
| | | | | | | | | | +--rw generic?
| | | | | | | | | | rt-types:generalized-label
| | | | | | | | | +--rw direction?
| | | | | | | | | te-label-direction
| | | | | | | | +--:(srlg)
| | | | | | | | +--rw srlg
| | | | | | | | +--rw srlg? uint32
| | | | | | | +--rw explicit-route-include-objects
Lopez de Vergara, et al.Expires January 13, 2022 [Page 22]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | +--rw route-object-include-object*
| | | | | | | [index]
| | | | | | | +--rw index
| | | | | | | | uint32
| | | | | | | +--rw (type)?
| | | | | | | +--:(numbered-node-hop)
| | | | | | | | +--rw numbered-node-hop
| | | | | | | | +--rw node-id
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(numbered-link-hop)
| | | | | | | | +--rw numbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(unnumbered-link-hop)
| | | | | | | | +--rw unnumbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw node-id
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(as-number)
| | | | | | | | +--rw as-number-hop
| | | | | | | | +--rw as-number
| | | | | | | | | inet:as-number
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(label)
| | | | | | | +--rw label-hop
| | | | | | | +--rw te-label
| | | | | | | +--rw (technology)?
| | | | | | | | +--:(generic)
| | | | | | | | +--rw generic?
| | | | | | | | rt-types:generalized-label
| | | | | | | +--rw direction?
| | | | | | | te-label-direction
| | | | | | +--rw tiebreakers
| | | | | | +--rw tiebreaker* [tiebreaker-type]
| | | | | | +--rw tiebreaker-type
| | | | | | identityref
Lopez de Vergara, et al.Expires January 13, 2022 [Page 23]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | +--:(objective-function)
| | | | | {path-optimization-objective-function}?
| | | | | +--rw objective-function
| | | | | +--rw objective-function-type?
| | | | | identityref
| | | | +--rw named-path-constraint? leafref
| | | | | {te-types:named-path-constraints}?
| | | | +--rw te-bandwidth
| | | | | +--rw (technology)?
| | | | | +--:(generic)
| | | | | +--rw generic? te-bandwidth
| | | | +--rw link-protection?
| | | | | identityref
| | | | +--rw setup-priority? uint8
| | | | +--rw hold-priority? uint8
| | | | +--rw signaling-type?
| | | | | identityref
| | | | +--rw path-metric-bounds
| | | | | +--rw path-metric-bound* [metric-type]
| | | | | +--rw metric-type identityref
| | | | | +--rw upper-bound? uint64
| | | | +--rw path-affinities-values
| | | | | +--rw path-affinities-value* [usage]
| | | | | +--rw usage identityref
| | | | | +--rw value? admin-groups
| | | | +--rw path-affinity-names
| | | | | +--rw path-affinity-name* [usage]
| | | | | +--rw usage identityref
| | | | | +--rw affinity-name* [name]
| | | | | +--rw name string
| | | | +--rw path-srlgs-lists
| | | | | +--rw path-srlgs-list* [usage]
| | | | | +--rw usage identityref
| | | | | +--rw values* srlg
| | | | +--rw path-srlgs-names
| | | | | +--rw path-srlgs-name* [usage]
| | | | | +--rw usage identityref
| | | | | +--rw names* string
| | | | +--rw disjointness?
| | | | | te-path-disjointness
| | | | +--rw explicit-route-objects-always
| | | | | +--rw route-object-exclude-always* [index]
| | | | | | +--rw index uint32
| | | | | | +--rw (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--rw numbered-node-hop
| | | | | | | +--rw node-id te-node-id
| | | | | | | +--rw hop-type? te-hop-type
Lopez de Vergara, et al.Expires January 13, 2022 [Page 24]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--rw numbered-link-hop
| | | | | | | +--rw link-tp-id te-tp-id
| | | | | | | +--rw hop-type? te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--rw unnumbered-link-hop
| | | | | | | +--rw link-tp-id te-tp-id
| | | | | | | +--rw node-id te-node-id
| | | | | | | +--rw hop-type? te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(as-number)
| | | | | | | +--rw as-number-hop
| | | | | | | +--rw as-number inet:as-number
| | | | | | | +--rw hop-type? te-hop-type
| | | | | | +--:(label)
| | | | | | +--rw label-hop
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw route-object-include-exclude* [index]
| | | | | +--rw explicit-route-usage?
| | | | | | identityref
| | | | | +--rw index uint32
| | | | | +--rw (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--rw numbered-node-hop
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(numbered-link-hop)
| | | | | | +--rw numbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction?
| | | | | | te-link-direction
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--rw unnumbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction?
| | | | | | te-link-direction
Lopez de Vergara, et al.Expires January 13, 2022 [Page 25]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | +--:(as-number)
| | | | | | +--rw as-number-hop
| | | | | | +--rw as-number inet:as-number
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(label)
| | | | | | +--rw label-hop
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--:(srlg)
| | | | | +--rw srlg
| | | | | +--rw srlg? uint32
| | | | +--rw shared-resources-tunnels
| | | | | +--rw lsp-shared-resources-tunnel*
| | | | | tunnel-ref
| | | | +--rw path-in-segment!
| | | | | +--rw label-restrictions
| | | | | +--rw label-restriction* [index]
| | | | | +--rw restriction? enumeration
| | | | | +--rw index uint32
| | | | | +--rw label-start
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw label-end
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw label-step
| | | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic? int32
| | | | | +--rw range-bitmap? yang:hex-string
| | | | +--rw path-out-segment!
| | | | | +--rw label-restrictions
| | | | | +--rw label-restriction* [index]
Lopez de Vergara, et al.Expires January 13, 2022 [Page 26]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | +--rw restriction? enumeration
| | | | | +--rw index uint32
| | | | | +--rw label-start
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw label-end
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw label-step
| | | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic? int32
| | | | | +--rw range-bitmap? yang:hex-string
| | | | +--ro computed-paths-properties
| | | | | +--ro computed-path-properties* [k-index]
| | | | | +--ro k-index uint8
| | | | | +--ro path-properties
| | | | | +--ro path-metric* [metric-type]
| | | | | | +--ro metric-type
| | | | | | | identityref
| | | | | | +--ro accumulative-value? uint64
| | | | | +--ro path-affinities-values
| | | | | | +--ro path-affinities-value* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro value? admin-groups
| | | | | +--ro path-affinity-names
| | | | | | +--ro path-affinity-name* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro affinity-name* [name]
| | | | | | +--ro name string
| | | | | +--ro path-srlgs-lists
| | | | | | +--ro path-srlgs-list* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro values* srlg
| | | | | +--ro path-srlgs-names
| | | | | | +--ro path-srlgs-name* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro names* string
Lopez de Vergara, et al.Expires January 13, 2022 [Page 27]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | +--ro path-route-objects
| | | | | | +--ro path-computed-route-object*
| | | | | | [index]
| | | | | | +--ro index
| | | | | | | uint32
| | | | | | +--ro (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--ro numbered-node-hop
| | | | | | | +--ro node-id
| | | | | | | | te-node-id
| | | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--ro numbered-link-hop
| | | | | | | +--ro link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--ro hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--ro direction?
| | | | | | | te-link-direction
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--ro unnumbered-link-hop
| | | | | | | +--ro link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--ro node-id
| | | | | | | | te-node-id
| | | | | | | +--ro hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--ro direction?
| | | | | | | te-link-direction
| | | | | | +--:(as-number)
| | | | | | | +--ro as-number-hop
| | | | | | | +--ro as-number
| | | | | | | | inet:as-number
| | | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(label)
| | | | | | +--ro label-hop
| | | | | | +--ro te-label
| | | | | | +--ro (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--ro generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--ro direction?
| | | | | | te-label-direction
| | | | | +--ro shared-resources-tunnels
| | | | | +--ro lsp-shared-resources-tunnel*
| | | | | tunnel-ref
Lopez de Vergara, et al.Expires January 13, 2022 [Page 28]
Internet-Draft Flexi-Grid YANG July 2021
| | | | +--ro lsps
| | | | | +--ro lsp*
| | | | | [source destination tunnel-id lsp-id extended-tunnel-id]
| | | | | +--ro source
| | | | | | te-types:te-node-id
| | | | | +--ro destination
| | | | | | te-types:te-node-id
| | | | | +--ro tunnel-id
| | | | | | uint16
| | | | | +--ro lsp-id
| | | | | | uint16
| | | | | +--ro extended-tunnel-id
| | | | | | yang:dotted-quad
| | | | | +--ro operational-state?
| | | | | | identityref
| | | | | +--ro path-setup-protocol?
| | | | | | identityref
| | | | | +--ro origin-type?
| | | | | | enumeration
| | | | | +--ro lsp-resource-status?
| | | | | | enumeration
| | | | | +--ro lockout-of-normal?
| | | | | | boolean
| | | | | +--ro freeze?
| | | | | | boolean
| | | | | +--ro lsp-protection-role?
| | | | | | enumeration
| | | | | +--ro lsp-protection-state?
| | | | | | identityref
| | | | | +--ro protection-group-ingress-node-id?
| | | | | | te-types:te-node-id
| | | | | +--ro protection-group-egress-node-id?
| | | | | | te-types:te-node-id
| | | | | +--ro lsp-shared-resources-tunnel?
| | | | | | tunnel-ref
| | | | | +--ro lsp-record-route-information
| | | | | | +--ro lsp-record-route-information*
| | | | | | [index]
| | | | | | +--ro index
| | | | | | | uint32
| | | | | | +--ro (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--ro numbered-node-hop
| | | | | | | +--ro node-id te-node-id
| | | | | | | +--ro flags*
| | | | | | | path-attribute-flags
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--ro numbered-link-hop
Lopez de Vergara, et al.Expires January 13, 2022 [Page 29]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | +--ro link-tp-id te-tp-id
| | | | | | | +--ro flags*
| | | | | | | path-attribute-flags
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--ro unnumbered-link-hop
| | | | | | | +--ro link-tp-id te-tp-id
| | | | | | | +--ro node-id?
| | | | | | | | te-node-id
| | | | | | | +--ro flags*
| | | | | | | path-attribute-flags
| | | | | | +--:(label)
| | | | | | +--ro label-hop
| | | | | | +--ro te-label
| | | | | | | +--ro (technology)?
| | | | | | | | +--:(generic)
| | | | | | | | +--ro generic?
| | | | | | | | rt-types:generalized-label
| | | | | | | +--ro direction?
| | | | | | | te-label-direction
| | | | | | +--ro flags*
| | | | | | path-attribute-flags
| | | | | +--ro path-properties
| | | | | +--ro path-metric* [metric-type]
| | | | | | +--ro metric-type
| | | | | | | identityref
| | | | | | +--ro accumulative-value? uint64
| | | | | +--ro path-affinities-values
| | | | | | +--ro path-affinities-value* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro value? admin-groups
| | | | | +--ro path-affinity-names
| | | | | | +--ro path-affinity-name* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro affinity-name* [name]
| | | | | | +--ro name string
| | | | | +--ro path-srlgs-lists
| | | | | | +--ro path-srlgs-list* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro values* srlg
| | | | | +--ro path-srlgs-names
| | | | | | +--ro path-srlgs-name* [usage]
| | | | | | +--ro usage identityref
| | | | | | +--ro names* string
| | | | | +--ro path-route-objects
| | | | | | +--ro path-computed-route-object*
| | | | | | [index]
| | | | | | +--ro index
| | | | | | | uint32
Lopez de Vergara, et al.Expires January 13, 2022 [Page 30]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | +--ro (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--ro numbered-node-hop
| | | | | | | +--ro node-id
| | | | | | | | te-node-id
| | | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--ro numbered-link-hop
| | | | | | | +--ro link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--ro hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--ro direction?
| | | | | | | te-link-direction
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--ro unnumbered-link-hop
| | | | | | | +--ro link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--ro node-id
| | | | | | | | te-node-id
| | | | | | | +--ro hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--ro direction?
| | | | | | | te-link-direction
| | | | | | +--:(as-number)
| | | | | | | +--ro as-number-hop
| | | | | | | +--ro as-number
| | | | | | | | inet:as-number
| | | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(label)
| | | | | | +--ro label-hop
| | | | | | +--ro te-label
| | | | | | +--ro (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--ro generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--ro direction?
| | | | | | te-label-direction
| | | | | +--ro shared-resources-tunnels
| | | | | +--ro lsp-shared-resources-tunnel*
| | | | | tunnel-ref
| | | | +--rw p2p-secondary-reverse-path
| | | | +--rw secondary-path? leafref
| | | | +--rw path-setup-protocol? identityref
| | | +--rw candidate-p2p-secondary-paths
| | | +--rw candidate-p2p-secondary-path*
Lopez de Vergara, et al.Expires January 13, 2022 [Page 31]
Internet-Draft Flexi-Grid YANG July 2021
| | | [secondary-path]
| | | +--rw secondary-path leafref
| | | +--rw path-setup-protocol? identityref
| | | +--ro active? boolean
| | +--rw p2p-secondary-paths
| | | +--rw p2p-secondary-path* [name]
| | | +--rw name string
| | | +--rw path-setup-protocol? identityref
| | | +--rw path-computation-method? identityref
| | | +--rw path-computation-server?
| | | | inet:ip-address
| | | +--rw compute-only? empty
| | | +--rw use-path-computation? boolean
| | | +--rw lockdown? empty
| | | +--ro path-scope? identityref
| | | +--rw optimizations
| | | | +--rw (algorithm)?
| | | | +--:(metric) {path-optimization-metric}?
| | | | | +--rw optimization-metric* [metric-type]
| | | | | | +--rw metric-type
| | | | | | | identityref
| | | | | | +--rw weight?
| | | | | | | uint8
| | | | | | +--rw explicit-route-exclude-objects
| | | | | | | +--rw route-object-exclude-object*
| | | | | | | [index]
| | | | | | | +--rw index
| | | | | | | | uint32
| | | | | | | +--rw (type)?
| | | | | | | +--:(numbered-node-hop)
| | | | | | | | +--rw numbered-node-hop
| | | | | | | | +--rw node-id
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(numbered-link-hop)
| | | | | | | | +--rw numbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(unnumbered-link-hop)
| | | | | | | | +--rw unnumbered-link-hop
| | | | | | | | +--rw link-tp-id
| | | | | | | | | te-tp-id
| | | | | | | | +--rw node-id
Lopez de Vergara, et al.Expires January 13, 2022 [Page 32]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | | | te-node-id
| | | | | | | | +--rw hop-type?
| | | | | | | | | te-hop-type
| | | | | | | | +--rw direction?
| | | | | | | | te-link-direction
| | | | | | | +--:(as-number)
| | | | | | | | +--rw as-number-hop
| | | | | | | | +--rw as-number
| | | | | | | | | inet:as-number
| | | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--:(label)
| | | | | | | | +--rw label-hop
| | | | | | | | +--rw te-label
| | | | | | | | +--rw (technology)?
| | | | | | | | | +--:(generic)
| | | | | | | | | +--rw generic?
| | | | | | | | | rt-types:generalized-label
| | | | | | | | +--rw direction?
| | | | | | | | te-label-direction
| | | | | | | +--:(srlg)
| | | | | | | +--rw srlg
| | | | | | | +--rw srlg? uint32
| | | | | | +--rw explicit-route-include-objects
| | | | | | +--rw route-object-include-object*
| | | | | | [index]
| | | | | | +--rw index
| | | | | | | uint32
| | | | | | +--rw (type)?
| | | | | | +--:(numbered-node-hop)
| | | | | | | +--rw numbered-node-hop
| | | | | | | +--rw node-id
| | | | | | | | te-node-id
| | | | | | | +--rw hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(numbered-link-hop)
| | | | | | | +--rw numbered-link-hop
| | | | | | | +--rw link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(unnumbered-link-hop)
| | | | | | | +--rw unnumbered-link-hop
| | | | | | | +--rw link-tp-id
| | | | | | | | te-tp-id
| | | | | | | +--rw node-id
Lopez de Vergara, et al.Expires January 13, 2022 [Page 33]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | | te-node-id
| | | | | | | +--rw hop-type?
| | | | | | | | te-hop-type
| | | | | | | +--rw direction?
| | | | | | | te-link-direction
| | | | | | +--:(as-number)
| | | | | | | +--rw as-number-hop
| | | | | | | +--rw as-number
| | | | | | | | inet:as-number
| | | | | | | +--rw hop-type?
| | | | | | | te-hop-type
| | | | | | +--:(label)
| | | | | | +--rw label-hop
| | | | | | +--rw te-label
| | | | | | +--rw (technology)?
| | | | | | | +--:(generic)
| | | | | | | +--rw generic?
| | | | | | | rt-types:generalized-label
| | | | | | +--rw direction?
| | | | | | te-label-direction
| | | | | +--rw tiebreakers
| | | | | +--rw tiebreaker* [tiebreaker-type]
| | | | | +--rw tiebreaker-type identityref
| | | | +--:(objective-function)
| | | | {path-optimization-objective-function}?
| | | | +--rw objective-function
| | | | +--rw objective-function-type?
| | | | identityref
| | | +--rw preference? uint8
| | | +--rw k-requested-paths? uint8
| | | +--rw named-path-constraint? leafref
| | | | {te-types:named-path-constraints}?
| | | +--rw te-bandwidth
| | | | +--rw (technology)?
| | | | +--:(generic)
| | | | +--rw generic? te-bandwidth
| | | +--rw link-protection? identityref
| | | +--rw setup-priority? uint8
| | | +--rw hold-priority? uint8
| | | +--rw signaling-type? identityref
| | | +--rw path-metric-bounds
| | | | +--rw path-metric-bound* [metric-type]
| | | | +--rw metric-type identityref
| | | | +--rw upper-bound? uint64
| | | +--rw path-affinities-values
| | | | +--rw path-affinities-value* [usage]
| | | | +--rw usage identityref
| | | | +--rw value? admin-groups
Lopez de Vergara, et al.Expires January 13, 2022 [Page 34]
Internet-Draft Flexi-Grid YANG July 2021
| | | +--rw path-affinity-names
| | | | +--rw path-affinity-name* [usage]
| | | | +--rw usage identityref
| | | | +--rw affinity-name* [name]
| | | | +--rw name string
| | | +--rw path-srlgs-lists
| | | | +--rw path-srlgs-list* [usage]
| | | | +--rw usage identityref
| | | | +--rw values* srlg
| | | +--rw path-srlgs-names
| | | | +--rw path-srlgs-name* [usage]
| | | | +--rw usage identityref
| | | | +--rw names* string
| | | +--rw disjointness?
| | | | te-path-disjointness
| | | +--rw explicit-route-objects-always
| | | | +--rw route-object-exclude-always* [index]
| | | | | +--rw index uint32
| | | | | +--rw (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--rw numbered-node-hop
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(numbered-link-hop)
| | | | | | +--rw numbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction? te-link-direction
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--rw unnumbered-link-hop
| | | | | | +--rw link-tp-id te-tp-id
| | | | | | +--rw node-id te-node-id
| | | | | | +--rw hop-type? te-hop-type
| | | | | | +--rw direction? te-link-direction
| | | | | +--:(as-number)
| | | | | | +--rw as-number-hop
| | | | | | +--rw as-number inet:as-number
| | | | | | +--rw hop-type? te-hop-type
| | | | | +--:(label)
| | | | | +--rw label-hop
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw route-object-include-exclude* [index]
Lopez de Vergara, et al.Expires January 13, 2022 [Page 35]
Internet-Draft Flexi-Grid YANG July 2021
| | | | +--rw explicit-route-usage? identityref
| | | | +--rw index uint32
| | | | +--rw (type)?
| | | | +--:(numbered-node-hop)
| | | | | +--rw numbered-node-hop
| | | | | +--rw node-id te-node-id
| | | | | +--rw hop-type? te-hop-type
| | | | +--:(numbered-link-hop)
| | | | | +--rw numbered-link-hop
| | | | | +--rw link-tp-id te-tp-id
| | | | | +--rw hop-type? te-hop-type
| | | | | +--rw direction? te-link-direction
| | | | +--:(unnumbered-link-hop)
| | | | | +--rw unnumbered-link-hop
| | | | | +--rw link-tp-id te-tp-id
| | | | | +--rw node-id te-node-id
| | | | | +--rw hop-type? te-hop-type
| | | | | +--rw direction? te-link-direction
| | | | +--:(as-number)
| | | | | +--rw as-number-hop
| | | | | +--rw as-number inet:as-number
| | | | | +--rw hop-type? te-hop-type
| | | | +--:(label)
| | | | | +--rw label-hop
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--:(srlg)
| | | | +--rw srlg
| | | | +--rw srlg? uint32
| | | +--rw shared-resources-tunnels
| | | | +--rw lsp-shared-resources-tunnel* tunnel-ref
| | | +--rw path-in-segment!
| | | | +--rw label-restrictions
| | | | +--rw label-restriction* [index]
| | | | +--rw restriction? enumeration
| | | | +--rw index uint32
| | | | +--rw label-start
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
Lopez de Vergara, et al.Expires January 13, 2022 [Page 36]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | te-label-direction
| | | | +--rw label-end
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-step
| | | | | +--rw (technology)?
| | | | | +--:(generic)
| | | | | +--rw generic? int32
| | | | +--rw range-bitmap? yang:hex-string
| | | +--rw path-out-segment!
| | | | +--rw label-restrictions
| | | | +--rw label-restriction* [index]
| | | | +--rw restriction? enumeration
| | | | +--rw index uint32
| | | | +--rw label-start
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-end
| | | | | +--rw te-label
| | | | | +--rw (technology)?
| | | | | | +--:(generic)
| | | | | | +--rw generic?
| | | | | | rt-types:generalized-label
| | | | | +--rw direction?
| | | | | te-label-direction
| | | | +--rw label-step
| | | | | +--rw (technology)?
| | | | | +--:(generic)
| | | | | +--rw generic? int32
| | | | +--rw range-bitmap? yang:hex-string
| | | +--rw protection
| | | | +--rw enable? boolean
| | | | +--rw protection-type? identityref
| | | | +--rw protection-reversion-disable? boolean
| | | | +--rw hold-off-time? uint32
| | | | +--rw wait-to-revert? uint16
| | | | +--rw aps-signal-id? uint8
| | | +--rw restoration
Lopez de Vergara, et al.Expires January 13, 2022 [Page 37]
Internet-Draft Flexi-Grid YANG July 2021
| | | | +--rw enable? boolean
| | | | +--rw restoration-type?
| | | | | identityref
| | | | +--rw restoration-scheme?
| | | | | identityref
| | | | +--rw restoration-reversion-disable? boolean
| | | | +--rw hold-off-time? uint32
| | | | +--rw wait-to-restore? uint16
| | | | +--rw wait-to-revert? uint16
| | | +--ro computed-paths-properties
| | | | +--ro computed-path-properties* [k-index]
| | | | +--ro k-index uint8
| | | | +--ro path-properties
| | | | +--ro path-metric* [metric-type]
| | | | | +--ro metric-type identityref
| | | | | +--ro accumulative-value? uint64
| | | | +--ro path-affinities-values
| | | | | +--ro path-affinities-value* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro value? admin-groups
| | | | +--ro path-affinity-names
| | | | | +--ro path-affinity-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro affinity-name* [name]
| | | | | +--ro name string
| | | | +--ro path-srlgs-lists
| | | | | +--ro path-srlgs-list* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro values* srlg
| | | | +--ro path-srlgs-names
| | | | | +--ro path-srlgs-name* [usage]
| | | | | +--ro usage identityref
| | | | | +--ro names* string
| | | | +--ro path-route-objects
| | | | | +--ro path-computed-route-object*
| | | | | [index]
| | | | | +--ro index
| | | | | | uint32
| | | | | +--ro (type)?
| | | | | +--:(numbered-node-hop)
| | | | | | +--ro numbered-node-hop
| | | | | | +--ro node-id te-node-id
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(numbered-link-hop)
| | | | | | +--ro numbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro hop-type?
Lopez de Vergara, et al.Expires January 13, 2022 [Page 38]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(unnumbered-link-hop)
| | | | | | +--ro unnumbered-link-hop
| | | | | | +--ro link-tp-id te-tp-id
| | | | | | +--ro node-id
| | | | | | | te-node-id
| | | | | | +--ro hop-type?
| | | | | | | te-hop-type
| | | | | | +--ro direction?
| | | | | | te-link-direction
| | | | | +--:(as-number)
| | | | | | +--ro as-number-hop
| | | | | | +--ro as-number
| | | | | | | inet:as-number
| | | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--:(label)
| | | | | +--ro label-hop
| | | | | +--ro te-label
| | | | | +--ro (technology)?
| | | | | | +--:(generic)
| | | | | | +--ro generic?
| | | | | | rt-types:generalized-label
| | | | | +--ro direction?
| | | | | te-label-direction
| | | | +--ro shared-resources-tunnels
| | | | +--ro lsp-shared-resources-tunnel*
| | | | tunnel-ref
| | | +--ro lsps
| | | +--ro lsp*
| | | [source destination tunnel-id lsp-id extended-tunnel-id]
| | | +--ro source
| | | | te-types:te-node-id
| | | +--ro destination
| | | | te-types:te-node-id
| | | +--ro tunnel-id
| | | | uint16
| | | +--ro lsp-id
| | | | uint16
| | | +--ro extended-tunnel-id
| | | | yang:dotted-quad
| | | +--ro operational-state?
| | | | identityref
| | | +--ro path-setup-protocol?
| | | | identityref
| | | +--ro origin-type?
Lopez de Vergara, et al.Expires January 13, 2022 [Page 39]
Internet-Draft Flexi-Grid YANG July 2021
| | | | enumeration
| | | +--ro lsp-resource-status?
| | | | enumeration
| | | +--ro lockout-of-normal?
| | | | boolean
| | | +--ro freeze?
| | | | boolean
| | | +--ro lsp-protection-role?
| | | | enumeration
| | | +--ro lsp-protection-state?
| | | | identityref
| | | +--ro protection-group-ingress-node-id?
| | | | te-types:te-node-id
| | | +--ro protection-group-egress-node-id?
| | | | te-types:te-node-id
| | | +--ro lsp-shared-resources-tunnel?
| | | | tunnel-ref
| | | +--ro lsp-record-route-information
| | | | +--ro lsp-record-route-information* [index]
| | | | +--ro index
| | | | | uint32
| | | | +--ro (type)?
| | | | +--:(numbered-node-hop)
| | | | | +--ro numbered-node-hop
| | | | | +--ro node-id te-node-id
| | | | | +--ro flags*
| | | | | path-attribute-flags
| | | | +--:(numbered-link-hop)
| | | | | +--ro numbered-link-hop
| | | | | +--ro link-tp-id te-tp-id
| | | | | +--ro flags*
| | | | | path-attribute-flags
| | | | +--:(unnumbered-link-hop)
| | | | | +--ro unnumbered-link-hop
| | | | | +--ro link-tp-id te-tp-id
| | | | | +--ro node-id? te-node-id
| | | | | +--ro flags*
| | | | | path-attribute-flags
| | | | +--:(label)
| | | | +--ro label-hop
| | | | +--ro te-label
| | | | | +--ro (technology)?
| | | | | | +--:(generic)
| | | | | | +--ro generic?
| | | | | | rt-types:generalized-label
| | | | | +--ro direction?
| | | | | te-label-direction
| | | | +--ro flags*
Lopez de Vergara, et al.Expires January 13, 2022 [Page 40]
Internet-Draft Flexi-Grid YANG July 2021
| | | | path-attribute-flags
| | | +--ro path-properties
| | | +--ro path-metric* [metric-type]
| | | | +--ro metric-type identityref
| | | | +--ro accumulative-value? uint64
| | | +--ro path-affinities-values
| | | | +--ro path-affinities-value* [usage]
| | | | +--ro usage identityref
| | | | +--ro value? admin-groups
| | | +--ro path-affinity-names
| | | | +--ro path-affinity-name* [usage]
| | | | +--ro usage identityref
| | | | +--ro affinity-name* [name]
| | | | +--ro name string
| | | +--ro path-srlgs-lists
| | | | +--ro path-srlgs-list* [usage]
| | | | +--ro usage identityref
| | | | +--ro values* srlg
| | | +--ro path-srlgs-names
| | | | +--ro path-srlgs-name* [usage]
| | | | +--ro usage identityref
| | | | +--ro names* string
| | | +--ro path-route-objects
| | | | +--ro path-computed-route-object*
| | | | [index]
| | | | +--ro index
| | | | | uint32
| | | | +--ro (type)?
| | | | +--:(numbered-node-hop)
| | | | | +--ro numbered-node-hop
| | | | | +--ro node-id te-node-id
| | | | | +--ro hop-type?
| | | | | te-hop-type
| | | | +--:(numbered-link-hop)
| | | | | +--ro numbered-link-hop
| | | | | +--ro link-tp-id te-tp-id
| | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--ro direction?
| | | | | te-link-direction
| | | | +--:(unnumbered-link-hop)
| | | | | +--ro unnumbered-link-hop
| | | | | +--ro link-tp-id te-tp-id
| | | | | +--ro node-id
| | | | | | te-node-id
| | | | | +--ro hop-type?
| | | | | | te-hop-type
| | | | | +--ro direction?
Lopez de Vergara, et al.Expires January 13, 2022 [Page 41]
Internet-Draft Flexi-Grid YANG July 2021
| | | | | te-link-direction
| | | | +--:(as-number)
| | | | | +--ro as-number-hop
| | | | | +--ro as-number
| | | | | | inet:as-number
| | | | | +--ro hop-type?
| | | | | te-hop-type
| | | | +--:(label)
| | | | +--ro label-hop
| | | | +--ro te-label
| | | | +--ro (technology)?
| | | | | +--:(generic)
| | | | | +--ro generic?
| | | | | rt-types:generalized-label
| | | | +--ro direction?
| | | | te-label-direction
| | | +--ro shared-resources-tunnels
| | | +--ro lsp-shared-resources-tunnel*
| | | tunnel-ref
| | +---x tunnel-action
| | | +---w input
| | | | +---w action-type? identityref
| | | +--ro output
| | | +--ro action-result? identityref
| | +---x protection-external-commands
| | +---w input
| | +---w protection-external-command?
| | | identityref
| | +---w protection-group-ingress-node-id?
| | | te-types:te-node-id
| | +---w protection-group-egress-node-id?
| | | te-types:te-node-id
| | +---w path-ref? path-ref
| | +---w traffic-type?
| | | enumeration
| | +---w extra-traffic-tunnel-ref? tunnel-ref
| +--rw tunnel-p2mp* [name]
| +--rw name string
| +--rw identifier? uint16
| +--rw description? string
| +--ro operational-state? identityref
+--ro lsps-state
+--ro lsp*
[source destination tunnel-id lsp-id extended-tunnel-id]
+--ro source
| te-types:te-node-id
+--ro destination
| te-types:te-node-id
Lopez de Vergara, et al.Expires January 13, 2022 [Page 42]
Internet-Draft Flexi-Grid YANG July 2021
+--ro tunnel-id uint16
+--ro lsp-id uint16
+--ro extended-tunnel-id yang:dotted-quad
+--ro operational-state? identityref
+--ro path-setup-protocol? identityref
+--ro origin-type? enumeration
+--ro lsp-resource-status? enumeration
+--ro lockout-of-normal? boolean
+--ro freeze? boolean
+--ro lsp-protection-role? enumeration
+--ro lsp-protection-state? identityref
+--ro protection-group-ingress-node-id?
| te-types:te-node-id
+--ro protection-group-egress-node-id?
| te-types:te-node-id
+--ro lsp-record-route-information
+--ro lsp-record-route-information* [index]
+--ro index uint32
+--ro (type)?
+--:(numbered-node-hop)
| +--ro numbered-node-hop
| +--ro node-id te-node-id
| +--ro flags* path-attribute-flags
+--:(numbered-link-hop)
| +--ro numbered-link-hop
| +--ro link-tp-id te-tp-id
| +--ro flags* path-attribute-flags
+--:(unnumbered-link-hop)
| +--ro unnumbered-link-hop
| +--ro link-tp-id te-tp-id
| +--ro node-id? te-node-id
| +--ro flags* path-attribute-flags
+--:(label)
+--ro label-hop
+--ro te-label
| +--ro (technology)?
| | +--:(generic)
| | +--ro generic?
| | rt-types:generalized-label
| +--ro direction?
| te-label-direction
+--ro flags* path-attribute-flags
rpcs:
+---x globals-rpc
+---x interfaces-rpc
+---x tunnels-rpc
+---w input
Lopez de Vergara, et al.Expires January 13, 2022 [Page 43]
Internet-Draft Flexi-Grid YANG July 2021
| +---w tunnel-info
| +---w (type)?
| +--:(tunnel-p2p)
| | +---w p2p-id? tunnel-ref
| +--:(tunnel-p2mp)
| +---w p2mp-id? tunnel-p2mp-ref
+--ro output
+--ro result
+--ro result? enumeration
notifications:
+---n globals-notif
+---n tunnels-notif
5.2. YANG Code
<CODE BEGINS> file "ietf-flexi-grid-topology@2020-10-21.yang"
module ietf-flexi-grid-media-channel {
yang-version 1.1;
namespace
"urn:ietf:params:xml:ns:yang:ietf-flexi-grid-media-channel";
prefix "flexi-grid-media-channel";
import ietf-te {
prefix "te";
revision-date "2019-02-15";
reference
"I-D.ietf-teas-yang-te-19: A YANG Data Model for Traffic
Engineering Tunnels and Interfaces. ";
}
import ietf-layer0-types{
prefix "l0-types";
}
import ietf-layer0-types-ext {
prefix "l0-types-ext";
}
import ietf-te-path-computation {
prefix "tepc";
revision-date "2019-03-11";
reference
"I-D.ietf-teas-yang-path-computation-05: Yang model
for requesting Path Computation.";
Lopez de Vergara, et al.Expires January 13, 2022 [Page 44]
Internet-Draft Flexi-Grid YANG July 2021
}
organization
"IETF CCAMP Working Group";
contact
"WG Web: <http://tools.ietf.org/wg/ccamp/>
WG List: <mailto:ccamp@ietf.org>
Editor: Jorge E. Lopez de Vergara
<jorge.lopez_vergara@uam.es>
Editor: Daniel Perdices
<daniel.perdices@naudit.es>
Editor: Victor Lopez
<victor.lopez@nokia.com>
Editor: Young Lee
<younglee.tx@gmail.com>";
description
"This module defines a model for Flex-grid Media Channel
Services.
The model fully conforms to the Network Management
Datastore Architecture (NMDA).
Copyright (c) 2021 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 XXXX; see
the RFC itself for full legal notices.";
revision "2021-02-12" {
description
"Initial Revision";
reference
"RFC XXXX: YANG data model for Flexi-Grid media-channels";
// RFC Ed.: replace XXXX with actual RFC number, update date
// information and remove this note
}
/*
* Data nodes
*/
augment "/te:te/te:tunnels/te:tunnel" {
description
Lopez de Vergara, et al.Expires January 13, 2022 [Page 45]
Internet-Draft Flexi-Grid YANG July 2021
"Augment with additional parameters required for flexi-grid
media channel.";
uses l0-types-ext:l0-tunnel-attributes;
}
/*
* Augment TE label.
*/
/* Augment label hop of route-object-exclude-always of
named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-exclude-always/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-object-include-exclude of
named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-include-exclude/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label restrictions for the forwarding direction of
path-in-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/te:path-in-segment/"
+ "te:label-restrictions/te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-in-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/te:path-in-segment/"
Lopez de Vergara, et al.Expires January 13, 2022 [Page 46]
Internet-Draft Flexi-Grid YANG July 2021
+ "te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-in-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/te:path-in-segment/"
+ "te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions for the forwarding direction of
path-out-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/te:path-out-segment/"
+ "te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-out-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
+ "te:named-path-constraint/te:path-out-segment/"
+ "te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-out-segment of named-path-constraints */
augment "/te:te/te:globals/te:named-path-constraints/"
Lopez de Vergara, et al.Expires January 13, 2022 [Page 47]
Internet-Draft Flexi-Grid YANG July 2021
+ "te:named-path-constraint/te:path-out-segment/"
+ "te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label hop of route-exclude of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-exclude-objects/"
+ "te:route-object-exclude-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-include of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-include-objects/"
+ "te:route-object-include-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-object-exclude-always of
primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-exclude-always/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
Lopez de Vergara, et al.Expires January 13, 2022 [Page 48]
Internet-Draft Flexi-Grid YANG July 2021
/* Augment label hop of route-object-include-exclude of
primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-include-exclude/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label restrictions for the path-in-segment of
primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-in-segment of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-in-segment of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
Lopez de Vergara, et al.Expires January 13, 2022 [Page 49]
Internet-Draft Flexi-Grid YANG July 2021
/* Augment label restrictions for the forwarding direction of
path-out-segment of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-out-segment of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-out-segment of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label hop of path-route of primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:computed-paths-properties/"
+ "te:computed-path-properties/te:path-properties/"
+ "te:path-route-objects/te:path-computed-route-object/"
+ "te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
Lopez de Vergara, et al.Expires January 13, 2022 [Page 50]
Internet-Draft Flexi-Grid YANG July 2021
}
/* Augment label hop of record-route of primary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:lsps/te:lsp/te:lsp-record-route-information/"
+ "te:lsp-record-route-information/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of path-route of primary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:lsps/te:lsp/te:path-properties/"
+ "te:path-route-objects/te:path-computed-route-object/"
+ "te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-exclude of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-exclude-objects/"
+ "te:route-object-exclude-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-include of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-include-objects/"
+ "te:route-object-include-object/te:type/te:label/"
Lopez de Vergara, et al.Expires January 13, 2022 [Page 51]
Internet-Draft Flexi-Grid YANG July 2021
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-object-exclude-always of
reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-exclude-always/"
+ "te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-object-include-exclude of
reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-include-exclude/"
+ "te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label restrictions for the forwarding direction of
path-in-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
Lopez de Vergara, et al.Expires January 13, 2022 [Page 52]
Internet-Draft Flexi-Grid YANG July 2021
/* Augment label restrictions start for the forwarding direction of
path-in-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-in-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions for the forwarding direction of
path-out-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-out-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
Lopez de Vergara, et al.Expires January 13, 2022 [Page 53]
Internet-Draft Flexi-Grid YANG July 2021
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-out-segment of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label hop of path-route of reverse primary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:computed-paths-properties/te:computed-path-properties/"
+ "te:path-properties/te:path-route-objects/"
+ "te:path-computed-route-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of record-route of reverse primary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:lsps/te:lsp/te:lsp-record-route-information/"
+ "te:lsp-record-route-information/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of path-route of reverse primary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
Lopez de Vergara, et al.Expires January 13, 2022 [Page 54]
Internet-Draft Flexi-Grid YANG July 2021
+ "te:p2p-primary-paths/te:p2p-primary-path/"
+ "te:p2p-primary-reverse-path/"
+ "te:lsps/te:lsp/te:path-properties/"
+ "te:path-route-objects/te:path-computed-route-object/"
+ "te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-exclude of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-exclude-objects/"
+ "te:route-object-exclude-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-include of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:optimizations/te:algorithm/te:metric/"
+ "te:optimization-metric/te:explicit-route-include-objects/"
+ "te:route-object-include-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of route-object-exclude-always of
secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-exclude-always/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
Lopez de Vergara, et al.Expires January 13, 2022 [Page 55]
Internet-Draft Flexi-Grid YANG July 2021
}
}
/* Augment label hop of route-object-include-exclude of
secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:explicit-route-objects-always/"
+ "te:route-object-include-exclude/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label restrictions for the forwarding direction of
path-in-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-in-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-in-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-in-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
Lopez de Vergara, et al.Expires January 13, 2022 [Page 56]
Internet-Draft Flexi-Grid YANG July 2021
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions for the forwarding direction of
path-out-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction" {
description "Flex-grid label.";
uses l0-types:flexi-grid-label-range-info;
}
/* Augment label restrictions start for the forwarding direction of
path-out-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-start/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label restrictions end for the forwarding direction of
path-out-segment of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:path-out-segment/te:label-restrictions/"
+ "te:label-restriction/te:label-end/"
+ "te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-start-end;
}
}
/* Augment label hop of path-route of secondary path */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:computed-paths-properties/"
+ "te:computed-path-properties/"
+ "te:path-properties/te:path-route-objects/"
+ "te:path-computed-route-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
Lopez de Vergara, et al.Expires January 13, 2022 [Page 57]
Internet-Draft Flexi-Grid YANG July 2021
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of record-route of secondary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:lsps/te:lsp/te:lsp-record-route-information/"
+ "te:lsp-record-route-information/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of path-route of secondary LSP */
augment "/te:te/te:tunnels/te:tunnel/"
+ "te:p2p-secondary-paths/te:p2p-secondary-path/"
+ "te:lsps/te:lsp/te:path-properties/"
+ "te:path-route-objects/"
+ "te:path-computed-route-object/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
/* Augment label hop of record-route of LSP */
augment "/te:te/te:lsps-state/"
+ "te:lsp/te:lsp-record-route-information/"
+ "te:lsp-record-route-information/te:type/te:label/"
+ "te:label-hop/te:te-label/te:technology" {
description "Flex-grid label.";
case flexi-grid {
uses l0-types:flexi-grid-label-hop;
}
}
augment "/te:tunnels-rpc/te:input/te:tunnel-info/"
+ "tepc:path-request" {
description
"Augment with additional constraints flexi-grid
media channel.";
uses l0-types-ext:l0-tunnel-attributes;
Lopez de Vergara, et al.Expires January 13, 2022 [Page 58]
Internet-Draft Flexi-Grid YANG July 2021
uses l0-types-ext:l0-path-constraints;
}
}
<CODE ENDS>
6. Security Considerations
The configuration, state, and action data defined in this document
are designed to be accessed via a management protocol with a secure
transport layer, such as NETCONF [RFC6241] or RESTCONF [RFC8040].
The NETCONF access control model [RFC8341] provides the means to
restrict access for particular NETCONF users to a preconfigured
subset of all available NETCONF protocol operations and content.
There are a number of data nodes defined in this YANG module that are
writable/creatable/deletable (i.e., config true, which is the
default). These data nodes may be considered sensitive or vulnerable
in some network environments. Write operations (e.g., edit-config)
to these data nodes without proper protection can have a negative
effect on network operations. These are the subtrees and data nodes
and their sensitivity/vulnerability:
o /te:te/te:tunnels/te:tunnel
o /te:te/.../te:te-bandwidth/te:technology
o /te:te/.../te:type/te:label/te:label-hop/te:te-label/te:technology
o /te:te/.../te:label-restrictions/te:label-restriction/te:label-
start/te:te-label/te:technology
o /te:te/.../te:label-restrictions/te:label-restriction/te:label-
end/te:te-label/te:technology
o /te:te/.../te:label-restrictions/te:label-restriction/
Editors note: we are using simplified description by folding similar
branches to avoid repetition.
7. IANA Considerations
To be discussed.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 59]
Internet-Draft Flexi-Grid YANG July 2021
8. Contributors
This work was developed by several additional people, who due to
frontpage author restrictions, are listed below:
Zafar Ali
Cisco
Email: zali@cisco.com
Daniel Michaud Vallinoto
Universidad Autonoma de Madrid
Email: daniel.michaud@estudiante.uam.es
9. Acknowledgments
This work is also partially funded by the Spanish State Research
Agency under the project AgileMon (AEI PID2019-104451RB-C21) and by
the Spanish Ministry of Science, Innovation and Universities under
the program for the training of university lecturers (Grant number:
FPU19/05678).
10. References
10.1. Normative References
[I-D.ietf-ccamp-flexigrid-yang]
Mendez, J. E. L. D. V., Burrero, D. P., King, D., Lee, Y.,
and H. Zheng, "A YANG Data Model for Flexi-Grid Optical
Networks", draft-ietf-ccamp-flexigrid-yang-09 (work in
progress), February 2021.
[I-D.ietf-teas-yang-te]
Saad, T., Gandhi, R., Liu, X., Beeram, V. P., Bryskin, I.,
and O. G. D. Dios, "A YANG Data Model for Traffic
Engineering Tunnels, Label Switched Paths and Interfaces",
draft-ietf-teas-yang-te-26 (work in progress), February
2021.
[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed.,
and A. Bierman, Ed., "Network Configuration Protocol
(NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011,
<https://www.rfc-editor.org/info/rfc6241>.
[RFC7699] Farrel, A., King, D., Li, Y., and F. Zhang, "Generalized
Labels for the Flexi-Grid in Lambda Switch Capable (LSC)
Label Switching Routers", RFC 7699, DOI 10.17487/RFC7699,
November 2015, <https://www.rfc-editor.org/info/rfc7699>.
Lopez de Vergara, et al.Expires January 13, 2022 [Page 60]
Internet-Draft Flexi-Grid YANG July 2021
[RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language",
RFC 7950, DOI 10.17487/RFC7950, August 2016,
<https://www.rfc-editor.org/info/rfc7950>.
[RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF
Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017,
<https://www.rfc-editor.org/info/rfc8040>.
[RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration
Access Control Model", STD 91, RFC 8341,
DOI 10.17487/RFC8341, March 2018,
<https://www.rfc-editor.org/info/rfc8341>.
10.2. Informative References
[RFC7446] Lee, Y., Ed., Bernstein, G., Ed., Li, D., and W. Imajuku,
"Routing and Wavelength Assignment Information Model for
Wavelength Switched Optical Networks", RFC 7446,
DOI 10.17487/RFC7446, February 2015,
<https://www.rfc-editor.org/info/rfc7446>.
[RFC7698] Gonzalez de Dios, O., Ed., Casellas, R., Ed., Zhang, F.,
Fu, X., Ceccarelli, D., and I. Hussain, "Framework and
Requirements for GMPLS-Based Control of Flexi-Grid Dense
Wavelength Division Multiplexing (DWDM) Networks",
RFC 7698, DOI 10.17487/RFC7698, November 2015,
<https://www.rfc-editor.org/info/rfc7698>.
Authors' Addresses
Jorge E. Lopez de Vergara Mendez
Naudit HPCN
Email: jorge.lopez_vergara@uam.es
Daniel Perdices Burrero
Universidad Autonoma de Madrid
Email: daniel.perdices@uam.es
Daniel King
Old Dog Consulting
Email: daniel@olddog.co.uk
Lopez de Vergara, et al.Expires January 13, 2022 [Page 61]
Internet-Draft Flexi-Grid YANG July 2021
Victor Lopez
Nokia
Email: victor.lopez@nokia.com
Italo Busi
Huawei Technologies
Email: Italo.Busi@huawei.com
Oscar Gonzalez de Dios
Telefonica I+D/GCTO
Email: oscar.gonzalezdedios@telefonica.com
Young Lee
Samsung
Email: younglee.tx@gmail.co
G. Galimberti
Cisco
Email: ggalimbe@cisco.com
Lopez de Vergara, et al.Expires January 13, 2022 [Page 62]