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

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<pause />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/pause

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<policy><policy_name>%string%</policy_name></policy>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/sfp/policy=%policy_name%/area

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-threshold>%int32%</low-threshold>"  -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/low-threshold

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<buffer>%int32%</buffer>"  -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/buffer

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<above-highthresh-action>%supported-actions%</above-highthresh-action>"  -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/above-highthresh-action

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<below-highthresh-action>%supported-actions%</below-highthresh-action>"  -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/below-highthresh-action

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<below-lowthresh-action>%supported-actions%</below-lowthresh-action>"  -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/below-lowthresh-action

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<poll>%uint32%</poll>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu/poll

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<retry>%uint32%</retry>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu/retry

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<limit>%uint32%</limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu/limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Cpu/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<poll>%uint32%</poll>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory/poll

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<retry>%uint32%</retry>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory/retry

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Memory/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<poll>%uint32%</poll>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer/poll

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<retry>%uint32%</retry>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer/retry

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<limit>%uint32%</limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer/limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/Buffer/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/bfd-session/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/vxlan-tunnel/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/lif/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/mac-table/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/route/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/host/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/nexthop/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/ecmp/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<count>%uint32%</count>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/hardware-resources/count

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<interval>%uint32%</interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/hardware-resources/interval

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-in/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/mac-out/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-in/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ip-out/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-in/actions

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<high-limit>%uint32%</high-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out/high-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<low-limit>%uint32%</low-limit>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out/low-limit

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<actions>%enumeration%</actions>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out/actions

