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


curl -v -X PATCH -d "<cluster><peer>%inet:ipv4-address%</peer></cluster>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%


curl -v -X PATCH -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 PATCH -d "<cluster><client-pw>true</client-pw></cluster>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%


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


curl -v -X PATCH -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 PATCH -d "<peer-keepalive><auto>true</auto></peer-keepalive>"  -u admin:password http://%ipaddress%:80/rest/config/running/cluster/%cluster-name%/peer-keepalive


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

