
********************************************************************************
* 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 "<broadcast-local-bias>true</broadcast-local-bias>"  -u admin:password http://%ipaddress%:80/rest/config/running/lvtep/broadcast-local-bias


curl -v -X PUT -d "<peer-interface><peer-if-type>%enumeration%</peer-if-type><peer-if-name>%peer-ifname%</peer-if-name></peer-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-interface


curl -v -X PUT -d "<client-pw>true</client-pw>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/client-pw


curl -v -X PUT -d "<bringup-delay>%uint32%</bringup-delay>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/bringup-delay


curl -v -X PUT -d "<peer-keepalive />"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-keepalive


curl -v -X PUT -d "<destination><destination-ip>%inet:ipv4-address%</destination-ip><source-interface>%enumeration%</source-interface><if-name>%peer-ifname%</if-name></destination>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-keepalive/destination


curl -v -X PUT -d "<auto>true</auto>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-keepalive/auto


curl -v -X PUT -d "<role>%enumeration%</role>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-keepalive/role


curl -v -X PUT -d "<all>true</all>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/vlan/all


curl -v -X PUT -d "<none>true</none>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/vlan/none


curl -v -X PUT -d "<add>%interface:ui32-vlan-20k-range%</add>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/vlan/add


curl -v -X PUT -d "<except>%interface:ui32-vlan-20k-range%</except>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/vlan/except


curl -v -X PUT -d "<remove>%interface:ui32-vlan-20k-range%</remove>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/vlan/remove


curl -v -X PUT -d "<all>true</all>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/bridge-domain/all


curl -v -X PUT -d "<none>true</none>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/bridge-domain/none


curl -v -X PUT -d "<add>%bd:ui32-bridge-domain-20k-range%</add>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/bridge-domain/add


curl -v -X PUT -d "<except>%bd:ui32-bridge-domain-20k-range%</except>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/bridge-domain/except


curl -v -X PUT -d "<remove>%bd:ui32-bridge-domain-20k-range%</remove>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/member/bridge-domain/remove


curl -v -X PUT -d "<all>true</all>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/shutdown/all


curl -v -X PUT -d "<clients>true</clients>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/shutdown/clients


curl -v -X PUT -d "<client-id>%mct-eth-client-id-type%</client-id>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/cluster-client/client-id


curl -v -X PUT -d "<cluster-track-flag>true</cluster-track-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/cluster-track/cluster-track-flag


curl -v -X PUT -d "<client-id>%mct-po-client-id-type%</client-id>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/cluster-client/client-id


curl -v -X PUT -d "<cluster-track-flag>true</cluster-track-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/cluster-track/cluster-track-flag

