
********************************************************************************
* 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 "<ethernet><sa-mac /></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ethernet

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><da-mac /></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ethernet

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><smac-dmac /></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ethernet

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><vlan /></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ethernet

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><etype /></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ethernet

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><src-l4-port /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><dst-l4-port /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><src-ip /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><dst-ip /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><sip-dip /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ip><protocol /></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><ipv6-src-l4-port /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><ipv6-dst-l4-port /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><ipv6-src-ip /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><ipv6-dst-ip /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><sipv6-dipv6 /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6><ipv6-next-hdr /></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mpls><label1 /></mpls>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/mpls

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mpls><label2 /></mpls>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/mpls

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mpls><label3 /></mpls>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/mpls

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mpls><all-labels /></mpls>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/mpls

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<l4><src-dst-port /></l4>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/load-balance/hash/l4

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<hdr-start><fwd-term>%enumeration%</fwd-term></hdr-start>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash/hdr-start

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<bos><start-skip>%enumeration%</start-skip></bos>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash/bos

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<hash><hdr-count>%uint32%</hdr-count></hash>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<hash><rotate>%uint32%</rotate></hash>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<hash><normalize /></hash>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<hash><srcport /></hash>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<hash><pwctrlword /></hash>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<speculate-mpls><enable-eth-ip>%enumeration%</enable-eth-ip></speculate-mpls>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-rbridge-lag:load-balance-lag/lag/hash/speculate-mpls

