
********************************************************************************
* 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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"uda\": \"%common-def:name-string63%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-ip-policy:route-map=%name%,%action-rm%,%instance%/content/match/uda

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"rpki-state-type\": \"%enumeration%\"}"  -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/rpki-state-type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"all\": {}}"  -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/all

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"best\": \"%uint32%\"}"  -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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"best-range\": {\"range-start\": \"%uint32%\", \"range-end\": \"%uint32%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"group-best\": {}}"  -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/group-best

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ethernet-rmm\": \"%interface:interface-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/interface/ethernet-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-channel-rmm\": \"%interface:portchannel-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/interface/port-channel-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loopback\": \"%loopback-intf:intf-loopback-port-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/interface/loopback

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ve\": \"%interface:ve-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/interface/ve

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-prefix-list-rmm\": \"%match-prefix-list-name-t%\"}"  -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/ipv6-prefix-list-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-acl-rmm\": \"%ipv6-access-list:ipv6-l3-acl-policy-name%\"}"  -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/ipv6-acl-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"source-address\": \"%inet:ipv6-prefix%\"}"  -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/source-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"destination-address\": \"%inet:ipv6-prefix%\"}"  -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/destination-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%icmp-type-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"icmp-type\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%icmp-code-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"icmp-code\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%flow-label-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"flow-label\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-prefix-list-rmm-n\": \"%match-prefix-list-name-t%\"}"  -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/ipv6-prefix-list-rmm-n

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-prefix-list-rmrs\": \"%string%\"}"  -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/ipv6-prefix-list-rmrs

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"prefix-list-rmm\": \"%match-prefix-list-name-t%\"}"  -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/prefix-list-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"acl-rmm\": \"%ip-access-list:l3-acl-policy-name%\"}"  -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/acl-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"source-address\": \"%inet:ipv4-prefix%\"}"  -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/source-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"destination-address\": \"%inet:ipv4-prefix%\"}"  -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/destination-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%icmp-type-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"icmp-type\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%icmp-code-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"icmp-code\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"prefix-list-rmm-n\": \"%match-prefix-list-name-t%\"}"  -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/prefix-list-rmm-n

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"prefix-list-rmrs\": \"%string%\"}"  -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/prefix-list-rmrs

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"extcommunity-name\": \"%match-extcommunity-list-name-t%\"}"  -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/extcommunity-name

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"metric-rmm\": \"%metric-t%\"}"  -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/metric-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"route-type-rmm\": \"%match-route-type-t%\"}"  -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/route-type-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag-rmm\": \"%tag-t%\"}"  -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/tag-rmm

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"as-path-access-list-name\": \"%ip-match-as-path-name-t%\"}"  -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/as-path-access-list-name

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"community-access-list-name\": \"%match-community-list-name-t%\"}"  -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/community-access-list-name

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"large-community-access-list-name\": \"%match-large-community-list-name-t%\"}"  -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/large-community-access-list-name

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%ip-access-list:proto-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/protocol/protocol-match-list=%compare-op%,%value%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"protocol-match-list\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"static\": {}}"  -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/static

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"bgp-protocol-container\": {\"protocol-bgp\": {}, \"bgp-route-type\": \"%enumeration%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"protocol-isis\": {}}"  -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/protocol-isis

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"match-isis-level\": \"%enumeration%\"}"  -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/match-isis-level

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"protocol-ospf\": {}}"  -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/protocol-ospf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ospf-route-type\": \"%enumeration%\"}"  -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/ospf-route-type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%ip-access-list:sport-number-eq-neq-tcp-udp%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"port\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%ip-access-list:sport-number-eq-neq-tcp-udp%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"source-port\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%ip-access-list:dport-number-eq-neq-tcp-udp%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"destination-port\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%packet-length-t%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"packet-length\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"max-value\": \"%dscp-precedence%\"}"  -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%/max-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"dscp\": {\"neq-values-flag\": {}, \"neq-extra-values\": \"%string%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"empty-leaf\": {}}"  -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%/empty-leaf

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"cir\": \"%uint64%\"}"  -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/cir

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"default-profile\": {}}"  -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/default-profile

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"traffic-action-continue\": {}}"  -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/traffic-action-continue

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"set-isis-level\": \"%enumeration%\"}"  -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/set-isis-level

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dscp-rms\": \"%dscp-precedence%\"}"  -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/dscp-rms

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"{}0\": {}}"  -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/null0

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"peer-address\": {}}"  -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/peer-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dscp-rms-ipv6\": \"%dscp-precedence%\"}"  -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/dscp-rms-ipv6

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-{}0\": {}}"  -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/ipv6-null0

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-peer-address\": {}}"  -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/ipv6-peer-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ASN-NN-rt\": \"%ext-community-rt-expr-t%\"}"  -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/ASN-NN-rt

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ASN-NN-soo\": \"%ext-community-soo-expr-t%\"}"  -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/ASN-NN-soo

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"set-community-expr\": \"%set-community-expr-t%\"}"  -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/set-community-expr

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"set-large-community-expr\": \"%set-large-community-expr-t%\"}"  -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/set-large-community-expr

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"delta-rms\": \"%enumeration%\"}"  -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/delta-rms

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"metric-rms\": \"%metric-t%\"}"  -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/metric-rms

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dist-rms\": \"%distance-t%\"}"  -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/dist-rms

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag-rms\": \"%tag-t%\"}"  -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/tag-rms

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"weight-value\": \"%uint32%\"}"  -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/weight-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"uda-{}0\": {}}"  -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/uda-null0

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"aspath-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/as-path/aspath-tag

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"prepend\": \"%string%\"}"  -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/prepend

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag-empty\": {}}"  -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/tag-empty

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"comm-list\": {\"comm-list-name\": \"%ip-community-list-name-t%\", \"match-comm-delete\": {}}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"large-community-list\": {\"large-comm-list-name\": \"%ip-large-community-list-name-t%\", \"match-large-comm-delete\": {}}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"half-life\": \"%uint32%\"}"  -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/half-life

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dampening\": {\"reuse\": \"%uint32%\", \"suppress\": \"%uint32%\", \"max-suppress-time\": \"%uint32%\"}}"  -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"local-preference-value\": \"%uint32%\"}"  -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/local-preference-value

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"origin-igp\": {}}"  -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/origin-igp

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"origin-incomplete\": {}}"  -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/origin-incomplete

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"internal\": {}}"  -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/internal

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"type-1\": {}}"  -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/type-1

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"type-2\": {}}"  -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/type-2

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"continue\": {}}"  -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/continue

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"continue-val\": \"%uint32%\"}"  -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/continue-val

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"statistics\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ipv6/brocade-ip-policy:flowspec/rules/statistics

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"statistics\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:ip/brocade-ip-policy:flowspec/rules/statistics

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-route-map-name\": \"%common-def:name-string63%\"}"  -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/ipv6-route-map-name

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

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"route-map-name\": \"%common-def:name-string63%\"}"  -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/route-map-name

