Skip to content

Commit

Permalink
Remove useless output
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Aug 3, 2023
1 parent f00518c commit 77b0dae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,15 @@ jobs:
readonly BASE="$(git merge-base origin/master "${HEAD}")"
BASEREPODIR=public_base
#git clone "https://github.com/openconfig/public.git" "${BASEREPODIR}"
#cd "${BASEREPODIR}"
mkdir -p "${BASEREPODIR}/release"
git checkout "${BASE}"
cp -r release/models "${BASEREPODIR}/release"
cp -r third_party "${BASEREPODIR}"
git checkout "${HEAD}"
#cd ..
oldroot="${BASEREPODIR}"
newroot=.
oldfiles=$(find "${oldroot}"/release/models -name '*.yang' | tr '\n' ',')
newfiles=$(find "${newroot}"/release/models -name '*.yang' | tr '\n' ',')
go install github.com/openconfig/models-ci@94a63b5
go install github.com/openconfig/models-ci@94a63b5 > /dev/null
models-ci diff --disallowed-incompats --oldp "${oldroot}/third_party" --oldfiles "${oldfiles}" --newp "${newroot}/third_party" --newfiles "${newfiles}"
24 changes: 12 additions & 12 deletions release/models/acl/openconfig-acl.yang
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ module openconfig-acl {
packets should be handled. Entries have a type that indicates
the type of match criteria, e.g., MAC layer, IPv4, IPv6, etc.";

oc-ext:openconfig-version "1.3.4";
oc-ext:openconfig-version "1.3.3";

revision "2023-02-06" {
description
"Add clarifying comments on use of interface-ref.";
reference "1.3.4";
reference "1.3.3";
}

revision "2023-01-29" {
Expand Down Expand Up @@ -293,16 +293,16 @@ module openconfig-acl {
must be specified for each ACL entry";
}

//leaf log-action {
// type identityref {
// base LOG_ACTION;
// }
// default LOG_NONE;
// description
// "Specifies the log action and destination for
// matched packets. The default is not to log the
// packet.";
//}
leaf log-action {
type identityref {
base LOG_ACTION;
}
default LOG_NONE;
description
"Specifies the log action and destination for
matched packets. The default is not to log the
packet.";
}


}
Expand Down

0 comments on commit 77b0dae

Please sign in to comment.