
********************************************************************************
* 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 "<anycast-gateway-mac><ip-anycast-gateway-mac>%mac-access-list:mac-address-type%</ip-anycast-gateway-mac></anycast-gateway-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/anycast-gateway-mac


curl -v -X PATCH -d "<anycast-gateway-mac><default-mac>true</default-mac></anycast-gateway-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/anycast-gateway-mac


curl -v -X PATCH -d "<anycast-gateway-mac><ipv6-anycast-gateway-mac>%mac-access-list:mac-address-type%</ipv6-anycast-gateway-mac></anycast-gateway-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/ipv6/anycast-gateway-mac


curl -v -X PATCH -d "<anycast-gateway-mac><default-mac>true</default-mac></anycast-gateway-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/ipv6/anycast-gateway-mac


curl -v -X PATCH -d "<vrrp>true</vrrp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/vrrp


curl -v -X PATCH -d "<vrrp-extended>true</vrrp-extended>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/vrrp-extended


curl -v -X PATCH -d "<vrrp-group><use-v2-checksum>true</use-v2-checksum></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<interface><priority>%uint8%</priority></interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%/track/interface/%interface-type%/%interface-name%


curl -v -X PATCH -d "<vrrp-group><advertisement-interval>%uint32%</advertisement-interval></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><enable>true</enable></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><hold-time>%uint32%</hold-time></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><preempt-mode>true</preempt-mode></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<unicast-request><receive>true</receive></unicast-request>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%/arp/unicast-request


curl -v -X PATCH -d "<vrrp-group><priority>%uint8%</priority></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><description>%string%</description></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><use-v2-checksum>true</use-v2-checksum></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<interface><priority>%uint8%</priority></interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%/track/interface/%interface-type%/%interface-name%


curl -v -X PATCH -d "<vrrp-group><advertisement-interval>%uint32%</advertisement-interval></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><enable>true</enable></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><hold-time>%uint32%</hold-time></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><preempt-mode>true</preempt-mode></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<unicast-request><receive>true</receive></unicast-request>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%/arp/unicast-request


curl -v -X PATCH -d "<vrrp-group><priority>%uint8%</priority></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><description>%string%</description></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-extended-group><virtual-mac>%enumeration%</virtual-mac></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<network><priority>%uint8%</priority></network>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%/track/network/%network-address%


curl -v -X PATCH -d "<interface><priority>%uint8%</priority></interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%/track/interface/%interface-type%/%interface-name%


curl -v -X PATCH -d "<vrrp-extended-group><advertisement-interval>%uint32%</advertisement-interval></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><enable>true</enable></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><hold-time>%uint32%</hold-time></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><preempt-mode>true</preempt-mode></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<unicast-request><receive>true</receive></unicast-request>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%/arp/unicast-request


curl -v -X PATCH -d "<vrrp-extended-group><priority>%uint8%</priority></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><description>%string%</description></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><advertise-backup>true</advertise-backup></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><backup-advertisement-interval>%uint32%</backup-advertisement-interval></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<short-path-forwarding><basic>true</basic></short-path-forwarding>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%/short-path-forwarding


curl -v -X PATCH -d "<short-path-forwarding><revert-priority>%uint8%</revert-priority></short-path-forwarding>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%/short-path-forwarding


curl -v -X PATCH -d "<vrrp-extended-group><advertisement-interval-scale>%uint32%</advertisement-interval-scale></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<interface><priority>%uint8%</priority></interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%/track/interface/%interface-type%/%interface-name%


curl -v -X PATCH -d "<vrrp-group><advertisement-interval>%uint32%</advertisement-interval></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><enable>true</enable></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><hold-time>%uint32%</hold-time></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><preempt-mode>true</preempt-mode></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<unicast-request><receive>true</receive></unicast-request>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%/arp/unicast-request


curl -v -X PATCH -d "<vrrp-group><priority>%uint8%</priority></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<vrrp-group><description>%string%</description></vrrp-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-group/%vrid%/%version%


curl -v -X PATCH -d "<interface><priority>%uint8%</priority></interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%/track/interface/%interface-type%/%interface-name%


curl -v -X PATCH -d "<vrrp-extended-group><advertisement-interval>%uint32%</advertisement-interval></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><enable>true</enable></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><hold-time>%uint32%</hold-time></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><preempt-mode>true</preempt-mode></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<unicast-request><receive>true</receive></unicast-request>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%/arp/unicast-request


curl -v -X PATCH -d "<vrrp-extended-group><priority>%uint8%</priority></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<vrrp-extended-group><description>%string%</description></vrrp-extended-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrrp-extended-group/%vrid%


curl -v -X PATCH -d "<md5-auth><auth-data>%string%</auth-data></md5-auth>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/ip/vrrp-extended/auth-type/md5-auth


curl -v -X PATCH -d "<md5-auth><auth-data>%string%</auth-data></md5-auth>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/ipv6/vrrp-extended/auth-type/md5-auth

