
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rcBreeze 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.                   *
*                                                                              *
* 5. RestConf also supports Json formatting which can be obtained by simply    *
*    updating Content-Type: application/yang-data+xml to                       *
*    Content-Type: application/yang-data+json                                  * 
*                                                                              * 

* 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 PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"sfp\": {\"apply\": \"%supported-config%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"sfp\": {\"pause\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"threshold\": {\"high-threshold\": \"%int32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/threshold

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"threshold\": {\"low-threshold\": \"%int32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/threshold

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"threshold\": {\"buffer\": \"%int32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/threshold

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"above\": {\"above-highthresh-action\": \"%supported-actions%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/alert/above

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"below\": {\"below-highthresh-action\": \"%supported-actions%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/alert/below

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"below\": {\"below-lowthresh-action\": \"%supported-actions%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area=%type%,%area_value%/alert/below

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Cpu\": {\"poll\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Cpu\": {\"retry\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Cpu\": {\"limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Cpu\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Memory\": {\"poll\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Memory\": {\"retry\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Memory\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"Memory\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"Buffer\": {\"poll\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"Buffer\": {\"retry\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"Buffer\": {\"limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"Buffer\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-session\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-session\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-session\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vxlan-tunnel\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vxlan-tunnel\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vxlan-tunnel\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"lif\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"lif\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"lif\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-table\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-table\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-table\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"route\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"route\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"route\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"host\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"host\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"host\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"nexthop\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"nexthop\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"nexthop\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ecmp\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ecmp\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ecmp\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"hardware-resources\": {\"count\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/hardware-resources

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"hardware-resources\": {\"interval\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/hardware-resources

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-in\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-in\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-in\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-out\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-out\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mac-out\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-in\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-in\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-in\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-out\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-out\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ip-out\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-in\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-in\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-in\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ipv6-out\": {\"high-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ipv6-out\": {\"low-limit\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ipv6-out\": {\"actions\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out

