From 77b0dae76856b0dcc25ad4505b3efd970450c156 Mon Sep 17 00:00:00 2001 From: wenovus Date: Thu, 3 Aug 2023 10:47:18 -0700 Subject: [PATCH] Remove useless output --- .github/workflows/diff.yaml | 5 +---- release/models/acl/openconfig-acl.yang | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index b1303fcf9..3270afb71 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -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}" diff --git a/release/models/acl/openconfig-acl.yang b/release/models/acl/openconfig-acl.yang index 03d09c1bb..6b3977907 100644 --- a/release/models/acl/openconfig-acl.yang +++ b/release/models/acl/openconfig-acl.yang @@ -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" { @@ -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."; + } }