
********************************************************************************
* 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 POST -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<intf-isis />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-reverse-metric />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></interface-auth-key>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></interface-hello-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></interface-hello-multiplier>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-ipv6-metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></interface-ipv6-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis/interface-ipv6

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></interface-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-isis:interface-eth-isis-conf/intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<isis />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<net><net-cmd>%net-type%</net-cmd></net>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<fast-flood />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/router-isis-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<set-overload-bit />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/router-isis-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<wait-for-bgp />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/router-isis-attributes/set-overload-bit/on-startup

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<spf-interval><spf-interval-level>%enumeration%</spf-interval-level><spf-interval-max-hold-time>%uint32%</spf-interval-max-hold-time><spf-interval-initial-delay>%uint32%</spf-interval-initial-delay><spf-interval-hold-time>%uint32%</spf-interval-hold-time></spf-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/router-isis-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<reverse-metric />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/router-isis-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<af-ipv4-unicast />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<summary-address><summary-ip>%inet:ipv4-address%</summary-ip><summary-ip-mask>%inet:ipv4-address%</summary-ip-mask><summary-ip-level1 /></summary-address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<ldp-sync />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<default-information-originate />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<connected />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<ospf />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<static />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<bgp />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<level2-into-level1 />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv4/af-ipv4-unicast/af-ipv4-attributes/af-common-attributes/redistribute/isis/level-2/into

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<af-ipv6-unicast />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<summary-prefix><summary-prefix-ipv6>%common-def:ipv6-address-prefix%</summary-prefix-ipv6><summary-prefix-level1 /></summary-prefix>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<multi-topology />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<spf6-interval><spf6-interval-level>%enumeration%</spf6-interval-level><spf6-interval-max-hold-time>%uint32%</spf6-interval-max-hold-time><spf6-interval-initial-delay>%uint32%</spf6-interval-initial-delay><spf6-interval-hold-time>%uint32%</spf6-interval-hold-time></spf6-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<default-information-originate />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<connected />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<ospf />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<static />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<bgp />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes/redistribute

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<level2-into-level1 />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/router/brocade-isis:isis/router-isis-cmds-holder/address-family/ipv6/af-ipv6-unicast/af-ipv6-attributes/af-common-attributes/redistribute/isis/level-2/into

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<intf-isis />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-reverse-metric />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></interface-auth-key>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></interface-hello-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></interface-hello-multiplier>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-ipv6-metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></interface-ipv6-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis/interface-ipv6

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></interface-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<intf-isis />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-reverse-metric />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></interface-auth-key>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></interface-hello-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></interface-hello-multiplier>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-ipv6-metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></interface-ipv6-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis/interface-ipv6

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></interface-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<intf-isis />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-reverse-metric />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></interface-auth-key>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></interface-hello-interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></interface-hello-multiplier>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-ipv6-metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></interface-ipv6-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis/interface-ipv6

curl -v -X POST -H "Content-Type: application/yang-data+xml" -k -d "<interface-metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></interface-metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/brocade-intf-loopback:loopback=%id%/brocade-isis:intf-isis/interface-isis

