
********************************************************************************
* 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+xml" -k -d "<sfp><apply>%supported-config%</apply></sfp>"  -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+xml" -k -d "<sfp><pause /></sfp>"  -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+xml" -k -d "<threshold><high-threshold>%int32%</high-threshold></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

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

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

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<above><above-highthresh-action>%supported-actions%</above-highthresh-action></above>"  -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+xml" -k -d "<below><below-highthresh-action>%supported-actions%</below-highthresh-action></below>"  -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+xml" -k -d "<below><below-lowthresh-action>%supported-actions%</below-lowthresh-action></below>"  -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+xml" -k -d "<Cpu><poll>%uint32%</poll></Cpu>"  -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+xml" -k -d "<Cpu><retry>%uint32%</retry></Cpu>"  -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+xml" -k -d "<Cpu><limit>%uint32%</limit></Cpu>"  -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+xml" -k -d "<Cpu><actions>%enumeration%</actions></Cpu>"  -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+xml" -k -d "<Memory><poll>%uint32%</poll></Memory>"  -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+xml" -k -d "<Memory><retry>%uint32%</retry></Memory>"  -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+xml" -k -d "<Memory><high-limit>%uint32%</high-limit></Memory>"  -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+xml" -k -d "<Memory><actions>%enumeration%</actions></Memory>"  -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+xml" -k -d "[DO NOT USE]<Buffer><poll>%uint32%</poll></Buffer>"  -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+xml" -k -d "[DO NOT USE]<Buffer><retry>%uint32%</retry></Buffer>"  -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+xml" -k -d "[DO NOT USE]<Buffer><limit>%uint32%</limit></Buffer>"  -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+xml" -k -d "[DO NOT USE]<Buffer><actions>%enumeration%</actions></Buffer>"  -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+xml" -k -d "<bfd-session><high-limit>%uint32%</high-limit></bfd-session>"  -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+xml" -k -d "<bfd-session><low-limit>%uint32%</low-limit></bfd-session>"  -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+xml" -k -d "<bfd-session><actions>%enumeration%</actions></bfd-session>"  -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+xml" -k -d "<vxlan-tunnel><high-limit>%uint32%</high-limit></vxlan-tunnel>"  -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+xml" -k -d "<vxlan-tunnel><low-limit>%uint32%</low-limit></vxlan-tunnel>"  -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+xml" -k -d "<vxlan-tunnel><actions>%enumeration%</actions></vxlan-tunnel>"  -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+xml" -k -d "<lif><high-limit>%uint32%</high-limit></lif>"  -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+xml" -k -d "<lif><low-limit>%uint32%</low-limit></lif>"  -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+xml" -k -d "<lif><actions>%enumeration%</actions></lif>"  -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+xml" -k -d "<mac-table><high-limit>%uint32%</high-limit></mac-table>"  -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+xml" -k -d "<mac-table><low-limit>%uint32%</low-limit></mac-table>"  -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+xml" -k -d "<mac-table><actions>%enumeration%</actions></mac-table>"  -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+xml" -k -d "[DO NOT USE]<route><high-limit>%uint32%</high-limit></route>"  -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+xml" -k -d "[DO NOT USE]<route><low-limit>%uint32%</low-limit></route>"  -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+xml" -k -d "[DO NOT USE]<route><actions>%enumeration%</actions></route>"  -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+xml" -k -d "[DO NOT USE]<host><high-limit>%uint32%</high-limit></host>"  -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+xml" -k -d "[DO NOT USE]<host><low-limit>%uint32%</low-limit></host>"  -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+xml" -k -d "[DO NOT USE]<host><actions>%enumeration%</actions></host>"  -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+xml" -k -d "[DO NOT USE]<nexthop><high-limit>%uint32%</high-limit></nexthop>"  -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+xml" -k -d "[DO NOT USE]<nexthop><low-limit>%uint32%</low-limit></nexthop>"  -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+xml" -k -d "[DO NOT USE]<nexthop><actions>%enumeration%</actions></nexthop>"  -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+xml" -k -d "[DO NOT USE]<ecmp><high-limit>%uint32%</high-limit></ecmp>"  -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+xml" -k -d "[DO NOT USE]<ecmp><low-limit>%uint32%</low-limit></ecmp>"  -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+xml" -k -d "[DO NOT USE]<ecmp><actions>%enumeration%</actions></ecmp>"  -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+xml" -k -d "<hardware-resources><count>%uint32%</count></hardware-resources>"  -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+xml" -k -d "<hardware-resources><interval>%uint32%</interval></hardware-resources>"  -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+xml" -k -d "<mac-in><high-limit>%uint32%</high-limit></mac-in>"  -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+xml" -k -d "<mac-in><low-limit>%uint32%</low-limit></mac-in>"  -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+xml" -k -d "<mac-in><actions>%enumeration%</actions></mac-in>"  -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+xml" -k -d "<mac-out><high-limit>%uint32%</high-limit></mac-out>"  -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+xml" -k -d "<mac-out><low-limit>%uint32%</low-limit></mac-out>"  -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+xml" -k -d "<mac-out><actions>%enumeration%</actions></mac-out>"  -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+xml" -k -d "<ip-in><high-limit>%uint32%</high-limit></ip-in>"  -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+xml" -k -d "<ip-in><low-limit>%uint32%</low-limit></ip-in>"  -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+xml" -k -d "<ip-in><actions>%enumeration%</actions></ip-in>"  -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+xml" -k -d "<ip-out><high-limit>%uint32%</high-limit></ip-out>"  -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+xml" -k -d "<ip-out><low-limit>%uint32%</low-limit></ip-out>"  -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+xml" -k -d "<ip-out><actions>%enumeration%</actions></ip-out>"  -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+xml" -k -d "<ipv6-in><high-limit>%uint32%</high-limit></ipv6-in>"  -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+xml" -k -d "<ipv6-in><low-limit>%uint32%</low-limit></ipv6-in>"  -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+xml" -k -d "<ipv6-in><actions>%enumeration%</actions></ipv6-in>"  -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+xml" -k -d "[DO NOT USE]<ipv6-out><high-limit>%uint32%</high-limit></ipv6-out>"  -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+xml" -k -d "[DO NOT USE]<ipv6-out><low-limit>%uint32%</low-limit></ipv6-out>"  -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+xml" -k -d "[DO NOT USE]<ipv6-out><actions>%enumeration%</actions></ipv6-out>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-threshold-monitor:threshold-monitor-hidden/threshold-monitor/acl/ipv6-out

