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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

