
********************************************************************************
* 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+xml" -k -d "<uda>%common-def:name-string63%</uda>"  -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+xml" -k -d "<vrf>%common-def:vrf-name%</vrf>"  -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+xml" -k -d "<rpki-state-type>%enumeration%</rpki-state-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/rpki/rpki-state-type

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

curl -v -X PUT -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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "<ethernet-rmm>%interface:interface-type%</ethernet-rmm>"  -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+xml" -k -d "<port-channel-rmm>%interface:portchannel-type%</port-channel-rmm>"  -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+xml" -k -d "<loopback>%loopback-intf:intf-loopback-port-type%</loopback>"  -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+xml" -k -d "<ve>%interface:ve-type%</ve>"  -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+xml" -k -d "<ipv6-prefix-list-rmm>%match-prefix-list-name-t%</ipv6-prefix-list-rmm>"  -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+xml" -k -d "<ipv6-acl-rmm>%ipv6-access-list:ipv6-l3-acl-policy-name%</ipv6-acl-rmm>"  -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+xml" -k -d "[DO NOT USE]<source-address>%inet:ipv6-prefix%</source-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/source-address

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

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<max-value>%icmp-type-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%icmp-code-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%flow-label-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "<ipv6-prefix-list-rmm-n>%match-prefix-list-name-t%</ipv6-prefix-list-rmm-n>"  -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+xml" -k -d "<ipv6-prefix-list-rmrs>%string%</ipv6-prefix-list-rmrs>"  -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+xml" -k -d "<prefix-list-rmm>%match-prefix-list-name-t%</prefix-list-rmm>"  -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+xml" -k -d "<acl-rmm>%ip-access-list:l3-acl-policy-name%</acl-rmm>"  -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+xml" -k -d "[DO NOT USE]<source-address>%inet:ipv4-prefix%</source-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/source-address

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

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<max-value>%icmp-type-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%icmp-code-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "<prefix-list-rmm-n>%match-prefix-list-name-t%</prefix-list-rmm-n>"  -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+xml" -k -d "<prefix-list-rmrs>%string%</prefix-list-rmrs>"  -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+xml" -k -d "<extcommunity-name>%match-extcommunity-list-name-t%</extcommunity-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/extcommunity/extcommunity-name

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<metric-rmm>%metric-t%</metric-rmm>"  -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+xml" -k -d "<route-type-rmm>%match-route-type-t%</route-type-rmm>"  -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+xml" -k -d "<tag-rmm>%tag-t%</tag-rmm>"  -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+xml" -k -d "<as-path-access-list-name>%ip-match-as-path-name-t%</as-path-access-list-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/as-path/as-path-access-list-name

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<max-value>%ip-access-list:proto-type%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "<match-isis-level>%enumeration%</match-isis-level>"  -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+xml" -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+xml" -k -d "<ospf-route-type>%enumeration%</ospf-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/protocol/ospf-protocol-container/ospf-route-type

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<max-value>%ip-access-list:sport-number-eq-neq-tcp-udp%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%ip-access-list:sport-number-eq-neq-tcp-udp%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%ip-access-list:dport-number-eq-neq-tcp-udp%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%packet-length-t%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -k -d "[DO NOT USE]<max-value>%dscp-precedence%</max-value>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -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+xml" -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+xml" -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+xml" -k -d "<rule-name>%rmap-rule-name%</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+xml" -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+xml" -k -d "<cir>%uint64%</cir>"  -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+xml" -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+xml" -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+xml" -k -d "<set-isis-level>%enumeration%</set-isis-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/set-isis-level

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<dscp-rms>%dscp-precedence%</dscp-rms>"  -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+xml" -k -d "<null0 />"  -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+xml" -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+xml" -k -d "<dscp-rms-ipv6>%dscp-precedence%</dscp-rms-ipv6>"  -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+xml" -k -d "<ipv6-null0 />"  -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+xml" -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+xml" -k -d "<ASN-NN-rt>%ext-community-rt-expr-t%</ASN-NN-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/ASN-NN-rt

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

curl -v -X PUT -H "Content-Type: application/yang-data+xml" -k -d "<set-community-expr>%set-community-expr-t%</set-community-expr>"  -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+xml" -k -d "<set-large-community-expr>%set-large-community-expr-t%</set-large-community-expr>"  -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+xml" -k -d "<delta-rms>%enumeration%</delta-rms>"  -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+xml" -k -d "[DO NOT USE]<metric-rms>%metric-t%</metric-rms>"  -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+xml" -k -d "<dist-rms>%distance-t%</dist-rms>"  -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+xml" -k -d "<tag-rms>%tag-t%</tag-rms>"  -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+xml" -k -d "<weight-value>%uint32%</weight-value>"  -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+xml" -k -d "<uda-null0 />"  -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+xml" -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+xml" -k -d "<prepend>%string%</prepend>"  -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+xml" -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+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 PUT -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 PUT -H "Content-Type: application/yang-data+xml" -k -d "<half-life>%uint32%</half-life>"  -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+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 PUT -H "Content-Type: application/yang-data+xml" -k -d "<local-preference-value>%uint32%</local-preference-value>"  -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+xml" -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+xml" -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+xml" -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+xml" -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+xml" -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+xml" -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+xml" -k -d "<continue-val>%uint32%</continue-val>"  -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+xml" -k -d "<ge-ipp>%ipv6-prefix-len-t%</ge-ipp>"  -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+xml" -k -d "<le-ipp>%ipv6-prefix-len-t%</le-ipp>"  -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+xml" -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+xml" -k -d "<ge-ipp>%prefix-len-t%</ge-ipp>"  -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+xml" -k -d "<le-ipp>%prefix-len-t%</le-ipp>"  -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+xml" -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+xml" -k -d "<ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name>"  -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+xml" -k -d "<ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name>"  -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+xml" -k -d "<route-map-name>%common-def:name-string63%</route-map-name>"  -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+xml" -k -d "<route-map-name>%common-def:name-string63%</route-map-name>"  -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+xml" -k -d "<ipv6-route-map-name>%common-def:name-string63%</ipv6-route-map-name>"  -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+xml" -k -d "<route-map-name>%common-def:name-string63%</route-map-name>"  -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

