interface/{interface-type}/{interface-name}/ipv6/policy

Configures, modifies, or retrieves the Policy-based Routing (PBR) configuration.

Resource URIs

URI Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/policy Configures PBR (IPv6).

Valid interface types: Ethernet, Ve..

GET URIs Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/policy Retrieves PBR (IPv6) policy. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/policy/route-map Retrieves PBR (IPv6) route map. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/policy/route-map/ipv6-route-map-name Retrieves PBR (IPv6) route map name. Valid interface types: Ethernet, Ve.
PATCH URIs Payload Description
<base_URI>/config/running/interface/Ethernet/{name}/ipv6/policy/route-map <route-map><ipv6-route-map-name>{common-def:name-string63}</ipv6-route-map-name></route-map> Configures PBR (IPv6). Valid interface types: Ethernet, Ve.
PUT URIs Payload Description
<base_URI>/config/running/interface/Ethernet/{name}/ipv6/policy/route-map/ipv6-route-map-name <ipv6-route-map-name>{common-def:name-string63}</ipv6-route-map-name> Configures PBR (IPv6). Valid interface types: Ethernet, Ve.
DELETE URIs
<base_URI>/config/running/interface/Ethernet/{name}/ipv6/policy/route-map/ipv6-route-map-name

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/interface/Ethernet/%221/1%22/ipv6/policy

None

None

URI

The following is an example of the PUT operation to configure a route map.

http://host:80/rest/config/running/interface/Ethernet/%221/1%22/ipv6/policy/route-map/map10

<policy xmlns="urn:brocade.com:mgmt:brocade-ip-policy" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ethernet/%221/39%22/ipv6/policy">
  <route-map y:self="/rest/config/running/interface/Ethernet/%221/39%22/ipv6/policy/route-map">
    <ipv6-route-map-name>map10</ipv6-route-map-name>
  </route-map>
</policy>

None

URI

The following is an example of the DELETE operation to remove a route map.

http://host:80/rest/config/running/interface/Ethernet/%221/1%22/ipv6/policy/route-map/map10

None

None