Skip to content

Commit

Permalink
Merge branch 'openconfig:master' into terminal-device-manfiest-v.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurMll authored Jul 13, 2023
2 parents 403dc94 + e2799c0 commit 544a170
Show file tree
Hide file tree
Showing 28 changed files with 610 additions and 216 deletions.
18 changes: 9 additions & 9 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ steps:
-pr-head-repo-url=$_HEAD_REPO_URL
-commit-sha=$COMMIT_SHA
-pr-number=$_PR_NUMBER
-skipped-validators=confd
-skipped-validators=confd,yanglint
-extra-pyang-versions=2.2.1
-compat-report=yanglint
#-compat-report=yanglint
-branch=$BRANCH_NAME
secretEnv: ['GITHUB_ACCESS_TOKEN']
env:
Expand Down Expand Up @@ -130,7 +130,7 @@ steps:
dir: '/go/src/github.com/openconfig/pattern-regex-tests'
waitFor: ['regexp clone']
id: 'regexp dep'
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', "/go/src/github.com/openconfig/models-ci/validators/regexp/test.sh"]
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand All @@ -156,7 +156,7 @@ steps:
args: ['cp', 'gs://openconfig/yanglint.deb', '/workspace/yanglint.deb']
waitFor: ['validator prep']
id: 'yanglint prep2'
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', "/go/src/github.com/openconfig/models-ci/validators/yanglint/test.sh"]
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand Down Expand Up @@ -194,7 +194,7 @@ steps:
id: 'misc-checks'

############### OC-PYANG ###############
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', '/go/src/github.com/openconfig/models-ci/validators/oc-pyang/test.sh']
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand Down Expand Up @@ -223,7 +223,7 @@ steps:
- 'GOPATH=/go'
waitFor: ['go path creation']
id: 'goyang-ygot prep'
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', "/go/src/github.com/openconfig/models-ci/validators/goyang-ygot/test.sh"]
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand All @@ -241,7 +241,7 @@ steps:
id: 'goyang-ygot'

############### PYANG ###############
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', '/go/src/github.com/openconfig/models-ci/validators/pyang/test.sh']
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand All @@ -259,7 +259,7 @@ steps:
id: 'pyang'

############### PYANGBIND ###############
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', '/go/src/github.com/openconfig/models-ci/validators/pyangbind/test.sh']
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand All @@ -277,7 +277,7 @@ steps:
id: 'pyangbind'

############### COMPATIBILITY REPORT ###############
- name: 'gcr.io/$PROJECT_ID/models-ci-image'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', '/go/src/github.com/openconfig/models-ci/validators/compat_report.sh']
secretEnv: ['GITHUB_ACCESS_TOKEN']
Expand Down
34 changes: 33 additions & 1 deletion release/models/bgp/openconfig-bgp-common-multiprotocol.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,30 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp remote-port description";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down Expand Up @@ -196,6 +219,15 @@ submodule openconfig-bgp-common-multiprotocol {
"This leaf indicates whether the AFI-SAFI is enabled for all
neighbors or groups.";
}

leaf-list send-community-type {
type oc-bgp-types:community-type;
description
"Specify which types of community should be sent to the
neighbor or group. The default is to not send the
community attribute. This takes precedence over the neighbor
or group configuration";
}
}

grouping bgp-common-mp-afi-safi-config {
Expand Down
25 changes: 24 additions & 1 deletion release/models/bgp/openconfig-bgp-common-structure.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,30 @@ submodule openconfig-bgp-common-structure {
"This sub-module contains groupings that are common across multiple BGP
contexts and provide structure around other primitive groupings.";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp remote-port description";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down
37 changes: 36 additions & 1 deletion release/models/bgp/openconfig-bgp-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,30 @@ submodule openconfig-bgp-common {
may be application to a subset of global, peer-group or neighbor
contexts.";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp remote-port description";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down Expand Up @@ -260,8 +283,20 @@ submodule openconfig-bgp-common {
}

leaf send-community {
status deprecated;
type oc-bgp-types:community-type;
default "NONE";
description
"This leaf has been deprecated and replaced by send-community-type to
support large communities.
Specify which types of community should be sent to the
neighbor or group. The default is to not send the
community attribute";
}

leaf-list send-community-type {
type oc-bgp-types:community-type;
description
"Specify which types of community should be sent to the
neighbor or group. The default is to not send the
Expand Down
12 changes: 11 additions & 1 deletion release/models/bgp/openconfig-bgp-errors.yang
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ submodule openconfig-bgp-errors {
"This module defines BGP NOTIFICATION message error codes
and subcodes";

oc-ext:openconfig-version "5.3.1";
oc-ext:openconfig-version "5.4.0";

revision "2023-03-31" {
description
"Add support for BGP large communities [rfc8092] in
send-community-type
Types impacted:
- community-type";
reference "5.4.0";
}

revision "2021-08-06" {
description
Expand Down
25 changes: 24 additions & 1 deletion release/models/bgp/openconfig-bgp-global.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,30 @@ submodule openconfig-bgp-global {
"This sub-module contains groupings that are specific to the
global context of the OpenConfig BGP module";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp remote-port description";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down
37 changes: 32 additions & 5 deletions release/models/bgp/openconfig-bgp-neighbor.yang
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,30 @@ submodule openconfig-bgp-neighbor {
"This sub-module contains groupings that are specific to the
neighbor context of the OpenConfig BGP module.";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp neighbor-port, remote-port and local-port descriptions";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down Expand Up @@ -180,7 +203,8 @@ submodule openconfig-bgp-neighbor {
type oc-inet:port-number;
default 179;
description
"Port number of the BGP peer";
"Destination TCP port number of the BGP peer when initiating a
session from the local router";
}

leaf enabled {
Expand Down Expand Up @@ -443,7 +467,7 @@ submodule openconfig-bgp-neighbor {
leaf local-port {
type oc-inet:port-number;
description
"Local TCP port being used for the TCP session supporting
"Local, source TCP port being used for the TCP session supporting
the BGP session";
}

Expand All @@ -457,8 +481,11 @@ submodule openconfig-bgp-neighbor {
leaf remote-port {
type oc-inet:port-number;
description
"Remote port being used by the peer for the TCP session
supporting the BGP session";
"The source TCP port being used by the peer for the TCP session
supporting the BGP session. This is expected to be the same value
as the configured neighbor-port if the local device initiated the
connection or a different TCP port if the peer initiated the TCP
session.";
}
}

Expand Down
25 changes: 24 additions & 1 deletion release/models/bgp/openconfig-bgp-peer-group.yang
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,30 @@ submodule openconfig-bgp-peer-group {
"This sub-module contains groupings that are specific to the
peer-group context of the OpenConfig BGP module.";

oc-ext:openconfig-version "9.2.0";
oc-ext:openconfig-version "9.4.1";

revision "2023-06-27" {
description
"Clarify bgp remote-port description";
reference "9.4.1";
}

revision "2023-04-01" {
description
"Add support for BGP large communities [rfc8092] in
send-community.
Leaf send-community was replaced by the leaf-list
send-community-type to allow the combination of different
community types";
reference "9.4.0";
}

revision "2023-03-31" {
description
"Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.3.0";
}

revision "2022-12-12" {
description
Expand Down
Loading

0 comments on commit 544a170

Please sign in to comment.