Skip to content

Commit

Permalink
Merge branch 'master' into dplore/linkbw-extcomm
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Aug 3, 2023
2 parents 1bd2d55 + 7473892 commit db7f166
Show file tree
Hide file tree
Showing 32 changed files with 1,094 additions and 189 deletions.
20 changes: 10 additions & 10 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ steps:
git clone [email protected]:openconfig/models-ci.git /go/src/github.com/openconfig/models-ci
cd /go/src/github.com/openconfig/models-ci
# Modify the major version to update models-ci version.
branch=$(git tag -l 'v9*' | sort -V | tail -1)
branch=$(git tag -l 'v10.*' | sort -V | tail -1)
git checkout $branch
volumes:
- name: 'ssh'
Expand Down Expand Up @@ -87,10 +87,10 @@ 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
-branch=$BRANCH_NAME
-compat-report=pyangbind
secretEnv: ['GITHUB_ACCESS_TOKEN']
env:
- 'GOPATH=/go'
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
8 changes: 7 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,13 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "9.4.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
Expand Down
8 changes: 7 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,13 @@ 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.4.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
Expand Down
8 changes: 7 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,13 @@ submodule openconfig-bgp-common {
may be application to a subset of global, peer-group or neighbor
contexts.";

oc-ext:openconfig-version "9.4.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
Expand Down
8 changes: 7 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,13 @@ 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.4.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
Expand Down
20 changes: 15 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,13 @@ 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.4.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
Expand Down Expand Up @@ -197,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 @@ -460,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 @@ -474,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
8 changes: 7 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,13 @@ 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.4.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
Expand Down
8 changes: 7 additions & 1 deletion release/models/bgp/openconfig-bgp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ module openconfig-bgp {
whereas leaf not present inherits its value from the leaf present
at the next higher level in the hierarchy.";

oc-ext:openconfig-version "9.4.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
Expand Down
6 changes: 6 additions & 0 deletions release/models/flex-algo/.spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: openconfig-flexalgo
docs:
- yang/flex-algo/openconfig-flexalgo.yang
build:
- yang/flex-algo/openconfig-flexalgo.yang
run-ci: true
Loading

0 comments on commit db7f166

Please sign in to comment.