-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cronjob - daily check of IETF modules.
- Loading branch information
Miroslav Kovac
committed
Jul 6, 2023
1 parent
39ab69c
commit 9f029d6
Showing
25 changed files
with
1,091 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
181 changes: 181 additions & 0 deletions
181
experimental/ietf-extracted-YANG-modules/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
module iana-bgp-rib-types { | ||
yang-version 1.1; | ||
namespace "urn:ietf:params:xml:ns:yang:iana-bgp-rib-types"; | ||
prefix brt; | ||
|
||
organization | ||
"IANA"; | ||
contact | ||
"Internet Assigned Numbers Authority | ||
Postal: ICANN | ||
12025 Waterfront Drive, Suite 300 | ||
Los Angeles, CA 90094-2536 | ||
United States of America | ||
Tel: +1 310 301 5800 | ||
<mailto:[email protected]> | ||
Authors: Mahesh Jethanandani (mjethanandani at gmail.com), | ||
Keyur Patel (keyur at arrcus.com), | ||
Susan Hares (shares at ndzh.com), | ||
Jeffrey Haas (jhaas at juniper.net)."; | ||
|
||
description | ||
"Defines identity and type definitions associated with | ||
the BGP RIB modules. | ||
Copyright (c) 2023 IETF Trust and the persons identified as | ||
authors of the code. All rights reserved. | ||
Redistribution and use in source and binary forms, with or | ||
without modification, is permitted pursuant to, and subject to | ||
the license terms contained in, the Revised BSD License set | ||
forth in Section 4.c of the IETF Trust's Legal Provisions | ||
Relating to IETF Documents | ||
(https://trustee.ietf.org/license-info). | ||
This version of this YANG module is part of RFC XXXX | ||
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself | ||
for full legal notices. | ||
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL | ||
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', | ||
'MAY', and 'OPTIONAL' in this document are to be interpreted as | ||
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here."; | ||
|
||
revision 2023-07-05 { | ||
description | ||
"Initial Version"; | ||
reference | ||
"RFC XXXX: YANG Model for Border Gateway Protocol (BGP-4)."; | ||
} | ||
|
||
identity ineligible-route-reason { | ||
description | ||
"Base identity for reason code for routes that are rejected as | ||
ineligible. Some derived entities are based on BMP v3."; | ||
reference | ||
"RFC 7854: BGP Monitoring Protocol."; | ||
} | ||
|
||
identity ineligible-cluster-loop { | ||
base ineligible-route-reason; | ||
description | ||
"Route was ineligible due to CLUSTER_LIST loop"; | ||
} | ||
|
||
identity ineligible-as-loop { | ||
base ineligible-route-reason; | ||
description | ||
"Route was ineligible due to AS_PATH loop"; | ||
} | ||
|
||
identity ineligible-originator { | ||
base ineligible-route-reason; | ||
description | ||
"Route was ineligible due to ORIGINATOR_ID. For example, update | ||
has local router as originator"; | ||
} | ||
|
||
identity ineligible-confed { | ||
base ineligible-route-reason; | ||
description | ||
"Route was ineligible due to a loop in the AS_CONFED_SEQUENCE | ||
or AS_CONFED_SET attributes"; | ||
} | ||
|
||
identity bgp-not-selected-bestpath { | ||
description | ||
"Base identity for indicating reason a route was was not | ||
selected by BGP route selection algorithm"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), Section 9.1."; | ||
} | ||
|
||
identity local-pref-lower { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route has a lower localpref attribute than current best path"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2."; | ||
} | ||
|
||
identity as-path-longer { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route has a longer AS path attribute than current best path"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (a)."; | ||
} | ||
|
||
identity origin-type-higher { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route has a higher origin type, i.e., IGP origin is preferred | ||
over EGP or incomplete"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (b)."; | ||
} | ||
|
||
identity med-higher { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route has a higher MED, or metric, attribute than the current | ||
best path"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (c)."; | ||
} | ||
|
||
identity prefer-external { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route source is via IBGP, rather than EGP."; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (d)."; | ||
} | ||
|
||
identity nexthop-cost-higher { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route has a higher interior cost to the next hop."; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (e)."; | ||
} | ||
|
||
identity higher-router-id { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route was sent by a peer with a higher BGP Identifier value."; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (f)."; | ||
} | ||
|
||
identity higher-peer-address { | ||
base bgp-not-selected-bestpath; | ||
description | ||
"Route was sent by a peer with a higher IP address"; | ||
reference | ||
"RFC 4271: A Border Gateway Protocol 4 (BGP-4), | ||
Section 9.1.2.2 (g)."; | ||
} | ||
|
||
identity bgp-not-selected-policy { | ||
description | ||
"Base identity for reason code for routes that are rejected | ||
due to policy"; | ||
} | ||
|
||
identity rejected-import-policy { | ||
base bgp-not-selected-policy; | ||
description | ||
"Route was rejected after applying import policies."; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ submodule ietf-bgp-capabilities { | |
belongs-to ietf-bgp { | ||
prefix bgp; | ||
} | ||
|
||
import iana-bgp-types { | ||
prefix bt; | ||
reference | ||
|
@@ -23,7 +24,7 @@ submodule ietf-bgp-capabilities { | |
organization | ||
"IETF IDR Working Group"; | ||
contact | ||
"WG Web: <http://tools.ietf.org/wg/idr> | ||
"WG Web: <http://datatracker.ietf.org/wg/idr> | ||
WG List: <[email protected]> | ||
Authors: Mahesh Jethanandani (mjethanandani at gmail.com), | ||
|
@@ -55,7 +56,7 @@ submodule ietf-bgp-capabilities { | |
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here."; | ||
|
||
revision 2023-03-02 { | ||
revision 2023-07-05 { | ||
description | ||
"Initial Version"; | ||
reference | ||
|
@@ -99,6 +100,7 @@ submodule ietf-bgp-capabilities { | |
"When known, name carries the bgp-capability identity for the | ||
AFI/SAFI combination as used in the BGP YANG modules."; | ||
} | ||
|
||
container value { | ||
description | ||
"Some BGP Capabilities carry a Capability-specific Capability | ||
|
@@ -113,7 +115,6 @@ submodule ietf-bgp-capabilities { | |
"Multi-Protocol BGP-specific values."; | ||
reference | ||
"RFC 4760: Multiprotocol Extensions for BGP-4, Section 8."; | ||
|
||
leaf afi { | ||
type iana-rt-types:address-family; | ||
description | ||
|
@@ -291,6 +292,7 @@ submodule ietf-bgp-capabilities { | |
(AS) Number Space, Section 3."; | ||
} | ||
} | ||
|
||
container add-paths { | ||
when "../../name = 'bt:add-paths'"; | ||
description | ||
|
Oops, something went wrong.