draft-ietf-teas-yang-te-topo-14.txt | draft-ietf-teas-yang-te-topo-15.txt | |||
---|---|---|---|---|
skipping to change at page 1, line 15 ¶ | skipping to change at page 1, line 15 ¶ | |||
Huawei Technologies | Huawei Technologies | |||
Vishnu Pavan Beeram | Vishnu Pavan Beeram | |||
Juniper Networks | Juniper Networks | |||
Tarek Saad | Tarek Saad | |||
Cisco Systems Inc | Cisco Systems Inc | |||
Himanshu Shah | Himanshu Shah | |||
Ciena | Ciena | |||
Oscar Gonzalez De Dios | Oscar Gonzalez De Dios | |||
Telefonica | Telefonica | |||
Expires: August 20, 2018 February 20, 2018 | Expires: August 22, 2018 February 22, 2018 | |||
YANG Data Model for Traffic Engineering (TE) Topologies | YANG Data Model for Traffic Engineering (TE) Topologies | |||
draft-ietf-teas-yang-te-topo-14 | draft-ietf-teas-yang-te-topo-15 | |||
Status of this Memo | Status of this Memo | |||
This Internet-Draft is submitted in full conformance with the | This Internet-Draft is submitted in full conformance with the | |||
provisions of BCP 78 and BCP 79. | provisions of BCP 78 and BCP 79. | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF), its areas, and its working groups. Note that | Task Force (IETF), its areas, and its working groups. Note that | |||
other groups may also distribute working documents as Internet- | other groups may also distribute working documents as Internet- | |||
Drafts. | Drafts. | |||
skipping to change at page 1, line 41 ¶ | skipping to change at page 1, line 41 ¶ | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
The list of current Internet-Drafts can be accessed at | The list of current Internet-Drafts can be accessed at | |||
http://www.ietf.org/ietf/1id-abstracts.txt | http://www.ietf.org/ietf/1id-abstracts.txt | |||
The list of Internet-Draft Shadow Directories can be accessed at | The list of Internet-Draft Shadow Directories can be accessed at | |||
http://www.ietf.org/shadow.html | http://www.ietf.org/shadow.html | |||
This Internet-Draft will expire on August 20, 2018. | This Internet-Draft will expire on August 22, 2018. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2018 IETF Trust and the persons identified as the | Copyright (c) 2018 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
(http://trustee.ietf.org/license-info) in effect on the date of | (http://trustee.ietf.org/license-info) in effect on the date of | |||
publication of this document. Please review these documents | publication of this document. Please review these documents | |||
skipping to change at page 43, line 42 ¶ | skipping to change at page 43, line 42 ¶ | |||
/tet:te-label/tet:technology: | /tet:te-label/tet:technology: | |||
+--:(example) | +--:(example) | |||
+--ro example | +--ro example | |||
+--ro label-1? uint32 | +--ro label-1? uint32 | |||
The YANG module to implement the above example topology can be seen | The YANG module to implement the above example topology can be seen | |||
in Appendix C. | in Appendix C. | |||
7. TE Topology Yang Module | 7. TE Topology Yang Module | |||
<CODE BEGINS> file "ietf-te-topology@2018-02-08.yang" | <CODE BEGINS> file "ietf-te-topology@2018-02-21.yang" | |||
module ietf-te-topology { | module ietf-te-topology { | |||
yang-version 1.1; | yang-version 1.1; | |||
namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology"; | namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology"; | |||
prefix "tet"; | prefix "tet"; | |||
import ietf-yang-types { | import ietf-yang-types { | |||
prefix "yang"; | prefix "yang"; | |||
} | } | |||
skipping to change at page 45, line 31 ¶ | skipping to change at page 45, line 31 ¶ | |||
Redistribution and use in source and binary forms, with or | Redistribution and use in source and binary forms, with or | |||
without modification, is permitted pursuant to, and subject to | without modification, is permitted pursuant to, and subject to | |||
the license terms contained in, the Simplified BSD License set | the license terms contained in, the Simplified BSD License set | |||
forth in Section 4.c of the IETF Trust's Legal Provisions | forth in Section 4.c of the IETF Trust's Legal Provisions | |||
Relating to IETF Documents | Relating to IETF Documents | |||
(http://trustee.ietf.org/license-info). | (http://trustee.ietf.org/license-info). | |||
This version of this YANG module is part of RFC XXXX; see the | This version of this YANG module is part of RFC XXXX; see the | |||
RFC itself for full legal notices."; | RFC itself for full legal notices."; | |||
revision "2018-02-08" { | revision "2018-02-21" { | |||
description "Initial revision"; | description "Initial revision"; | |||
reference "RFC XXXX: YANG Data Model for TE Topologies"; | reference "RFC XXXX: YANG Data Model for TE Topologies"; | |||
// RFC Ed.: replace XXXX with actual RFC number and remove | // RFC Ed.: replace XXXX with actual RFC number and remove | |||
// this note | // this note | |||
} | } | |||
/* | /* | |||
* Features | * Features | |||
*/ | */ | |||
feature nsrlg { | feature nsrlg { | |||
skipping to change at page 53, line 7 ¶ | skipping to change at page 53, line 7 ¶ | |||
uses te-link-iscd-attributes; | uses te-link-iscd-attributes; | |||
} // interface-switching-capability | } // interface-switching-capability | |||
} // interface-switching-capability-list | } // interface-switching-capability-list | |||
grouping statistics-per-link { | grouping statistics-per-link { | |||
description | description | |||
"Statistics attributes per TE link."; | "Statistics attributes per TE link."; | |||
leaf discontinuity-time { | leaf discontinuity-time { | |||
type yang:date-and-time; | type yang:date-and-time; | |||
mandatory true; | ||||
description | description | |||
"The time on the most recent occasion at which any one or | "The time on the most recent occasion at which any one or | |||
more of this interface's counters suffered a | more of this interface's counters suffered a | |||
discontinuity. If no such discontinuities have occurred | discontinuity. If no such discontinuities have occurred | |||
since the last re-initialization of the local management | since the last re-initialization of the local management | |||
subsystem, then this node contains the time the local | subsystem, then this node contains the time the local | |||
management subsystem re-initialized itself."; | management subsystem re-initialized itself."; | |||
} | } | |||
/* Administrative attributes */ | /* Administrative attributes */ | |||
leaf disables { | leaf disables { | |||
skipping to change at page 55, line 37 ¶ | skipping to change at page 55, line 35 ¶ | |||
"Number of times that link experienced restoration reversion | "Number of times that link experienced restoration reversion | |||
success."; | success."; | |||
} | } | |||
} // statistics-per-link | } // statistics-per-link | |||
grouping statistics-per-node { | grouping statistics-per-node { | |||
description | description | |||
"Statistics attributes per TE node."; | "Statistics attributes per TE node."; | |||
leaf discontinuity-time { | leaf discontinuity-time { | |||
type yang:date-and-time; | type yang:date-and-time; | |||
mandatory true; | ||||
description | description | |||
"The time on the most recent occasion at which any one or | "The time on the most recent occasion at which any one or | |||
more of this interface's counters suffered a | more of this interface's counters suffered a | |||
discontinuity. If no such discontinuities have occurred | discontinuity. If no such discontinuities have occurred | |||
since the last re-initialization of the local management | since the last re-initialization of the local management | |||
subsystem, then this node contains the time the local | subsystem, then this node contains the time the local | |||
management subsystem re-initialized itself."; | management subsystem re-initialized itself."; | |||
} | } | |||
container node { | container node { | |||
description | description | |||
skipping to change at page 57, line 38 ¶ | skipping to change at page 57, line 36 ¶ | |||
modified."; | modified."; | |||
} | } | |||
} // connectivity-matrix-entry | } // connectivity-matrix-entry | |||
} // statistics-per-node | } // statistics-per-node | |||
grouping statistics-per-ttp { | grouping statistics-per-ttp { | |||
description | description | |||
"Statistics attributes per TE TTP (Tunnel Termination Point)."; | "Statistics attributes per TE TTP (Tunnel Termination Point)."; | |||
leaf discontinuity-time { | leaf discontinuity-time { | |||
type yang:date-and-time; | type yang:date-and-time; | |||
mandatory true; | ||||
description | description | |||
"The time on the most recent occasion at which any one or | "The time on the most recent occasion at which any one or | |||
more of this interface's counters suffered a | more of this interface's counters suffered a | |||
discontinuity. If no such discontinuities have occurred | discontinuity. If no such discontinuities have occurred | |||
since the last re-initialization of the local management | since the last re-initialization of the local management | |||
subsystem, then this node contains the time the local | subsystem, then this node contains the time the local | |||
management subsystem re-initialized itself."; | management subsystem re-initialized itself."; | |||
} | } | |||
container tunnel-termination-point { | container tunnel-termination-point { | |||
description | description | |||
skipping to change at page 118, line 22 ¶ | skipping to change at page 118, line 22 ¶ | |||
types:generalized-label | types:generalized-label | |||
| | +--ro direction? te-label- | | | +--ro direction? te-label- | |||
direction | direction | |||
| +--ro domain-id? uint32 | | +--ro domain-id? uint32 | |||
| +--ro is-abstract? empty | | +--ro is-abstract? empty | |||
| +--ro name? string | | +--ro name? string | |||
| +--ro signaling-address* inet:ip-address | | +--ro signaling-address* inet:ip-address | |||
| +--ro underlay-topology {te-topology-hierarchy}? | | +--ro underlay-topology {te-topology-hierarchy}? | |||
| +--ro network-ref? -> /nw:networks/network/network-id | | +--ro network-ref? -> /nw:networks/network/network-id | |||
+--ro statistics | +--ro statistics | |||
| +--ro discontinuity-time yang:date-and-time | | +--ro discontinuity-time? yang:date-and-time | |||
| +--ro node | | +--ro node | |||
| | +--ro disables? yang:counter32 | | | +--ro disables? yang:counter32 | |||
| | +--ro enables? yang:counter32 | | | +--ro enables? yang:counter32 | |||
| | +--ro maintenance-sets? yang:counter32 | | | +--ro maintenance-sets? yang:counter32 | |||
| | +--ro maintenance-clears? yang:counter32 | | | +--ro maintenance-clears? yang:counter32 | |||
| | +--ro modifies? yang:counter32 | | | +--ro modifies? yang:counter32 | |||
| +--ro connectivity-matrix-entry | | +--ro connectivity-matrix-entry | |||
| +--ro creates? yang:counter32 | | +--ro creates? yang:counter32 | |||
| +--ro deletes? yang:counter32 | | +--ro deletes? yang:counter32 | |||
| +--ro disables? yang:counter32 | | +--ro disables? yang:counter32 | |||
skipping to change at page 128, line 7 ¶ | skipping to change at page 128, line 7 ¶ | |||
types:generalized-label | types:generalized-label | |||
| +--ro direction? te-label- | | +--ro direction? te-label- | |||
direction | direction | |||
+--ro oper-status? te-types:te- | +--ro oper-status? te-types:te- | |||
oper-status | oper-status | |||
+--ro geolocation | +--ro geolocation | |||
| +--ro altitude? int64 | | +--ro altitude? int64 | |||
| +--ro latitude? geographic-coordinate-degree | | +--ro latitude? geographic-coordinate-degree | |||
| +--ro longitude? geographic-coordinate-degree | | +--ro longitude? geographic-coordinate-degree | |||
+--ro statistics | +--ro statistics | |||
| +--ro discontinuity-time yang:date-and-time | | +--ro discontinuity-time? yang:date-and-time | |||
| +--ro tunnel-termination-point | | +--ro tunnel-termination-point | |||
| | +--ro disables? yang:counter32 | | | +--ro disables? yang:counter32 | |||
| | +--ro enables? yang:counter32 | | | +--ro enables? yang:counter32 | |||
| | +--ro maintenance-clears? yang:counter32 | | | +--ro maintenance-clears? yang:counter32 | |||
| | +--ro maintenance-sets? yang:counter32 | | | +--ro maintenance-sets? yang:counter32 | |||
| | +--ro modifies? yang:counter32 | | | +--ro modifies? yang:counter32 | |||
| | +--ro downs? yang:counter32 | | | +--ro downs? yang:counter32 | |||
| | +--ro ups? yang:counter32 | | | +--ro ups? yang:counter32 | |||
| | +--ro in-service-clears? yang:counter32 | | | +--ro in-service-clears? yang:counter32 | |||
| | +--ro in-service-sets? yang:counter32 | | | +--ro in-service-sets? yang:counter32 | |||
skipping to change at page 134, line 30 ¶ | skipping to change at page 134, line 30 ¶ | |||
| | +--ro value* te-types:srlg | | | +--ro value* te-types:srlg | |||
| +--ro te-nsrlgs {nsrlg}? | | +--ro te-nsrlgs {nsrlg}? | |||
| +--ro id* uint32 | | +--ro id* uint32 | |||
+--ro recovery | +--ro recovery | |||
| +--ro restoration-status? te-types:te-recovery-status | | +--ro restoration-status? te-types:te-recovery-status | |||
| +--ro protection-status? te-types:te-recovery-status | | +--ro protection-status? te-types:te-recovery-status | |||
+--ro underlay {te-topology-hierarchy}? | +--ro underlay {te-topology-hierarchy}? | |||
| +--ro dynamic? boolean | | +--ro dynamic? boolean | |||
| +--ro committed? boolean | | +--ro committed? boolean | |||
+--ro statistics | +--ro statistics | |||
+--ro discontinuity-time yang:date-and-time | +--ro discontinuity-time? yang:date-and-time | |||
+--ro disables? yang:counter32 | +--ro disables? yang:counter32 | |||
+--ro enables? yang:counter32 | +--ro enables? yang:counter32 | |||
+--ro maintenance-clears? yang:counter32 | +--ro maintenance-clears? yang:counter32 | |||
+--ro maintenance-sets? yang:counter32 | +--ro maintenance-sets? yang:counter32 | |||
+--ro modifies? yang:counter32 | +--ro modifies? yang:counter32 | |||
+--ro downs? yang:counter32 | +--ro downs? yang:counter32 | |||
+--ro ups? yang:counter32 | +--ro ups? yang:counter32 | |||
+--ro fault-clears? yang:counter32 | +--ro fault-clears? yang:counter32 | |||
+--ro fault-detects? yang:counter32 | +--ro fault-detects? yang:counter32 | |||
+--ro protection-switches? yang:counter32 | +--ro protection-switches? yang:counter32 | |||
End of changes. 11 change blocks. | ||||
11 lines changed or deleted | 8 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |