From 1e453e3f10555f510c7295e2c88a81ba530ebd54 Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Mon, 27 Jul 2020 17:50:22 -0700 Subject: [PATCH] Changes to make copp.json as template based based on device role. copp.json.j2 is moved into docker-orchagent 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 7dd28196ac..dc5ff8ea90 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 fadb6294c6..0000000000 --- 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" - } -]