| rfc9129v17.txt | rfc9129.txt | |||
|---|---|---|---|---|
| skipping to change at line 1117 ¶ | skipping to change at line 1117 ¶ | |||
| The following RFCs are referenced in the "ietf-ospf" YANG module: | The following RFCs are referenced in the "ietf-ospf" YANG module: | |||
| [RFC0905], [RFC1765], [RFC1793], [RFC2328], [RFC3101], [RFC3623], | [RFC0905], [RFC1765], [RFC1793], [RFC2328], [RFC3101], [RFC3623], | |||
| [RFC3630], [RFC4552], [RFC4576], [RFC4577], [RFC4915], [RFC4973], | [RFC3630], [RFC4552], [RFC4576], [RFC4577], [RFC4915], [RFC4973], | |||
| [RFC5082], [RFC5185], [RFC5187], [RFC5250], [RFC5286], [RFC5309], | [RFC5082], [RFC5185], [RFC5187], [RFC5250], [RFC5286], [RFC5309], | |||
| [RFC5329], [RFC5340], [RFC5443], [RFC5613], [RFC5642], [RFC5709], | [RFC5329], [RFC5340], [RFC5443], [RFC5613], [RFC5642], [RFC5709], | |||
| [RFC5714], [RFC5838], [RFC5880], [RFC5881], [RFC6565], [RFC6845], | [RFC5714], [RFC5838], [RFC5880], [RFC5881], [RFC6565], [RFC6845], | |||
| [RFC6860], [RFC6987], [RFC6991], [RFC7166], [RFC7474], [RFC7490], | [RFC6860], [RFC6987], [RFC6991], [RFC7166], [RFC7474], [RFC7490], | |||
| [RFC7684], [RFC7770], [RFC7777], [RFC7884], [RFC8177], [RFC8294], | [RFC7684], [RFC7770], [RFC7777], [RFC7884], [RFC8177], [RFC8294], | |||
| [RFC8343], [RFC8349], [RFC8405], [RFC8476], and [RFC9314]. | [RFC8343], [RFC8349], [RFC8405], [RFC8476], and [RFC9314]. | |||
| <CODE BEGINS> file "ietf-ospf@2022-09-26.yang" | <CODE BEGINS> file "ietf-ospf@2022-10-19.yang" | |||
| module ietf-ospf { | module ietf-ospf { | |||
| yang-version 1.1; | yang-version 1.1; | |||
| namespace "urn:ietf:params:xml:ns:yang:ietf-ospf"; | namespace "urn:ietf:params:xml:ns:yang:ietf-ospf"; | |||
| prefix ospf; | prefix ospf; | |||
| import ietf-inet-types { | import ietf-inet-types { | |||
| prefix inet; | prefix inet; | |||
| reference | reference | |||
| "RFC 6991: Common YANG Data Types"; | "RFC 6991: Common YANG Data Types"; | |||
| skipping to change at line 1222 ¶ | skipping to change at line 1222 ¶ | |||
| Redistribution and use in source and binary forms, with or | Redistribution and use in source and binary forms, with or | |||
| without modification, is permitted pursuant to, and subject to | without modification, is permitted pursuant to, and subject to | |||
| the license terms contained in, the Revised BSD License set | the license terms contained in, the Revised BSD License set | |||
| forth in Section 4.c of the IETF Trust's Legal Provisions | forth in Section 4.c of the IETF Trust's Legal Provisions | |||
| Relating to IETF Documents | Relating to IETF Documents | |||
| (https://trustee.ietf.org/license-info). | (https://trustee.ietf.org/license-info). | |||
| This version of this YANG module is part of RFC 9129; see the | This version of this YANG module is part of RFC 9129; see the | |||
| RFC itself for full legal notices."; | RFC itself for full legal notices."; | |||
| revision 2022-09-26 { | revision 2022-10-19 { | |||
| description | description | |||
| "Initial revision."; | "Initial revision."; | |||
| reference | reference | |||
| "RFC 9129: YANG Data Model for the OSPF Protocol"; | "RFC 9129: YANG Data Model for the OSPF Protocol"; | |||
| } | } | |||
| feature multi-topology { | feature multi-topology { | |||
| description | description | |||
| "Support for Multi-Topology (MT) routing."; | "Support for Multi-Topology (MT) routing."; | |||
| reference | reference | |||
| skipping to change at line 4033 ¶ | skipping to change at line 4033 ¶ | |||
| error-message "The dead interval must be " | error-message "The dead interval must be " | |||
| + "larger than the Hello interval"; | + "larger than the Hello interval"; | |||
| description | description | |||
| "The value must be greater than 'hello-interval'."; | "The value must be greater than 'hello-interval'."; | |||
| } | } | |||
| description | description | |||
| "Interval after which a neighbor is declared down | "Interval after which a neighbor is declared down | |||
| (seconds) if Hello packets are not received. It is | (seconds) if Hello packets are not received. It is | |||
| typically 3 or 4 times the 'hello-interval' period. | typically 3 or 4 times the 'hello-interval' period. | |||
| A typical value for LAN networks is 40 seconds."; | A typical value for LAN networks is 40 seconds."; | |||
| reference | reference | |||
| "RFC 2328: OSPF Version 2, Appendix C.3"; | "RFC 2328: OSPF Version 2, Appendix C.3"; | |||
| } | } | |||
| leaf retransmit-interval { | leaf retransmit-interval { | |||
| type uint16 { | type uint16 { | |||
| range "1..3600"; | range "1..3600"; | |||
| } | } | |||
| units "seconds"; | units "seconds"; | |||
| description | description | |||
| "Interval between retransmitting unacknowledged Link | "Interval between retransmitting unacknowledged Link | |||
| State Advertisements (LSAs) (seconds). This should | State Advertisements (LSAs) (seconds). This should | |||
| be well over the round-trip transmit delay for | be well over the round-trip transmit delay for | |||
| any two routers on the network. A sample value | any two routers on the network. A sample value | |||
| would be 5 seconds."; | would be 5 seconds."; | |||
| reference | reference | |||
| "RFC 2328: OSPF Version 2, Appendix C.3"; | "RFC 2328: OSPF Version 2, Appendix C.3"; | |||
| } | } | |||
| leaf transmit-delay { | leaf transmit-delay { | |||
| type uint16; | type uint16; | |||
| units "seconds"; | units "seconds"; | |||
| description | description | |||
| "Estimated time needed to transmit Link State Update | "Estimated time needed to transmit Link State Update | |||
| (LSU) packets on the interface (seconds). LSAs have | (LSU) packets on the interface (seconds). LSAs have | |||
| their age incremented by this amount when advertised | their age incremented by this amount when advertised | |||
| on the interface. A sample value would be 1 second."; | on the interface. A sample value would be 1 second."; | |||
| reference | reference | |||
| "RFC 2328: OSPF Version 2, Appendix C.3"; | "RFC 2328: OSPF Version 2, Appendix C.3"; | |||
| } | } | |||
| leaf lls { | leaf lls { | |||
| if-feature "lls"; | if-feature "lls"; | |||
| type boolean; | type boolean; | |||
| description | description | |||
| "Enables/disables link-local signaling (LLS) support."; | "Enables/disables link-local signaling (LLS) support."; | |||
| } | } | |||
| container ttl-security { | container ttl-security { | |||
| skipping to change at line 4106 ¶ | skipping to change at line 4106 ¶ | |||
| container authentication { | container authentication { | |||
| description | description | |||
| "Authentication configuration."; | "Authentication configuration."; | |||
| choice auth-type-selection { | choice auth-type-selection { | |||
| description | description | |||
| "Options for OSPFv2/OSPFv3 authentication | "Options for OSPFv2/OSPFv3 authentication | |||
| configuration."; | configuration."; | |||
| case ospfv2-auth { | case ospfv2-auth { | |||
| when "derived-from-or-self(../../../../../../rt:type, " | when "derived-from-or-self(../../../../../../rt:type, " | |||
| + "'ospfv2')" { | + "'ospfv2')" { | |||
| description | description | |||
| "Applied to OSPFv2 only."; | "Applied to OSPFv2 only."; | |||
| } | } | |||
| leaf ospfv2-auth-trailer-rfc { | leaf ospfv2-auth-trailer-rfc { | |||
| if-feature "ospfv2-authentication-trailer"; | if-feature "ospfv2-authentication-trailer"; | |||
| type ospfv2-auth-trailer-rfc-version; | type ospfv2-auth-trailer-rfc-version; | |||
| description | description | |||
| "Version of OSPFv2 authentication trailer support. | "Version of OSPFv2 authentication trailer support. | |||
| See RFCs 5709 and 7474."; | See RFCs 5709 and 7474."; | |||
| reference | reference | |||
| skipping to change at line 4157 ¶ | skipping to change at line 4157 ¶ | |||
| base key-chain:crypto-algorithm; | base key-chain:crypto-algorithm; | |||
| } | } | |||
| description | description | |||
| "Cryptographic algorithm associated with the key."; | "Cryptographic algorithm associated with the key."; | |||
| } | } | |||
| } | } | |||
| } | } | |||
| } | } | |||
| case ospfv3-auth-ipsec { | case ospfv3-auth-ipsec { | |||
| when "derived-from-or-self(../../../../../../rt:type, " | when "derived-from-or-self(../../../../../../rt:type, " | |||
| + "'ospfv3')" { | + "'ospfv3')" { | |||
| description | description | |||
| "Applied to OSPFv3 only."; | "Applied to OSPFv3 only."; | |||
| } | } | |||
| if-feature "ospfv3-authentication-ipsec"; | if-feature "ospfv3-authentication-ipsec"; | |||
| leaf sa { | leaf sa { | |||
| type string; | type string; | |||
| description | description | |||
| "Name of the Security Association (SA)."; | "Name of the Security Association (SA)."; | |||
| } | } | |||
| } | } | |||
| case ospfv3-auth-trailer { | case ospfv3-auth-trailer { | |||
| when "derived-from-or-self(../../../../../../rt:type, " | when "derived-from-or-self(../../../../../../rt:type, " | |||
| + "'ospfv3')" { | + "'ospfv3')" { | |||
| description | description | |||
| "Applied to OSPFv3 only."; | "Applied to OSPFv3 only."; | |||
| } | } | |||
| if-feature "ospfv3-authentication-trailer"; | if-feature "ospfv3-authentication-trailer"; | |||
| choice ospfv3-auth-specification { | choice ospfv3-auth-specification { | |||
| description | description | |||
| "Key chain or explicit key parameter specification."; | "Key chain or explicit key parameter specification."; | |||
| case auth-key-chain { | case auth-key-chain { | |||
| if-feature "key-chain"; | if-feature "key-chain"; | |||
| leaf ospfv3-key-chain { | leaf ospfv3-key-chain { | |||
| skipping to change at line 4876 ¶ | skipping to change at line 4876 ¶ | |||
| type yang:timestamp; | type yang:timestamp; | |||
| config false; | config false; | |||
| description | description | |||
| "Time when the next SPF has been scheduled."; | "Time when the next SPF has been scheduled."; | |||
| } | } | |||
| leaf last-spf-time { | leaf last-spf-time { | |||
| type yang:timestamp; | type yang:timestamp; | |||
| config false; | config false; | |||
| description | description | |||
| "Time of the last SPF computation."; | "Time of the last SPF computation."; | |||
| } | } | |||
| description | description | |||
| "Grouping for IETF SPF delay configuration and state."; | "Grouping for IETF SPF delay configuration and state."; | |||
| reference | reference | |||
| "RFC 8405: Shortest Path First (SPF) Back-Off Delay Algorithm | "RFC 8405: Shortest Path First (SPF) Back-Off Delay Algorithm | |||
| for Link-State IGPs"; | for Link-State IGPs"; | |||
| } | } | |||
| grouping node-tag-config { | grouping node-tag-config { | |||
| description | description | |||
| "OSPF node tag configuration state."; | "OSPF node tag configuration state."; | |||
| container node-tags { | container node-tags { | |||
| if-feature "node-tag"; | if-feature "node-tag"; | |||
| list node-tag { | list node-tag { | |||
| key "tag"; | key "tag"; | |||
| leaf tag { | leaf tag { | |||
| type uint32; | type uint32; | |||
| description | description | |||
| "Node tag value."; | "Node tag value."; | |||
| } | } | |||
| description | description | |||
| "List of node tags."; | "List of node tags."; | |||
| } | } | |||
| description | description | |||
| "Container for node administrative tags."; | "Container for node administrative tags."; | |||
| } | } | |||
| } | } | |||
| grouping instance-config { | grouping instance-config { | |||
| skipping to change at line 5014 ¶ | skipping to change at line 5014 ¶ | |||
| leaf helper-enabled { | leaf helper-enabled { | |||
| type boolean; | type boolean; | |||
| description | description | |||
| "Enables graceful restart helper support for restarting | "Enables graceful restart helper support for restarting | |||
| routers (Section 3 of RFC 3623)."; | routers (Section 3 of RFC 3623)."; | |||
| reference | reference | |||
| "RFC 3623: Graceful OSPF Restart, Section 3"; | "RFC 3623: Graceful OSPF Restart, Section 3"; | |||
| } | } | |||
| leaf restart-interval { | leaf restart-interval { | |||
| type uint16 { | type uint16 { | |||
| range "1..1800"; | range "1..1800"; | |||
| } | } | |||
| units "seconds"; | units "seconds"; | |||
| default "120"; | default "120"; | |||
| description | description | |||
| "Interval during which to attempt graceful restart prior | "Interval during which to attempt graceful restart prior | |||
| to failing (seconds) (Appendix B.1 of RFC 3623)."; | to failing (seconds) (Appendix B.1 of RFC 3623)."; | |||
| reference | reference | |||
| "RFC 3623: Graceful OSPF Restart, Appendix B.1"; | "RFC 3623: Graceful OSPF Restart, Appendix B.1"; | |||
| } | } | |||
| leaf helper-strict-lsa-checking { | leaf helper-strict-lsa-checking { | |||
| skipping to change at line 5101 ¶ | skipping to change at line 5101 ¶ | |||
| container stub-router { | container stub-router { | |||
| if-feature "stub-router"; | if-feature "stub-router"; | |||
| description | description | |||
| "Sets the maximum metric configuration."; | "Sets the maximum metric configuration."; | |||
| choice trigger { | choice trigger { | |||
| description | description | |||
| "Specific triggers that will enable stub router state."; | "Specific triggers that will enable stub router state."; | |||
| container always { | container always { | |||
| presence | presence "Enables unconditional stub router support"; | |||
| "Enables unconditional stub router support"; | ||||
| description | description | |||
| "Unconditional stub router state (advertises | "Unconditional stub router state (advertises | |||
| transit links with 'MaxLinkMetric')."; | transit links with 'MaxLinkMetric')."; | |||
| reference | reference | |||
| "RFC 6987: OSPF Stub Router Advertisement"; | "RFC 6987: OSPF Stub Router Advertisement"; | |||
| } | } | |||
| } | } | |||
| } | } | |||
| container mpls { | container mpls { | |||
| skipping to change at line 5441 ¶ | skipping to change at line 5440 ¶ | |||
| description | description | |||
| "Reason for the LSA log entry."; | "Reason for the LSA log entry."; | |||
| } | } | |||
| } | } | |||
| } | } | |||
| } | } | |||
| augment "/rt:routing/rt:control-plane-protocols/" | augment "/rt:routing/rt:control-plane-protocols/" | |||
| + "rt:control-plane-protocol" { | + "rt:control-plane-protocol" { | |||
| when "derived-from(rt:type, 'ospf')" { | when "derived-from(rt:type, 'ospf')" { | |||
| description | description | |||
| "This augmentation is only valid for a routing protocol | "This augmentation is only valid for a routing protocol | |||
| instance of OSPF (type 'ospfv2' or 'ospfv3')."; | instance of OSPF (type 'ospfv2' or 'ospfv3')."; | |||
| } | } | |||
| description | description | |||
| "OSPF protocol 'ietf-routing' module 'control-plane-protocol' | "OSPF protocol 'ietf-routing' module 'control-plane-protocol' | |||
| augmentation."; | augmentation."; | |||
| container ospf { | container ospf { | |||
| description | description | |||
| "OSPF protocol instance."; | "OSPF protocol instance."; | |||
| leaf address-family { | leaf address-family { | |||
| when "derived-from-or-self(../../rt:type, 'ospfv3')" { | when "derived-from-or-self(../../rt:type, 'ospfv3')" { | |||
| description "Only applicable to OSPFv3."; | description | |||
| "Only applicable to OSPFv3."; | ||||
| } | } | |||
| type iana-rt-types:address-family; | type iana-rt-types:address-family; | |||
| description | description | |||
| "Address family of the instance."; | "Address family of the instance."; | |||
| } | } | |||
| uses instance-config; | uses instance-config; | |||
| uses instance-state; | uses instance-state; | |||
| container areas { | container areas { | |||
| skipping to change at line 5971 ¶ | skipping to change at line 5971 ¶ | |||
| } | } | |||
| enum no-error { | enum no-error { | |||
| description | description | |||
| "No error."; | "No error."; | |||
| } | } | |||
| } | } | |||
| description | description | |||
| "Error codes."; | "Error codes."; | |||
| } | } | |||
| description | description | |||
| "This notification is sent when a packet is received indicating | "This notification is sent when a packet is received indicating | |||
| an interface configuration error on the sending OSPF router."; | an interface configuration error on the sending OSPF router."; | |||
| } | } | |||
| notification nbr-state-change { | notification nbr-state-change { | |||
| uses notification-instance-hdr; | uses notification-instance-hdr; | |||
| uses notification-interface; | uses notification-interface; | |||
| uses notification-neighbor; | uses notification-neighbor; | |||
| leaf state { | leaf state { | |||
| type nbr-state-type; | type nbr-state-type; | |||
| description | description | |||
| End of changes. 17 change blocks. | ||||
| 27 lines changed or deleted | 27 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. | ||||