Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updates to OpenConfig BGP model based on implementor and operator
feedback.

  * (M) release/models/bgp/openconfig-bgp.yang
  * (M) release/models/bgp/openconfig-bgp-common-multiprotocol.yang
  * (M) release/models/bgp/openconfig-bgp-common-structure.yang
  * (M) release/models/bgp/openconfig-bgp-common.yang
    - Added explicit send to enable add-paths in send direction
    - Clarified add-paths receive leaf
    - Add disable-peer-as-filter feature
  * (A) release/models/bgp/openconfig-bgp-errors.yang
    - New modules to support BGP error notifications
  * (M) release/models/bgp/openconfig-bgp-global.yang
    - Added add-paths configuration at global BGP level
    - Removed enabled flag from global confederation config
  * (M) release/models/bgp/openconfig-bgp-neighbor.yang
     - Added error notification codes/subcodes
     - Moved add-paths config to AFI-SAFI level (both
       neighbor and peer group level config)
  * (M) release/models/bgp/openconfig-bgp-peer-group.yang
     - Removed route selection options from AFI-SAFI under
       peer-group configuration
  * (M) release/models/bgp/openconfig-bgp-policy.yang
    - Added asn leaf to specify AS to prepend
  * (M) release/models/bgp/openconfig-bgp-types.yang
    - Removed range restriction on uint32 std community type
  • Loading branch information
aashaikh committed Aug 9, 2017
1 parent c531203 commit e020ce4
Show file tree
Hide file tree
Showing 10 changed files with 631 additions and 45 deletions.
15 changes: 14 additions & 1 deletion release/models/bgp/openconfig-bgp-common-multiprotocol.yang
Expand Up @@ -24,7 +24,20 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "3.0.1";
oc-ext:openconfig-version "4.0.1";

revision "2017-07-30" {
description
"Clarification of add-paths send-max leaf";
reference "4.0.1";
}

revision "2017-07-10" {
description
"Add error notifications; moved add-paths config; add AS
prepend policy features; removed unneeded config leaves";
reference "4.0.0";
}

revision "2017-02-02" {
description
Expand Down
15 changes: 14 additions & 1 deletion release/models/bgp/openconfig-bgp-common-structure.yang
Expand Up @@ -22,7 +22,20 @@ submodule openconfig-bgp-common-structure {
contexts and provide structure around other primitive groupings.";


oc-ext:openconfig-version "3.0.1";
oc-ext:openconfig-version "4.0.1";

revision "2017-07-30" {
description
"Clarification of add-paths send-max leaf";
reference "4.0.1";
}

revision "2017-07-10" {
description
"Add error notifications; moved add-paths config; add AS
prepend policy features; removed unneeded config leaves";
reference "4.0.0";
}

revision "2017-02-02" {
description
Expand Down
47 changes: 42 additions & 5 deletions release/models/bgp/openconfig-bgp-common.yang
Expand Up @@ -24,7 +24,20 @@ submodule openconfig-bgp-common {
may be application to a subset of global, peer-group or neighbor
contexts.";

oc-ext:openconfig-version "3.0.1";
oc-ext:openconfig-version "4.0.1";

revision "2017-07-30" {
description
"Clarification of add-paths send-max leaf";
reference "4.0.1";
}

revision "2017-07-10" {
description
"Add error notifications; moved add-paths config; add AS
prepend policy features; removed unneeded config leaves";
reference "4.0.0";
}

revision "2017-02-02" {
description
Expand Down Expand Up @@ -306,6 +319,16 @@ submodule openconfig-bgp-common {
"Replace occurrences of the peer's AS in the AS_PATH
with the local autonomous system number";
}

leaf disable-peer-as-filter {
type boolean;
default "false";
description
"When set to true, the system advertises routes to a peer
even if the peer's AS was in the AS path. The default
behavior (false) suppresses advertisements to peers if
their AS number is in the AS path of the route.";
}
}

grouping bgp-common-neighbor-group-add-paths-config {
Expand All @@ -317,15 +340,29 @@ submodule openconfig-bgp-common {
type boolean;
default false;
description
"Enable ability to receive multiple path advertisements
for an NLRI from the neighbor or group";
"Enable capability negotiation to receive multiple path
advertisements for an NLRI from the neighbor or group";
reference
"RFC 7911 - Advertisement of Multiple Paths in BGP";
}

leaf send {
type boolean;
default false;
description
"Enable capability negotiation to send multiple path
advertisements for an NLRI from the neighbor or group";
reference
"RFC 7911 - Advertisement of Multiple Paths in BGP";
}

leaf send-max {
type uint8;
description
"The maximum number of paths to advertise to neighbors
for a single NLRI";
"The maximum total number of paths to advertise to neighbors
for a single NLRI. This includes the single best path as
well as additional paths advertised when add-paths is
enabled.";
}

leaf eligible-prefix-policy {
Expand Down

0 comments on commit e020ce4

Please sign in to comment.