You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
admin@vlab-01:~/everflow$ sudo config apply-patch -i /FEATURE -i /QUEUE -i /SCHEDULER add_policer.json
Patch Applier: Patch application starting.
Patch Applier: Patch: [{"op": "add", "path": "/POLICER", "value": {"everflow_static_policer": {"meter_type": "bytes", "mode": "sr_tcm", "cir": "12500000", "cbs": "12500000", "red_packet_action": "drop"}}}]
Patch Applier: Getting current config db.
Patch Applier: Simulating the target full config after applying the patch.
Patch Applier: Validating target config does not have empty tables, since they do not show up in ConfigDb.
Patch Applier: Sorting patch updates.
Note: Below table(s) have no YANG models:
BGP_PEER_RANGE, CONSOLE_SWITCH, DEVICE_NEIGHBOR_METADATA, DHCP_SERVER, KDUMP, RESTAPI, SNMP, SNMP_COMMUNITY, TELEMETRY, POLICER,
Note: Below table(s) have no YANG models:
POLICER,
Failed to apply patch
Usage: config apply-patch [OPTIONS] PATCH_FILE_PATH
Try "config apply-patch -h" for help.
Error: Given YANG covered config patch is not valid because it has changes to tables without YANG models
Describe the results you received:
Action failed.
Describe the results you expected:
Yang model should provide verification.
Output of show version:
admin@vlab-01:~/everflow$ show ver
SONiC Software Version: SONiC.master.58770-6402a0226
Distribution: Debian 11.1
Kernel: 5.10.0-8-2-amd64
Build commit: 6402a0226
Build date: Mon Dec 13 09:02:14 UTC 2021
Built by: AzDevOps@sonic-build-workers-000Z9S
Platform: x86_64-kvm_x86_64-r0
HwSKU: Force10-S6000
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 08:30:18 up 2:47, 2 users, load average: 0.21, 0.35, 0.27
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
#### Why I did it
Added yang model for policer table
Fixes#9742 and #9743
#### How I did it
Creating yang model for policer
#### How to verify it
Added UT to verify the yang model
The configuration schema for policer is added in the pull request sonic-net/sonic-swss#2144
#### Why I did it
Added yang model for policer table
Fixes#9742 and #9743
#### How I did it
Creating yang model for policer
#### How to verify it
Added UT to verify the yang model
The configuration schema for policer is added in the pull request sonic-net/sonic-swss#2144
Description
POLICER yang is needed. It is used to set rate limit for mirror-session
Steps to reproduce the issue:
apply-patch
to add policerDescribe the results you received:
Action failed.
Describe the results you expected:
Yang model should provide verification.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: