
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rBreeze 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.                   *
*                                                                              *
* 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 -d -H "application/vnd.configuration.resource+json" "{\"sa-mac\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/sa-mac


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"da-mac\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/da-mac


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"smac-dmac\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/smac-dmac


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"vlan\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/vlan


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"etype\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/etype


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"src-l4-port\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/src-l4-port


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"dst-l4-port\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/dst-l4-port


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"src-ip\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/src-ip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"dst-ip\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/dst-ip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"sip-dip\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/sip-dip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"protocol\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/protocol


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"ipv6-src-l4-port\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-src-l4-port


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"ipv6-dst-l4-port\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-dst-l4-port


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"ipv6-src-ip\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-src-ip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"ipv6-dst-ip\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-dst-ip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"sipv6-dipv6\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/sipv6-dipv6


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"ipv6-next-hdr\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-next-hdr


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"label1\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label1


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"label2\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label2


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"label3\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label3


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"all-labels\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/all-labels


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"src-dst-port\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/l4/src-dst-port


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"fwd-term\": \"%enumeration%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/hdr-start/fwd-term


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"start-skip\": \"%enumeration%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/bos/start-skip


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"hdr-count\": \"%uint32%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/hdr-count


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"rotate\": \"%uint32%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/rotate


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"normalize\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/normalize


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"srcport\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/srcport


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"pwctrlword\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/pwctrlword


curl -v -X PUT -d -H "application/vnd.configuration.resource+json" "{\"enable-eth-ip\": \"%enumeration%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/speculate-mpls/enable-eth-ip

