| < draft-ietf-isis-yang-isis-cfg-03.txt | draft-ietf-isis-yang-isis-cfg-04.txt > | |||
|---|---|---|---|---|
| ISIS Working Group S. Litkowski | ISIS Working Group S. Litkowski | |||
| Internet-Draft Orange | Internet-Draft Orange | |||
| Intended status: Standards Track D. Yeung | Intended status: Standards Track D. Yeung | |||
| Expires: December 25, 2015 A. Lindem | Expires: January 3, 2016 A. Lindem | |||
| Cisco Systems | Cisco Systems | |||
| J. Zhang | J. Zhang | |||
| Juniper Networks | Juniper Networks | |||
| L. Lhotka | L. Lhotka | |||
| July 02, 2015 | ||||
| June 23, 2015 | ||||
| YANG Data Model for ISIS protocol | YANG Data Model for ISIS protocol | |||
| draft-ietf-isis-yang-isis-cfg-03 | draft-ietf-isis-yang-isis-cfg-04 | |||
| Abstract | Abstract | |||
| This document defines a YANG data model that can be used to configure | This document defines a YANG data model that can be used to configure | |||
| and manage ISIS protocol on network elements. It also defined an | and manage ISIS protocol on network elements. It also defined an | |||
| extension module for segment routing configuration and operation. | extension module for segment routing configuration and operation. | |||
| Requirements Language | Requirements Language | |||
| The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", | The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", | |||
| skipping to change at page 1, line 44 ¶ | skipping to change at page 1, line 43 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at http://datatracker.ietf.org/drafts/current/. | Drafts is at http://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| 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." | |||
| This Internet-Draft will expire on December 25, 2015. | This Internet-Draft will expire on January 3, 2016. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2015 IETF Trust and the persons identified as the | Copyright (c) 2015 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 2, line 29 ¶ | skipping to change at page 2, line 24 ¶ | |||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | |||
| 1.1. Tree diagram . . . . . . . . . . . . . . . . . . . . . . 3 | 1.1. Tree diagram . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 2. Design of the Data Model . . . . . . . . . . . . . . . . . . 3 | 2. Design of the Data Model . . . . . . . . . . . . . . . . . . 3 | |||
| 2.1. ISIS Configuration . . . . . . . . . . . . . . . . . . . 9 | 2.1. ISIS Configuration . . . . . . . . . . . . . . . . . . . 9 | |||
| 2.2. Multitopology Parameters . . . . . . . . . . . . . . . . 10 | 2.2. Multitopology Parameters . . . . . . . . . . . . . . . . 10 | |||
| 2.3. Per-Level Parameters . . . . . . . . . . . . . . . . . . 10 | 2.3. Per-Level Parameters . . . . . . . . . . . . . . . . . . 10 | |||
| 2.4. Per-Interface Parameters . . . . . . . . . . . . . . . . 10 | 2.4. Per-Interface Parameters . . . . . . . . . . . . . . . . 10 | |||
| 2.5. ISO parameters . . . . . . . . . . . . . . . . . . . . . 11 | 2.5. ISO parameters . . . . . . . . . . . . . . . . . . . . . 12 | |||
| 2.6. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 11 | 2.6. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 12 | |||
| 2.7. Operational State . . . . . . . . . . . . . . . . . . . . 11 | 2.7. Operational State . . . . . . . . . . . . . . . . . . . . 13 | |||
| 3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 12 | 3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 13 | |||
| 4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 12 | 4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 14 | |||
| 5. Segment Routing . . . . . . . . . . . . . . . . . . . . . . . 16 | 5. Segment Routing . . . . . . . . . . . . . . . . . . . . . . . 18 | |||
| 5.1. Segment Routing activation . . . . . . . . . . . . . . . 19 | 5.1. Segment Routing activation . . . . . . . . . . . . . . . 20 | |||
| 5.2. Advertising mapping server policy . . . . . . . . . . . . 19 | 5.2. Advertising mapping server policy . . . . . . . . . . . . 20 | |||
| 6. Interaction with Other YANG Modules . . . . . . . . . . . . . 19 | 5.3. IP Fast reroute . . . . . . . . . . . . . . . . . . . . . 21 | |||
| 7. ISIS YANG Module . . . . . . . . . . . . . . . . . . . . . . 20 | 6. Interaction with Other YANG Modules . . . . . . . . . . . . . 21 | |||
| 8. ISIS Segment Routing YANG Module . . . . . . . . . . . . . . 94 | 7. ISIS YANG Module . . . . . . . . . . . . . . . . . . . . . . 21 | |||
| 9. Security Considerations . . . . . . . . . . . . . . . . . . . 106 | 8. ISIS Segment Routing YANG Module . . . . . . . . . . . . . . 96 | |||
| 10. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 107 | 9. Security Considerations . . . . . . . . . . . . . . . . . . . 109 | |||
| 11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 108 | 10. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 110 | |||
| 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 108 | 11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 110 | |||
| 13. Normative References . . . . . . . . . . . . . . . . . . . . 108 | 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 110 | |||
| Appendix A. Example: NETCONF <get> Reply . . . . . . . . . . . . 108 | 13. Normative References . . . . . . . . . . . . . . . . . . . . 110 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 111 | Appendix A. Example: NETCONF <get> Reply . . . . . . . . . . . . 111 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 114 | ||||
| 1. Introduction | 1. Introduction | |||
| This document defines a YANG data model for ISIS routing protocol. | This document defines a YANG data model for ISIS routing protocol. | |||
| The data model covers configuration of an ISIS routing protocol | The data model covers configuration of an ISIS routing protocol | |||
| instance as well as operational states. | instance as well as operational states. | |||
| 1.1. Tree diagram | 1.1. Tree diagram | |||
| skipping to change at page 10, line 38 ¶ | skipping to change at page 10, line 34 ¶ | |||
| each level. The "level-all" permits to apply a value to both levels. | each level. The "level-all" permits to apply a value to both levels. | |||
| +--rw priority* [level] | +--rw priority* [level] | |||
| | +--rw value? uint8 | | +--rw value? uint8 | |||
| | +--rw level level | | +--rw level level | |||
| Example : | Example : | |||
| <priority> | <priority> | |||
| <value>100</value> | <value>100</value> | |||
| <level>level-1</level> | <level>level-1</level> | |||
| </priority> | </priority> | |||
| <priority> | <priority> | |||
| <value>200</value> | <value>200</value> | |||
| <level>level-2</level> | <level>level-2</level> | |||
| </priority> | </priority> | |||
| 2.4. Per-Interface Parameters | 2.4. Per-Interface Parameters | |||
| The per-interface section of the ISIS instance describes the | The per-interface section of the ISIS instance describes the | |||
| interface specific parameters. | interface specific parameters. | |||
| The interface is a reference to an interface in the Interface YANG | The interface is a reference to an interface in the Interface YANG | |||
| model. | model. | |||
| Each interface has interface-specific parameters that may have a | Each interface has interface-specific parameters that may have a | |||
| different value per level as described in previous section. An | different value per level as described in previous section. An | |||
| interface-specific parameter always override an ISIS global parameter | interface-specific parameter always override an ISIS global parameter | |||
| . | . | |||
| Some parameters like BFD and hello-padding are defined as containers | Some parameters like BFD and hello-padding are defined as containers | |||
| to permit easy extension by vendor specific modules. | to permit easy extension by vendor specific modules. | |||
| TODO : interfaces.tree | +--rw interfaces | |||
| +--rw interface* [name] | ||||
| +--rw name if:interface-ref | ||||
| +--rw level-type? level | ||||
| +--rw lsp-pacing-interval? uint16 | ||||
| +--rw lsp-retransmit-interval? uint16 | ||||
| +--rw passive? boolean | ||||
| +--rw csnp-interval? uint16 | ||||
| +--rw hello-padding | ||||
| | +--rw enable? boolean | ||||
| +--rw mesh-group-enable? mesh-group-state | ||||
| +--rw mesh-group? uint8 | ||||
| +--rw interface-type? interface-type | ||||
| +--rw enable? boolean {admin-control}? | ||||
| +--rw tag* uint32 {prefix-tag}? | ||||
| +--rw tag64* uint64 {prefix-tag64}? | ||||
| +--rw hello-authentication* [level] | ||||
| | +--rw (authentication-type)? | ||||
| | | +--:(key-chain) {key-chain}? | ||||
| | | | +--rw key-chain? key-chain:key-chain-ref | ||||
| | | +--:(password) | ||||
| | | +--rw key? string | ||||
| | | +--rw (algorithm)? | ||||
| | | +--:(hmac-sha1-12) | ||||
| | | | ... | ||||
| | | +--:(hmac-sha1-20) | ||||
| | | | ... | ||||
| | | +--:(md5) | ||||
| | | | ... | ||||
| | | +--:(sha-1) | ||||
| | | | ... | ||||
| | | +--:(hmac-sha-1) | ||||
| | | | ... | ||||
| | | +--:(hmac-sha-256) | ||||
| | | | ... | ||||
| | | +--:(hmac-sha-384) | ||||
| | | | ... | ||||
| | | +--:(hmac-sha-512) | ||||
| | | ... | ||||
| | +--rw level level | ||||
| +--rw hello-interval* [level] | ||||
| | +--rw value? uint16 | ||||
| | +--rw level level | ||||
| +--rw hello-multiplier* [level] | ||||
| | +--rw value? uint16 | ||||
| | +--rw level level | ||||
| +--rw priority* [level] | ||||
| | +--rw value? uint8 | ||||
| | +--rw level level | ||||
| +--rw metric* [level] | ||||
| | +--rw value? wide-metric | ||||
| | +--rw level level | ||||
| +--rw af* [af] | ||||
| | +--rw af identityref | ||||
| | +--rw bfd {bfd}? | ||||
| | +--rw enable? boolean | ||||
| +--rw mpls | ||||
| | +--rw igp-ldp-sync {igp-ldp-sync}? | ||||
| | +--rw enable? boolean | ||||
| +--rw fast-reroute {fast-reroute}? | ||||
| | +--rw lfa* [level] {lfa}? | ||||
| | +--rw candidate-disabled? boolean | ||||
| | +--rw enable? boolean | ||||
| | +--rw remote-lfa {remote-lfa}? | ||||
| | | +--rw enable? boolean | ||||
| | +--rw level level | ||||
| +--rw topologies* [name] | ||||
| +--rw name rt:rib-ref | ||||
| +--rw fast-reroute {fast-reroute}? | ||||
| | +--rw lfa* [level] {lfa}? | ||||
| | +--rw candidate-disabled? boolean | ||||
| | +--rw enable? boolean | ||||
| | +--rw remote-lfa {remote-lfa}? | ||||
| | | +--rw enable? boolean | ||||
| | +--rw level level | ||||
| +--rw metric* [level] | ||||
| +--rw value? wide-metric | ||||
| +--rw level level | ||||
| 2.5. ISO parameters | 2.5. ISO parameters | |||
| Some ISO parameters may be required. | Some ISO parameters may be required. | |||
| This module augments interface configuration model to support ISO | This module augments interface configuration model to support ISO | |||
| configuration parameters. | configuration parameters. | |||
| The clns-mtu can be defined under the interface. | The clns-mtu can be defined under the interface. | |||
| skipping to change at page 17, line 23 ¶ | skipping to change at page 18, line 42 ¶ | |||
| augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: | augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: | |||
| +--rw segment-routing | +--rw segment-routing | |||
| +--rw enabled? boolean | +--rw enabled? boolean | |||
| +--rw bindings | +--rw bindings | |||
| +--rw advertise | +--rw advertise | |||
| | +--rw policies* string | | +--rw policies* string | |||
| +--rw receive? boolean | +--rw receive? boolean | |||
| augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: | augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: | |||
| +--rw segment-routing | +--rw segment-routing | |||
| +--rw adjacency-sid | +--rw adjacency-sid | |||
| | +--rw advertise-adj-group-sid* [group-id] | +--rw advertise-adj-group-sid* [group-id] | |||
| | | +--rw group-id uint32 | | +--rw group-id uint32 | |||
| | +--rw advertise-protection? enumeration | +--rw advertise-protection? enumeration | |||
| +--rw prefix-sid | augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:fast-reroute: | |||
| +--rw ipv4 | +--rw ti-lfa {ti-lfa}? | |||
| | +--rw prefix-sid* [value] | +--rw enable? boolean | |||
| | +--rw value-type? enumeration | augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:fast-reroute/isis:lfa/isis:remote-lfa: | |||
| | +--rw value uint32 | +--rw use-segment-routing-path? boolean {remote-lfa-sr}? | |||
| | +--rw last-hop-behavior? enumeration | ||||
| +--rw ipv6 | ||||
| +--rw prefix-sid* [value] | ||||
| +--rw value-type? enumeration | ||||
| +--rw value uint32 | ||||
| +--rw last-hop-behavior? enumeration | ||||
| augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: | augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: | |||
| +--ro segment-routing | +--ro segment-routing | |||
| +--ro enabled? boolean | +--ro enabled? boolean | |||
| +--ro bindings | +--ro bindings | |||
| +--ro advertise | +--ro advertise | |||
| | +--ro policies* string | | +--ro policies* string | |||
| +--ro receive? boolean | +--ro receive? boolean | |||
| augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: | augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: | |||
| +--ro segment-routing | +--ro segment-routing | |||
| +--ro adjacency-sid | +--ro adjacency-sid | |||
| | +--ro advertise-adj-group-sid* [group-id] | +--ro advertise-adj-group-sid* [group-id] | |||
| | | +--ro group-id uint32 | | +--ro group-id uint32 | |||
| | +--ro advertise-protection? enumeration | +--ro advertise-protection? enumeration | |||
| +--ro prefix-sid | augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:adjacencies/isis:adjacency: | |||
| +--ro ipv4 | +--ro adjacency-sid* [value] | |||
| | +--ro prefix-sid* [value] | +--ro af? identityref | |||
| | +--ro value-type? enumeration | +--ro value uint32 | |||
| | +--ro value uint32 | +--ro weight? uint8 | |||
| | +--ro last-hop-behavior? enumeration | +--ro protection-requested? boolean | |||
| +--ro ipv6 | ||||
| +--ro prefix-sid* [value] | ||||
| +--ro value-type? enumeration | ||||
| +--ro value uint32 | ||||
| +--ro last-hop-behavior? enumeration | ||||
| augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:extended-is-neighbor/isis:neighbor: | augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:extended-is-neighbor/isis:neighbor: | |||
| +--ro sid-list* [value] | +--ro sid-list* [value] | |||
| +--ro flags? bits | +--ro flags? bits | |||
| +--ro weight? uint8 | +--ro weight? uint8 | |||
| +--ro neighbor-id? isis:system-id | +--ro neighbor-id? isis:system-id | |||
| +--ro value uint32 | +--ro value uint32 | |||
| augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:mt-is-neighbor/isis:neighbor: | augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:mt-is-neighbor/isis:neighbor: | |||
| +--ro sid-list* [value] | +--ro sid-list* [value] | |||
| +--ro flags? bits | +--ro flags? bits | |||
| +--ro weight? uint8 | +--ro weight? uint8 | |||
| skipping to change at page 19, line 40 ¶ | skipping to change at page 21, line 5 ¶ | |||
| 5.2. Advertising mapping server policy | 5.2. Advertising mapping server policy | |||
| The base segment routing module defines mapping server policies. By | The base segment routing module defines mapping server policies. By | |||
| default, IS-IS will not advertise nor receive any mapping server | default, IS-IS will not advertise nor receive any mapping server | |||
| entry. The IS-IS segment-routing module permits to advertise one or | entry. The IS-IS segment-routing module permits to advertise one or | |||
| multiple mapping server policies through the "bindings/advertise/ | multiple mapping server policies through the "bindings/advertise/ | |||
| policies" leaf-list. The "bindings/receive" leaf permits to enable | policies" leaf-list. The "bindings/receive" leaf permits to enable | |||
| the reception of mapping server entries. | the reception of mapping server entries. | |||
| 5.3. IP Fast reroute | ||||
| IS-IS SR model augments the fast-reroute container under interface. | ||||
| It brings the ability to activate TI-LFA (topology independent LFA) | ||||
| and also enhances remote LFA to use segment-routing tunneling instead | ||||
| of LDP. | ||||
| 6. Interaction with Other YANG Modules | 6. Interaction with Other YANG Modules | |||
| The "isis" configuration container augments the "/rt:routing/ | The "isis" configuration container augments the "/rt:routing/ | |||
| rt:routing-instance/rt:routing-protocols/routing-protocol" container | rt:routing-instance/rt:routing-protocols/routing-protocol" container | |||
| of the ietf-routing module by defining IS-IS specific parameters. | of the ietf-routing module by defining IS-IS specific parameters. | |||
| The "isis" module augments "/if:interfaces/if:interface" with ISO | The "isis" module augments "/if:interfaces/if:interface" with ISO | |||
| specific parameters. | specific parameters. | |||
| The "isis" operational state container augments the "/rt:routing- | The "isis" operational state container augments the "/rt:routing- | |||
| skipping to change at page 20, line 14 ¶ | skipping to change at page 21, line 33 ¶ | |||
| container of the ietf-routing module by defining ISIS specific | container of the ietf-routing module by defining ISIS specific | |||
| operational states. | operational states. | |||
| Some ISIS specific routes attributes are added to route objects of | Some ISIS specific routes attributes are added to route objects of | |||
| the ietf-routing module by augmenting "/rt:routing- | the ietf-routing module by augmenting "/rt:routing- | |||
| state/rt:ribs/rt:rib/rt:routes/rt:route" and "/rt:active- | state/rt:ribs/rt:rib/rt:routes/rt:route" and "/rt:active- | |||
| route/rt:output/rt:route". | route/rt:output/rt:route". | |||
| 7. ISIS YANG Module | 7. ISIS YANG Module | |||
| <CODE BEGINS> file "ietf-isis@2015-06-23.yang" | <CODE BEGINS> file "ietf-isis@2015-07-02.yang" | |||
| module ietf-isis { | ||||
| namespace "urn:ietf:params:xml:ns:yang:ietf-isis"; | ||||
| prefix isis; | ||||
| import ietf-routing { | module ietf-isis { | |||
| prefix "rt"; | namespace "urn:ietf:params:xml:ns:yang:ietf-isis"; | |||
| } | ||||
| import ietf-inet-types { | prefix isis; | |||
| prefix inet; | ||||
| } | ||||
| import ietf-yang-types { | import ietf-routing { | |||
| prefix yang; | prefix "rt"; | |||
| } | } | |||
| import ietf-interfaces { | import ietf-inet-types { | |||
| prefix "if"; | prefix inet; | |||
| } | } | |||
| import ietf-key-chain { | import ietf-yang-types { | |||
| prefix "key-chain"; | prefix yang; | |||
| } | } | |||
| organization | import ietf-interfaces { | |||
| "IETF ISIS Working Group"; | prefix "if"; | |||
| } | ||||
| contact | import ietf-key-chain { | |||
| "WG List: <mailto:isis-wg@ietf.org> | prefix "key-chain"; | |||
| } | ||||
| Editor: Stephane Litkowski | organization | |||
| <mailto:stephane.litkowski@orange.com> | "IETF ISIS Working Group"; | |||
| Derek Yeung | contact | |||
| <mailto:myeung@cisco.com> | "WG List: <mailto:isis-wg@ietf.org> | |||
| Acee Lindem | Editor: Stephane Litkowski | |||
| <mailto:acee@cisco.com> | <mailto:stephane.litkowski@orange.com> | |||
| Jeffrey Zhang | ||||
| <mailto:zzhang@juniper.net> | ||||
| Ladislav Lhotka | ||||
| <mailto:llhotka@nic.cz> | ||||
| Yi Yang | ||||
| <mailto:yiya@cisco.com> | ||||
| Dean Bogdanovic | ||||
| <mailto:deanb@juniper.net> | ||||
| Kiran Agrahara Sreenivasa | ||||
| <mailto:kkoushik@brocade.com> | ||||
| Yingzhen Qu | ||||
| <mailto:yiqu@cisco.com> | ||||
| Jeff Tantsura | ||||
| <mailto:jeff.tantsura@ericsson.com> | ||||
| "; | Derek Yeung | |||
| <mailto:myeung@cisco.com> | ||||
| Acee Lindem | ||||
| <mailto:acee@cisco.com> | ||||
| Jeffrey Zhang | ||||
| <mailto:zzhang@juniper.net> | ||||
| Ladislav Lhotka | ||||
| <mailto:llhotka@nic.cz> | ||||
| Yi Yang | ||||
| <mailto:yiya@cisco.com> | ||||
| Dean Bogdanovic | ||||
| <mailto:deanb@juniper.net> | ||||
| Kiran Agrahara Sreenivasa | ||||
| <mailto:kkoushik@brocade.com> | ||||
| Yingzhen Qu | ||||
| <mailto:yiqu@cisco.com> | ||||
| Jeff Tantsura | ||||
| <mailto:jeff.tantsura@ericsson.com> | ||||
| description | "; | |||
| "The YANG module defines a generic configuration model for | ||||
| ISIS common across all of the vendor implementations."; | ||||
| revision 2015-06-22 { | description | |||
| description | "The YANG module defines a generic configuration model for | |||
| " * Segment routing is part os a separate module."; | ISIS common across all of the vendor implementations."; | |||
| reference "draft-ietf-isis-yang-isis-03"; | ||||
| } | ||||
| revision 2015-03-03 { | ||||
| description | ||||
| " * Reviewed config and op state groupings. | ||||
| * Add default value to lfa candidate-disabled | ||||
| * Add enable leaf to isis container to reflect admin state | ||||
| * Move to VRF centric only | ||||
| "; | ||||
| reference ""; | ||||
| } | ||||
| revision 2015-03-03 { | ||||
| description | ||||
| " | ||||
| * Defining hierarchy for operational states | ||||
| * Adding CLNS MTU | ||||
| * Adding Keychain | ||||
| "; | ||||
| reference "draft-ietf-isis-yang-isis-02"; | ||||
| } | ||||
| revision 2015-02-20 { | ||||
| description | ||||
| " | ||||
| * Removing igp-ldp-sync timer in IS-IS | ||||
| revision 2015-06-22 { | ||||
| description | ||||
| " * Segment routing is part os a separate module."; | ||||
| reference "draft-ietf-isis-yang-isis-03"; | ||||
| } | ||||
| revision 2015-03-03 { | ||||
| description | ||||
| " * Reviewed config and op state groupings. | ||||
| * Add default value to lfa candidate-disabled | ||||
| * Add enable leaf to isis container to reflect admin state | ||||
| * Move to VRF centric only | ||||
| "; | "; | |||
| reference ""; | reference ""; | |||
| } | } | |||
| revision 2014-12-15 { | revision 2015-03-03 { | |||
| description | description | |||
| " | " | |||
| * Adding IPFRR | * Defining hierarchy for operational states | |||
| * Adding igp-ldp sync | * Adding CLNS MTU | |||
| * Adding segment routing | * Adding Keychain | |||
| * Adding instance reference to operational states. | "; | |||
| * Move AF type from string to identity | reference "draft-ietf-isis-yang-isis-02"; | |||
| * Updated router-capability in LSDB description. | } | |||
| * packet counters moved to interface-packet-counters. | revision 2015-02-20 { | |||
| * Added modification information in lsp-log | description | |||
| "; | " | |||
| reference ""; | * Removing igp-ldp-sync timer in IS-IS | |||
| } | ||||
| revision 2014-10-24 { | ||||
| description | ||||
| " | ||||
| * Change hello-padding to container | ||||
| * Change bfd to container | ||||
| * Make BFD a feature | ||||
| * Creates mpls-te container and put router-id | ||||
| inside | ||||
| * Remove GR helper disable and timers | ||||
| "; | ||||
| reference "draft-ietf-isis-yang-isis-cfg-01"; | ||||
| } | ||||
| revision 2014-10-21 { | ||||
| description | ||||
| " | ||||
| * Interface metric move from af container to interface | ||||
| container | ||||
| * Hello-padding on interface moved to hello-padding-disable | ||||
| with empty type | ||||
| * three-way-handshake removed | ||||
| * route preference changed to a choice | ||||
| * csnp-authentication/psnp-authentication merged | ||||
| to authentication container | ||||
| * lsp-gen-interval-exp-delay removed | ||||
| * Added overload-max-metric feature | ||||
| * overload-max-metric is in a separate container | ||||
| "; | ||||
| reference ""; | ||||
| } | "; | |||
| reference ""; | ||||
| } | ||||
| revision 2014-12-15 { | ||||
| description | ||||
| " | ||||
| * Adding IPFRR | ||||
| * Adding igp-ldp sync | ||||
| * Adding segment routing | ||||
| * Adding instance reference to operational states. | ||||
| * Move AF type from string to identity | ||||
| * Updated router-capability in LSDB description. | ||||
| * packet counters moved to interface-packet-counters. | ||||
| * Added modification information in lsp-log | ||||
| "; | ||||
| reference ""; | ||||
| } | ||||
| revision 2014-10-24 { | ||||
| description | ||||
| " | ||||
| * Change hello-padding to container | ||||
| * Change bfd to container | ||||
| * Make BFD a feature | ||||
| * Creates mpls-te container and put router-id | ||||
| inside | ||||
| * Remove GR helper disable and timers | ||||
| "; | ||||
| revision 2014-10-07 { | reference "draft-ietf-isis-yang-isis-cfg-01"; | |||
| description | } | |||
| " | revision 2014-10-21 { | |||
| * Removed spf parameters (should be part of | description | |||
| vendor specific extensions. | " | |||
| * Removed hello parameters at global level. | * Interface metric move from af container to interface | |||
| * Interface configuration uses a string rather | container | |||
| than a reference. This permits to map to some | * Hello-padding on interface moved to hello-padding-disable | |||
| vendor specific configuration. | with empty type | |||
| "; | * three-way-handshake removed | |||
| reference "draft-ietf-isis-yang-isis-00"; | * route preference changed to a choice | |||
| } | * csnp-authentication/psnp-authentication merged | |||
| revision 2014-09-26 { | to authentication container | |||
| description | * lsp-gen-interval-exp-delay removed | |||
| " | * Added overload-max-metric feature | |||
| * Add BFD support | * overload-max-metric is in a separate container | |||
| * remove max-elements to max-area-addresses | "; | |||
| "; | reference ""; | |||
| reference ""; | } | |||
| } | ||||
| revision 2014-09-11 { | ||||
| description | ||||
| " | ||||
| * Add level parameter to ispf and spf delay | ||||
| * Add LSP generation as a feature | ||||
| * Make lsp-refresh a feature | ||||
| * Change parameter container to list | ||||
| "; | ||||
| reference ""; | ||||
| } | ||||
| revision 2014-09-05 { | ||||
| description | ||||
| " Rewrite of the global hierarchy."; | ||||
| reference ""; | ||||
| } | ||||
| revision 2014-08-06 { | ||||
| description | ||||
| " | ||||
| * isis-state renamed to isis. | ||||
| * Add GR support | ||||
| * Add meshgroup support | ||||
| * Add CLNS support | ||||
| * Add 64bits tags | ||||
| * Add notifications to be aligned with MIB4444 | ||||
| * Add packet-counters, interface-counters, system-counters | ||||
| states | ||||
| * Add 3-way handshake support | revision 2014-10-07 { | |||
| * Rename isis-adjacency-updown to adjacency-change | description | |||
| * Add notification for LSP reception | " | |||
| * Use feature for reference BW | * Removed spf parameters (should be part of | |||
| * Add lsp-retransmit-interval on interfaces | vendor specific extensions. | |||
| * Rename lsp-interval to lsp-pacing-interval | * Removed hello parameters at global level. | |||
| * Add ispf support as feature | * Interface configuration uses a string rather | |||
| * Add spf delay support as feature (2step & exp backoff) | than a reference. This permits to map to some | |||
| * Add maximum-area-addresses | vendor specific configuration. | |||
| * Add default-metric | "; | |||
| "; | reference "draft-ietf-isis-yang-isis-00"; | |||
| reference "RFC XXXX: YANG Data Model for ISIS Protocol"; | } | |||
| } | revision 2014-09-26 { | |||
| revision 2014-06-25 { | description | |||
| description " | " | |||
| * isis-cfg renamed to isis. | * Add BFD support | |||
| * Add precisions on authentication-keys in description | * remove max-elements to max-area-addresses | |||
| "; | "; | |||
| reference "draft-litkowski-isis-yang-isis-01"; | reference ""; | |||
| } | } | |||
| revision 2014-09-11 { | ||||
| description | ||||
| " | ||||
| * Add level parameter to ispf and spf delay | ||||
| * Add LSP generation as a feature | ||||
| * Make lsp-refresh a feature | ||||
| * Change parameter container to list | ||||
| "; | ||||
| revision 2014-06-20 { | reference ""; | |||
| description " | } | |||
| * isis-op renamed to isis-state. | revision 2014-09-05 { | |||
| * Multiple instances under ISIS are removed. | description | |||
| * interface-cfg grouping removed and content | " Rewrite of the global hierarchy."; | |||
| is directly included in container isis. | reference ""; | |||
| * TLVxx renamed with human-readable name in isis-database. | } | |||
| TLV reference are putted in description. | revision 2014-08-06 { | |||
| * Reference to core routing module were fixed. | description | |||
| * Namespace fixed. | " | |||
| * Add simple-iso-address type. | * isis-state renamed to isis. | |||
| * area-id and system-id in ISIS container are merged to | * Add GR support | |||
| nsap-address. | * Add meshgroup support | |||
| * Add isis-system-id type. | * Add CLNS support | |||
| * Add isis-lsp-id type. | * Add 64bits tags | |||
| * Add remaining-lifetime leaf in isis-database. | * Add notifications to be aligned with MIB4444 | |||
| * Add TLV2 (is-neighbor) in isis-database. | * Add packet-counters, interface-counters, system-counters | |||
| * Renamed some container name for consistency | states | |||
| reason ('isis-' prefixed). | * Add 3-way handshake support | |||
| * Add new identities isis-cfg and isis-state. | * Rename isis-adjacency-updown to adjacency-change | |||
| * Add descriptions. | * Add notification for LSP reception | |||
| * Add notification isis-adjacency-updown. | * Use feature for reference BW | |||
| * Add RPC clear-isis-adjacency and clear-isis-database. | * Add lsp-retransmit-interval on interfaces | |||
| "; | * Rename lsp-interval to lsp-pacing-interval | |||
| reference "draft-litkowski-isis-yang-isis-00"; | * Add ispf support as feature | |||
| } | * Add spf delay support as feature (2step & exp backoff) | |||
| revision 2014-06-11 { | * Add maximum-area-addresses | |||
| description "Initial revision."; | * Add default-metric | |||
| reference "draft-litkowski-netmod-isis-cfg-00"; | "; | |||
| } | reference "RFC XXXX: YANG Data Model for ISIS Protocol"; | |||
| identity isis { | } | |||
| base rt:routing-protocol; | revision 2014-06-25 { | |||
| description "Identity for the ISIS routing protocol."; | description " | |||
| } | * isis-cfg renamed to isis. | |||
| * Add precisions on authentication-keys in description | ||||
| "; | ||||
| reference "draft-litkowski-isis-yang-isis-01"; | ||||
| } | ||||
| identity isis-adjacency-change { | revision 2014-06-20 { | |||
| description "Identity for the ISIS routing protocol | description " | |||
| adjacency state."; | * isis-op renamed to isis-state. | |||
| } | * Multiple instances under ISIS are removed. | |||
| * interface-cfg grouping removed and content | ||||
| is directly included in container isis. | ||||
| * TLVxx renamed with human-readable name in isis-database. | ||||
| TLV reference are putted in description. | ||||
| * Reference to core routing module were fixed. | ||||
| identity clear-isis-database { | * Namespace fixed. | |||
| description "Identity for the ISIS routing protocol | * Add simple-iso-address type. | |||
| database reset action."; | * area-id and system-id in ISIS container are merged to | |||
| } | nsap-address. | |||
| * Add isis-system-id type. | ||||
| * Add isis-lsp-id type. | ||||
| * Add remaining-lifetime leaf in isis-database. | ||||
| * Add TLV2 (is-neighbor) in isis-database. | ||||
| * Renamed some container name for consistency | ||||
| reason ('isis-' prefixed). | ||||
| * Add new identities isis-cfg and isis-state. | ||||
| * Add descriptions. | ||||
| * Add notification isis-adjacency-updown. | ||||
| * Add RPC clear-isis-adjacency and clear-isis-database. | ||||
| "; | ||||
| reference "draft-litkowski-isis-yang-isis-00"; | ||||
| } | ||||
| identity clear-isis-adjacency { | revision 2014-06-11 { | |||
| description "Identity for the ISIS routing protocol | description "Initial revision."; | |||
| adjacency reset action."; | reference "draft-litkowski-netmod-isis-cfg-00"; | |||
| } | } | |||
| identity isis { | ||||
| base rt:routing-protocol; | ||||
| description "Identity for the ISIS routing protocol."; | ||||
| } | ||||
| /* Feature definitions */ | identity isis-adjacency-change { | |||
| description "Identity for the ISIS routing protocol | ||||
| adjacency state."; | ||||
| } | ||||
| feature key-chain { | identity clear-isis-database { | |||
| description | description "Identity for the ISIS routing protocol | |||
| "Support of keychain for authentication."; | database reset action."; | |||
| } | } | |||
| feature segment-routing { | ||||
| description | ||||
| "Support of segment-routing."; | ||||
| } | ||||
| feature node-tag { | ||||
| description | ||||
| "Support of node tag."; | ||||
| } | ||||
| feature igp-ldp-sync { | ||||
| description | ||||
| "Support of RFC5443."; | ||||
| } | ||||
| feature fast-reroute { | ||||
| description | ||||
| "Support of IPFRR."; | ||||
| } | ||||
| feature lfa { | ||||
| description | ||||
| "Support of Loop Free Alternates."; | ||||
| } | ||||
| feature remote-lfa { | ||||
| description | ||||
| "Support of remote Loop Free Alternates."; | ||||
| } | ||||
| feature bfd { | identity clear-isis-adjacency { | |||
| description | description "Identity for the ISIS routing protocol | |||
| "Support of BFD."; | adjacency reset action."; | |||
| } | } | |||
| feature overload-max-metric { | ||||
| description | ||||
| "Support of overload by setting | ||||
| all links to max metric."; | ||||
| } | ||||
| feature prefix-tag { | ||||
| description | ||||
| "Add 32bit tag to prefixes"; | ||||
| } | ||||
| feature prefix-tag64 { | ||||
| description | ||||
| "Add 64bit tag to prefixes"; | ||||
| } | ||||
| feature reference-bandwidth { | ||||
| description | ||||
| "Use a reference bandwidth to compute metric."; | ||||
| } | ||||
| feature ipv4-router-id { | ||||
| description | ||||
| "Support of IPv4 router ID configuration under ISIS."; | ||||
| } | ||||
| feature ipv6-router-id { | /* Feature definitions */ | |||
| description | ||||
| "Support of IPv6 router ID configuration under ISIS."; | ||||
| } | ||||
| feature multi-topology { | feature key-chain { | |||
| description | description | |||
| "Multitopology routing support."; | "Support of keychain for authentication."; | |||
| } | ||||
| feature nlpid-control { | ||||
| description | ||||
| "This feature controls the advertisement | ||||
| of support NLPID within ISIS configuration."; | ||||
| } | ||||
| feature graceful-restart { | ||||
| description | ||||
| "Graceful restart support as per RFC5306."; | ||||
| } | ||||
| feature lsp-refresh { | } | |||
| description | feature segment-routing { | |||
| "Configuration of LSP refresh interval."; | description | |||
| } | "Support of segment-routing."; | |||
| } | ||||
| feature node-tag { | ||||
| description | ||||
| "Support of node tag."; | ||||
| } | ||||
| feature igp-ldp-sync { | ||||
| description | ||||
| "Support of RFC5443."; | ||||
| } | ||||
| feature fast-reroute { | ||||
| description | ||||
| "Support of IPFRR."; | ||||
| } | ||||
| feature lfa { | ||||
| description | ||||
| "Support of Loop Free Alternates."; | ||||
| } | ||||
| feature remote-lfa { | ||||
| description | ||||
| "Support of remote Loop Free Alternates."; | ||||
| } | ||||
| feature maximum-area-addresses { | feature bfd { | |||
| description | description | |||
| "Support of maximum-area-addresses config."; | "Support of BFD."; | |||
| } | } | |||
| feature overload-max-metric { | ||||
| description | ||||
| "Support of overload by setting | ||||
| all links to max metric."; | ||||
| } | ||||
| feature prefix-tag { | ||||
| description | ||||
| "Add 32bit tag to prefixes"; | ||||
| } | ||||
| feature prefix-tag64 { | ||||
| description | ||||
| "Add 64bit tag to prefixes"; | ||||
| } | ||||
| feature reference-bandwidth { | ||||
| description | ||||
| "Use a reference bandwidth to compute metric."; | ||||
| } | ||||
| feature ipv4-router-id { | ||||
| description | ||||
| "Support of IPv4 router ID configuration under ISIS."; | ||||
| } | ||||
| feature admin-control { | feature ipv6-router-id { | |||
| description | description | |||
| "Control administrative state of ISIS."; | "Support of IPv6 router ID configuration under ISIS."; | |||
| } | } | |||
| /* Type definitions */ | feature multi-topology { | |||
| description | ||||
| "Multitopology routing support."; | ||||
| } | ||||
| feature nlpid-control { | ||||
| description | ||||
| "This feature controls the advertisement | ||||
| of support NLPID within ISIS configuration."; | ||||
| } | ||||
| feature graceful-restart { | ||||
| description | ||||
| "Graceful restart support as per RFC5306."; | ||||
| } | ||||
| typedef instance-state-ref { | feature lsp-refresh { | |||
| type leafref { | description | |||
| path "/rt:routing-state/rt:routing-instance/" | "Configuration of LSP refresh interval."; | |||
| +"rt:routing-protocols/rt:routing-protocol/rt:name"; | } | |||
| } | ||||
| description | ||||
| "This type is used for leaves that reference state data of | ||||
| an ISIS protocol instance."; | ||||
| } | ||||
| typedef admin-state { | feature maximum-area-addresses { | |||
| type enumeration { | description | |||
| enum "up" { | "Support of maximum-area-addresses config."; | |||
| description | } | |||
| "Up state"; | ||||
| } | ||||
| enum "down" { | ||||
| description | ||||
| "Down state"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Administrative state of a component."; | ||||
| } | ||||
| typedef oper-state { | ||||
| type enumeration { | ||||
| enum "up" { | ||||
| description | ||||
| "Up state"; | ||||
| } | ||||
| enum "down" { | ||||
| description | ||||
| "Down state"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Operational state of a component."; | ||||
| } | ||||
| typedef circuit-id { | ||||
| type uint8; | ||||
| description | ||||
| "This type defines the circuit ID | ||||
| associated with an interface."; | ||||
| } | ||||
| typedef extended-circuit-id { | feature admin-control { | |||
| type uint32; | description | |||
| description | "Control administrative state of ISIS."; | |||
| "This type defines the extended circuit ID | } | |||
| associated with an interface."; | ||||
| } | ||||
| typedef interface-type { | /* Type definitions */ | |||
| type enumeration { | ||||
| enum broadcast { | ||||
| description "Broadcast interface type. | ||||
| Would result in DIS election."; | ||||
| } | ||||
| enum point-to-point { | ||||
| description | ||||
| "Point to point interface type."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This type defines the type of adjacency | ||||
| to be established on the interface. | ||||
| This is affecting the type of hello | ||||
| message that would be used."; | ||||
| } | typedef instance-state-ref { | |||
| type leafref { | ||||
| path "/rt:routing-state/rt:routing-instance/" | ||||
| +"rt:routing-protocols/rt:routing-protocol/rt:name"; | ||||
| } | ||||
| description | ||||
| "This type is used for leaves that reference state data of | ||||
| an ISIS protocol instance."; | ||||
| } | ||||
| typedef level { | typedef admin-state { | |||
| type enumeration { | type enumeration { | |||
| enum "level-1" { | enum "up" { | |||
| description | description | |||
| "This enum describes L1 only capability."; | "Up state"; | |||
| } | } | |||
| enum "level-2" { | enum "down" { | |||
| description | description | |||
| "This enum describes L2 only capability."; | "Down state"; | |||
| } | } | |||
| enum "level-all" { | } | |||
| description | description | |||
| "This enum describes both levels capability."; | "Administrative state of a component."; | |||
| } | } | |||
| } | typedef oper-state { | |||
| default "level-all"; | type enumeration { | |||
| description | enum "up" { | |||
| "This type defines ISIS level of an object."; | description | |||
| "Up state"; | ||||
| } | ||||
| enum "down" { | ||||
| description | ||||
| "Down state"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Operational state of a component."; | ||||
| } | ||||
| typedef circuit-id { | ||||
| type uint8; | ||||
| description | ||||
| "This type defines the circuit ID | ||||
| associated with an interface."; | ||||
| } | ||||
| } | typedef extended-circuit-id { | |||
| type uint32; | ||||
| description | ||||
| "This type defines the extended circuit ID | ||||
| associated with an interface."; | ||||
| } | ||||
| typedef level-number { | typedef interface-type { | |||
| type uint8 { | type enumeration { | |||
| range "1 .. 2"; | enum broadcast { | |||
| } | description "Broadcast interface type. | |||
| description | Would result in DIS election."; | |||
| "This type defines a current ISIS level."; | } | |||
| } | enum point-to-point { | |||
| description | ||||
| "Point to point interface type."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This type defines the type of adjacency | ||||
| to be established on the interface. | ||||
| This is affecting the type of hello | ||||
| message that would be used."; | ||||
| typedef lsp-id { | } | |||
| type string { | ||||
| pattern | ||||
| '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]' | ||||
| +'{4}\.[0-9][0-9]-[0-9][0-9]'; | ||||
| } | ||||
| description | ||||
| "This type defines ISIS LSP ID using pattern, | ||||
| system id looks like : 0143.0438.AeF0.02-01"; | ||||
| } | ||||
| typedef area-address { | typedef level { | |||
| type string { | type enumeration { | |||
| pattern '[0-9A-Fa-f]{2}\.([0-9A-Fa-f]{4}\.){0,3}'; | enum "level-1" { | |||
| } | description | |||
| description | "This enum describes L1 only capability."; | |||
| "This type defines the area address."; | } | |||
| } | enum "level-2" { | |||
| typedef snpa { | description | |||
| type string { | "This enum describes L2 only capability."; | |||
| length "0 .. 20"; | } | |||
| } | enum "level-all" { | |||
| description | description | |||
| "This type defines Subnetwork Point of Attachement format."; | "This enum describes both levels capability."; | |||
| } | ||||
| } | ||||
| default "level-all"; | ||||
| description | ||||
| "This type defines ISIS level of an object."; | ||||
| } | } | |||
| typedef system-id { | typedef level-number { | |||
| type string { | type uint8 { | |||
| pattern | range "1 .. 2"; | |||
| '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.00'; | } | |||
| } | description | |||
| description | "This type defines a current ISIS level."; | |||
| "This type defines ISIS system id using pattern, | } | |||
| system id looks like : 0143.0438.AeF0.00"; | ||||
| } | ||||
| typedef wide-metric { | typedef lsp-id { | |||
| type uint32 { | type string { | |||
| range "0 .. 16777215"; | pattern | |||
| } | '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]' | |||
| description | +'{4}\.[0-9][0-9]-[0-9][0-9]'; | |||
| "This type defines wide style format | } | |||
| of ISIS metric."; | description | |||
| } | "This type defines ISIS LSP ID using pattern, | |||
| system id looks like : 0143.0438.AeF0.02-01"; | ||||
| } | ||||
| typedef std-metric { | typedef area-address { | |||
| type uint8 { | type string { | |||
| range "0 .. 63"; | pattern '[0-9A-Fa-f]{2}\.([0-9A-Fa-f]{4}\.){0,3}'; | |||
| } | } | |||
| description | description | |||
| "This type defines old style format | "This type defines the area address."; | |||
| of ISIS metric."; | } | |||
| } | ||||
| typedef mesh-group-state { | typedef snpa { | |||
| type enumeration { | type string { | |||
| enum "meshInactive" { | length "0 .. 20"; | |||
| description | } | |||
| "Interface is not part of a mesh group."; | description | |||
| } | "This type defines Subnetwork Point of Attachement format."; | |||
| enum "meshSet" { | ||||
| description | ||||
| "Interface is part of a mesh group."; | ||||
| } | ||||
| enum "meshBlocked" { | ||||
| description | ||||
| "LSPs must not be flooded over that interface."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This type describes meshgroup state of an interface"; | ||||
| } | ||||
| /* Grouping definitions */ | } | |||
| grouping admin-control { | typedef system-id { | |||
| type string { | ||||
| pattern | ||||
| '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.00'; | ||||
| } | ||||
| description | ||||
| "This type defines ISIS system id using pattern, | ||||
| system id looks like : 0143.0438.AeF0.00"; | ||||
| } | ||||
| leaf enable { | typedef wide-metric { | |||
| if-feature admin-control; | type uint32 { | |||
| type boolean; | range "0 .. 16777215"; | |||
| default true; | } | |||
| description | description | |||
| "Control the administrative | "This type defines wide style format | |||
| state."; | of ISIS metric."; | |||
| } | } | |||
| description | typedef std-metric { | |||
| "Grouping for admin control."; | type uint8 { | |||
| } | range "0 .. 63"; | |||
| } | ||||
| description | ||||
| "This type defines old style format | ||||
| of ISIS metric."; | ||||
| } | ||||
| grouping adjacency-state { | typedef mesh-group-state { | |||
| container adjacencies { | type enumeration { | |||
| list adjacency { | enum "meshInactive" { | |||
| leaf neighbor-systype { | description | |||
| type level; | "Interface is not part of a mesh group."; | |||
| description | } | |||
| "Type of neighboring system"; | enum "meshSet" { | |||
| description | ||||
| "Interface is part of a mesh group."; | ||||
| } | ||||
| enum "meshBlocked" { | ||||
| description | ||||
| "LSPs must not be flooded over that interface."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This type describes meshgroup state of an interface"; | ||||
| } | ||||
| } | /* Grouping definitions */ | |||
| leaf neighbor-sysid { | ||||
| type system-id; | ||||
| description | ||||
| "The system-id of the neighbor"; | ||||
| } | grouping admin-control { | |||
| leaf neighbor-extended-circuit-id { | ||||
| type extended-circuit-id; | ||||
| description | ||||
| "Circuit ID of the neighbor"; | ||||
| } | ||||
| leaf neighbor-snpa { | ||||
| type snpa; | ||||
| description | ||||
| "SNPA of the neighbor"; | ||||
| } | ||||
| leaf usage { | ||||
| type level; | ||||
| description | ||||
| "How is the adjacency used ? | ||||
| On a p2p link this might be level 1 and 2, | ||||
| but on a LAN, the usage will be level 1 | ||||
| between peers at L1 or level 2 between | ||||
| peers at L2."; | ||||
| } | ||||
| leaf hold-timer { | ||||
| type uint16; | ||||
| description | ||||
| "The holding time in seconds for this | ||||
| adjacency. This value is based on | ||||
| received hello PDUs and the elapsed | ||||
| time since receipt."; | ||||
| } | ||||
| leaf neighbor-priority { | ||||
| type uint8 { | ||||
| range "0 .. 127"; | ||||
| } | ||||
| description | ||||
| "Priority of the neighboring IS for becoming | ||||
| the DIS."; | ||||
| } | ||||
| leaf lastuptime { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "When the adjacency most recently entered | ||||
| state 'up', measured in hundredths of a | ||||
| second since the last reinitialization of | ||||
| the network management subsystem. | ||||
| The value is 0 if the adjacency has never | ||||
| been in state 'up'."; | ||||
| } | leaf enable { | |||
| leaf state { | if-feature admin-control; | |||
| type enumeration { | type boolean; | |||
| enum "Up" { | default true; | |||
| description | description | |||
| "This state describes that | "Control the administrative | |||
| adjacency is established."; | state."; | |||
| } | } | |||
| enum "Down" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is NOT established."; | ||||
| } | ||||
| enum "Init" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is establishing."; | ||||
| } | ||||
| enum "Failed" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is failed."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the state of the | ||||
| interface."; | ||||
| } | ||||
| description | description | |||
| "List of operational adjacencies."; | "Grouping for admin control."; | |||
| } | } | |||
| description | ||||
| "This container lists the adjacencies of | ||||
| the local node."; | ||||
| } | ||||
| description | ||||
| "Adjacency state"; | ||||
| } | ||||
| grouping fast-reroute-global-state { | grouping adjacency-state { | |||
| container protected-routes { | container adjacencies { | |||
| list af-stats { | list adjacency { | |||
| key "af prefix alternate"; | leaf neighbor-systype { | |||
| type level; | ||||
| description | ||||
| "Type of neighboring system"; | ||||
| leaf af { | } | |||
| type identityref { | leaf neighbor-sysid { | |||
| base rt:address-family; | type system-id; | |||
| } | description | |||
| description | "The system-id of the neighbor"; | |||
| "Address-family"; | ||||
| } | ||||
| leaf prefix { | ||||
| type string; | ||||
| description | ||||
| "Protected prefix."; | ||||
| } | ||||
| leaf alternate { | ||||
| type string; | ||||
| description | ||||
| "Alternate nexthop for the prefix."; | ||||
| } | ||||
| leaf alternate-type { | ||||
| type enumeration { | ||||
| enum equalcost { | ||||
| description | ||||
| "ECMP alternate."; | ||||
| } | ||||
| enum lfa { | ||||
| description | ||||
| "LFA alternate."; | ||||
| } | ||||
| enum remote-lfa { | ||||
| description | ||||
| "Remote LFA alternate."; | ||||
| } | ||||
| enum tunnel { | ||||
| description | ||||
| "Tunnel based alternate | ||||
| (like RSVP-TE or GRE)."; | ||||
| } | ||||
| enum ti-lfa { | ||||
| description | ||||
| "TI LFA alternate."; | ||||
| } | ||||
| enum mrt { | ||||
| description | ||||
| "MRT alternate."; | ||||
| } | ||||
| enum other { | ||||
| description | ||||
| "Unknown alternate type."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Type of alternate."; | ||||
| } | ||||
| leaf best { | ||||
| type boolean; | ||||
| description | ||||
| "describes if the alternate is the best one."; | ||||
| } | ||||
| leaf non-best-reason { | ||||
| type string; | ||||
| description | ||||
| "Information field to describe why the alternate | ||||
| is not best."; | ||||
| } | ||||
| leaf protection-available { | ||||
| type bits { | ||||
| bit nodeprotect { | ||||
| position 0; | ||||
| description | ||||
| "Node protection available."; | ||||
| } | ||||
| bit linkprotect { | ||||
| position 1; | ||||
| description | ||||
| "Link protection available."; | ||||
| } | ||||
| bit srlgprotect { | ||||
| position 2; | ||||
| description | ||||
| "SRLG protection available."; | ||||
| } | ||||
| bit downstreamprotect { | ||||
| position 3; | ||||
| description | ||||
| "Downstream protection available."; | ||||
| } | ||||
| bit other { | ||||
| position 4; | ||||
| description | ||||
| "Other protection available."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Describes protection provided by the alternate."; | ||||
| } | ||||
| leaf alternate-metric1 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from PLR to destination | ||||
| through the alternate path."; | ||||
| } | ||||
| leaf alternate-metric2 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from PLR to the alternate node"; | ||||
| } | ||||
| leaf alternate-metric3 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from alternate node to the destination"; | ||||
| } | ||||
| description | } | |||
| "Per AF statistics."; | leaf neighbor-extended-circuit-id { | |||
| } | type extended-circuit-id; | |||
| description | description | |||
| "List of prefixes that are protected."; | "Circuit ID of the neighbor"; | |||
| } | } | |||
| leaf neighbor-snpa { | ||||
| type snpa; | ||||
| description | ||||
| "SNPA of the neighbor"; | ||||
| } | ||||
| leaf usage { | ||||
| type level; | ||||
| description | ||||
| "How is the adjacency used ? | ||||
| On a p2p link this might be level 1 and 2, | ||||
| but on a LAN, the usage will be level 1 | ||||
| between peers at L1 or level 2 between | ||||
| peers at L2."; | ||||
| } | ||||
| leaf hold-timer { | ||||
| type uint16; | ||||
| description | ||||
| "The holding time in seconds for this | ||||
| adjacency. This value is based on | ||||
| received hello PDUs and the elapsed | ||||
| time since receipt."; | ||||
| } | ||||
| leaf neighbor-priority { | ||||
| type uint8 { | ||||
| range "0 .. 127"; | ||||
| } | ||||
| description | ||||
| "Priority of the neighboring IS for becoming | ||||
| the DIS."; | ||||
| } | ||||
| leaf lastuptime { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "When the adjacency most recently entered | ||||
| state 'up', measured in hundredths of a | ||||
| second since the last reinitialization of | ||||
| the network management subsystem. | ||||
| The value is 0 if the adjacency has never | ||||
| been in state 'up'."; | ||||
| container nonprotected-routes { | } | |||
| list af-stats { | leaf state { | |||
| key "af prefix"; | type enumeration { | |||
| enum "Up" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is established."; | ||||
| } | ||||
| enum "Down" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is NOT established."; | ||||
| } | ||||
| enum "Init" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is establishing."; | ||||
| } | ||||
| enum "Failed" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is failed."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the state of the | ||||
| interface."; | ||||
| } | ||||
| leaf af { | description | |||
| type identityref { | "List of operational adjacencies."; | |||
| base rt:address-family; | } | |||
| } | description | |||
| description | "This container lists the adjacencies of | |||
| "Address-family"; | the local node."; | |||
| } | } | |||
| leaf prefix { | description | |||
| type string; | "Adjacency state"; | |||
| description | ||||
| "Protected prefix."; | ||||
| } | ||||
| description | ||||
| "Per AF statistics."; | ||||
| } | ||||
| description | ||||
| "List of prefixes that are not protected."; | ||||
| } | ||||
| list protection-statistics { | } | |||
| key frr-protection-method; | ||||
| leaf frr-protection-method { | grouping fast-reroute-global-state { | |||
| type string; | container protected-routes { | |||
| description | list af-stats { | |||
| "Protection method used."; | key "af prefix alternate"; | |||
| } | ||||
| list af-stats { | ||||
| key af; | ||||
| leaf af { | leaf af { | |||
| type identityref { | type identityref { | |||
| base rt:address-family; | base rt:address-family; | |||
| } | } | |||
| description | description | |||
| "Address-family"; | "Address-family"; | |||
| } | } | |||
| leaf total-routes { | leaf prefix { | |||
| type uint32; | type string; | |||
| description | description | |||
| "Total prefixes."; | "Protected prefix."; | |||
| } | } | |||
| leaf unprotected-routes { | leaf alternate { | |||
| type uint32; | type string; | |||
| description | description | |||
| "Total of prefixes who are | "Alternate nexthop for the prefix."; | |||
| not protected."; | } | |||
| } | leaf alternate-type { | |||
| leaf protected-routes { | type enumeration { | |||
| type uint32; | enum equalcost { | |||
| description | description | |||
| "Total of prefixes who are | "ECMP alternate."; | |||
| protected."; | } | |||
| } | enum lfa { | |||
| leaf linkprotected-routes { | description | |||
| type uint32; | "LFA alternate."; | |||
| description | } | |||
| "Total of prefixes who are | enum remote-lfa { | |||
| link protected."; | description | |||
| } | "Remote LFA alternate."; | |||
| leaf nodeprotected-routes { | } | |||
| type uint32; | enum tunnel { | |||
| description | description | |||
| "Total of prefixes who are | "Tunnel based alternate | |||
| node protected."; | (like RSVP-TE or GRE)."; | |||
| } | } | |||
| description | enum ti-lfa { | |||
| "Per AF statistics."; | description | |||
| } | "TI LFA alternate."; | |||
| description | } | |||
| "Global protection statistics."; | enum mrt { | |||
| } | description | |||
| description | "MRT alternate."; | |||
| "IPFRR states."; | } | |||
| } | enum other { | |||
| description | ||||
| "Unknown alternate type."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Type of alternate."; | ||||
| } | ||||
| leaf best { | ||||
| type boolean; | ||||
| description | ||||
| "describes if the alternate is the best one."; | ||||
| } | ||||
| leaf non-best-reason { | ||||
| type string; | ||||
| description | ||||
| "Information field to describe why the alternate | ||||
| is not best."; | ||||
| } | ||||
| leaf protection-available { | ||||
| type bits { | ||||
| bit nodeprotect { | ||||
| position 0; | ||||
| description | ||||
| "Node protection available."; | ||||
| } | ||||
| bit linkprotect { | ||||
| position 1; | ||||
| description | ||||
| "Link protection available."; | ||||
| } | ||||
| bit srlgprotect { | ||||
| position 2; | ||||
| description | ||||
| "SRLG protection available."; | ||||
| } | ||||
| bit downstreamprotect { | ||||
| position 3; | ||||
| description | ||||
| "Downstream protection available."; | ||||
| } | ||||
| bit other { | ||||
| position 4; | ||||
| description | ||||
| "Other protection available."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Describes protection provided by the alternate."; | ||||
| } | ||||
| leaf alternate-metric1 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from PLR to destination | ||||
| through the alternate path."; | ||||
| } | ||||
| leaf alternate-metric2 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from PLR to the alternate node"; | ||||
| } | ||||
| leaf alternate-metric3 { | ||||
| type uint32; | ||||
| description | ||||
| "Metric from alternate node to the destination"; | ||||
| } | ||||
| grouping notification-instance-hdr { | description | |||
| description | "Per AF statistics."; | |||
| "This group describes common instance specific | } | |||
| data for notifications."; | description | |||
| leaf instance-name { | "List of prefixes that are protected."; | |||
| type string; | } | |||
| description | ||||
| "Describes the name of the ISIS instance."; | ||||
| } | ||||
| leaf instance-level { | ||||
| type level; | ||||
| description | ||||
| "Describes the ISIS level of the instance."; | ||||
| } | ||||
| } | ||||
| grouping notification-interface-hdr { | container nonprotected-routes { | |||
| description | list af-stats { | |||
| "This group describes common interface specific | key "af prefix"; | |||
| data for notifications."; | ||||
| leaf interface-name { | ||||
| type string; | ||||
| description | ||||
| "Describes the name of the ISIS interface."; | ||||
| } | ||||
| leaf interface-level { | ||||
| type level; | ||||
| description | ||||
| "Describes the ISIS level of the interface."; | ||||
| } | ||||
| leaf extended-circuit-id { | ||||
| type extended-circuit-id; | ||||
| description | ||||
| "Describes the extended circuit-id of the interface."; | ||||
| } | ||||
| } | ||||
| grouping route-content { | leaf af { | |||
| description | type identityref { | |||
| "This group add isis-specific route properties."; | base rt:address-family; | |||
| leaf metric { | } | |||
| type uint32; | description | |||
| description | "Address-family"; | |||
| "This leaf describes ISIS metric of a route."; | } | |||
| } | leaf prefix { | |||
| leaf-list tag { | type string; | |||
| type uint64; | description | |||
| description | "Protected prefix."; | |||
| "This leaf describes list of tags associated | } | |||
| with the route. The leaf describes both | description | |||
| 32bits and 64bits tags."; | "Per AF statistics."; | |||
| } | } | |||
| leaf route-type { | description | |||
| type enumeration { | "List of prefixes that are not protected."; | |||
| enum l2-up-internal { | } | |||
| description "Level 2 internal route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l1-up-internal { | ||||
| description "Level 1 internal route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l2-up-external { | ||||
| description "Level 2 external route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l1-up-external { | ||||
| description "Level 1 external route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l2-down-internal { | ||||
| description "Level 2 internal route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l1-down-internal { | ||||
| description "Level 1 internal route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l2-down-external { | ||||
| description "Level 2 external route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l1-down-external { | ||||
| description "Level 1 external route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of ISIS route."; | ||||
| } | ||||
| } | ||||
| grouping fast-reroute-global-cfg { | list protection-statistics { | |||
| description | key frr-protection-method; | |||
| "This group defines global | ||||
| configuration of IPFRR."; | ||||
| container lfa { | leaf frr-protection-method { | |||
| if-feature lfa; | type string; | |||
| description | description | |||
| "This container may be | "Protection method used."; | |||
| augmented with global parameters | } | |||
| for LFA. | list af-stats { | |||
| Creating the container has no effect on | key af; | |||
| LFA activation."; | ||||
| } | ||||
| } | leaf af { | |||
| type identityref { | ||||
| base rt:address-family; | ||||
| } | ||||
| description | ||||
| "Address-family"; | ||||
| } | ||||
| leaf total-routes { | ||||
| type uint32; | ||||
| description | ||||
| "Total prefixes."; | ||||
| } | ||||
| leaf unprotected-routes { | ||||
| type uint32; | ||||
| description | ||||
| "Total of prefixes who are | ||||
| not protected."; | ||||
| } | ||||
| leaf protected-routes { | ||||
| type uint32; | ||||
| description | ||||
| "Total of prefixes who are | ||||
| protected."; | ||||
| } | ||||
| leaf linkprotected-routes { | ||||
| type uint32; | ||||
| description | ||||
| "Total of prefixes who are | ||||
| link protected."; | ||||
| } | ||||
| leaf nodeprotected-routes { | ||||
| type uint32; | ||||
| description | ||||
| "Total of prefixes who are | ||||
| node protected."; | ||||
| } | ||||
| description | ||||
| "Per AF statistics."; | ||||
| } | ||||
| grouping fast-reroute-if-cfg { | description | |||
| description | "Global protection statistics."; | |||
| "This group defines interface | } | |||
| configuration of IPFRR."; | description | |||
| "IPFRR states."; | ||||
| } | ||||
| list lfa { | grouping notification-instance-hdr { | |||
| if-feature lfa; | description | |||
| "This group describes common instance specific | ||||
| data for notifications."; | ||||
| leaf instance-name { | ||||
| type string; | ||||
| description | ||||
| "Describes the name of the ISIS instance."; | ||||
| } | ||||
| leaf instance-level { | ||||
| type level; | ||||
| description | ||||
| "Describes the ISIS level of the instance."; | ||||
| } | ||||
| } | ||||
| key level; | grouping notification-interface-hdr { | |||
| description | ||||
| "This group describes common interface specific | ||||
| data for notifications."; | ||||
| leaf interface-name { | ||||
| type string; | ||||
| description | ||||
| "Describes the name of the ISIS interface."; | ||||
| } | ||||
| leaf interface-level { | ||||
| type level; | ||||
| description | ||||
| "Describes the ISIS level of the interface."; | ||||
| } | ||||
| leaf extended-circuit-id { | ||||
| type extended-circuit-id; | ||||
| description | ||||
| "Describes the extended circuit-id of the interface."; | ||||
| } | ||||
| } | ||||
| leaf candidate-disabled { | grouping route-content { | |||
| type boolean; | description | |||
| default false; | "This group add isis-specific route properties."; | |||
| description | leaf metric { | |||
| "Prevent the interface to be used as backup."; | type uint32; | |||
| } | description | |||
| leaf enable { | "This leaf describes ISIS metric of a route."; | |||
| type boolean; | } | |||
| description | leaf-list tag { | |||
| "Activates LFA. | type uint64; | |||
| This model assumes activation | description | |||
| of per-prefix LFA."; | "This leaf describes list of tags associated | |||
| } | with the route. The leaf describes both | |||
| 32bits and 64bits tags."; | ||||
| } | ||||
| leaf route-type { | ||||
| type enumeration { | ||||
| enum l2-up-internal { | ||||
| description "Level 2 internal route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l1-up-internal { | ||||
| description "Level 1 internal route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l2-up-external { | ||||
| description "Level 2 external route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l1-up-external { | ||||
| description "Level 1 external route | ||||
| and not leaked to a lower level"; | ||||
| } | ||||
| enum l2-down-internal { | ||||
| description "Level 2 internal route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l1-down-internal { | ||||
| description "Level 1 internal route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l2-down-external { | ||||
| description "Level 2 external route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| enum l1-down-external { | ||||
| description "Level 1 external route | ||||
| and leaked to a lower level"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of ISIS route."; | ||||
| } | ||||
| } | ||||
| container remote-lfa { | grouping fast-reroute-global-cfg { | |||
| if-feature remote-lfa; | description | |||
| leaf enable { | "This group defines global | |||
| type boolean; | configuration of IPFRR."; | |||
| description | ||||
| "Activates rLFA."; | ||||
| } | ||||
| description | ||||
| "remote LFA configuration."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "LFA configuration."; | ||||
| } | ||||
| } | container lfa { | |||
| if-feature lfa; | ||||
| description | ||||
| "This container may be | ||||
| augmented with global parameters | ||||
| for LFA. | ||||
| Creating the container has no effect on | ||||
| LFA activation."; | ||||
| } | ||||
| grouping prefix-ipv4-std { | } | |||
| description | ||||
| "This group defines attributes of an | ||||
| IPv4 standard prefix."; | ||||
| leaf up-down { | ||||
| type boolean; | ||||
| description | ||||
| "This leaf expresses the value of up/down bit."; | ||||
| } | ||||
| leaf i-e { | ||||
| type boolean; | ||||
| description | ||||
| "This leaf expresses the value of I/E bit."; | ||||
| } | ||||
| leaf ip-prefix { | ||||
| type inet:ipv4-address; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix"; | ||||
| } | ||||
| leaf prefix-len { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix len in bits"; | ||||
| } | ||||
| leaf default-metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS default metric value"; | ||||
| } | ||||
| container delay-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | grouping fast-reroute-if-cfg { | |||
| "This container defines the ISIS delay metric."; | description | |||
| } | "This group defines interface | |||
| container expense-metric { | configuration of IPFRR."; | |||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS expense metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS expense metric."; | ||||
| } | ||||
| container error-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS error metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | list lfa { | |||
| "This container defines the ISIS error metric."; | if-feature lfa; | |||
| } | ||||
| } | ||||
| grouping prefix-ipv4-extended { | key level; | |||
| description | ||||
| "This group defines attributes of an | ||||
| IPv4 extended prefix."; | ||||
| leaf up-down { | ||||
| type boolean; | ||||
| description | ||||
| "This leaf expresses the value of up/down bit."; | ||||
| } | ||||
| leaf ip-prefix { | ||||
| type inet:ipv4-address; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix"; | ||||
| } | ||||
| leaf prefix-len { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix len in bits"; | ||||
| } | ||||
| leaf metric { | leaf candidate-disabled { | |||
| type wide-metric; | type boolean; | |||
| description | default false; | |||
| "This leaf describes the ISIS metric value"; | description | |||
| } | "Prevent the interface to be used as backup."; | |||
| leaf-list tag { | } | |||
| type uint32; | leaf enable { | |||
| description | type boolean; | |||
| "This leaf describes a list of tags associated with | description | |||
| the prefix."; | "Activates LFA. | |||
| } | This model assumes activation | |||
| leaf-list tag64 { | of per-prefix LFA."; | |||
| type uint64; | } | |||
| description | ||||
| "This leaf describes a list of 64-bit tags associated with | ||||
| the prefix."; | ||||
| } | ||||
| } | container remote-lfa { | |||
| if-feature remote-lfa; | ||||
| leaf enable { | ||||
| type boolean; | ||||
| description | ||||
| "Activates rLFA."; | ||||
| } | ||||
| description | ||||
| "remote LFA configuration."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "LFA configuration."; | ||||
| } | ||||
| grouping prefix-ipv6-extended { | } | |||
| description | ||||
| "This group defines attributes of an | ||||
| IPv6 prefix."; | ||||
| leaf up-down { | ||||
| type boolean; | ||||
| description | ||||
| "This leaf expresses the value of up/down bit."; | ||||
| } | ||||
| leaf ip-prefix { | ||||
| type inet:ipv6-address; | ||||
| description | ||||
| "This leaf describes the IPv6 prefix"; | ||||
| } | ||||
| leaf prefix-len { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix len in bits"; | ||||
| } | ||||
| leaf metric { | grouping prefix-ipv4-std { | |||
| type wide-metric; | description | |||
| description | "This group defines attributes of an | |||
| "This leaf describes the ISIS metric value"; | IPv4 standard prefix."; | |||
| } | leaf up-down { | |||
| leaf-list tag { | type boolean; | |||
| type uint32; | description | |||
| description | "This leaf expresses the value of up/down bit."; | |||
| "This leaf describes a list of tags associated with | } | |||
| the prefix."; | leaf i-e { | |||
| } | type boolean; | |||
| leaf-list tag64 { | description | |||
| type uint64; | "This leaf expresses the value of I/E bit."; | |||
| description | } | |||
| "This leaf describes a list of 64-bit tags associated with | leaf ip-prefix { | |||
| the prefix."; | type inet:ipv4-address; | |||
| } | description | |||
| "This leaf describes the IPv4 prefix"; | ||||
| } | } | |||
| leaf prefix-len { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix len in bits"; | ||||
| } | ||||
| leaf default-metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS default metric value"; | ||||
| } | ||||
| container delay-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| grouping neighbor-extended { | description | |||
| description | "This container defines the ISIS delay metric."; | |||
| "This group defines attributes of an | } | |||
| ISIS extended neighbor."; | container expense-metric { | |||
| leaf neighbor-id { | leaf metric { | |||
| type system-id; | type std-metric; | |||
| description | description | |||
| "This leaf describes the system-id of the neighbor."; | "This leaf describes the ISIS expense metric value"; | |||
| } | } | |||
| leaf metric { | leaf supported { | |||
| type wide-metric; | type boolean; | |||
| description | default "false"; | |||
| "This leaf describes the ISIS metric value"; | description | |||
| } | "This leaf describes if the metric is supported."; | |||
| } | ||||
| description | ||||
| "This container defines the ISIS expense metric."; | ||||
| } | ||||
| container error-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS error metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| } | description | |||
| "This container defines the ISIS error metric."; | ||||
| } | ||||
| } | ||||
| grouping neighbor { | grouping prefix-ipv4-extended { | |||
| description | description | |||
| "This group defines attributes of an | "This group defines attributes of an | |||
| ISIS standard neighbor."; | IPv4 extended prefix."; | |||
| leaf neighbor-id { | leaf up-down { | |||
| type system-id; | type boolean; | |||
| description | description | |||
| "This leaf describes the system-id of the neighbor."; | "This leaf expresses the value of up/down bit."; | |||
| } | } | |||
| leaf i-e { | leaf ip-prefix { | |||
| type boolean; | type inet:ipv4-address; | |||
| description | description | |||
| "This leaf expresses the value of I/E bit."; | "This leaf describes the IPv4 prefix"; | |||
| } | } | |||
| leaf default-metric { | leaf prefix-len { | |||
| type std-metric; | type uint8; | |||
| description | description | |||
| "This leaf describes the ISIS default metric value"; | "This leaf describes the IPv4 prefix len in bits"; | |||
| } | } | |||
| container delay-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS delay metric."; | ||||
| } | ||||
| container expense-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay expense value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS expense metric."; | ||||
| } | ||||
| container error-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS error metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS error metric."; | ||||
| } | ||||
| } | ||||
| grouping database { | leaf metric { | |||
| description | type wide-metric; | |||
| "This group defines attributes of an | description | |||
| ISIS database (Link State DB)."; | "This leaf describes the ISIS metric value"; | |||
| leaf lsp-id { | } | |||
| type lsp-id; | leaf-list tag { | |||
| description | type uint32; | |||
| "This leaf describes the LSP ID of the LSP."; | description | |||
| } | "This leaf describes a list of tags associated with | |||
| leaf checksum { | the prefix."; | |||
| type uint16; | } | |||
| description | leaf-list tag64 { | |||
| "This leaf describes the checksum of the LSP."; | type uint64; | |||
| } | description | |||
| leaf remaining-lifetime { | "This leaf describes a list of 64-bit tags associated with | |||
| type uint16; | the prefix."; | |||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the remaining lifetime | ||||
| in seconds before the LSP expiration."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "This leaf describes the sequence number of the LSP."; | ||||
| } | ||||
| leaf attributes { | ||||
| type bits { | ||||
| bit PARTITIONNED { | ||||
| description | ||||
| "If set, the originator supports partition | ||||
| repair."; | ||||
| } | ||||
| bit ATTACHED-ERROR { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-EXPENSE { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-DELAY { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-DEFAULT { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit OVERLOAD { | ||||
| description | ||||
| "If set, the originator is overloaded, | ||||
| and must be avoided in path calculation."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes attributes of the LSP."; | ||||
| } | ||||
| container is-neighbor { | } | |||
| list neighbor { | ||||
| key "neighbor-id"; | ||||
| uses neighbor; | ||||
| description | ||||
| "List of neighbors."; | ||||
| } | ||||
| description | ||||
| "This leaf describes list of ISIS neighbors. | ||||
| ISIS reference is TLV 2."; | ||||
| } | ||||
| container authentication { | } | |||
| leaf authentication-type { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the authentication type | ||||
| to be used."; | ||||
| } | ||||
| leaf authentication-key { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the authentication key | ||||
| to be used. For security reason, the | ||||
| authentication key MUST NOT be presented | ||||
| in plaintext format. Authors recommends | ||||
| to use MD5 hash to present the authentication-key."; | ||||
| } | ||||
| description "This container describes authentication | ||||
| information of the node. ISIS reference is TLV 10."; | ||||
| } | ||||
| container extended-is-neighbor { | grouping prefix-ipv6-extended { | |||
| list neighbor { | description | |||
| uses neighbor-extended; | "This group defines attributes of an | |||
| description | IPv6 prefix."; | |||
| "List of neighbors."; | leaf up-down { | |||
| } | type boolean; | |||
| description | description | |||
| "This container describes list of ISIS extended | "This leaf expresses the value of up/down bit."; | |||
| neighbors. | } | |||
| ISIS reference is TLV 22."; | leaf ip-prefix { | |||
| } | type inet:ipv6-address; | |||
| description | ||||
| "This leaf describes the IPv6 prefix"; | ||||
| } | ||||
| leaf prefix-len { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf describes the IPv4 prefix len in bits"; | ||||
| } | ||||
| container ipv4-internal-reachability { | leaf metric { | |||
| list prefixes { | type wide-metric; | |||
| uses prefix-ipv4-std; | description | |||
| description | "This leaf describes the ISIS metric value"; | |||
| "List of prefixes."; | } | |||
| } | leaf-list tag { | |||
| description | type uint32; | |||
| "This container describes list of IPv4 internal | description | |||
| reachability information. | "This leaf describes a list of tags associated with | |||
| ISIS reference is TLV 128."; | the prefix."; | |||
| } | } | |||
| leaf-list tag64 { | ||||
| type uint64; | ||||
| description | ||||
| "This leaf describes a list of 64-bit tags associated with | ||||
| the prefix."; | ||||
| } | ||||
| leaf-list protocol-supported { | } | |||
| type uint8; | ||||
| description | ||||
| "This leaf describes the list of | ||||
| supported protocols. | ||||
| ISIS reference is TLV 129."; | ||||
| } | ||||
| container ipv4-external-reachability { | grouping neighbor-extended { | |||
| list prefixes { | description | |||
| uses prefix-ipv4-std; | "This group defines attributes of an | |||
| description | ISIS extended neighbor."; | |||
| "List of prefixes."; | ||||
| } | ||||
| description | ||||
| "This container describes list of IPv4 external | ||||
| reachability information. | ||||
| ISIS reference is TLV 130."; | ||||
| } | ||||
| leaf-list ipv4-addresses { | leaf neighbor-id { | |||
| type inet:ipv4-address; | type system-id; | |||
| description | description | |||
| "This leaf describes the IPv4 addresses of the node. | "This leaf describes the system-id of the neighbor."; | |||
| ISIS reference is TLV 132."; | } | |||
| } | leaf metric { | |||
| type wide-metric; | ||||
| description | ||||
| "This leaf describes the ISIS metric value"; | ||||
| } | ||||
| leaf ipv4-te-routerid { | } | |||
| type inet:ipv4-address; | grouping neighbor { | |||
| description | description | |||
| "This leaf describes the IPv4 Traffic Engineering | "This group defines attributes of an | |||
| router ID of the node. | ISIS standard neighbor."; | |||
| ISIS reference is TLV 134."; | leaf neighbor-id { | |||
| } | type system-id; | |||
| description | ||||
| "This leaf describes the system-id of the neighbor."; | ||||
| } | ||||
| leaf i-e { | ||||
| type boolean; | ||||
| description | ||||
| "This leaf expresses the value of I/E bit."; | ||||
| } | ||||
| leaf default-metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS default metric value"; | ||||
| } | ||||
| container delay-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS delay metric."; | ||||
| } | ||||
| container expense-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS delay expense value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS expense metric."; | ||||
| } | ||||
| container error-metric { | ||||
| leaf metric { | ||||
| type std-metric; | ||||
| description | ||||
| "This leaf describes the ISIS error metric value"; | ||||
| } | ||||
| leaf supported { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf describes if the metric is supported."; | ||||
| } | ||||
| description | ||||
| "This container defines the ISIS error metric."; | ||||
| } | ||||
| } | ||||
| container extended-ipv4-reachability { | grouping database { | |||
| description | ||||
| "This group defines attributes of an | ||||
| ISIS database (Link State DB)."; | ||||
| leaf lsp-id { | ||||
| type lsp-id; | ||||
| description | ||||
| "This leaf describes the LSP ID of the LSP."; | ||||
| } | ||||
| leaf checksum { | ||||
| type uint16; | ||||
| description | ||||
| "This leaf describes the checksum of the LSP."; | ||||
| } | ||||
| leaf remaining-lifetime { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the remaining lifetime | ||||
| in seconds before the LSP expiration."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "This leaf describes the sequence number of the LSP."; | ||||
| } | ||||
| leaf attributes { | ||||
| type bits { | ||||
| bit PARTITIONNED { | ||||
| description | ||||
| "If set, the originator supports partition | ||||
| repair."; | ||||
| } | ||||
| bit ATTACHED-ERROR { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-EXPENSE { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-DELAY { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit ATTACHED-DEFAULT { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| bit OVERLOAD { | ||||
| description | ||||
| "If set, the originator is overloaded, | ||||
| and must be avoided in path calculation."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes attributes of the LSP."; | ||||
| } | ||||
| list prefixes { | container is-neighbor { | |||
| uses prefix-ipv4-extended; | list neighbor { | |||
| description | uses neighbor; | |||
| "List of prefixes."; | description | |||
| } | "List of neighbors."; | |||
| description | } | |||
| "This container describes list of IPv4 extended | description | |||
| reachability information. | "This leaf describes list of ISIS neighbors. | |||
| ISIS reference is TLV 135."; | ISIS reference is TLV 2."; | |||
| } | } | |||
| leaf dynamic-hostname { | container authentication { | |||
| type string; | leaf authentication-type { | |||
| type string; | ||||
| description | ||||
| "This leaf describes the authentication type | ||||
| to be used."; | ||||
| } | ||||
| leaf authentication-key { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the authentication key | ||||
| to be used. For security reason, the | ||||
| authentication key MUST NOT be presented | ||||
| in plaintext format. Authors recommends | ||||
| to use MD5 hash to present the authentication-key."; | ||||
| } | ||||
| description "This container describes authentication | ||||
| information of the node. ISIS reference is TLV 10."; | ||||
| } | ||||
| description | container extended-is-neighbor { | |||
| "This leaf describes the name of the node. | list neighbor { | |||
| ISIS reference is TLV 137."; | uses neighbor-extended; | |||
| } | description | |||
| "List of neighbors."; | ||||
| } | ||||
| description | ||||
| "This container describes list of ISIS extended | ||||
| neighbors. | ||||
| ISIS reference is TLV 22."; | ||||
| } | ||||
| leaf ipv6-te-routerid { | container ipv4-internal-reachability { | |||
| type inet:ipv6-address; | list prefixes { | |||
| description | uses prefix-ipv4-std; | |||
| "This leaf describes the IPv6 Traffic Engineering | description | |||
| router ID of the node. | "List of prefixes."; | |||
| ISIS reference is TLV 140."; | } | |||
| } | description | |||
| "This container describes list of IPv4 internal | ||||
| reachability information. | ||||
| ISIS reference is TLV 128."; | ||||
| } | ||||
| container mt-is-neighbor { | leaf-list protocol-supported { | |||
| list neighbor { | type uint8; | |||
| leaf MT-ID { | description | |||
| type uint16 { | "This leaf describes the list of | |||
| range "0 .. 4095"; | supported protocols. | |||
| } | ISIS reference is TLV 129."; | |||
| description | } | |||
| "This leaf defines the identifier | ||||
| of a topology."; | ||||
| } | ||||
| uses neighbor-extended; | ||||
| description | ||||
| "List of neighbors."; | ||||
| } | ||||
| description | ||||
| "This container describes list of ISIS multi-topology | ||||
| neighbors. | ||||
| ISIS reference is TLV 223."; | ||||
| } | ||||
| container mt-entries { | container ipv4-external-reachability { | |||
| list topology { | list prefixes { | |||
| uses prefix-ipv4-std; | ||||
| description | ||||
| "List of prefixes."; | ||||
| } | ||||
| description | ||||
| "This container describes list of IPv4 external | ||||
| reachability information. | ||||
| ISIS reference is TLV 130."; | ||||
| } | ||||
| leaf MT-ID { | leaf-list ipv4-addresses { | |||
| type uint16 { | type inet:ipv4-address; | |||
| range "0 .. 4095"; | description | |||
| } | "This leaf describes the IPv4 addresses of the node. | |||
| description | ISIS reference is TLV 132."; | |||
| "This leaf defines the identifier | } | |||
| of a topology."; | ||||
| } | ||||
| leaf attributes { | leaf ipv4-te-routerid { | |||
| type bits { | ||||
| bit OVERLOAD { | ||||
| description | ||||
| "If set, the originator is overloaded, | ||||
| and must be avoided in path | ||||
| calculation."; | ||||
| } | ||||
| bit ATTACHED { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes attributes of the LSP | ||||
| for the associated topology."; | ||||
| } | ||||
| description | ||||
| "List of topologies supported."; | ||||
| } | ||||
| description | ||||
| "This container describes the topology supported. | ||||
| ISIS reference is TLV 229."; | ||||
| } | ||||
| leaf-list ipv6-addresses { | type inet:ipv4-address; | |||
| type inet:ipv6-address; | description | |||
| description | "This leaf describes the IPv4 Traffic Engineering | |||
| "This leaf describes the IPv6 interface | router ID of the node. | |||
| addresses of the node. | ISIS reference is TLV 134."; | |||
| ISIS reference is TLV 232."; | } | |||
| } | ||||
| container mt-extended-ipv4-reachability { | container extended-ipv4-reachability { | |||
| list prefixes { | ||||
| leaf MT-ID { | ||||
| type uint16 { | ||||
| range "0 .. 4095"; | ||||
| } | ||||
| description | ||||
| "This leaf defines the identifier | ||||
| of a topology."; | ||||
| } | ||||
| uses prefix-ipv4-extended; | ||||
| description | ||||
| "List of prefixes."; | ||||
| } | list prefixes { | |||
| description | uses prefix-ipv4-extended; | |||
| "This container describes list of IPv4 | description | |||
| reachability information in multi-topology | "List of prefixes."; | |||
| environment. | ||||
| ISIS reference is TLV 235."; | ||||
| } | } | |||
| description | ||||
| "This container describes list of IPv4 extended | ||||
| reachability information. | ||||
| ISIS reference is TLV 135."; | ||||
| } | ||||
| container mt-ipv6-reachability { | leaf dynamic-hostname { | |||
| list prefixes { | type string; | |||
| leaf MT-ID { | ||||
| type uint16 { | ||||
| range "0 .. 4095"; | ||||
| } | ||||
| description | ||||
| "This leaf defines the identifier | ||||
| of a topology."; | ||||
| } | ||||
| uses prefix-ipv6-extended; | ||||
| description | ||||
| "List of prefixes."; | ||||
| } | ||||
| description | ||||
| "This container describes list of IPv6 | ||||
| reachability information in multi-topology | ||||
| environment. | ||||
| ISIS reference is TLV 237."; | ||||
| } | ||||
| container ipv6-reachability { | description | |||
| list prefixes { | "This leaf describes the name of the node. | |||
| uses prefix-ipv6-extended; | ISIS reference is TLV 137."; | |||
| description | } | |||
| "List of prefixes."; | ||||
| } | ||||
| description | ||||
| "This container describes list of IPv6 | ||||
| reachability information. | ||||
| ISIS reference is TLV 236."; | ||||
| } | ||||
| list router-capabilities { | leaf ipv6-te-routerid { | |||
| leaf flags { | type inet:ipv6-address; | |||
| type bits { | description | |||
| bit flooding { | "This leaf describes the IPv6 Traffic Engineering | |||
| position 0; | router ID of the node. | |||
| description | ISIS reference is TLV 140."; | |||
| "If the S bit is set(1), | } | |||
| the IS-IS Router CAPABILITY TLV | ||||
| MUST be flooded across the entire routing domain. | ||||
| If the S bit is | ||||
| not set(0), the TLV MUST NOT be leaked between levels. | ||||
| This bit MUST NOT be altered during the TLV leaking."; | container mt-is-neighbor { | |||
| } | list neighbor { | |||
| bit down { | leaf MT-ID { | |||
| position 1; | type uint16 { | |||
| description | range "0 .. 4095"; | |||
| "When the IS-IS Router CAPABILITY TLV is | } | |||
| leaked from level-2 to level-1, the D bit | description | |||
| MUST be set. Otherwise, this bit MUST | "This leaf defines the identifier | |||
| be clear. IS-IS Router capability TLVs | of a topology."; | |||
| with the D bit set MUST NOT | } | |||
| be leaked from level-1 to level-2. | uses neighbor-extended; | |||
| This is to prevent TLV looping. | description | |||
| "; | "List of neighbors."; | |||
| } | } | |||
| } | description | |||
| description | "This container describes list of ISIS multi-topology | |||
| "Flags associated with router capability."; | neighbors. | |||
| } | ISIS reference is TLV 223."; | |||
| container node-tag { | } | |||
| if-feature node-tag; | ||||
| list node-tag { | ||||
| leaf tag { | ||||
| type uint32; | ||||
| description | ||||
| "Node tag value."; | ||||
| } | ||||
| description | ||||
| "List of tags."; | ||||
| } | ||||
| description | ||||
| "Container for node tags."; | ||||
| } | ||||
| leaf binary { | container mt-entries { | |||
| type binary; | list topology { | |||
| description | ||||
| "This leaf describes the capability of the node. | ||||
| Format is binary according to the protocol encoding."; | ||||
| } | ||||
| description | ||||
| "This container describes the capabilities of the node. | ||||
| This container may be extended with detailed | ||||
| information. | ||||
| ISIS reference is TLV 242."; | ||||
| } | ||||
| } | ||||
| grouping isis-node-tag-cfg { | leaf MT-ID { | |||
| description | type uint16 { | |||
| "ISIS node tag config."; | range "0 .. 4095"; | |||
| container node-tag { | } | |||
| if-feature node-tag; | description | |||
| list node-tag { | "This leaf defines the identifier | |||
| key tag; | of a topology."; | |||
| leaf tag { | } | |||
| type uint32; | ||||
| description | ||||
| "Node tag value."; | ||||
| } | ||||
| description | ||||
| "List of tags."; | ||||
| } | ||||
| description | ||||
| "Container for node tags."; | ||||
| } | ||||
| } | ||||
| grouping isis-global-cfg { | leaf attributes { | |||
| description | type bits { | |||
| "Defines the ISIS global configuration."; | bit OVERLOAD { | |||
| description | ||||
| "If set, the originator is overloaded, | ||||
| and must be avoided in path | ||||
| calculation."; | ||||
| } | ||||
| bit ATTACHED { | ||||
| description | ||||
| "If set, the originator is attached to | ||||
| another area using the referred metric."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes attributes of the LSP | ||||
| for the associated topology."; | ||||
| } | ||||
| description | ||||
| "List of topologies supported."; | ||||
| } | ||||
| description | ||||
| "This container describes the topology supported. | ||||
| ISIS reference is TLV 229."; | ||||
| } | ||||
| uses admin-control; | leaf-list ipv6-addresses { | |||
| type inet:ipv6-address; | ||||
| description | ||||
| "This leaf describes the IPv6 interface | ||||
| addresses of the node. | ||||
| ISIS reference is TLV 232."; | ||||
| } | ||||
| leaf level-type { | container mt-extended-ipv4-reachability { | |||
| type level; | list prefixes { | |||
| default "level-all"; | leaf MT-ID { | |||
| description | type uint16 { | |||
| "This leaf describes the type of ISIS node. | range "0 .. 4095"; | |||
| A node can be level-1-only, level-2-only | } | |||
| or level-1-2. | description | |||
| "; | "This leaf defines the identifier | |||
| } | of a topology."; | |||
| } | ||||
| uses prefix-ipv4-extended; | ||||
| description | ||||
| "List of prefixes."; | ||||
| leaf system-id { | } | |||
| type system-id; | description | |||
| description | "This container describes list of IPv4 | |||
| "This leaf defines the system-id of the node."; | reachability information in multi-topology | |||
| } | environment. | |||
| ISIS reference is TLV 235."; | ||||
| } | ||||
| leaf maximum-area-addresses { | container mt-ipv6-reachability { | |||
| if-feature maximum-area-addresses; | list prefixes { | |||
| type uint8; | leaf MT-ID { | |||
| default 3; | type uint16 { | |||
| description | range "0 .. 4095"; | |||
| "Defines the maximum areas supported."; | } | |||
| } | description | |||
| "This leaf defines the identifier | ||||
| of a topology."; | ||||
| } | ||||
| uses prefix-ipv6-extended; | ||||
| description | ||||
| "List of prefixes."; | ||||
| } | ||||
| description | ||||
| "This container describes list of IPv6 | ||||
| reachability information in multi-topology | ||||
| environment. | ||||
| ISIS reference is TLV 237."; | ||||
| } | ||||
| leaf-list area-address { | container ipv6-reachability { | |||
| type area-address; | list prefixes { | |||
| description | uses prefix-ipv6-extended; | |||
| "List of areas supported by the | description | |||
| protocol instance."; | "List of prefixes."; | |||
| } | } | |||
| description | ||||
| "This container describes list of IPv6 | ||||
| reachability information. | ||||
| ISIS reference is TLV 236."; | ||||
| } | ||||
| container mpls { | list router-capabilities { | |||
| leaf ipv4-router-id { | leaf flags { | |||
| if-feature ipv4-router-id; | type bits { | |||
| type inet:ipv4-address; | bit flooding { | |||
| description | position 0; | |||
| "Router ID value that would be used in | description | |||
| TLV 134."; | "If the S bit is set(1), | |||
| } | the IS-IS Router CAPABILITY TLV | |||
| leaf ipv6-router-id { | MUST be flooded across the entire routing domain. | |||
| if-feature ipv6-router-id; | If the S bit is | |||
| type inet:ipv6-address; | not set(0), the TLV MUST NOT be leaked between levels. | |||
| description | This bit MUST NOT be altered during the TLV leaking."; | |||
| "Router ID value that would be used in | } | |||
| TLV 140."; | bit down { | |||
| } | position 1; | |||
| container igp-ldp-sync { | description | |||
| if-feature igp-ldp-sync; | "When the IS-IS Router CAPABILITY TLV is | |||
| description | leaked from level-2 to level-1, the D bit | |||
| "This container may be augmented | MUST be set. Otherwise, this bit MUST | |||
| with global parameters for igp-ldp-sync."; | be clear. IS-IS Router capability TLVs | |||
| } | with the D bit set MUST NOT | |||
| description | be leaked from level-1 to level-2. | |||
| "This container handles mpls config."; | This is to prevent TLV looping. | |||
| } | "; | |||
| leaf reference-bandwidth { | } | |||
| if-feature reference-bandwidth; | } | |||
| type uint32; | description | |||
| units "bps"; | "Flags associated with router capability."; | |||
| description | } | |||
| "This leaf defines the bandwidth for calculating | container node-tag { | |||
| metric."; | if-feature node-tag; | |||
| } | list node-tag { | |||
| leaf tag { | ||||
| type uint32; | ||||
| description | ||||
| "Node tag value."; | ||||
| } | ||||
| description | ||||
| "List of tags."; | ||||
| } | ||||
| description | ||||
| "Container for node tags."; | ||||
| leaf lsp-mtu { | } | |||
| type uint16; | ||||
| units "bytes"; | ||||
| default 1492; | ||||
| description | ||||
| "This leaf describes the maximum size of a | ||||
| LSP PDU in bytes."; | ||||
| } | ||||
| leaf lsp-lifetime { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the lifetime of the router | ||||
| LSP in seconds."; | ||||
| } | ||||
| leaf lsp-refresh { | ||||
| if-feature lsp-refresh; | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the refresh interval of the | ||||
| router LSP in seconds."; | ||||
| } | ||||
| container graceful-restart { | leaf binary { | |||
| if-feature graceful-restart; | type binary; | |||
| leaf enable { | description | |||
| type boolean; | "This leaf describes the capability of the node. | |||
| description | Format is binary according to the protocol encoding."; | |||
| "Control enabling the feature."; | } | |||
| } | description | |||
| description | "This container describes the capabilities of the node. | |||
| "This container activates graceful restart."; | This container may be extended with detailed | |||
| } | information. | |||
| ISIS reference is TLV 242."; | ||||
| } | ||||
| } | ||||
| uses isis-node-tag-cfg; | grouping isis-node-tag-cfg { | |||
| description | ||||
| "ISIS node tag config."; | ||||
| container node-tag { | ||||
| if-feature node-tag; | ||||
| list node-tag { | ||||
| key tag; | ||||
| leaf tag { | ||||
| type uint32; | ||||
| description | ||||
| "Node tag value."; | ||||
| } | ||||
| description | ||||
| "List of tags."; | ||||
| } | ||||
| description | ||||
| "Container for node tags."; | ||||
| } | ||||
| } | ||||
| list authentication { | grouping isis-global-cfg { | |||
| key level; | description | |||
| "Defines the ISIS global configuration."; | ||||
| choice authentication-type { | uses admin-control; | |||
| case key-chain { | ||||
| if-feature key-chain; | ||||
| leaf key-chain { | ||||
| type key-chain:key-chain-ref; | ||||
| description | ||||
| "Reference to a key-chain."; | ||||
| } | ||||
| } | ||||
| case password { | ||||
| leaf key { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the | ||||
| authentication key."; | ||||
| } | ||||
| uses key-chain:crypto-algorithm-types; | ||||
| } | ||||
| description | ||||
| "Choice of authentication."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Container for ISIS authentication. | ||||
| It covers both LSPs and SNPs."; | ||||
| } | ||||
| list metric-type { | leaf level-type { | |||
| key level; | type level; | |||
| default "level-all"; | ||||
| description | ||||
| "This leaf describes the type of ISIS node. | ||||
| leaf value { | A node can be level-1-only, level-2-only | |||
| type enumeration { | or level-1-2. | |||
| enum wide-only { | "; | |||
| description | } | |||
| "Advertise new metric style only | ||||
| (RFC5305)"; | ||||
| } | ||||
| enum old-only { | ||||
| description | ||||
| "Advertise old metric style only | ||||
| (RFC1195)"; | ||||
| } | ||||
| enum both { | ||||
| description "Advertise both metric | ||||
| styles"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of metric | ||||
| to be generated. | ||||
| Wide-only means only new metric style | ||||
| is generated, | ||||
| old-only means that only old style metric | ||||
| is generated, | ||||
| and both means that both are advertised. | ||||
| This leaf is only affecting IPv4 metrics."; | leaf system-id { | |||
| } | type system-id; | |||
| leaf level { | description | |||
| type level; | "This leaf defines the system-id of the node."; | |||
| description | } | |||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Metric style container."; | ||||
| } | ||||
| list preference { | ||||
| key level; | ||||
| choice granularity { | leaf maximum-area-addresses { | |||
| case detail { | if-feature maximum-area-addresses; | |||
| leaf internal { | type uint8; | |||
| type uint8; | default 3; | |||
| description | description | |||
| "This leaf defines the protocol | "Defines the maximum areas supported."; | |||
| preference for internal routes."; | } | |||
| } | ||||
| leaf external { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf defines the protocol | ||||
| preference for external routes."; | ||||
| } | ||||
| } | ||||
| case coarse { | ||||
| leaf default { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf defines the protocol | ||||
| preference for all ISIS routes."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Choice for implementation of route preference."; | ||||
| } | ||||
| leaf level { | leaf-list area-address { | |||
| type level; | type area-address; | |||
| description | description | |||
| "Level applicability."; | "List of areas supported by the | |||
| } | protocol instance."; | |||
| description | } | |||
| "This leaf defines the protocol preference."; | ||||
| } | ||||
| list default-metric { | ||||
| key level; | ||||
| leaf value { | container mpls { | |||
| type wide-metric; | leaf ipv4-router-id { | |||
| description | if-feature ipv4-router-id; | |||
| "Value of the metric"; | type inet:ipv4-address; | |||
| } | description | |||
| leaf level { | "Router ID value that would be used in | |||
| type level; | TLV 134."; | |||
| description | } | |||
| "Level applicability of the metric."; | leaf ipv6-router-id { | |||
| } | if-feature ipv6-router-id; | |||
| description | type inet:ipv6-address; | |||
| "Defines the metric to be used by default."; | description | |||
| } | "Router ID value that would be used in | |||
| list af { | TLV 140."; | |||
| if-feature nlpid-control; | } | |||
| key af; | container igp-ldp-sync { | |||
| leaf af { | if-feature igp-ldp-sync; | |||
| type identityref { | description | |||
| base rt:address-family; | "This container may be augmented | |||
| } | with global parameters for igp-ldp-sync."; | |||
| description | } | |||
| "Address-family"; | description | |||
| } | "This container handles mpls config."; | |||
| } | ||||
| leaf reference-bandwidth { | ||||
| if-feature reference-bandwidth; | ||||
| type uint32; | ||||
| units "bps"; | ||||
| description | ||||
| "This leaf defines the bandwidth for calculating | ||||
| metric."; | ||||
| } | ||||
| leaf enable { | leaf lsp-mtu { | |||
| type boolean; | type uint16; | |||
| description | units "bytes"; | |||
| "Describes the activation state of the | default 1492; | |||
| AF."; | description | |||
| } | "This leaf describes the maximum size of a | |||
| description | LSP PDU in bytes."; | |||
| "This list permits activation | } | |||
| of new address families."; | leaf lsp-lifetime { | |||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the lifetime of the router | ||||
| LSP in seconds."; | ||||
| } | ||||
| leaf lsp-refresh { | ||||
| if-feature lsp-refresh; | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf describes the refresh interval of the | ||||
| router LSP in seconds."; | ||||
| } | ||||
| } | container graceful-restart { | |||
| if-feature graceful-restart; | ||||
| leaf enable { | ||||
| type boolean; | ||||
| description | ||||
| "Control enabling the feature."; | ||||
| } | ||||
| description | ||||
| "This container activates graceful restart."; | ||||
| } | ||||
| list overload { | uses isis-node-tag-cfg; | |||
| key level; | list authentication { | |||
| key level; | ||||
| leaf status { | choice authentication-type { | |||
| type boolean; | case key-chain { | |||
| description | if-feature key-chain; | |||
| "This leaf defines the overload status."; | leaf key-chain { | |||
| } | type key-chain:key-chain-ref; | |||
| leaf timeout { | description | |||
| type uint16; | "Reference to a key-chain."; | |||
| units "seconds"; | } | |||
| description | } | |||
| "This leaf defines the timeout in seconds | case password { | |||
| of the overload condition."; | leaf key { | |||
| } | type string; | |||
| leaf level { | description | |||
| type level; | "This leaf describes the | |||
| description | authentication key."; | |||
| "Level applicability of the metric."; | } | |||
| } | uses key-chain:crypto-algorithm-types; | |||
| description | } | |||
| "This leaf describes if the router is | description | |||
| set to overload state."; | "Choice of authentication."; | |||
| } | } | |||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Container for ISIS authentication. | ||||
| It covers both LSPs and SNPs."; | ||||
| } | ||||
| list overload-max-metric { | list metric-type { | |||
| if-feature overload-max-metric; | key level; | |||
| key level; | ||||
| leaf status { | leaf value { | |||
| type boolean; | type enumeration { | |||
| description | enum wide-only { | |||
| "This leaf defines the overload status."; | description | |||
| } | "Advertise new metric style only | |||
| (RFC5305)"; | ||||
| } | ||||
| enum old-only { | ||||
| description | ||||
| "Advertise old metric style only | ||||
| (RFC1195)"; | ||||
| } | ||||
| enum both { | ||||
| description "Advertise both metric | ||||
| styles"; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of metric | ||||
| to be generated. | ||||
| Wide-only means only new metric style | ||||
| is generated, | ||||
| old-only means that only old style metric | ||||
| is generated, | ||||
| and both means that both are advertised. | ||||
| This leaf is only affecting IPv4 metrics."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Metric style container."; | ||||
| } | ||||
| list preference { | ||||
| key level; | ||||
| leaf timeout { | choice granularity { | |||
| type uint16; | case detail { | |||
| units "seconds"; | leaf internal { | |||
| description | type uint8; | |||
| "This leaf defines the timeout in seconds | description | |||
| of the overload condition."; | "This leaf defines the protocol | |||
| } | preference for internal routes."; | |||
| leaf level { | } | |||
| type level; | leaf external { | |||
| description | type uint8; | |||
| "Level applicability of the metric."; | description | |||
| } | "This leaf defines the protocol | |||
| description | preference for external routes."; | |||
| "This leaf describes if the router is | } | |||
| set to overload state."; | } | |||
| } | case coarse { | |||
| leaf default { | ||||
| type uint8; | ||||
| description | ||||
| "This leaf defines the protocol | ||||
| preference for all ISIS routes."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "Choice for implementation of route preference."; | ||||
| } | ||||
| } | leaf level { | |||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf defines the protocol preference."; | ||||
| } | ||||
| grouping isis-global-topologies-cfg { | list default-metric { | |||
| description | key level; | |||
| "Per topology config."; | ||||
| list default-metric { | ||||
| key level; | ||||
| leaf value { | leaf value { | |||
| type wide-metric; | type wide-metric; | |||
| description | description | |||
| "Value of the metric"; | "Value of the metric"; | |||
| } | } | |||
| leaf level { | leaf level { | |||
| type level; | type level; | |||
| description | description | |||
| "Level applicability of the metric."; | "Level applicability of the metric."; | |||
| } | } | |||
| description | description | |||
| "Defines the metric to be used by default."; | "Defines the metric to be used by default."; | |||
| } | } | |||
| uses isis-node-tag-cfg; | list af { | |||
| } | if-feature nlpid-control; | |||
| key af; | ||||
| leaf af { | ||||
| type identityref { | ||||
| base rt:address-family; | ||||
| } | ||||
| description | ||||
| "Address-family"; | ||||
| } | ||||
| grouping isis-if-cfg { | leaf enable { | |||
| description | type boolean; | |||
| "Grouping for interface cfg."; | description | |||
| "Describes the activation state of the | ||||
| AF."; | ||||
| } | ||||
| description | ||||
| "This list permits activation | ||||
| of new address families."; | ||||
| leaf level-type { | } | |||
| type level; | ||||
| default "level-all"; | ||||
| description | ||||
| "This leaf defines the associated ISIS | ||||
| level of the interface."; | ||||
| } | ||||
| leaf lsp-pacing-interval { | ||||
| type uint16; | ||||
| units "milliseconds"; | ||||
| description | ||||
| "This leaf defines the interval between | ||||
| LSP transmissions in milli-seconds"; | ||||
| } | ||||
| leaf lsp-retransmit-interval { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf defines the interval between | ||||
| retransmission of LSP"; | ||||
| } | ||||
| leaf passive { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf defines if interface is in | ||||
| passive mode (ISIS not running, | ||||
| but network is advertised)."; | ||||
| } | ||||
| leaf csnp-interval { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf defines the interval of CSNP | ||||
| messages."; | ||||
| } | ||||
| container hello-padding { | list overload { | |||
| leaf enable { | key level; | |||
| type boolean; | ||||
| default "true"; | ||||
| description | ||||
| "Status of Hello-padding activation. | ||||
| By default, the implementation shall | ||||
| pad HELLOs."; | ||||
| } | ||||
| description | leaf status { | |||
| "This container handles ISIS hello padding | type boolean; | |||
| configuration."; | description | |||
| } | "This leaf defines the overload status."; | |||
| } | ||||
| leaf mesh-group-enable { | leaf timeout { | |||
| type mesh-group-state; | type uint16; | |||
| description | units "seconds"; | |||
| "Describes the mesh group state of | description | |||
| the interface."; | "This leaf defines the timeout in seconds | |||
| } | of the overload condition."; | |||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability of the metric."; | ||||
| } | ||||
| description | ||||
| "This leaf describes if the router is | ||||
| set to overload state."; | ||||
| } | ||||
| leaf mesh-group { | list overload-max-metric { | |||
| when "../mesh-group-enable = meshSet" { | if-feature overload-max-metric; | |||
| description | key level; | |||
| "Only valid when mesh-group-enable | ||||
| equals meshSet"; | ||||
| } | ||||
| type uint8; | ||||
| description | ||||
| "Describes the mesh group ID of | ||||
| the interface."; | ||||
| } | leaf status { | |||
| type boolean; | ||||
| description | ||||
| "This leaf defines the overload status."; | ||||
| } | ||||
| leaf interface-type { | leaf timeout { | |||
| type interface-type; | type uint16; | |||
| description | units "seconds"; | |||
| "This leaf defines the type of adjacency | description | |||
| to be established on the interface. | "This leaf defines the timeout in seconds | |||
| This is affecting the type of hello | of the overload condition."; | |||
| message that would be used."; | } | |||
| } | leaf level { | |||
| type level; | ||||
| description | ||||
| "Level applicability of the metric."; | ||||
| } | ||||
| description | ||||
| "This leaf describes if the router is | ||||
| set to overload state."; | ||||
| } | ||||
| uses admin-control; | } | |||
| leaf-list tag { | grouping isis-global-topologies-cfg { | |||
| if-feature prefix-tag; | description | |||
| "Per topology config."; | ||||
| list default-metric { | ||||
| key level; | ||||
| type uint32; | leaf value { | |||
| description | type wide-metric; | |||
| "This leaf defines list of tags associated | description | |||
| with the interface."; | "Value of the metric"; | |||
| } | } | |||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability of the metric."; | ||||
| } | ||||
| description | ||||
| "Defines the metric to be used by default."; | ||||
| } | ||||
| uses isis-node-tag-cfg; | ||||
| } | ||||
| leaf-list tag64 { | grouping isis-if-cfg { | |||
| if-feature prefix-tag64; | description | |||
| "Grouping for interface cfg."; | ||||
| type uint64; | leaf level-type { | |||
| description | type level; | |||
| "This leaf defines list of 64bits tags | default "level-all"; | |||
| associated with the interface."; | description | |||
| } | "This leaf defines the associated ISIS | |||
| level of the interface."; | ||||
| } | ||||
| leaf lsp-pacing-interval { | ||||
| type uint16; | ||||
| units "milliseconds"; | ||||
| description | ||||
| "This leaf defines the interval between | ||||
| LSP transmissions in milli-seconds"; | ||||
| } | ||||
| leaf lsp-retransmit-interval { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf defines the interval between | ||||
| retransmission of LSP"; | ||||
| } | ||||
| leaf passive { | ||||
| type boolean; | ||||
| default "false"; | ||||
| description | ||||
| "This leaf defines if interface is in | ||||
| passive mode (ISIS not running, | ||||
| but network is advertised)."; | ||||
| } | ||||
| leaf csnp-interval { | ||||
| type uint16; | ||||
| units "seconds"; | ||||
| description | ||||
| "This leaf defines the interval of CSNP | ||||
| messages."; | ||||
| } | ||||
| list hello-authentication { | container hello-padding { | |||
| key level; | leaf enable { | |||
| type boolean; | ||||
| default "true"; | ||||
| description | ||||
| "Status of Hello-padding activation. | ||||
| By default, the implementation shall | ||||
| pad HELLOs."; | ||||
| } | ||||
| choice authentication-type { | description | |||
| case key-chain { | "This container handles ISIS hello padding | |||
| if-feature key-chain; | configuration."; | |||
| leaf key-chain { | } | |||
| type key-chain:key-chain-ref; | ||||
| description | ||||
| "Reference to a key-chain."; | ||||
| } | ||||
| } | ||||
| case password { | ||||
| leaf key { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the | ||||
| authentication key."; | ||||
| } | ||||
| uses key-chain:crypto-algorithm-types; | ||||
| } | ||||
| description | ||||
| "Choice of authentication."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf describes the authentication type | ||||
| to be used in hello messages."; | ||||
| } | ||||
| list hello-interval { | leaf mesh-group-enable { | |||
| key level; | type mesh-group-state; | |||
| description | ||||
| "Describes the mesh group state of | ||||
| the interface."; | ||||
| } | ||||
| leaf value { | leaf mesh-group { | |||
| type uint16; | when "../mesh-group-enable = meshSet" { | |||
| units "seconds"; | description | |||
| description | "Only valid when mesh-group-enable | |||
| "This leaf defines the interval of | equals meshSet"; | |||
| hello messages."; | } | |||
| } | type uint8; | |||
| leaf level { | description | |||
| type level; | "Describes the mesh group ID of | |||
| description | the interface."; | |||
| "Level applicability."; | } | |||
| } | ||||
| description | ||||
| "This leaf defines the interval of | ||||
| hello messages."; | ||||
| } | ||||
| list hello-multiplier { | ||||
| key level; | ||||
| leaf value { | leaf interface-type { | |||
| type uint16; | type interface-type; | |||
| description | description | |||
| "This leaf defines the number of | "This leaf defines the type of adjacency | |||
| hello failed to be received before | to be established on the interface. | |||
| declaring the adjacency down."; | This is affecting the type of hello | |||
| } | message that would be used."; | |||
| leaf level { | } | |||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf defines the number of | ||||
| hello failed to be received before | ||||
| declaring the adjacency down."; | ||||
| } | ||||
| list priority { | uses admin-control; | |||
| must 'interface-type = "broadcast"' { | ||||
| error-message | ||||
| "Priority only applies to broadcast | ||||
| interfaces."; | ||||
| description | ||||
| "Check for broadcast interface."; | ||||
| } | ||||
| key level; | ||||
| leaf value { | ||||
| type uint8 { | ||||
| range "0 .. 127"; | ||||
| } | ||||
| description | leaf-list tag { | |||
| "This leaf describes the priority of | if-feature prefix-tag; | |||
| the interface | ||||
| for DIS election."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf describes the priority of | ||||
| the interface | ||||
| for DIS election."; | ||||
| } | ||||
| list metric { | ||||
| key level; | ||||
| leaf value { | type uint32; | |||
| type wide-metric; | description | |||
| description | "This leaf defines list of tags associated | |||
| "Metric value."; | with the interface."; | |||
| } | } | |||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Container for interface metric"; | ||||
| } | ||||
| list af { | leaf-list tag64 { | |||
| key af; | if-feature prefix-tag64; | |||
| leaf af { | type uint64; | |||
| type identityref { | description | |||
| base rt:address-family; | "This leaf defines list of 64bits tags | |||
| } | associated with the interface."; | |||
| description | } | |||
| "Address-family"; | list hello-authentication { | |||
| } | key level; | |||
| container bfd { | ||||
| if-feature bfd; | ||||
| leaf enable { | ||||
| type boolean; | ||||
| default false; | ||||
| description | ||||
| "This leaf enables BFD."; | ||||
| } | ||||
| description | choice authentication-type { | |||
| "The container describes | case key-chain { | |||
| BFD config."; | if-feature key-chain; | |||
| } | leaf key-chain { | |||
| type key-chain:key-chain-ref; | ||||
| description | ||||
| "Reference to a key-chain."; | ||||
| } | ||||
| } | ||||
| case password { | ||||
| leaf key { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the | ||||
| authentication key."; | ||||
| } | ||||
| uses key-chain:crypto-algorithm-types; | ||||
| } | ||||
| description | ||||
| "Choice of authentication."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf describes the authentication type | ||||
| to be used in hello messages."; | ||||
| } | ||||
| description | list hello-interval { | |||
| "List of AFs."; | key level; | |||
| } | ||||
| container mpls { | leaf value { | |||
| container igp-ldp-sync { | type uint16; | |||
| if-feature igp-ldp-sync; | units "seconds"; | |||
| leaf enable { | description | |||
| type boolean; | "This leaf defines the interval of | |||
| description | hello messages."; | |||
| "Enable/disable IGP LDP sync."; | } | |||
| } | leaf level { | |||
| description | type level; | |||
| "IGP-LDP sync configuration."; | description | |||
| "Level applicability."; | ||||
| } | } | |||
| description | description | |||
| "Container for MPLS specific configuration | "This leaf defines the interval of | |||
| for ISIS."; | hello messages."; | |||
| } | } | |||
| list hello-multiplier { | ||||
| key level; | ||||
| } | leaf value { | |||
| type uint16; | ||||
| description | ||||
| "This leaf defines the number of | ||||
| hello failed to be received before | ||||
| declaring the adjacency down."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "This leaf defines the number of | ||||
| hello failed to be received before | ||||
| declaring the adjacency down."; | ||||
| } | ||||
| grouping isis-if-topologies-cfg { | list priority { | |||
| description | must 'interface-type = "broadcast"' { | |||
| "ISIS interface topology cfg."; | error-message | |||
| list metric { | "Priority only applies to broadcast | |||
| key level; | interfaces."; | |||
| description | ||||
| "Check for broadcast interface."; | ||||
| } | ||||
| key level; | ||||
| leaf value { | ||||
| type uint8 { | ||||
| range "0 .. 127"; | ||||
| } | ||||
| leaf value { | description | |||
| type wide-metric; | "This leaf describes the priority of | |||
| description | the interface | |||
| "Metric value."; | for DIS election."; | |||
| } | } | |||
| leaf level { | leaf level { | |||
| type level; | type level; | |||
| description | description | |||
| "Level applicability."; | "Level applicability."; | |||
| } | } | |||
| description | description | |||
| "Container for interface metric"; | "This leaf describes the priority of | |||
| } | the interface | |||
| } | for DIS election."; | |||
| } | ||||
| list metric { | ||||
| key level; | ||||
| /* */ | leaf value { | |||
| type wide-metric; | ||||
| description | ||||
| "Metric value."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Container for interface metric"; | ||||
| } | ||||
| augment "/rt:routing-state/rt:ribs/rt:rib/rt:routes/rt:route" { | list af { | |||
| when "rt:source-protocol = 'isis:isis'" { | key af; | |||
| description "ISIS-specific route attributes."; | ||||
| } | ||||
| uses route-content; | ||||
| description | ||||
| "This augments route object in RIB with ISIS-specific | ||||
| attributes."; | ||||
| } | ||||
| augment "/rt:active-route/rt:output/rt:route" | leaf af { | |||
| { | type identityref { | |||
| uses route-content; | base rt:address-family; | |||
| description "ISIS-specific route attributes."; | } | |||
| } | description | |||
| "Address-family"; | ||||
| } | ||||
| container bfd { | ||||
| if-feature bfd; | ||||
| leaf enable { | ||||
| type boolean; | ||||
| default false; | ||||
| description | ||||
| "This leaf enables BFD."; | ||||
| } | ||||
| augment "/if:interfaces/if:interface" | description | |||
| { | "The container describes | |||
| leaf clns-mtu { | BFD config."; | |||
| type uint16; | } | |||
| description | description | |||
| "Defines CLNS MTU of the interface."; | "List of AFs."; | |||
| } | } | |||
| description "ISO interface config."; | ||||
| } | ||||
| augment "/rt:routing/rt:routing-instance/rt:routing-protocols/" | container mpls { | |||
| +"rt:routing-protocol" { | container igp-ldp-sync { | |||
| when "rt:type = 'isis:isis'" { | if-feature igp-ldp-sync; | |||
| description | leaf enable { | |||
| "This augment is only valid when routing protocol | type boolean; | |||
| instance type is isis."; | description | |||
| } | "Enable/disable IGP LDP sync."; | |||
| description | } | |||
| "This augments a routing protocol instance with ISIS | description | |||
| specific parameters."; | "IGP-LDP sync configuration."; | |||
| container isis { | } | |||
| description | ||||
| "Container for MPLS specific configuration | ||||
| for ISIS."; | ||||
| } | ||||
| must "count(area-address) > 0" { | } | |||
| error-message "At least one area-address | ||||
| must be configured."; | ||||
| description | ||||
| "Enforce configuration of at least one area."; | ||||
| } | ||||
| uses isis-global-cfg; | grouping isis-if-topologies-cfg { | |||
| description | ||||
| "ISIS interface topology cfg."; | ||||
| list metric { | ||||
| key level; | ||||
| container fast-reroute { | leaf value { | |||
| if-feature fast-reroute; | type wide-metric; | |||
| uses fast-reroute-global-cfg; | description | |||
| description | "Metric value."; | |||
| "IPFRR."; | } | |||
| } | leaf level { | |||
| list topologies { | type level; | |||
| if-feature multi-topology; | description | |||
| "Level applicability."; | ||||
| } | ||||
| description | ||||
| "Container for interface metric"; | ||||
| } | ||||
| } | ||||
| key "name"; | /* */ | |||
| augment "/rt:routing-state/rt:ribs/rt:rib/rt:routes/rt:route" { | ||||
| when "rt:source-protocol = 'isis:isis'" { | ||||
| description "ISIS-specific route attributes."; | ||||
| } | ||||
| uses route-content; | ||||
| description | ||||
| "This augments route object in RIB with ISIS-specific | ||||
| attributes."; | ||||
| } | ||||
| leaf enable { | augment "/rt:active-route/rt:output/rt:route" | |||
| type boolean; | { | |||
| description | uses route-content; | |||
| "Control enabling of topologies"; | description "ISIS-specific route attributes."; | |||
| } | } | |||
| leaf name { | ||||
| type rt:rib-ref; | ||||
| description "RIB"; | ||||
| } | ||||
| uses isis-global-topologies-cfg; | augment "/if:interfaces/if:interface" | |||
| container fast-reroute { | { | |||
| if-feature fast-reroute; | leaf clns-mtu { | |||
| uses fast-reroute-global-cfg; | type uint16; | |||
| description | description | |||
| "IPFRR."; | "Defines CLNS MTU of the interface."; | |||
| } | } | |||
| description "ISO interface config."; | ||||
| } | ||||
| description | augment "/rt:routing/rt:routing-instance/rt:routing-protocols/" | |||
| "List of topologies"; | +"rt:routing-protocol" { | |||
| } | when "rt:type = 'isis:isis'" { | |||
| description | ||||
| "This augment is only valid when routing protocol | ||||
| instance type is isis."; | ||||
| } | ||||
| description | ||||
| "This augments a routing protocol instance with ISIS | ||||
| specific parameters."; | ||||
| container isis { | ||||
| container interfaces { | must "count(area-address) > 0" { | |||
| list interface { | error-message "At least one area-address | |||
| key "name"; | must be configured."; | |||
| leaf name { | description | |||
| type if:interface-ref; | "Enforce configuration of at least one area."; | |||
| } | ||||
| uses isis-global-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-global-cfg; | ||||
| description | description | |||
| "Reference to the interface within | "IPFRR."; | |||
| the routing-instance."; | } | |||
| } | list topologies { | |||
| if-feature multi-topology; | ||||
| uses isis-if-cfg; | key "name"; | |||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-if-cfg; | ||||
| description | ||||
| "IPFRR."; | ||||
| } | ||||
| list topologies { | ||||
| key name; | ||||
| leaf name { | leaf enable { | |||
| type rt:rib-ref; | type boolean; | |||
| description | description | |||
| "Name of RIB."; | "Control enabling of topologies"; | |||
| } | } | |||
| container fast-reroute { | ||||
| leaf name { | ||||
| type rt:rib-ref; | ||||
| description "RIB"; | ||||
| } | ||||
| uses isis-global-topologies-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | if-feature fast-reroute; | |||
| uses fast-reroute-if-cfg; | uses fast-reroute-global-cfg; | |||
| description | description | |||
| "IPFRR."; | "IPFRR."; | |||
| } | ||||
| } | description | |||
| uses isis-if-topologies-cfg; | "List of topologies"; | |||
| description | } | |||
| "List of topologies."; | ||||
| } | ||||
| description | ||||
| "List of ISIS interfaces."; | ||||
| } | ||||
| description | ||||
| "This container defines ISIS interface specific | ||||
| configuration objects."; | ||||
| } | ||||
| description | container interfaces { | |||
| "This container defines ISIS specific configuration | list interface { | |||
| objects."; | key "name"; | |||
| } | leaf name { | |||
| } | type if:interface-ref; | |||
| augment "/rt:routing-state/rt:routing-instance/" | description | |||
| +"rt:routing-protocols/rt:routing-protocol" { | "Reference to the interface within | |||
| when "rt:type = 'isis:isis'" { | the routing-instance."; | |||
| description | } | |||
| "This augment is only valid when routing protocol | ||||
| instance type is isis."; | ||||
| } | ||||
| description | ||||
| "This augments routing protocol instance states with ISIS | ||||
| specific parameters."; | ||||
| container isis { | uses isis-if-cfg; | |||
| config false; | container fast-reroute { | |||
| uses isis-global-cfg; | if-feature fast-reroute; | |||
| container fast-reroute { | uses fast-reroute-if-cfg; | |||
| if-feature fast-reroute; | description | |||
| uses fast-reroute-global-cfg; | "IPFRR."; | |||
| uses fast-reroute-global-state; | } | |||
| description | list topologies { | |||
| key name; | ||||
| leaf name { | ||||
| type rt:rib-ref; | ||||
| description | ||||
| "Name of RIB."; | ||||
| } | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-if-cfg; | ||||
| description | ||||
| "IPFRR."; | ||||
| } | ||||
| uses isis-if-topologies-cfg; | ||||
| description | ||||
| "List of topologies."; | ||||
| } | ||||
| description | ||||
| "List of ISIS interfaces."; | ||||
| } | ||||
| description | ||||
| "This container defines ISIS interface specific | ||||
| configuration objects."; | ||||
| } | ||||
| description | ||||
| "This container defines ISIS specific configuration | ||||
| objects."; | ||||
| } | ||||
| } | ||||
| augment "/rt:routing-state/rt:routing-instance/" | ||||
| +"rt:routing-protocols/rt:routing-protocol" { | ||||
| when "rt:type = 'isis:isis'" { | ||||
| description | ||||
| "This augment is only valid when routing protocol | ||||
| instance type is isis."; | ||||
| } | ||||
| description | ||||
| "This augments routing protocol instance states with ISIS | ||||
| specific parameters."; | ||||
| container isis { | ||||
| config false; | ||||
| uses isis-global-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-global-cfg; | ||||
| uses fast-reroute-global-state; | ||||
| description | ||||
| "IPFRR states."; | ||||
| } | ||||
| list topologies { | ||||
| key name; | ||||
| leaf name { | ||||
| type rt:rib-ref; | ||||
| description | ||||
| "Name of RIB."; | ||||
| } | ||||
| container fast-route { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-global-cfg; | ||||
| uses fast-reroute-global-state; | ||||
| description | ||||
| "IPFRR states."; | "IPFRR states."; | |||
| } | } | |||
| description | ||||
| "List of topologies."; | ||||
| } | ||||
| list topologies { | container system-counters { | |||
| key name; | list level { | |||
| key level; | ||||
| leaf name { | leaf level { | |||
| type rt:rib-ref; | type level-number; | |||
| description | description | |||
| "Name of RIB."; | "This leaf describes the ISIS level."; | |||
| } | ||||
| leaf corrupted-lsps { | ||||
| type uint32; | ||||
| description | ||||
| "Number of corrupted in-memory LSPs detected. | ||||
| LSPs received from the wire with a bad | ||||
| checksum are silently dropped and not counted. | ||||
| LSPs received from the wire with parse errors | ||||
| are counted by lsp-errors."; | ||||
| } | ||||
| leaf authentication-type-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication type mismatches."; | ||||
| } | ||||
| leaf authentication-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication key failures."; | ||||
| } | ||||
| leaf database-overload { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times the database has become | ||||
| overloaded."; | ||||
| } | ||||
| leaf own-lsp-purge { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a zero-aged copy of the | ||||
| system's own LSP is received from some | ||||
| other node."; | ||||
| } | ||||
| leaf manual-address-drop-from-area { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a manual address | ||||
| has been dropped from the area."; | ||||
| } | ||||
| leaf max-sequence { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times the system has attempted | ||||
| to exceed the maximum sequence number."; | ||||
| } | ||||
| leaf sequence-number-skipped { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a sequence number skip has | ||||
| occured."; | ||||
| } | ||||
| leaf id-len-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a PDU is received with | ||||
| a different value for ID field length | ||||
| from that of the receiving system."; | ||||
| } | ||||
| leaf partition-changes { | ||||
| type uint32; | ||||
| description | ||||
| "Number of partition changes detected."; | ||||
| } | ||||
| leaf lsp-errors { | ||||
| type uint32; | ||||
| description | ||||
| "Number of LSPs with errors we have | ||||
| received."; | ||||
| } | ||||
| leaf spf-runs { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times we ran SPF at this level."; | ||||
| } | ||||
| description | ||||
| "List of supported levels."; | ||||
| } | ||||
| description | ||||
| "The container defines a list of counters | ||||
| for the IS."; | ||||
| } | ||||
| } | container interfaces { | |||
| container fast-route { | list interface { | |||
| if-feature fast-reroute; | key interface; | |||
| uses fast-reroute-global-cfg; | ||||
| uses fast-reroute-global-state; | ||||
| description | ||||
| "IPFRR states."; | ||||
| } | ||||
| description | ||||
| "List of topologies."; | ||||
| } | ||||
| container system-counters { | leaf interface { | |||
| list level { | type string; | |||
| key level; | description | |||
| "This leaf describes the name | ||||
| of the interface."; | ||||
| } | ||||
| uses isis-if-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-if-cfg; | ||||
| description | ||||
| "IPFRR."; | ||||
| } | ||||
| uses adjacency-state; | ||||
| leaf level { | list topologies { | |||
| type level-number; | key name; | |||
| description | ||||
| "This leaf describes the ISIS level."; | ||||
| } | ||||
| leaf corrupted-lsps { | ||||
| type uint32; | ||||
| description | ||||
| "Number of corrupted in-memory LSPs detected. | ||||
| LSPs received from the wire with a bad | ||||
| checksum are silently dropped and not counted. | ||||
| LSPs received from the wire with parse errors | ||||
| are counted by lsp-errors."; | ||||
| } | ||||
| leaf authentication-type-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication type mismatches."; | ||||
| } | ||||
| leaf authentication-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication key failures."; | ||||
| } | ||||
| leaf database-overload { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times the database has become | ||||
| overloaded."; | ||||
| } | ||||
| leaf own-lsp-purge { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a zero-aged copy of the | ||||
| system's own LSP is received from some | ||||
| other node."; | ||||
| } | ||||
| leaf manual-address-drop-from-area { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a manual address | ||||
| has been dropped from the area."; | ||||
| } | ||||
| leaf max-sequence { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times the system has attempted | ||||
| to exceed the maximum sequence number."; | ||||
| } | ||||
| leaf sequence-number-skipped { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a sequence number skip has | ||||
| occured."; | ||||
| } | ||||
| leaf id-len-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times a PDU is received with | ||||
| a different value for ID field length | ||||
| from that of the receiving system."; | ||||
| } | ||||
| leaf partition-changes { | ||||
| type uint32; | ||||
| description | ||||
| "Number of partition changes detected."; | ||||
| } | ||||
| leaf lsp-errors { | ||||
| type uint32; | ||||
| description | ||||
| "Number of LSPs with errors we have | ||||
| received."; | ||||
| } | ||||
| leaf spf-runs { | ||||
| type uint32; | ||||
| description | ||||
| "Number of times we ran SPF at this level."; | ||||
| } | ||||
| description | ||||
| "List of supported levels."; | ||||
| } | leaf name { | |||
| description | type rt:rib-ref; | |||
| "The container defines a list of counters | description | |||
| for the IS."; | "Name of RIB."; | |||
| } | } | |||
| uses isis-if-topologies-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-if-cfg; | ||||
| description | ||||
| "IPFRR."; | ||||
| } | ||||
| uses adjacency-state; | ||||
| container interfaces { | description | |||
| list interface { | "List of topologies."; | |||
| key interface; | } | |||
| leaf interface { | container event-counters { | |||
| type string; | leaf adjacency-changes { | |||
| description | type uint32; | |||
| "This leaf describes the name | ||||
| of the interface."; | ||||
| } | ||||
| uses isis-if-cfg; | ||||
| container fast-reroute { | ||||
| if-feature fast-reroute; | ||||
| uses fast-reroute-if-cfg; | ||||
| description | description | |||
| "IPFRR."; | "The number of times an adjacency state | |||
| } | change has occured on this interface."; | |||
| uses adjacency-state; | } | |||
| leaf adjacency-number { | ||||
| type uint32; | ||||
| description | ||||
| "The number of adjacencies on this | ||||
| interface."; | ||||
| } | ||||
| leaf init-fails { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times initialization of | ||||
| this interface has failed. This counts | ||||
| events such as PPP NCP failures. | ||||
| Failures to form an adjacency are counted | ||||
| by adjacency-rejects."; | ||||
| } | ||||
| leaf adjacency-rejects { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an adjacency has been | ||||
| rejected on this interface."; | ||||
| } | ||||
| leaf id-len-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an IS-IS PDU with an ID | ||||
| field length different from that for this | ||||
| system has been received on this interface."; | ||||
| } | ||||
| leaf max-area-addresses-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an IS-IS PDU with | ||||
| according max area address field | ||||
| differs from that for | ||||
| this system has been received on this | ||||
| interface."; | ||||
| } | ||||
| leaf authentication-type-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication type mismatches."; | ||||
| } | ||||
| leaf authentication-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication key failures."; | ||||
| } | ||||
| leaf lan-dis-changes { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times the DIS has changed | ||||
| on this interface at this level. | ||||
| If the interface type is point to point, | ||||
| the count is zero."; | ||||
| } | ||||
| description | ||||
| "Provides protocol event counters."; | ||||
| } | ||||
| container packet-counters { | ||||
| list level { | ||||
| key level; | ||||
| list topologies { | leaf level { | |||
| key name; | type level-number; | |||
| description | ||||
| "This leaf describes the ISIS level."; | ||||
| } | ||||
| leaf name { | container iih { | |||
| type rt:rib-ref; | leaf in { | |||
| description | type uint32; | |||
| "Name of RIB."; | description | |||
| } | "Received PDUs."; | |||
| uses isis-if-topologies-cfg; | } | |||
| container fast-reroute { | leaf out { | |||
| if-feature fast-reroute; | type uint32; | |||
| uses fast-reroute-if-cfg; | description | |||
| "Sent PDUs."; | ||||
| } | ||||
| description | description | |||
| "IPFRR."; | "The number of IIH PDUs received/sent."; | |||
| } | } | |||
| uses adjacency-state; | container ish { | |||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of ISH PDUs received/sent."; | ||||
| } | ||||
| container esh { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of ESH PDUs received/sent."; | ||||
| } | ||||
| container lsp { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of LSP PDUs received/sent."; | ||||
| } | ||||
| container psnp { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of PSNP PDUs received/sent."; | ||||
| } | ||||
| container csnp { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of CSNP PDUs received/sent."; | ||||
| } | ||||
| container unknown { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of unknown PDUs received/sent."; | ||||
| } | ||||
| description | ||||
| "List of supported levels."; | ||||
| } | ||||
| description | ||||
| "Provides packet counters per level."; | ||||
| } | ||||
| description | ||||
| "List of interfaces."; | ||||
| } | ||||
| description | ||||
| "The container defines operational parameters | ||||
| of interfaces."; | ||||
| } | ||||
| description | container spf-log { | |||
| "List of topologies."; | list event { | |||
| } | key id; | |||
| container event-counters { | ||||
| leaf adjacency-changes { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an adjacency state | ||||
| change has occured on this interface."; | ||||
| } | ||||
| leaf adjacency-number { | ||||
| type uint32; | ||||
| description | ||||
| "The number of adjacencies on this | ||||
| interface."; | ||||
| } | ||||
| leaf init-fails { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times initialization of | ||||
| this interface has failed. This counts | ||||
| events such as PPP NCP failures. | ||||
| Failures to form an adjacency are counted | ||||
| by adjacency-rejects."; | ||||
| } | ||||
| leaf adjacency-rejects { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an adjacency has been | ||||
| rejected on this interface."; | ||||
| } | ||||
| leaf id-len-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an IS-IS PDU with an ID | ||||
| field length different from that for this | ||||
| system has been received on this interface."; | ||||
| } | ||||
| leaf max-area-addresses-mismatch { | ||||
| type uint32; | ||||
| description | ||||
| "The number of times an IS-IS PDU with | ||||
| according max area address field | ||||
| differs from that for | ||||
| this system has been received on this | ||||
| interface."; | ||||
| } | ||||
| leaf authentication-type-fails { | ||||
| type uint32; | ||||
| description | ||||
| "Number of authentication type mismatches."; | ||||
| } | leaf id { | |||
| leaf authentication-fails { | type uint32; | |||
| type uint32; | description | |||
| description | "This leaf defines the event identifier. | |||
| "Number of authentication key failures."; | This is a purely internal value."; | |||
| } | } | |||
| leaf lan-dis-changes { | leaf spf-type { | |||
| type uint32; | type enumeration { | |||
| description | enum full { | |||
| "The number of times the DIS has changed | description | |||
| on this interface at this level. | "Computation done is a Full SPF."; | |||
| If the interface type is point to point, | } | |||
| the count is zero."; | enum incremental { | |||
| } | description | |||
| description | "Computation done is an | |||
| "Provides protocol event counters."; | incremental SPF."; | |||
| } | } | |||
| container packet-counters { | enum route-only { | |||
| list level { | description | |||
| key level; | "Computation done is a | |||
| reachability computation | ||||
| only."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of computation | ||||
| used."; | ||||
| } | ||||
| leaf level { | ||||
| type level-number; | ||||
| description | ||||
| "This leaf describes the level affected by the | ||||
| the computation."; | ||||
| } | ||||
| leaf spf-delay { | ||||
| type uint32; | ||||
| units "milliseconds"; | ||||
| description | ||||
| "This leaf describes the SPF delay that | ||||
| was used for this event."; | ||||
| } | ||||
| leaf schedule-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was scheduled."; | ||||
| } | ||||
| leaf start-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was started."; | ||||
| } | ||||
| leaf end-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was ended."; | ||||
| } | ||||
| list trigger-lsp { | ||||
| key "lsp"; | ||||
| leaf lsp { | ||||
| type lsp-id; | ||||
| description | ||||
| "This leaf describes the LSPID | ||||
| of the LSP."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "This leaf describes the sequence | ||||
| number of the LSP."; | ||||
| } | ||||
| description | ||||
| "This leaf describes list of LSPs | ||||
| that triggered the computation."; | ||||
| } | ||||
| description | ||||
| "List of computation events."; | ||||
| } | ||||
| leaf level { | description | |||
| type level-number; | "This container lists the SPF computation events."; | |||
| description | } | |||
| "This leaf describes the ISIS level."; | container lsp-log { | |||
| } | list event { | |||
| key id; | ||||
| container iih { | leaf id { | |||
| leaf in { | type uint32; | |||
| type uint32; | description | |||
| description | "This leaf defines the event identifier. | |||
| "Received PDUs."; | This is a purely internal value."; | |||
| } | } | |||
| leaf out { | leaf level { | |||
| type uint32; | type level-number; | |||
| description | description | |||
| "Sent PDUs."; | "This leaf describes the level affected by the | |||
| } | the computation."; | |||
| description | } | |||
| "The number of IIH PDUs received/sent."; | container lsp { | |||
| } | leaf lsp { | |||
| container ish { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of ISH PDUs received/sent."; | ||||
| } | ||||
| container esh { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of ESH PDUs received/sent."; | ||||
| } | ||||
| container lsp { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of LSP PDUs received/sent."; | ||||
| } | ||||
| container psnp { | ||||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of PSNP PDUs received/sent."; | ||||
| } | type lsp-id; | |||
| container csnp { | description | |||
| leaf in { | "This leaf describes the LSPID | |||
| type uint32; | of the LSP."; | |||
| description | } | |||
| "Received PDUs."; | leaf sequence { | |||
| } | type uint32; | |||
| leaf out { | description | |||
| type uint32; | "This leaf describes the sequence | |||
| description | number of the LSP."; | |||
| "Sent PDUs."; | } | |||
| } | description | |||
| description | "This container describes the received LSP | |||
| "The number of CSNP PDUs received/sent."; | , in case of local LSP update the local | |||
| } | LSP ID is referenced."; | |||
| container unknown { | } | |||
| leaf in { | ||||
| type uint32; | ||||
| description | ||||
| "Received PDUs."; | ||||
| } | ||||
| leaf out { | ||||
| type uint32; | ||||
| description | ||||
| "Sent PDUs."; | ||||
| } | ||||
| description | ||||
| "The number of unknown PDUs received/sent."; | ||||
| } | ||||
| description | ||||
| "List of supported levels."; | ||||
| } | ||||
| description | ||||
| "Provides packet counters per level."; | ||||
| } | ||||
| description | ||||
| "List of interfaces."; | ||||
| } | ||||
| description | ||||
| "The container defines operational parameters | ||||
| of interfaces."; | ||||
| } | ||||
| container spf-log { | leaf received-timestamp { | |||
| list event { | type yang:timestamp; | |||
| key id; | ||||
| leaf id { | description | |||
| type uint32; | "This leaf describes the timestamp | |||
| description | when the LSP was received. In case of | |||
| "This leaf defines the event identifier. | local LSP update, the timestamp refers | |||
| This is a purely internal value."; | to the local LSP update time."; | |||
| } | } | |||
| leaf spf-type { | ||||
| type enumeration { | ||||
| enum full { | ||||
| description | ||||
| "Computation done is a Full SPF."; | ||||
| } | ||||
| enum incremental { | ||||
| description | ||||
| "Computation done is an | ||||
| incremental SPF."; | ||||
| } | ||||
| enum route-only { | ||||
| description | ||||
| "Computation done is a | ||||
| reachability computation | ||||
| only."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of computation | ||||
| used."; | ||||
| } | ||||
| leaf level { | ||||
| type level-number; | ||||
| description | ||||
| "This leaf describes the level affected by the | ||||
| the computation."; | ||||
| } | ||||
| leaf spf-delay { | ||||
| type uint32; | ||||
| units "milliseconds"; | ||||
| description | ||||
| "This leaf describes the SPF delay that | ||||
| was used for this event."; | ||||
| } | ||||
| leaf schedule-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was scheduled."; | ||||
| } | ||||
| leaf start-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was started."; | ||||
| } | ||||
| leaf end-timestamp { | ||||
| type yang:timestamp; | ||||
| description | ||||
| "This leaf describes the timestamp | ||||
| when the computation was ended."; | ||||
| } | ||||
| list trigger-lsp { | ||||
| key "lsp"; | ||||
| leaf lsp { | ||||
| type lsp-id; | ||||
| description | ||||
| "This leaf describes the LSPID | ||||
| of the LSP."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "This leaf describes the sequence | ||||
| number of the LSP."; | ||||
| } | ||||
| description | ||||
| "This leaf describes list of LSPs | ||||
| that triggered the computation."; | ||||
| } | ||||
| description | ||||
| "List of computation events."; | ||||
| } | ||||
| description | leaf change { | |||
| "This container lists the SPF computation events."; | type bits { | |||
| } | bit refresh { | |||
| container lsp-log { | position 0; | |||
| list event { | description | |||
| key id; | "Refresh LSP, nothing has changed."; | |||
| } | ||||
| bit link-down { | ||||
| position 1; | ||||
| description | ||||
| "One or more links are down."; | ||||
| } | ||||
| bit link-up { | ||||
| position 2; | ||||
| description | ||||
| "One or more links are up."; | ||||
| } | ||||
| bit link-metric-change { | ||||
| position 3; | ||||
| description | ||||
| "One or more links experienced | ||||
| a metric change."; | ||||
| } | ||||
| bit link-other-change { | ||||
| position 4; | ||||
| description | ||||
| "One or more links experienced | ||||
| a change that does not affect state | ||||
| or metric."; | ||||
| } | ||||
| bit prefix-down { | ||||
| position 5; | ||||
| description | ||||
| "One or more links are down."; | ||||
| } | ||||
| bit prefix-up { | ||||
| position 6; | ||||
| description | ||||
| "One or more prefixes are up."; | ||||
| } | ||||
| bit prefix-metric-change { | ||||
| position 7; | ||||
| description | ||||
| "One or more prefixes experienced | ||||
| a metric change."; | ||||
| } | ||||
| bit prefix-other-change { | ||||
| position 8; | ||||
| description | ||||
| "One or more prefixes experienced | ||||
| a change that does not affect state | ||||
| or metric."; | ||||
| } | ||||
| bit other-change { | ||||
| position 9; | ||||
| description | ||||
| "One or more component changed that | ||||
| is not a prefix or link."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of change | ||||
| in the LSP."; | ||||
| } | ||||
| leaf id { | description | |||
| type uint32; | "List of LSP events."; | |||
| description | } | |||
| "This leaf defines the event identifier. | ||||
| This is a purely internal value."; | ||||
| } | ||||
| leaf level { | ||||
| type level-number; | ||||
| description | ||||
| "This leaf describes the level affected by the | ||||
| the computation."; | ||||
| } | ||||
| container lsp { | ||||
| leaf lsp { | ||||
| type lsp-id; | description | |||
| description | "This container lists the LSP reception events. | |||
| "This leaf describes the LSPID | Local LSP modification are also contained in the | |||
| of the LSP."; | list."; | |||
| } | } | |||
| leaf sequence { | container database { | |||
| type uint32; | list level-db { | |||
| description | key level; | |||
| "This leaf describes the sequence | ||||
| number of the LSP."; | ||||
| } | ||||
| description | ||||
| "This container describes the received LSP | ||||
| , in case of local LSP update the local | ||||
| LSP ID is referenced."; | ||||
| } | ||||
| leaf received-timestamp { | leaf level { | |||
| type yang:timestamp; | type level-number; | |||
| description | ||||
| "Current level number"; | ||||
| } | ||||
| list lsp { | ||||
| key lsp-id; | ||||
| description | uses database; | |||
| "This leaf describes the timestamp | description | |||
| when the LSP was received. In case of | "List of LSPs in LSDB."; | |||
| local LSP update, the timestamp refers | } | |||
| to the local LSP update time."; | ||||
| } | ||||
| leaf change { | description | |||
| type bits { | "This container describes the list of LSPs | |||
| bit refresh { | in the level x database."; | |||
| position 0; | } | |||
| description | ||||
| "Refresh LSP, nothing has changed."; | ||||
| } | ||||
| bit link-down { | ||||
| position 1; | ||||
| description | ||||
| "One or more links are down."; | ||||
| } | ||||
| bit link-up { | ||||
| position 2; | ||||
| description | ||||
| "One or more links are up."; | ||||
| } | ||||
| bit link-metric-change { | ||||
| position 3; | ||||
| description | ||||
| "One or more links experienced | ||||
| a metric change."; | ||||
| } | ||||
| bit link-other-change { | ||||
| position 4; | ||||
| description | ||||
| "One or more links experienced | ||||
| a change that does not affect state | ||||
| or metric."; | ||||
| } | ||||
| bit prefix-down { | ||||
| position 5; | ||||
| description | ||||
| "One or more links are down."; | ||||
| } | ||||
| bit prefix-up { | ||||
| position 6; | ||||
| description | ||||
| "One or more prefixes are up."; | ||||
| } | ||||
| bit prefix-metric-change { | ||||
| position 7; | ||||
| description | ||||
| "One or more prefixes experienced | ||||
| a metric change."; | ||||
| } | ||||
| bit prefix-other-change { | ||||
| position 8; | ||||
| description | ||||
| "One or more prefixes experienced | ||||
| a change that does not affect state | ||||
| or metric."; | ||||
| } | ||||
| bit other-change { | ||||
| position 9; | ||||
| description | ||||
| "One or more component changed that | ||||
| is not a prefix or link."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the type of change | ||||
| in the LSP."; | ||||
| } | description | |||
| "This container describes ISIS Link State | ||||
| databases."; | ||||
| } | ||||
| container hostnames { | ||||
| description | list hostname { | |||
| "List of LSP events."; | key system-id; | |||
| } | leaf system-id { | |||
| type system-id; | ||||
| description | ||||
| "This leaf describes the system-id | ||||
| associated with the hostname."; | ||||
| } | ||||
| leaf hostname { | ||||
| description | type string; | |||
| "This container lists the LSP reception events. | description | |||
| Local LSP modification are also contained in the | "This leaf describes the hostname | |||
| list."; | associated with the system ID."; | |||
| } | } | |||
| container database { | description | |||
| list level-db { | "List of system-id/hostname associations"; | |||
| key level; | } | |||
| leaf level { | description | |||
| type level-number; | "This container describes the list | |||
| description | of binding between system-id and | |||
| "Current level number"; | hostnames."; | |||
| } | } | |||
| list lsp { | ||||
| key lsp-id; | ||||
| uses database; | description | |||
| description | "This container defines various ISIS states objects."; | |||
| "List of LSPs in LSDB."; | } | |||
| } | } | |||
| description | /* RPC methods */ | |||
| "This container describes the list of LSPs | ||||
| in the level x database."; | ||||
| } | ||||
| description | rpc clear-adjacency { | |||
| "This container describes ISIS Link State | description | |||
| databases."; | "This RPC request clears a particular | |||
| } | set of ISIS adjacencies. If the operation | |||
| container hostnames { | fails for ISIS internal reason, then | |||
| error-tag and error-app-tag should be set | ||||
| to a meaningful value."; | ||||
| input { | ||||
| leaf routing-instance-name { | ||||
| type rt:routing-instance-state-ref; | ||||
| mandatory "true"; | ||||
| description | ||||
| "Name of the routing instance whose ISIS | ||||
| information is being queried. | ||||
| list hostname { | If the routing instance with name equal to the | |||
| key system-id; | value of this parameter doesn't exist, then this | |||
| leaf system-id { | operation SHALL fail with error-tag 'data-missing' | |||
| type system-id; | and error-app-tag 'routing-instance-not-found'."; | |||
| description | ||||
| "This leaf describes the system-id | ||||
| associated with the hostname."; | ||||
| } | ||||
| leaf hostname { | ||||
| type string; | ||||
| description | ||||
| "This leaf describes the hostname | ||||
| associated with the system ID."; | ||||
| } | ||||
| description | ||||
| "List of system-id/hostname associations"; | ||||
| } | ||||
| description | } | |||
| "This container describes the list | leaf routing-protocol-instance-name { | |||
| of binding between system-id and | type instance-state-ref; | |||
| hostnames."; | mandatory "true"; | |||
| } | description | |||
| "Name of the ISIS protocol instance whose ISIS | ||||
| information is being queried. | ||||
| description | If the ISIS instance with name equal to the | |||
| "This container defines various ISIS states objects."; | value of this parameter doesn't exist, then this | |||
| } | operation SHALL fail with error-tag 'data-missing' | |||
| } | and error-app-tag | |||
| 'routing-protocol-instance-not-found'."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "ISIS level of the adjacency to be cleared. | ||||
| If ISIS level is level-1-2, both level 1 and level 2 | ||||
| adjacencies would be cleared. | ||||
| /* RPC methods */ | If the value provided is different from the one | |||
| authorized in the enum type, then this | ||||
| operation SHALL fail with error-tag 'data-missing' | ||||
| and error-app-tag | ||||
| 'bad-isis-level'. | ||||
| "; | ||||
| } | ||||
| leaf interface { | ||||
| type string; | ||||
| description | ||||
| "Name of the ISIS interface. | ||||
| rpc clear-adjacency { | If the ISIS interface with name equal to the | |||
| description | value of this parameter doesn't exist, then this | |||
| "This RPC request clears a particular | operation SHALL fail with error-tag 'data-missing' | |||
| set of ISIS adjacencies. If the operation | and error-app-tag | |||
| fails for ISIS internal reason, then | 'isis-interface-not-found'."; | |||
| error-tag and error-app-tag should be set | } | |||
| to a meaningful value."; | } | |||
| input { | } | |||
| leaf routing-instance-name { | ||||
| type rt:routing-instance-state-ref; | ||||
| mandatory "true"; | ||||
| description | ||||
| "Name of the routing instance whose ISIS | ||||
| information is being queried. | ||||
| If the routing instance with name equal to the | rpc clear-database { | |||
| value of this parameter doesn't exist, then this | description | |||
| operation SHALL fail with error-tag 'data-missing' | "This RPC request clears a particular | |||
| and error-app-tag 'routing-instance-not-found'."; | ISIS database. If the operation | |||
| fails for ISIS internal reason, then | ||||
| error-tag and error-app-tag should be set | ||||
| to a meaningful value."; | ||||
| input { | ||||
| leaf routing-instance-name { | ||||
| type rt:routing-instance-state-ref; | ||||
| mandatory "true"; | ||||
| description | ||||
| "Name of the routing instance whose ISIS | ||||
| information is being queried. | ||||
| } | If the routing instance with name equal to the | |||
| leaf routing-protocol-instance-name { | value of this parameter doesn't exist, then this | |||
| type instance-state-ref; | operation SHALL fail with error-tag 'data-missing' | |||
| mandatory "true"; | and error-app-tag 'routing-instance-not-found'."; | |||
| description | ||||
| "Name of the ISIS protocol instance whose ISIS | ||||
| information is being queried. | ||||
| If the ISIS instance with name equal to the | } | |||
| value of this parameter doesn't exist, then this | leaf routing-protocol-instance-name { | |||
| operation SHALL fail with error-tag 'data-missing' | type instance-state-ref; | |||
| and error-app-tag | mandatory "true"; | |||
| 'routing-protocol-instance-not-found'."; | description | |||
| } | "Name of the ISIS protocol instance whose ISIS | |||
| leaf level { | information is being queried. | |||
| type level; | ||||
| description | ||||
| "ISIS level of the adjacency to be cleared. | ||||
| If ISIS level is level-1-2, both level 1 and level 2 | ||||
| adjacencies would be cleared. | ||||
| If the value provided is different from the one | If the ISIS instance with name equal to the | |||
| authorized in the enum type, then this | value of this parameter doesn't exist, then this | |||
| operation SHALL fail with error-tag 'data-missing' | operation SHALL fail with error-tag 'data-missing' | |||
| and error-app-tag | and error-app-tag | |||
| 'bad-isis-level'. | 'routing-protocol-instance-not-found'."; | |||
| "; | } | |||
| } | leaf level { | |||
| leaf interface { | type level; | |||
| type string; | description | |||
| description | "ISIS level of the adjacency to be cleared. | |||
| "Name of the ISIS interface. | ||||
| If the ISIS interface with name equal to the | If ISIS level is level-1-2, both level 1 and level 2 | |||
| value of this parameter doesn't exist, then this | adjacencies would be cleared. | |||
| operation SHALL fail with error-tag 'data-missing' | ||||
| and error-app-tag | ||||
| 'isis-interface-not-found'."; | ||||
| } | ||||
| } | ||||
| } | ||||
| rpc clear-database { | If the value provided is different from the one | |||
| description | authorized in the enum type, then this | |||
| "This RPC request clears a particular | operation SHALL fail with error-tag 'data-missing' | |||
| ISIS database. If the operation | and error-app-tag | |||
| fails for ISIS internal reason, then | 'bad-isis-level'. | |||
| error-tag and error-app-tag should be set | "; | |||
| to a meaningful value."; | } | |||
| input { | } | |||
| leaf routing-instance-name { | ||||
| type rt:routing-instance-state-ref; | ||||
| mandatory "true"; | ||||
| description | ||||
| "Name of the routing instance whose ISIS | ||||
| information is being queried. | ||||
| If the routing instance with name equal to the | } | |||
| value of this parameter doesn't exist, then this | ||||
| operation SHALL fail with error-tag 'data-missing' | ||||
| and error-app-tag 'routing-instance-not-found'."; | ||||
| } | /* Notifications */ | |||
| leaf routing-protocol-instance-name { | ||||
| type instance-state-ref; | ||||
| mandatory "true"; | ||||
| description | ||||
| "Name of the ISIS protocol instance whose ISIS | ||||
| information is being queried. | ||||
| If the ISIS instance with name equal to the | notification database-overload { | |||
| value of this parameter doesn't exist, then this | uses notification-instance-hdr; | |||
| operation SHALL fail with error-tag 'data-missing' | ||||
| and error-app-tag | ||||
| 'routing-protocol-instance-not-found'."; | ||||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "ISIS level of the adjacency to be cleared. | ||||
| If ISIS level is level-1-2, both level 1 and level 2 | ||||
| adjacencies would be cleared. | ||||
| If the value provided is different from the one | leaf overload { | |||
| authorized in the enum type, then this | type enumeration { | |||
| operation SHALL fail with error-tag 'data-missing' | enum "off" { | |||
| and error-app-tag | description | |||
| 'bad-isis-level'. | "The system has left overload condition."; | |||
| "; | } | |||
| } | enum "on" { | |||
| } | description | |||
| "The system is in overload condition."; | ||||
| } | ||||
| } | } | |||
| description | ||||
| "Describes the new overload state of the instance."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when an ISIS instance | ||||
| overload condition changes."; | ||||
| } | ||||
| /* Notifications */ | notification lsp-too-large { | |||
| uses notification-instance-hdr; | ||||
| uses notification-interface-hdr; | ||||
| notification database-overload { | leaf pdu-size { | |||
| uses notification-instance-hdr; | type uint32; | |||
| leaf overload { | description | |||
| type enumeration { | "Size of the PDU"; | |||
| enum "off" { | } | |||
| description | leaf lsp-id { | |||
| "The system has left overload condition."; | type lsp-id; | |||
| } | description | |||
| enum "on" { | "LSP ID."; | |||
| description | } | |||
| "The system is in overload condition."; | description | |||
| } | "This notification is sent when we attempt | |||
| to propagate an LSP that is larger than the | ||||
| dataLinkBlockSize for the circuit. | ||||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| } | notification corrupted-lsp-detected { | |||
| description | uses notification-instance-hdr; | |||
| "Describes the new overload state of the instance."; | leaf lsp-id { | |||
| } | type lsp-id; | |||
| description | description | |||
| "This notification is sent when an ISIS instance | "LSP ID."; | |||
| overload condition changes."; | } | |||
| } | description | |||
| "This notification is sent when we find | ||||
| that an LSP that was stored in memory has | ||||
| become corrupted. | ||||
| "; | ||||
| } | ||||
| notification lsp-too-large { | notification attempt-to-exceed-max-sequence { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | leaf lsp-id { | |||
| type lsp-id; | ||||
| description | ||||
| "LSP ID."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when the system | ||||
| wraps the 32-bit sequence counter of an LSP. | ||||
| "; | ||||
| } | ||||
| leaf pdu-size { | notification id-len-mismatch { | |||
| type uint32; | uses notification-instance-hdr; | |||
| description | uses notification-interface-hdr; | |||
| "Size of the PDU"; | ||||
| } | ||||
| leaf lsp-id { | ||||
| type lsp-id; | ||||
| description | ||||
| "LSP ID."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when we attempt | ||||
| to propagate an LSP that is larger than the | ||||
| dataLinkBlockSize for the circuit. | ||||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification corrupted-lsp-detected { | leaf pdu-field-len { | |||
| uses notification-instance-hdr; | type uint8; | |||
| leaf lsp-id { | description | |||
| type lsp-id; | "Size of the ID length in the received PDU"; | |||
| description | } | |||
| "LSP ID."; | leaf raw-pdu { | |||
| } | type binary; | |||
| description | description | |||
| "This notification is sent when we find | "Received raw PDU."; | |||
| that an LSP that was stored in memory has | } | |||
| become corrupted. | description | |||
| "; | "This notification is sent when we receive a PDU | |||
| } | with a different value for the System ID length. | |||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification attempt-to-exceed-max-sequence { | notification max-area-addresses-mismatch { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| leaf lsp-id { | uses notification-interface-hdr; | |||
| type lsp-id; | ||||
| description | ||||
| "LSP ID."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when the system | ||||
| wraps the 32-bit sequence counter of an LSP. | ||||
| "; | ||||
| } | ||||
| notification id-len-mismatch { | leaf max-area-addresses { | |||
| uses notification-instance-hdr; | type uint8; | |||
| uses notification-interface-hdr; | description | |||
| "Received number of supported areas"; | ||||
| } | ||||
| leaf raw-pdu { | ||||
| type binary; | ||||
| description | ||||
| "Received raw PDU."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when we receive a PDU | ||||
| with a different value for the Maximum Area Addresses. | ||||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| leaf pdu-field-len { | notification own-lsp-purge { | |||
| type uint8; | uses notification-instance-hdr; | |||
| description | uses notification-interface-hdr; | |||
| "Size of the ID length in the received PDU"; | leaf lsp-id { | |||
| } | type lsp-id; | |||
| leaf raw-pdu { | description | |||
| type binary; | "LSP ID."; | |||
| description | } | |||
| "Received raw PDU."; | description | |||
| } | "This notification is sent when the system | |||
| description | receives a PDU with its own system ID and zero age. | |||
| "This notification is sent when we receive a PDU | "; | |||
| with a different value for the System ID length. | } | |||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification max-area-addresses-mismatch { | notification sequence-number-skipped { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf max-area-addresses { | leaf lsp-id { | |||
| type uint8; | type lsp-id; | |||
| description | description | |||
| "Received number of supported areas"; | "LSP ID."; | |||
| } | } | |||
| leaf raw-pdu { | description | |||
| type binary; | "This notification is sent when the system | |||
| description | receives a PDU with its own system ID and | |||
| "Received raw PDU."; | different contents. The system has to reissue | |||
| } | the LSP with a higher sequence number. | |||
| description | "; | |||
| "This notification is sent when we receive a PDU | } | |||
| with a different value for the Maximum Area Addresses. | ||||
| The notification generation must be throttled | ||||
| with at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification own-lsp-purge { | notification authentication-type-failure { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf lsp-id { | leaf raw-pdu { | |||
| type lsp-id; | type binary; | |||
| description | description | |||
| "LSP ID."; | "Received raw PDU."; | |||
| } | } | |||
| description | description | |||
| "This notification is sent when the system | "This notification is sent when the system | |||
| receives a PDU with its own system ID and zero age. | receives a PDU with the wrong authentication type | |||
| "; | field. | |||
| } | The notification generation must be throttled with | |||
| at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification sequence-number-skipped { | notification authentication-failure { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf lsp-id { | leaf raw-pdu { | |||
| type lsp-id; | type binary; | |||
| description | description | |||
| "LSP ID."; | "Received raw PDU."; | |||
| } | } | |||
| description | description | |||
| "This notification is sent when the system | "This notification is sent when the system | |||
| receives a PDU with its own system ID and | receives a PDU with the wrong authentication | |||
| different contents. The system has to reissue | information. | |||
| the LSP with a higher sequence number. | The notification generation must be throttled with | |||
| "; | at least a 5 second gap. | |||
| } | "; | |||
| notification authentication-type-failure { | } | |||
| uses notification-instance-hdr; | ||||
| uses notification-interface-hdr; | ||||
| leaf raw-pdu { | ||||
| type binary; | ||||
| description | ||||
| "Received raw PDU."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when the system | ||||
| receives a PDU with the wrong authentication type | ||||
| field. | ||||
| The notification generation must be throttled with | ||||
| at least a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification authentication-failure { | notification version-skew { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf raw-pdu { | leaf protocol-version { | |||
| type binary; | type uint8; | |||
| description | description | |||
| "Received raw PDU."; | "Protocol version received in the PDU."; | |||
| } | } | |||
| description | leaf raw-pdu { | |||
| "This notification is sent when the system | type binary; | |||
| receives a PDU with the wrong authentication | description | |||
| information. | "Received raw PDU."; | |||
| The notification generation must be throttled with | } | |||
| at least a 5 second gap. | description | |||
| "; | "This notification is sent when the system | |||
| } | receives a PDU with a different protocol version | |||
| number. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification version-skew { | notification area-mismatch { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf protocol-version { | leaf raw-pdu { | |||
| type uint8; | type binary; | |||
| description | description | |||
| "Protocol version received in the PDU."; | "Received raw PDU."; | |||
| } | } | |||
| leaf raw-pdu { | description | |||
| type binary; | "This notification is sent when the system | |||
| description | receives a Hello PDU from an IS that does | |||
| "Received raw PDU."; | not share any area address. | |||
| } | The notification generation must be throttled with at least | |||
| description | a 5 second gap. | |||
| "This notification is sent when the system | "; | |||
| receives a PDU with a different protocol version | } | |||
| number. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification area-mismatch { | notification rejected-adjacency { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf raw-pdu { | leaf raw-pdu { | |||
| type binary; | type binary; | |||
| description | description | |||
| "Received raw PDU."; | "Received raw PDU."; | |||
| } | } | |||
| description | leaf reason { | |||
| "This notification is sent when the system | type string; | |||
| receives a Hello PDU from an IS that does | description | |||
| not share any area address. | "The system may provide a reason to reject the | |||
| The notification generation must be throttled with at least | adjacency. If the reason is not available, | |||
| a 5 second gap. | the system use an empty string."; | |||
| "; | } | |||
| } | description | |||
| "This notification is sent when the system | ||||
| receives a Hello PDU from an IS but does not | ||||
| establish an adjacency for some reason. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification rejected-adjacency { | notification protocols-supported-mismatch { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf raw-pdu { | leaf raw-pdu { | |||
| type binary; | type binary; | |||
| description | description | |||
| "Received raw PDU."; | "Received raw PDU."; | |||
| } | } | |||
| leaf reason { | leaf-list protocols { | |||
| type string; | type uint8; | |||
| description | description | |||
| "The system may provide a reason to reject the | "The list of protocols supported by the | |||
| adjacency. If the reason is not available, | remote system."; | |||
| the system use an empty string."; | } | |||
| } | description | |||
| description | "This notification is sent when the system | |||
| "This notification is sent when the system | receives a non pseudonode LSP that has no matching | |||
| receives a Hello PDU from an IS but does not | protocol supported. | |||
| establish an adjacency for some reason. | The notification generation must be throttled with at least | |||
| The notification generation must be throttled with at least | a 5 second gap. | |||
| a 5 second gap. | "; | |||
| "; | } | |||
| } | ||||
| notification protocols-supported-mismatch { | ||||
| uses notification-instance-hdr; | ||||
| uses notification-interface-hdr; | ||||
| leaf raw-pdu { | ||||
| type binary; | ||||
| description | ||||
| "Received raw PDU."; | ||||
| } | ||||
| leaf-list protocols { | ||||
| type uint8; | ||||
| description | ||||
| "The list of protocols supported by the | ||||
| remote system."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when the system | ||||
| receives a non pseudonode LSP that has no matching | ||||
| protocol supported. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. | ||||
| "; | ||||
| } | ||||
| notification lsp-error-detected { | notification lsp-error-detected { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf lsp-id { | leaf lsp-id { | |||
| type lsp-id; | type lsp-id; | |||
| description | description | |||
| "LSP ID."; | "LSP ID."; | |||
| } | } | |||
| leaf raw-pdu { | leaf raw-pdu { | |||
| type binary; | type binary; | |||
| description | description | |||
| "Received raw PDU."; | "Received raw PDU."; | |||
| } | } | |||
| leaf error-offset { | leaf error-offset { | |||
| type uint32; | type uint32; | |||
| description | description | |||
| "If the problem is a malformed TLV, | "If the problem is a malformed TLV, | |||
| the error-offset points to the start of the TLV. | the error-offset points to the start of the TLV. | |||
| If the problem is with the LSP header, | If the problem is with the LSP header, | |||
| the error-offset points to the suspicious byte"; | the error-offset points to the suspicious byte"; | |||
| } | } | |||
| leaf tlv-type { | leaf tlv-type { | |||
| type uint8; | type uint8; | |||
| description | description | |||
| "if the problem is a malformed TLV, the tlv-type is set | "if the problem is a malformed TLV, the tlv-type is set | |||
| to the type value of the suspicious TLV. | to the type value of the suspicious TLV. | |||
| Otherwise this leaf is not present."; | Otherwise this leaf is not present."; | |||
| } | } | |||
| description | description | |||
| "This notification is sent when the system | "This notification is sent when the system | |||
| receives a LSP with a parse error. | receives a LSP with a parse error. | |||
| The notification generation must be throttled with at least | The notification generation must be throttled with at least | |||
| a 5 second gap. | a 5 second gap. | |||
| "; | "; | |||
| } | } | |||
| notification adjacency-change { | notification adjacency-change { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface-hdr; | uses notification-interface-hdr; | |||
| leaf neighbor { | leaf neighbor { | |||
| type string; | type string; | |||
| description | description | |||
| "Describes the name of the neighbor. If the | "Describes the name of the neighbor. If the | |||
| name of the neighbor is not available, the | name of the neighbor is not available, the | |||
| field would be empty."; | field would be empty."; | |||
| } | } | |||
| leaf neighbor-system-id { | leaf neighbor-system-id { | |||
| type system-id; | type system-id; | |||
| description | description | |||
| "Describes the system-id of the neighbor."; | "Describes the system-id of the neighbor."; | |||
| } | ||||
| leaf level { | ||||
| type level; | ||||
| description | ||||
| "Describes the ISIS level of the adjacency."; | ||||
| } | ||||
| leaf state { | ||||
| type enumeration { | ||||
| enum "Up" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is established."; | ||||
| } | ||||
| enum "Down" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is no more established."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the new state of the | ||||
| ISIS adjacency."; | ||||
| } | ||||
| leaf reason { | ||||
| type string; | ||||
| description | ||||
| "If the adjacency is going to DOWN, | ||||
| this leaf provides a reason for the adjacency | ||||
| going down. The reason is provided as a text. | ||||
| If the adjacency is going to UP, no reason is | ||||
| provided."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when an ISIS adjacency | ||||
| moves to Up state or to Down state."; | ||||
| } | ||||
| notification lsp-received { | } | |||
| uses notification-instance-hdr; | leaf level { | |||
| uses notification-interface-hdr; | type level; | |||
| description | ||||
| "Describes the ISIS level of the adjacency."; | ||||
| } | ||||
| leaf state { | ||||
| type enumeration { | ||||
| enum "Up" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is established."; | ||||
| } | ||||
| enum "Down" { | ||||
| description | ||||
| "This state describes that | ||||
| adjacency is no more established."; | ||||
| } | ||||
| } | ||||
| description | ||||
| "This leaf describes the new state of the | ||||
| ISIS adjacency."; | ||||
| } | ||||
| leaf reason { | ||||
| type string; | ||||
| description | ||||
| "If the adjacency is going to DOWN, | ||||
| this leaf provides a reason for the adjacency | ||||
| going down. The reason is provided as a text. | ||||
| If the adjacency is going to UP, no reason is | ||||
| provided."; | ||||
| } | ||||
| description | ||||
| "This notification is sent when an ISIS adjacency | ||||
| moves to Up state or to Down state."; | ||||
| } | ||||
| leaf lsp-id { | notification lsp-received { | |||
| type lsp-id; | uses notification-instance-hdr; | |||
| description | uses notification-interface-hdr; | |||
| "LSP ID."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "Sequence number of the received LSP."; | ||||
| } | ||||
| leaf received-timestamp { | ||||
| type yang:timestamp; | ||||
| description | leaf lsp-id { | |||
| "This leaf describes the timestamp | type lsp-id; | |||
| when the LSP was received. "; | description | |||
| } | "LSP ID."; | |||
| leaf neighbor-system-id { | } | |||
| type system-id; | leaf sequence { | |||
| description | type uint32; | |||
| "Describes the system-id of the neighbor | description | |||
| that sent the LSP."; | "Sequence number of the received LSP."; | |||
| } | } | |||
| description | leaf received-timestamp { | |||
| "This notification is sent when a LSP | type yang:timestamp; | |||
| is received. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. "; | ||||
| } | ||||
| notification lsp-generation { | ||||
| uses notification-instance-hdr; | ||||
| leaf lsp-id { | description | |||
| type lsp-id; | "This leaf describes the timestamp | |||
| description | when the LSP was received. "; | |||
| "LSP ID."; | } | |||
| } | leaf neighbor-system-id { | |||
| leaf sequence { | type system-id; | |||
| type uint32; | description | |||
| description | "Describes the system-id of the neighbor | |||
| "Sequence number of the received LSP."; | that sent the LSP."; | |||
| } | } | |||
| leaf send-timestamp { | description | |||
| type yang:timestamp; | "This notification is sent when a LSP | |||
| is received. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. "; | ||||
| } | ||||
| description | notification lsp-generation { | |||
| "This leaf describes the timestamp | uses notification-instance-hdr; | |||
| when our LSP was regenerated. "; | ||||
| } | ||||
| description | ||||
| "This notification is sent when a LSP | ||||
| is regenerated. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. "; | ||||
| } | ||||
| } | leaf lsp-id { | |||
| type lsp-id; | ||||
| description | ||||
| "LSP ID."; | ||||
| } | ||||
| leaf sequence { | ||||
| type uint32; | ||||
| description | ||||
| "Sequence number of the received LSP."; | ||||
| } | ||||
| leaf send-timestamp { | ||||
| type yang:timestamp; | ||||
| <CODE ENDS> | description | |||
| "This leaf describes the timestamp | ||||
| when our LSP was regenerated. "; | ||||
| } | ||||
| description | ||||
| "This notification is sent when a LSP | ||||
| is regenerated. | ||||
| The notification generation must be throttled with at least | ||||
| a 5 second gap. "; | ||||
| } | ||||
| } | ||||
| <CODE ENDS> | ||||
| 8. ISIS Segment Routing YANG Module | 8. ISIS Segment Routing YANG Module | |||
| <CODE BEGINS> file "ietf-isis-sr@2015-06-23.yang" | <CODE BEGINS> file "ietf-isis-sr@2015-07-02.yang" | |||
| module ietf-isis-sr { | module ietf-isis-sr { | |||
| namespace "urn:ietf:params:xml:ns:" | namespace "urn:ietf:params:xml:ns:" | |||
| + "yang:ietf-isis-sr"; | + "yang:ietf-isis-sr"; | |||
| prefix isis-sr; | prefix isis-sr; | |||
| import ietf-inet-types { | ||||
| prefix "inet"; | ||||
| } | ||||
| import ietf-routing { | import ietf-routing { | |||
| prefix "rt"; | prefix "rt"; | |||
| } | } | |||
| import ietf-interfaces { | ||||
| prefix "if"; | ||||
| } | ||||
| import ietf-segment-routing { | import ietf-segment-routing { | |||
| prefix "sr"; | prefix "sr"; | |||
| } | } | |||
| import ietf-isis { | import ietf-isis { | |||
| prefix "isis"; | prefix "isis"; | |||
| } | } | |||
| organization | organization | |||
| "IETF ISIS Working Group"; | "IETF ISIS Working Group"; | |||
| contact | contact | |||
| "WG List: <mailto:spring@ietf.org> | "WG List: <mailto:spring@ietf.org> | |||
| Editor: Stephane Litkowski | Editor: Stephane Litkowski | |||
| <mailto:stephane.litkowski@orange.com> | <mailto:stephane.litkowski@orange.com> | |||
| Acee Lindem | Acee Lindem | |||
| <mailto:acee@cisco.com> | <mailto:acee@cisco.com> | |||
| Yingzhen Qu | Yingzhen Qu | |||
| <mailto:yiqu@cisco.com> | <mailto:yiqu@cisco.com> | |||
| Pushpasis Sarkar | Pushpasis Sarkar | |||
| <mailto:psarkar@juniper.net> | <mailto:psarkar@juniper.net> | |||
| Ing-Wher Chen | Ing-Wher Chen | |||
| <mailto:ing-wher.chen@ericsson.com> | <mailto:ing-wher.chen@ericsson.com> | |||
| Jeff Tantsura | Jeff Tantsura | |||
| <mailto:jeff.tantsura@ericsson.com> | <mailto:jeff.tantsura@ericsson.com> | |||
| "; | "; | |||
| description | description | |||
| "The YANG module defines a generic configuration model for | "The YANG module defines a generic configuration model for | |||
| Segment routing ISIS extensions common across all of the vendor | Segment routing ISIS extensions common across all of the vendor | |||
| implementations."; | implementations."; | |||
| revision 2015-07-02 { | ||||
| description | ||||
| " | ||||
| * Add TILFA and rLFA SR | ||||
| * Add container to SRGB | ||||
| "; | ||||
| reference ""; | ||||
| } | ||||
| revision 2015-05-27 { | revision 2015-05-27 { | |||
| description " | description " | |||
| * Initialization | * Initialization | |||
| "; | "; | |||
| reference ""; | reference ""; | |||
| } | } | |||
| /* Identities */ | /* Identities */ | |||
| /* Features */ | /* Features */ | |||
| feature remote-lfa-sr { | ||||
| description | ||||
| "Enhance rLFA to use SR path."; | ||||
| } | ||||
| feature ti-lfa { | ||||
| description | ||||
| "Enhance IPFRR with ti-lfa | ||||
| support"; | ||||
| } | ||||
| /* Groupings */ | /* Groupings */ | |||
| grouping adjacency-state { | grouping adjacency-state { | |||
| description | ||||
| "This group will extend adjacency state."; | ||||
| list adjacency-sid { | ||||
| key value; | ||||
| leaf af { | ||||
| type identityref { | ||||
| base rt:address-family; | ||||
| } | ||||
| description | description | |||
| "Address-family associated with the | "This group will extend adjacency state."; | |||
| segment ID"; | list adjacency-sid { | |||
| } | key value; | |||
| leaf value { | leaf af { | |||
| type uint32; | type identityref { | |||
| description | base rt:address-family; | |||
| "Value of the Adj-SID."; | } | |||
| } | description | |||
| leaf weight { | "Address-family associated with the | |||
| type uint8; | segment ID"; | |||
| description | } | |||
| "Weight associated with | leaf value { | |||
| the adjacency SID."; | type uint32; | |||
| } | description | |||
| leaf protection-requested { | "Value of the Adj-SID."; | |||
| type boolean; | } | |||
| description | leaf weight { | |||
| "Describe if the adjacency SID | type uint8; | |||
| must be protected."; | description | |||
| } | "Weight associated with | |||
| description | the adjacency SID."; | |||
| "List of adjacency Segment IDs."; | } | |||
| } | leaf protection-requested { | |||
| type boolean; | ||||
| description | ||||
| "Describe if the adjacency SID | ||||
| must be protected."; | ||||
| } | ||||
| description | ||||
| "List of adjacency Segment IDs."; | ||||
| } | ||||
| } | } | |||
| grouping prefix-segment-id { | grouping prefix-segment-id { | |||
| description | description | |||
| "This group defines segment routing extensions | "This group defines segment routing extensions | |||
| for prefixes."; | for prefixes."; | |||
| list sid-list { | list sid-list { | |||
| key value; | key value; | |||
| leaf flags { | leaf flags { | |||
| type bits { | type bits { | |||
| bit readvertisment { | bit readvertisment { | |||
| position 7; | position 7; | |||
| description | description | |||
| "If set, then the prefix to | "If set, then the prefix to | |||
| which this Prefix-SID is attached, | which this Prefix-SID is attached, | |||
| has been propagated by the | has been propagated by the | |||
| router either from another level | router either from another level | |||
| or from redistribution."; | or from redistribution."; | |||
| skipping to change at page 98, line 18 ¶ | skipping to change at page 100, line 6 ¶ | |||
| leaf algorithm { | leaf algorithm { | |||
| type uint8; | type uint8; | |||
| description | description | |||
| "Algorithm to be used for path computation."; | "Algorithm to be used for path computation."; | |||
| } | } | |||
| leaf value { | leaf value { | |||
| type uint32; | type uint32; | |||
| description | description | |||
| "Value of the prefix-SID."; | "Value of the prefix-SID."; | |||
| } | } | |||
| description | description | |||
| "List of segments."; | "List of segments."; | |||
| } | } | |||
| } | } | |||
| grouping adjacency-segment-id { | grouping adjacency-segment-id { | |||
| description | description | |||
| "This group defines segment routing extensions | "This group defines segment routing extensions | |||
| for adjacencies."; | for adjacencies."; | |||
| list sid-list { | list sid-list { | |||
| key value; | key value; | |||
| leaf flags { | leaf flags { | |||
| type bits { | type bits { | |||
| bit address-family { | bit address-family { | |||
| position 7; | position 7; | |||
| description | description | |||
| "If unset, then the Adj-SID refers | "If unset, then the Adj-SID refers | |||
| to an adjacency with outgoing IPv4 encapsulation. | to an adjacency with outgoing IPv4 encapsulation. | |||
| If set then the Adj-SID refers to an adjacency | If set then the Adj-SID refers to an adjacency | |||
| with outgoing IPv6 encapsulation."; | with outgoing IPv6 encapsulation."; | |||
| skipping to change at page 99, line 45 ¶ | skipping to change at page 101, line 34 ¶ | |||
| description | description | |||
| "Describes the system ID of the neighbor | "Describes the system ID of the neighbor | |||
| associated with the SID value. This is only | associated with the SID value. This is only | |||
| used on LAN adjacencies."; | used on LAN adjacencies."; | |||
| } | } | |||
| leaf value { | leaf value { | |||
| type uint32; | type uint32; | |||
| description | description | |||
| "Value of the Adj-SID."; | "Value of the Adj-SID."; | |||
| } | } | |||
| description | description | |||
| "List of segments."; | "List of segments."; | |||
| } | } | |||
| } | } | |||
| grouping segment-routing-binding-tlv { | grouping segment-routing-binding-tlv { | |||
| list segment-routing-bindings { | list segment-routing-bindings { | |||
| key "fec range"; | key "fec range"; | |||
| leaf fec { | leaf fec { | |||
| type string; | type string; | |||
| skipping to change at page 103, line 37 ¶ | skipping to change at page 105, line 25 ¶ | |||
| } | } | |||
| description | description | |||
| "Bindings associated with the range."; | "Bindings associated with the range."; | |||
| } | } | |||
| description | description | |||
| "This container describes list of SID/Label | "This container describes list of SID/Label | |||
| bindings. | bindings. | |||
| ISIS reference is TLV 149."; | ISIS reference is TLV 149."; | |||
| } | } | |||
| description | description | |||
| "Defines binding TLV for database."; | "Defines binding TLV for database."; | |||
| } | } | |||
| /* Cfg */ | /* Cfg */ | |||
| augment "/rt:routing/rt:routing-instance/" + | augment "/rt:routing/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis" { | "/isis:isis" { | |||
| when "rt:type = 'isis:isis'" { | when "rt:type = 'isis:isis'" { | |||
| description | description | |||
| "This augment ISIS routing protocol when used"; | "This augment ISIS routing protocol when used"; | |||
| skipping to change at page 104, line 15 ¶ | skipping to change at page 106, line 4 ¶ | |||
| uses sr:controlplane-cfg; | uses sr:controlplane-cfg; | |||
| } | } | |||
| augment "/rt:routing/rt:routing-instance/" + | augment "/rt:routing/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:interfaces/isis:interface" { | "/isis:isis/isis:interfaces/isis:interface" { | |||
| when "rt:type = 'isis:isis'" { | when "rt:type = 'isis:isis'" { | |||
| description | description | |||
| "This augment ISIS routing protocol when used"; | "This augment ISIS routing protocol when used"; | |||
| } | } | |||
| description | description | |||
| "This augments ISIS protocol configuration | "This augments ISIS protocol configuration | |||
| with segment routing."; | with segment routing."; | |||
| uses sr:igp-interface-cfg; | uses sr:igp-interface-cfg; | |||
| } | } | |||
| augment "/rt:routing/rt:routing-instance/" + | ||||
| "rt:routing-protocols/rt:routing-protocol"+ | ||||
| "/isis:isis/isis:interfaces/isis:interface"+ | ||||
| "/isis:fast-reroute" { | ||||
| when "rt:type = 'isis:isis'" { | ||||
| description | ||||
| "This augment ISIS routing protocol when used"; | ||||
| } | ||||
| description | ||||
| "This augments ISIS IP FRR with TILFA."; | ||||
| container ti-lfa { | ||||
| if-feature ti-lfa; | ||||
| leaf enable { | ||||
| type boolean; | ||||
| description | ||||
| "Enables TI-LFA computation."; | ||||
| } | ||||
| description | ||||
| "TILFA configuration."; | ||||
| } | ||||
| } | ||||
| augment "/rt:routing/rt:routing-instance/" + | ||||
| "rt:routing-protocols/rt:routing-protocol"+ | ||||
| "/isis:isis/isis:interfaces/isis:interface"+ | ||||
| "/isis:fast-reroute/isis:lfa/isis:remote-lfa" { | ||||
| when "rt:type = 'isis:isis'" { | ||||
| description | ||||
| "This augment ISIS routing protocol when used"; | ||||
| } | ||||
| description | ||||
| "This augments ISIS remoteLFA config with | ||||
| use of segment-routing path."; | ||||
| leaf use-segment-routing-path { | ||||
| if-feature remote-lfa-sr; | ||||
| type boolean; | ||||
| description | ||||
| "force remote LFA to use segment routing | ||||
| path instead of LDP path."; | ||||
| } | ||||
| } | ||||
| /* Operational states */ | /* Operational states */ | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis" { | "/isis:isis" { | |||
| when "rt:type = 'isis:isis'" { | when "rt:type = 'isis:isis'" { | |||
| description | description | |||
| "This augment ISIS routing protocol when used"; | "This augment ISIS routing protocol when used"; | |||
| } | } | |||
| description | description | |||
| skipping to change at page 105, line 11 ¶ | skipping to change at page 107, line 43 ¶ | |||
| description | description | |||
| "This augments ISIS protocol configuration | "This augments ISIS protocol configuration | |||
| with segment routing."; | with segment routing."; | |||
| uses sr:igp-interface-cfg; | uses sr:igp-interface-cfg; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:interfaces/isis:interface" + | "/isis:isis/isis:interfaces/isis:interface" + | |||
| "/isis:adjacencies/isis:adjacency" { | "/isis:adjacencies/isis:adjacency" { | |||
| when "rt:type = 'isis:isis'" { | when "rt:type = 'isis:isis'" { | |||
| description | description | |||
| "This augment ISIS routing protocol when used"; | "This augment ISIS routing protocol when used"; | |||
| } | } | |||
| description | description | |||
| "This augments ISIS protocol configuration | "This augments ISIS protocol configuration | |||
| with segment routing."; | with segment routing."; | |||
| uses adjacency-state; | uses adjacency-state; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:extended-is-neighbor/isis:neighbor" { | "/isis:extended-is-neighbor/isis:neighbor" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB neighbor."; | "This augments ISIS protocol LSDB neighbor."; | |||
| uses adjacency-segment-id; | uses adjacency-segment-id; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:mt-is-neighbor/isis:neighbor" { | "/isis:mt-is-neighbor/isis:neighbor" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB neighbor."; | "This augments ISIS protocol LSDB neighbor."; | |||
| uses adjacency-segment-id; | uses adjacency-segment-id; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:extended-ipv4-reachability/isis:prefixes" { | "/isis:extended-ipv4-reachability/isis:prefixes" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB prefix."; | "This augments ISIS protocol LSDB prefix."; | |||
| uses prefix-segment-id; | uses prefix-segment-id; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:mt-extended-ipv4-reachability/isis:prefixes" { | "/isis:mt-extended-ipv4-reachability/isis:prefixes" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB prefix."; | "This augments ISIS protocol LSDB prefix."; | |||
| uses prefix-segment-id; | uses prefix-segment-id; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:ipv6-reachability/isis:prefixes" { | "/isis:ipv6-reachability/isis:prefixes" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB prefix."; | "This augments ISIS protocol LSDB prefix."; | |||
| uses prefix-segment-id; | ||||
| uses prefix-segment-id; | ||||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | "/isis:isis/isis:database/isis:level-db/isis:lsp"+ | |||
| "/isis:mt-ipv6-reachability/isis:prefixes" { | "/isis:mt-ipv6-reachability/isis:prefixes" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB prefix."; | "This augments ISIS protocol LSDB prefix."; | |||
| uses prefix-segment-id; | uses prefix-segment-id; | |||
| } | } | |||
| augment "/rt:routing-state/rt:routing-instance/" + | augment "/rt:routing-state/rt:routing-instance/" + | |||
| "rt:routing-protocols/rt:routing-protocol"+ | "rt:routing-protocols/rt:routing-protocol"+ | |||
| "/isis:isis/isis:database/isis:level-db/isis:lsp" { | "/isis:isis/isis:database/isis:level-db/isis:lsp" { | |||
| description | description | |||
| "This augments ISIS protocol LSDB."; | "This augments ISIS protocol LSDB."; | |||
| uses segment-routing-binding-tlv; | uses segment-routing-binding-tlv; | |||
| } | } | |||
| /* Notifications */ | /* Notifications */ | |||
| } | } | |||
| <CODE ENDS> | <CODE ENDS> | |||
| 9. Security Considerations | 9. Security Considerations | |||
| skipping to change at page 108, line 21 ¶ | skipping to change at page 111, line 6 ¶ | |||
| TBD. | TBD. | |||
| 13. Normative References | 13. Normative References | |||
| [I-D.ietf-netmod-routing-cfg] | [I-D.ietf-netmod-routing-cfg] | |||
| Lhotka, L. and A. Lindem, "A YANG Data Model for Routing | Lhotka, L. and A. Lindem, "A YANG Data Model for Routing | |||
| Management", draft-ietf-netmod-routing-cfg-19 (work in | Management", draft-ietf-netmod-routing-cfg-19 (work in | |||
| progress), May 2015. | progress), May 2015. | |||
| [I-D.litkowski-spring-sr-yang] | [I-D.litkowski-spring-sr-yang] | |||
| Litkowski, S., Lindem, A., Sarkar, P., and H. Chen, "YANG | Litkowski, S., Qu, Y., Sarkar, P., and J. Tantsura, "YANG | |||
| Data Model for Segment Routing", draft-litkowski-spring- | Data Model for Segment Routing", draft-litkowski-spring- | |||
| sr-yang-00 (work in progress), March 2015. | sr-yang-01 (work in progress), June 2015. | |||
| [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | |||
| Requirement Levels", BCP 14, RFC 2119, March 1997. | Requirement Levels", BCP 14, RFC 2119, March 1997. | |||
| [RFC6241] Enns, R., Bjorklund, M., Schoenwaelder, J., and A. | [RFC6241] Enns, R., Bjorklund, M., Schoenwaelder, J., and A. | |||
| Bierman, "Network Configuration Protocol (NETCONF)", RFC | Bierman, "Network Configuration Protocol (NETCONF)", RFC | |||
| 6241, June 2011. | 6241, June 2011. | |||
| [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | |||
| Shell (SSH)", RFC 6242, June 2011. | Shell (SSH)", RFC 6242, June 2011. | |||
| skipping to change at page 108, line 45 ¶ | skipping to change at page 111, line 30 ¶ | |||
| [RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration | [RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration | |||
| Protocol (NETCONF) Access Control Model", RFC 6536, March | Protocol (NETCONF) Access Control Model", RFC 6536, March | |||
| 2012. | 2012. | |||
| Appendix A. Example: NETCONF <get> Reply | Appendix A. Example: NETCONF <get> Reply | |||
| This section gives an example of a reply to the NETCONF <get> request | This section gives an example of a reply to the NETCONF <get> request | |||
| for a device that implements the data model defined in this document. | for a device that implements the data model defined in this document. | |||
| The example is written in XML. | The example is written in XML. | |||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | |||
| <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | |||
| <routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"> | <routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"> | |||
| <routing-instance> | <routing-instance> | |||
| <name>SLI</name> | <name>SLI</name> | |||
| <router-id>1.1.1.1</router-id> | <router-id>1.1.1.1</router-id> | |||
| <description/> | <description/> | |||
| <default-ribs> | <default-ribs> | |||
| <default-rib> | <default-rib> | |||
| <address-family>ipv4-unicast</address-family> | <address-family>ipv4-unicast</address-family> | |||
| <rib-name>default</rib-name> | <rib-name>default</rib-name> | |||
| </default-rib> | </default-rib> | |||
| </default-ribs> | </default-ribs> | |||
| <interfaces> | <interfaces> | |||
| <interface> | <interface> | |||
| <name>Loopback0</name> | <name>Loopback0</name> | |||
| </interface> | </interface> | |||
| <interface> | <interface> | |||
| <name>Eth1</name> | <name>Eth1</name> | |||
| </interface> | </interface> | |||
| </interfaces> | </interfaces> | |||
| <routing-protocols> | <routing-protocols> | |||
| <routing-protocol> | <routing-protocol> | |||
| <name>ISIS</name> | <name>ISIS</name> | |||
| <description/> | <description/> | |||
| <type>isis:isis</type> | <type>isis:isis</type> | |||
| <connected-ribs> | <connected-ribs> | |||
| <connected-rib> | <connected-rib> | |||
| <rib-name>default</rib-name> | <rib-name>default</rib-name> | |||
| <import-filter/> | <import-filter/> | |||
| <export-filter/> | <export-filter/> | |||
| </connected-rib> | </connected-rib> | |||
| </connected-ribs> | </connected-ribs> | |||
| <isis xmlns="urn:ietf:params:xml:ns:yang:ietf-isis"> | <isis xmlns="urn:ietf:params:xml:ns:yang:ietf-isis"> | |||
| <instance> | <instance> | |||
| <routing-instance>SLI</routing-instance> | <routing-instance>SLI</routing-instance> | |||
| <level-type>level-2</level-type> | <level-type>level-2</level-type> | |||
| <system-id>87FC.FCDF.4432</system-id> | <system-id>87FC.FCDF.4432</system-id> | |||
| <area-address>49.0001</area-address> | <area-address>49.0001</area-address> | |||
| <mpls-te> | <mpls-te> | |||
| <ipv4-router-id>1.1.1.1</ipv4-router-id> | <ipv4-router-id>1.1.1.1</ipv4-router-id> | |||
| </mpls-te> | </mpls-te> | |||
| <lsp-lifetime>65535</lsp-lifetime> | <lsp-lifetime>65535</lsp-lifetime> | |||
| <lsp-refresh>65000</lsp-refresh> | <lsp-refresh>65000</lsp-refresh> | |||
| <authentication> | <authentication> | |||
| <key>ThisIsThePassword</key> | <key>ThisIsThePassword</key> | |||
| <type>plain-text</type> | <type>plain-text</type> | |||
| <level>level-2</level> | <level>level-2</level> | |||
| </authentication> | </authentication> | |||
| <metric-type> | <metric-type> | |||
| <value>wide</value> | <value>wide</value> | |||
| </metric-type> | </metric-type> | |||
| <default-metric> | <default-metric> | |||
| <value>111111</value> | <value>111111</value> | |||
| </default-metric> | </default-metric> | |||
| <af> | <af> | |||
| <af>ipv4-unicast</af> | <af>ipv4-unicast</af> | |||
| <enabled>true</enabled> | <enabled>true</enabled> | |||
| </af> | </af> | |||
| <interfaces> | <interfaces> | |||
| <interface> | <interface> | |||
| <name>Loopback0</name> | <name>Loopback0</name> | |||
| <tag>200</tag> | <tag>200</tag> | |||
| <metric> | <metric> | |||
| <value>0</value> | <value>0</value> | |||
| </metric> | </metric> | |||
| <passive>true</passive> | <passive>true</passive> | |||
| </interface> | </interface> | |||
| <interface> | <interface> | |||
| <name>Eth1</name> | <name>Eth1</name> | |||
| <level-type>level-2</level-type> | <level-type>level-2</level-type> | |||
| <interface-type>point-to-point</interface-type> | <interface-type>point-to-point</interface-type> | |||
| <metric> | <metric> | |||
| <value>167890</value> | <value>167890</value> | |||
| </metric> | </metric> | |||
| </interface> | </interface> | |||
| </interfaces> | </interfaces> | |||
| </instance> | </instance> | |||
| </isis> | </isis> | |||
| </routing-protocol> | </routing-protocol> | |||
| </routing-protocols> | </routing-protocols> | |||
| </routing-instance> | </routing-instance> | |||
| <ribs> | <ribs> | |||
| <rib> | <rib> | |||
| <name>default</name> | <name>default</name> | |||
| <address-family>ipv4-unicast</address-family> | <address-family>ipv4-unicast</address-family> | |||
| <description/> | <description/> | |||
| <recipient-ribs> | <recipient-ribs> | |||
| <recipient-rib> | <recipient-rib> | |||
| <rib-name/> | <rib-name/> | |||
| <filter/> | <filter/> | |||
| </recipient-rib> | </recipient-rib> | |||
| </recipient-ribs> | </recipient-ribs> | |||
| </rib> | </rib> | |||
| </ribs> | </ribs> | |||
| <route-filters> | <route-filters> | |||
| <route-filter> | <route-filter> | |||
| <name/> | <name/> | |||
| <description/> | <description/> | |||
| <type/> | <type/> | |||
| </route-filter> | </route-filter> | |||
| </route-filters> | </route-filters> | |||
| </routing> | </routing> | |||
| <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> | <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> | |||
| <interface> | <interface> | |||
| <name>Loopback0</name> | <name>Loopback0</name> | |||
| <description/> | <description/> | |||
| <type/> | <type/> | |||
| <link-up-down-trap-enable/> | <link-up-down-trap-enable/> | |||
| <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | |||
| <mtu/> | <mtu/> | |||
| <address> | <address> | |||
| <ip>1.1.1.1</ip> | <ip>1.1.1.1</ip> | |||
| <prefix-length>32</prefix-length> | <prefix-length>32</prefix-length> | |||
| </address> | </address> | |||
| </ipv4> | </ipv4> | |||
| </interface> | </interface> | |||
| <interface> | <interface> | |||
| <name>Eth1</name> | <name>Eth1</name> | |||
| <description/> | <description/> | |||
| <type/> | <type/> | |||
| <link-up-down-trap-enable/> | <link-up-down-trap-enable/> | |||
| <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | |||
| <mtu/> | <mtu/> | |||
| <address> | <address> | |||
| <ip>10.0.0.1</ip> | <ip>10.0.0.1</ip> | |||
| <prefix-length>30</prefix-length> | <prefix-length>30</prefix-length> | |||
| </address> | </address> | |||
| </ipv4> | </ipv4> | |||
| </interface> | </interface> | |||
| </interfaces> | </interfaces> | |||
| </data> | </data> | |||
| Authors' Addresses | Authors' Addresses | |||
| Stephane Litkowski | Stephane Litkowski | |||
| Orange | Orange | |||
| Email: stephane.litkowski@orange.com | Email: stephane.litkowski@orange.com | |||
| Derek Yeung | Derek Yeung | |||
| Cisco Systems | Cisco Systems | |||
| End of changes. 319 change blocks. | ||||
| 3544 lines changed or deleted | 3689 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||