From 7a4c15d067f2e35bca6b1e9a007c980b3e7813f9 Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Fri, 31 Jul 2020 17:16:21 -0700 Subject: [PATCH] Remove 00-copp.config.json from swss debian package. (#1366) Removed 00-copp.config.json from swss debian package Changes to make copp.json as j2 template based based on device role. copp.json.j2 is moved into docker-orchagent. docker-init.sh of orchagent will create json file form j2 template. This PR is dependent on : Azure/sonic-buildimage#5053 Signed-off-by: Abhishek Dosi --- debian/swss.install | 1 - swssconfig/sample/00-copp.config.json | 73 --------------------------- 2 files changed, 74 deletions(-) delete mode 100644 swssconfig/sample/00-copp.config.json diff --git a/debian/swss.install b/debian/swss.install index 7dd28196ac73..dc5ff8ea90ed 100644 --- a/debian/swss.install +++ b/debian/swss.install @@ -1,4 +1,3 @@ swssconfig/sample/netbouncer.json etc/swss/config.d -swssconfig/sample/00-copp.config.json etc/swss/config.d neighsyncd/restore_neighbors.py usr/bin fpmsyncd/bgp_eoiu_marker.py usr/bin diff --git a/swssconfig/sample/00-copp.config.json b/swssconfig/sample/00-copp.config.json deleted file mode 100644 index fadb6294c648..000000000000 --- a/swssconfig/sample/00-copp.config.json +++ /dev/null @@ -1,73 +0,0 @@ -[ - { - "COPP_TABLE:default": { - "queue": "0", - "meter_type":"packets", - "mode":"sr_tcm", - "cir":"600", - "cbs":"600", - "red_action":"drop" - }, - "OP": "SET" - }, - { - "COPP_TABLE:trap.group.bgp.lacp": { - "trap_ids": "bgp,bgpv6,lacp", - "trap_action":"trap", - "trap_priority":"4", - "queue": "4" - }, - "OP": "SET" - }, - { - "COPP_TABLE:trap.group.arp": { - "trap_ids": "arp_req,arp_resp,neigh_discovery", - "trap_action":"copy", - "trap_priority":"4", - "queue": "4", - "meter_type":"packets", - "mode":"sr_tcm", - "cir":"600", - "cbs":"600", - "red_action":"drop" - }, - "OP": "SET" - }, - { - "COPP_TABLE:trap.group.lldp.dhcp.dhcpv6.udld": { - "trap_ids": "lldp,dhcp,dhcpv6,udld", - "trap_action":"trap", - "trap_priority":"4", - "queue": "4" - }, - "OP": "SET" - }, - { - "COPP_TABLE:trap.group.ip2me": { - "trap_ids": "ip2me", - "trap_action":"trap", - "trap_priority":"1", - "queue": "1", - "meter_type":"packets", - "mode":"sr_tcm", - "cir":"6000", - "cbs":"6000", - "red_action":"drop" - }, - "OP": "SET" - }, - { - "COPP_TABLE:trap.group.nat": { - "trap_ids": "src_nat_miss,dest_nat_miss", - "trap_action":"trap", - "trap_priority":"1", - "queue": "1", - "meter_type":"packets", - "mode":"sr_tcm", - "cir":"600", - "cbs":"600", - "red_action":"drop" - }, - "OP": "SET" - } -]