
********************************************************************************
* 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 PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"statistics\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"statistics-sync\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"loop-detection\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"loop-detection-shutdown-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"router-interface\": {\"ve-config\": \"%ve-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/router-interface

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ethernet\": {\"cee\": \"%cee-map-name-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ethernet\": {\"loopback\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ethernet\": {\"speed\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"fec\": {\"fec-mode\": \"%fec-mode-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/fec

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"port-channel\": {\"cee\": \"%cee-map-name-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"port-channel\": {\"po-speed\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vrf\": {\"forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"insight\": {\"insight-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/insight

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"insight\": {\"insight-mmId\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/insight

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay\": {\"reload-delay-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay\": {\"reload-delay-time\": \"%reload-delay-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tcp\": {\"tcp_burstrate\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tcp\": {\"tcp_lockdown\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"icmp\": {\"unreachable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"icmp\": {\"echo_reply\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"icmp\": {\"rate_limiting\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"address\": {\"dhcp\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"address\": {\"ip-address\": \"%common-def:ipv4-address-prefix-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"icmpv6\": {\"v6_rate_limiting\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/icmpv6

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ipv6-global-cont\": {\"ipv6-global-address\": \"%common-def:ipv6-address-prefix%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ipv6-global-cont\": {\"ipv6-global-address-eui64\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-address-cont\": {\"autoconfig\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-address-cont\": {\"dhcpv6\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vrf\": {\"vrf-forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"management\": {\"speed\": \"%enumeration%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"management\": {\"shutdown_management\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/shutdown

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"channel-group\": {\"port-int\": \"%portchannel-type%\", \"mode\": \"%po-mode%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"channel-group\": {\"type\": \"%po-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mtu\": \"%mtu-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/mtu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"route-only\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/route-only

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tag-type

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"rate-monitoring\": {\"threshold\": \"%maint-mode-threshold%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/maintenance-mode/rate-monitoring

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"switchport-basic\": {\"basic\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport-basic

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mode\": {\"vlan-mode\": \"%l2-mode-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/mode

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"port-sec-max\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"port-sec-violation\": \"%port-sec-violation%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"sticky\": {\"sticky-flag\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/sticky

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"shutdown-time\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"access\": {\"accessvlan\": \"%vlan-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/access

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"all\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"none\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"add\": \"%ui32-vlan-20k-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"except\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"remove\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tag\": {\"native-vlan\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"native-vlan-classification\": {\"native-vlan-id\": \"%native-vlan-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/native-vlan-classification

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"bfd-software-session\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd-software-session

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"source-guard\": {\"source-guard-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ip/source-guard

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vrf\": {\"forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay\": {\"reload-delay-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay\": {\"reload-delay-time\": \"%reload-delay-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd\": {\"bfd-shutdown\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"link-status\": {\"snmp-link-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"redundant-management\": {\"redundant-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/redundant-management

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection-native\": {\"loop-detection-native\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection-native

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection\": {\"eldshutdown-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection\": {\"eldvlan\": \"%ui32-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"priority-tag-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/priority-tag-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"strip-header\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/strip-header

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bpdu-drop-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bpdu-drop-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"core-isolation-track\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/core-isolation-track

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ethernet-segment\": {\"esi\": \"%string%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"capability\": {\"ac-influenced-df-election\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment/advertise/capability

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan-name\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/vlan-name

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/shutdown

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"minimum-links\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/minimum-links

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mtu\": \"%mtu-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/mtu

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"route-only\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/route-only

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/tag-type

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"rate-monitoring\": {\"threshold\": \"%maint-mode-threshold%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/maintenance-mode/rate-monitoring

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"switchport-basic\": {\"basic\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport-basic

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"mode\": {\"vlan-mode\": \"%l2-mode-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/mode

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"port-sec-max\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"port-sec-violation\": \"%port-sec-violation%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"sticky\": {\"sticky-flag\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/sticky

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {\"shutdown-time\": \"%uint32%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"access\": {\"accessvlan\": \"%vlan-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/access

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"all\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"none\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"add\": \"%ui32-vlan-20k-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"except\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"vlan\": {\"remove\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"tag\": {\"native-vlan\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"native-vlan-classification\": {\"native-vlan-id\": \"%native-vlan-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/native-vlan-classification

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"bfd-software-session\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd-software-session

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"source-guard\": {\"source-guard-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ip/source-guard

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"link-status\": {\"snmp-link-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd\": {\"bfd-shutdown\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection-native\": {\"loop-detection-native\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection-native

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection\": {\"eldshutdown-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"edge-loop-detection\": {\"eldvlan\": \"%ui32-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"priority-tag-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/priority-tag-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"load-balance-type\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/load-balance-type

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bpdu-drop-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bpdu-drop-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"core-isolation-track\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/core-isolation-track

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"lacp\": {\"system-id\": \"%string%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/lacp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"lacp\": {\"auto\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/lacp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ethernet-segment\": {\"esi\": \"%string%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"capability\": {\"ac-influenced-df-election\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/advertise/capability

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"rspan-vlan\": {\"add-rspan-trunk-vlan\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"rspan-vlan\": {\"remove-rspan-trunk-vlan\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"rspan-access\": {\"rspan-access-vlan\": \"%vlan-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-access

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"sfpp\": {\"channel\": \"%tunable-optics-sfpp-channel-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tunable-optics/sfpp

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"ve\": {\"description\": \"%string%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"bfd\": {\"bfd-shutdown\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"link-status\": {\"snmp-link-disable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"global-mtu-conf\": {\"global-l2-mtu\": \"%mtu-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"global-mtu-conf\": {\"global-l2-bpdu\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "{\"global-mtu-conf\": {\"global-reload-delay\": \"%reload-delay-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"global-mtu-conf\": {\"ingress-vlan-mapped-ve-counter\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"tunneled-arp-trap\": {\"tunneled-arp-trap-enable\": {}}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf/tunneled-arp-trap

