
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rBreeze Dump                                            *
*                                                                              *
* Author: Pradeep Raj.                                                         *
*                                                                              *
*                                                                              *
* Directions to Use:                                                           *
* 1. Replace all the values enclosed in the "%" with                           *
*    the values to be configured. The string present with in the braces        * 
*    indicates its type.                                                       *
* 2. To pass "" in the request replace the " with %22.                         *
* 3. To pass multiple keys in the URI enclose seperate them with %2c or        *
*    comma(",").                                                               *
* 4. Avoid using the requests with [DO NOT USE] tag in the payload. These could*
*    be defective because of the tailf extensions they have.                   *
*                                                                              *
* Disclaimer:                                                                  *
* 1. The queries mentioned here do not have a one-to-one correlation with CLI. *
* 2. The queries inferred here are based on an automated tool and are not      *
*    gauranteed to work. Its the functional teams responsibilty to ensure its  *
*    working.                                                                  *
* 3. In case if you find any discrepancy you can always contact the author to  *
*    get it fixed.                                                             *
* 4. Avoid using the requests with [DO NOT USE] tag in the payload. These could*
*    be defective because of the tailf extensions they have.                   *
********************************************************************************

curl -v -X PUT -d "<apply>%supported-config%</apply>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/apply


curl -v -X PUT -d "<pause>true</pause>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/pause


curl -v -X PUT -d "<policy><policy_name>%string%</policy_name></policy>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area


curl -v -X PUT -d "<low-threshold>%int32%</low-threshold>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area/%type%/%area%/threshold/low-threshold


curl -v -X PUT -d "<buffer>%int32%</buffer>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area/%type%/%area%/threshold/buffer


curl -v -X PUT -d "<highthresh-action>%supported-actions%</highthresh-action>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area/%type%/%area%/alert/above/highthresh-action


curl -v -X PUT -d "<highthresh-action>%supported-actions%</highthresh-action>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area/%type%/%area%/alert/below/highthresh-action


curl -v -X PUT -d "<lowthresh-action>%supported-actions%</lowthresh-action>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/sfp/policy/%policy_name%/area/%type%/%area%/alert/below/lowthresh-action


curl -v -X PUT -d "<poll>%uint32%</poll>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Cpu/poll


curl -v -X PUT -d "<retry>%uint32%</retry>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Cpu/retry


curl -v -X PUT -d "<limit>%uint32%</limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Cpu/limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Cpu/actions


curl -v -X PUT -d "<poll>%uint32%</poll>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Memory/poll


curl -v -X PUT -d "<retry>%uint32%</retry>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Memory/retry


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Memory/high-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Memory/actions


curl -v -X PUT -d "<poll>%uint32%</poll>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Buffer/poll


curl -v -X PUT -d "<retry>%uint32%</retry>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Buffer/retry


curl -v -X PUT -d "<limit>%uint32%</limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Buffer/limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/Buffer/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/bfd-session/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/bfd-session/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/bfd-session/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/vxlan-tunnel/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/vxlan-tunnel/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/vxlan-tunnel/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/lif/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/lif/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/lif/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/mac-table/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/mac-table/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/mac-table/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/route/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/route/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/route/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/host/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/host/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/host/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/nexthop/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/nexthop/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/nexthop/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/ecmp/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/ecmp/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/ecmp/actions


curl -v -X PUT -d "<count>%uint32%</count>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/hardware-resources/count


curl -v -X PUT -d "<interval>%uint32%</interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/hardware-resources/interval


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-in/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-in/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-in/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-out/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-out/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/mac-out/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-in/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-in/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-in/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-out/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-out/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ip-out/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-in/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-in/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-in/actions


curl -v -X PUT -d "<high-limit>%uint32%</high-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-out/high-limit


curl -v -X PUT -d "<low-limit>%uint32%</low-limit>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-out/low-limit


curl -v -X PUT -d "<actions>%enumeration%</actions>"  -u admin:password http://%ipaddress%:80/rest/config/running/threshold-monitor/acl/ipv6-out/actions

