
********************************************************************************
* 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+xml" -k -d "<match><uda>%common-def:name-string63%</uda></match>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<match><vrf>%common-def:vrf-name%</vrf></match>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rpki><rpki-state-type>%enumeration%</rpki-state-type></rpki>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/rpki

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<advertise-set><all /></advertise-set>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/additional-paths/advertise-set

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<advertise-set><best>%uint32%</best></advertise-set>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/additional-paths/advertise-set

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<best-range><range-start>%uint32%</range-start><range-end>%uint32%</range-end></best-range>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/additional-paths/advertise-set/best-range

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<advertise-set><group-best /></advertise-set>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/additional-paths/advertise-set

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><ethernet-rmm>%interface:interface-type%</ethernet-rmm></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><port-channel-rmm>%interface:portchannel-type%</port-channel-rmm></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><loopback>%loopback-intf:intf-loopback-port-type%</loopback></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><ve>%interface:ve-type%</ve></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<address><ipv6-prefix-list-rmm>%match-prefix-list-name-t%</ipv6-prefix-list-rmm></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<address><ipv6-acl-rmm>%ipv6-access-list:ipv6-l3-acl-policy-name%</ipv6-acl-rmm></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ipv6><source-address>%inet:ipv6-prefix%</source-address></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ipv6><destination-address>%inet:ipv6-prefix%</destination-address></ipv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-type><max-value>%icmp-type-t%</max-value></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-type><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp-type><empty-leaf /></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-code><max-value>%icmp-code-t%</max-value></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-code><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp-code><empty-leaf /></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<flow-label><max-value>%flow-label-t%</max-value></flow-label>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/flow-label=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<flow-label><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></flow-label>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/flow-label=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<flow-label><empty-leaf /></flow-label>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/flow-label=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<next-hop><ipv6-prefix-list-rmm-n>%match-prefix-list-name-t%</ipv6-prefix-list-rmm-n></next-hop>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/next-hop

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-source><ipv6-prefix-list-rmrs>%string%</ipv6-prefix-list-rmrs></route-source>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ipv6/route-source

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<address><prefix-list-rmm>%match-prefix-list-name-t%</prefix-list-rmm></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<address><acl-rmm>%ip-access-list:l3-acl-policy-name%</acl-rmm></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ip><source-address>%inet:ipv4-prefix%</source-address></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ip><destination-address>%inet:ipv4-prefix%</destination-address></ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-type><max-value>%icmp-type-t%</max-value></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-type><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp-type><empty-leaf /></icmp-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-type=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-code><max-value>%icmp-code-t%</max-value></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<icmp-code><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp-code><empty-leaf /></icmp-code>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/icmp-code=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<next-hop><prefix-list-rmm-n>%match-prefix-list-name-t%</prefix-list-rmm-n></next-hop>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/next-hop

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-source><prefix-list-rmrs>%string%</prefix-list-rmrs></route-source>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/ip/route-source

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<extcommunity><extcommunity-name>%match-extcommunity-list-name-t%</extcommunity-name></extcommunity>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/extcommunity

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<metric><metric-rmm>%metric-t%</metric-rmm></metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/metric

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-type><route-type-rmm>%match-route-type-t%</route-type-rmm></route-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/route-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag><tag-rmm>%tag-t%</tag-rmm></tag>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<as-path><as-path-access-list-name>%ip-match-as-path-name-t%</as-path-access-list-name></as-path>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/as-path

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<community><community-access-list-name>%match-community-list-name-t%</community-access-list-name></community>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/community

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<large-community><large-community-access-list-name>%match-large-community-list-name-t%</large-community-access-list-name></large-community>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/large-community

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<protocol-match-list><max-value>%ip-access-list:proto-type%</max-value></protocol-match-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/protocol-match-list=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<protocol-match-list><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></protocol-match-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/protocol-match-list=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<protocol-match-list><empty-leaf /></protocol-match-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/protocol-match-list=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<protocol-static-container><static /></protocol-static-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/protocol-static-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bgp-protocol-container><protocol-bgp /><bgp-route-type>%enumeration%</bgp-route-type></bgp-protocol-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/bgp-protocol-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<isis-protocol-container><protocol-isis /></isis-protocol-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/isis-protocol-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<isis-protocol-container><match-isis-level>%enumeration%</match-isis-level></isis-protocol-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/isis-protocol-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ospf-protocol-container><protocol-ospf /></ospf-protocol-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/ospf-protocol-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ospf-protocol-container><ospf-route-type>%enumeration%</ospf-route-type></ospf-protocol-container>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/protocol/ospf-protocol-container

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<port><max-value>%ip-access-list:sport-number-eq-neq-tcp-udp%</max-value></port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<port><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port><empty-leaf /></port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<source-port><max-value>%ip-access-list:sport-number-eq-neq-tcp-udp%</max-value></source-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/source-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<source-port><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></source-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/source-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<source-port><empty-leaf /></source-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/source-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<destination-port><max-value>%ip-access-list:dport-number-eq-neq-tcp-udp%</max-value></destination-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/destination-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<destination-port><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></destination-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/destination-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<destination-port><empty-leaf /></destination-port>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/destination-port=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<packet-length><max-value>%packet-length-t%</max-value></packet-length>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/packet-length=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<packet-length><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></packet-length>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/packet-length=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<packet-length><empty-leaf /></packet-length>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/packet-length=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<dscp><max-value>%dscp-precedence%</max-value></dscp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/dscp=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<dscp><neq-values-flag /><neq-extra-values>%string%</neq-extra-values></dscp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/dscp=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<dscp><empty-leaf /></dscp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/dscp=%compare-op%,%value%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<tcp-flags><empty-leaf /></tcp-flags>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/tcp-flags=%flags-op%,%flags-string%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<fragment-type><empty-leaf /></fragment-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/fragment-type=%fragment-type-op%,%fragment-type-string%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<content><rule-name>%rmap-rule-name%</rule-name></content>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<content><next-hop-recursion /></content>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<police><cir>%uint64%</cir></police>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/police

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<sflow><default-profile /></sflow>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/sflow

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<traffic-action><traffic-action-continue /></traffic-action>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/traffic-action

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<level><set-isis-level>%enumeration%</set-isis-level></level>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/level

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<dscp><dscp-rms>%dscp-precedence%</dscp-rms></dscp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ip/dscp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><null0 /></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ip/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<next-hop><peer-address /></next-hop>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ip/next-hop

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<dscp><dscp-rms-ipv6>%dscp-precedence%</dscp-rms-ipv6></dscp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ipv6/dscp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><ipv6-null0 /></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ipv6/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<next-ip><ipv6-peer-address /></next-ip>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/ipv6/next-ip

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rt><ASN-NN-rt>%ext-community-rt-expr-t%</ASN-NN-rt></rt>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/extcommunity/rt

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<soo><ASN-NN-soo>%ext-community-soo-expr-t%</ASN-NN-soo></soo>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/extcommunity/soo

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<community><set-community-expr>%set-community-expr-t%</set-community-expr></community>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/community

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<large-community><set-large-community-expr>%set-large-community-expr-t%</set-large-community-expr></large-community>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/large-community

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<metric><delta-rms>%enumeration%</delta-rms></metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/metric

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<metric><metric-rms>%metric-t%</metric-rms></metric>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/metric

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<distance><dist-rms>%distance-t%</dist-rms></distance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/distance

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag><tag-rms>%tag-t%</tag-rms></tag>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<weight><weight-value>%uint32%</weight-value></weight>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/weight

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interface><uda-null0 /></interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/uda-interface-policy/interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<as-path><aspath-tag /></as-path>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/as-path

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<as-path><prepend>%string%</prepend></as-path>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/as-path

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<automatic-tag><tag-empty /></automatic-tag>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/automatic-tag

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<comm-list><comm-list-name>%ip-community-list-name-t%</comm-list-name><match-comm-delete /></comm-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/comm-list

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<large-community-list><large-comm-list-name>%ip-large-community-list-name-t%</large-comm-list-name><match-large-comm-delete /></large-community-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/large-community-list

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<dampening><half-life>%uint32%</half-life></dampening>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/dampening

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<dampening><reuse>%uint32%</reuse><suppress>%uint32%</suppress><max-suppress-time>%uint32%</max-suppress-time></dampening>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/dampening

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<local-preference><local-preference-value>%uint32%</local-preference-value></local-preference>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/local-preference

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<origin><origin-igp /></origin>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/origin

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<origin><origin-incomplete /></origin>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/origin

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<metric-type><internal /></metric-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/metric-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<metric-type><type-1 /></metric-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/metric-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<metric-type><type-2 /></metric-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/set/metric-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<continue-holder><continue /></continue-holder>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/continue-holder

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<continue-holder><continue-val>%uint32%</continue-val></continue-holder>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/continue-holder

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<prefix-list><ipv6-description-ipp>%common-def:name-string63%</ipv6-description-ipp><action-ipp>%action-t%</action-ipp><ipv6-prefix-ipp>%inet:ipv6-prefix%</ipv6-prefix-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ipv6/brocade-ip-policy:prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<prefix-list><ge-ipp>%ipv6-prefix-len-t%</ge-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ipv6/brocade-ip-policy:prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<prefix-list><le-ipp>%ipv6-prefix-len-t%</le-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ipv6/brocade-ip-policy:prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rules><statistics /></rules>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ipv6/brocade-ip-policy:flowspec/rules

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<prefix-list><ip-description-ipp>%common-def:name-string63%</ip-description-ipp><action-ipp>%action-t%</action-ipp><prefix-ipp>%inet:ipv4-prefix%</prefix-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-prefix-holder/prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<prefix-list><ge-ipp>%prefix-len-t%</ge-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-prefix-holder/prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<prefix-list><le-ipp>%prefix-len-t%</le-ipp></prefix-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-prefix-holder/prefix-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rules><statistics /></rules>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:flowspec/rules

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ipv6/brocade-ip-policy:policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ipv6-config:ipv6/brocade-ip-policy:policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><route-map-name>%common-def:name-string63%</route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-policy:ip-pbr-interface/ip/policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><route-map-name>%common-def:name-string63%</route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-ip-policy:ip-pbr-interface/ip/policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ipv6/brocade-ip-policy:policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<route-map><route-map-name>%common-def:name-string63%</route-map-name></route-map>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ip-policy:ip-pbr-interface/ip/policy/route-map

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<access-list><ip-action>%action-t%</ip-action><ip-reg-expr>%ip-as-path-reg-expr-t%</ip-reg-expr></access-list>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-as-path-holder/as-path/access-list=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<standard><ip-action>%action-t%</ip-action><std-community-expr>%ip-std-community-expr-t%</std-community-expr></standard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-community-list-holder/community-list/standard=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<extended><ip-action>%action-t%</ip-action><ip-community-reg-expr>%ip-community-reg-expr-t%</ip-community-reg-expr></extended>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-community-list-holder/community-list/extended=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<seq><ext-community-action>%action-t%</ext-community-action><ext-community-expr>%extcommunity-list-expr-t%</ext-community-expr></seq>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-ext-community-list-holder/extcommunity-list/standard=%extcommunity-list-name%/seq=%seq-id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<seq><exp-ext-community-action>%action-t%</exp-ext-community-action><ext-community-regex>%extcommunity-list-reg-expr-t%</ext-community-regex></seq>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:hide-ext-community-list-holder/extcommunity-list/extended=%extended-extcommunity-list-name%/seq=%extended-seq-id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<standard><action>%action-t%</action><expr>%large-community-expr-t%</expr></standard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/ip/brocade-ip-policy:hide-large-community-list-holder/large-community-list/standard=%name%,%seq-keyword%,%instance%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<extended><action>%action-t%</action><regex-expr>%ip-community-reg-expr-t%</regex-expr></extended>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/ip/brocade-ip-policy:hide-large-community-list-holder/large-community-list/extended=%name%,%seq-keyword%,%instance%

