<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reference on Pola PCE</title><link>https://nttcom.github.io/pola/docs/reference/</link><description>Recent content in Reference on Pola PCE</description><generator>Hugo</generator><language>en</language><atom:link href="https://nttcom.github.io/pola/docs/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>gRPC API</title><link>https://nttcom.github.io/pola/docs/reference/grpc-api/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nttcom.github.io/pola/docs/reference/grpc-api/</guid><description>&lt;p&gt;&lt;code&gt;polad&lt;/code&gt; serves &lt;code&gt;api.pola.v1.PCEService&lt;/code&gt; on &lt;code&gt;global.grpcServer&lt;/code&gt;.&#10;See &lt;a href="https://github.com/nttcom/pola/blob/develop/api/pola/v1/pola.proto"&gt;&lt;code&gt;api/pola/v1/pola.proto&lt;/code&gt;&lt;/a&gt; for message and field definitions, &lt;a href="https://pkg.go.dev/github.com/nttcom/pola/api/pola/v1"&gt;pkg.go.dev&lt;/a&gt; for generated Go code, and the &lt;a href="https://github.com/nttcom/pola/tree/develop/examples/grpc/go"&gt;Go client example&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The API uses plaintext gRPC with no authentication. Expose it only on loopback or a trusted network.&lt;/p&gt;&#10;&lt;h2 id="rpcs"&gt;RPCs&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;RPC&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Description&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;CreateSRPolicy&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Send PCUpd to a matching LSP if one exists; otherwise create the SR Policy with PCInitiate.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;DeleteSRPolicy&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Delete a matching LSP with a PCInitiate carrying the R flag. Requires &lt;code&gt;peer_addr&lt;/code&gt;, &lt;code&gt;color&lt;/code&gt;, &lt;code&gt;endpoint&lt;/code&gt;, and &lt;code&gt;policy_name&lt;/code&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;GetSessionList&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;List PCEP sessions with state, timers, and capabilities. Message counters are included when &lt;code&gt;include_stats&lt;/code&gt; is set.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;GetSRPolicyList&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;List the LSPs reported by each session.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;GetTED&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Return the TED. When disabled, &lt;code&gt;enabled&lt;/code&gt; is false. When enabled, the node list is empty until initial synchronization completes.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;DeleteSession&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Send a Close message to a PCEP session and remove it.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;&lt;code&gt;CreateSRPolicyRequest&lt;/code&gt; fields correspond to the CLI &lt;a href="https://nttcom.github.io/pola/docs/user/sr-policies/#policy-file"&gt;policy file&lt;/a&gt;, with the addition of &lt;code&gt;no_sid_validate&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Standards and Feature Support</title><link>https://nttcom.github.io/pola/docs/reference/standards/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nttcom.github.io/pola/docs/reference/standards/</guid><description>&lt;h2 id="implemented-specifications"&gt;Implemented specifications&lt;/h2&gt;&#10;&lt;p&gt;Unsupported features are listed in &lt;a href="https://nttcom.github.io/pola/docs/reference/standards/#not-supported"&gt;Not supported&lt;/a&gt;.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Area&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Specification&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Features&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PCEP&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 5440&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Session establishment, Keepalive, PCErr, and Close.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Stateful PCE&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8231, RFC 8281&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;State synchronization, PCRpt, PCUpd, and PCE-initiated LSPs.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Path setup types&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8408&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PATH-SETUP-TYPE-CAPABILITY and PATH-SETUP-TYPE TLVs.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SR-MPLS&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8664&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SR-ERO and SR-PCE-CAPABILITY, including MSD.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRv6&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9603&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRv6-ERO and SRv6-PCE-CAPABILITY, including SID structure.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SR Policy&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9256&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Policy identity (headend, color, endpoint) and candidate path preference.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Associations&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8697&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;ASSOCIATION object and ASSOC-TYPE-LIST TLV.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SR Policy Association&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9862&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SR Policy Association and its TLVs, SRPOLICY-CAPABILITY, and validation of received associations. See &lt;a href="https://nttcom.github.io/pola/docs/reference/standards/#sr-policy-association-validation"&gt;SR Policy Association validation&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Color&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9863&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Color capability and receiving the COLOR TLV. See &lt;a href="https://nttcom.github.io/pola/docs/reference/standards/#color-tlv"&gt;COLOR TLV&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Vendor information&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 7470&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;VENDOR-INFORMATION object with Cisco-specific color and preference.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;BGP-LS&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9552, RFC 9085, RFC 9514&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;TED ingestion through GoBGP, including SR-MPLS and SRv6 extensions.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Flexible Algorithm&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9350, RFC 9351&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Path computation over a Flexible Algorithm: FAD ingestion and election, node participation, and ASLA-based affinity/SRLG link constraints. See &lt;a href="https://nttcom.github.io/pola/docs/user/dynamic-paths/#flexible-algorithm-flex-algo"&gt;Flexible Algorithm (Flex-Algo)&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Link delay&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8570&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Min Unidirectional Link Delay as a path computation metric (&lt;code&gt;min-delay&lt;/code&gt;), including as a Flex-Algo Metric-Type.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Administrative groups&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 3630, RFC 5305, RFC 9104&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Legacy and extended administrative groups, exposed in the TED.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Application-specific link attributes&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 9294, RFC 8919, RFC 8920&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;ASLA affinity, SRLG, TE metric, delay, and min-delay. Flex-Algo selection rules are described in &lt;a href="https://nttcom.github.io/pola/docs/user/dynamic-paths/#link-attributes"&gt;Flexible Algorithm (Flex-Algo)&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRv6 behaviors&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;RFC 8986, RFC 9800&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Endpoint behavior codes, including NEXT-CSID (uN, uA).&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h3 id="additional-details"&gt;Additional details&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Pola advertises MULTIPATH-CAP (draft-ietf-pce-multipath) with a maximum of one path.&lt;/li&gt;&#10;&lt;li&gt;The session and message counters shown by &lt;code&gt;pola session detail&lt;/code&gt; follow the definitions in the PCEP YANG modules (RFC 9826).&lt;/li&gt;&#10;&lt;li&gt;The acceptable Keepalive range corresponds to the minimum and maximum Keepalive parameters in those modules and in the PCEP MIB (RFC 7420).&lt;/li&gt;&#10;&lt;li&gt;The PCEP library also decodes additional code points so that &lt;code&gt;pola session detail&lt;/code&gt; can show peer-advertised capabilities. This does not imply feature support.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-pola-sends"&gt;What Pola sends&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Message&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Contents&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Open&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;STATEFUL-PCE-CAPABILITY (U, I, and color flags), PATH-SETUP-TYPE-CAPABILITY (SR-MPLS and SRv6) with its SR-PCE-CAPABILITY and SRv6-PCE-CAPABILITY sub-TLVs, ASSOC-TYPE-LIST (SR Policy Association), SRPOLICY-CAPABILITY, and MULTIPATH-CAP.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PCInitiate (create)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRP; LSP with SYMBOLIC-PATH-NAME; ENDPOINTS; SR-ERO or SRv6-ERO; and the color and preference encoding described in &lt;a href="https://nttcom.github.io/pola/docs/reference/standards/#legacy-cisco-and-juniper-pccs"&gt;Legacy Cisco and Juniper PCCs&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PCInitiate (delete)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRP with the R flag; LSP with SYMBOLIC-PATH-NAME.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PCUpd&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SRP; LSP with the D flag and SYMBOLIC-PATH-NAME; and ERO.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Pola uses the SR Policy Association when both peers advertise the SR Policy Association type in ASSOC-TYPE-LIST and both advertise SRPOLICY-CAPABILITY (RFC 9862 Sections 4 and 5.1).&#10;For interoperability with Junos 25.2R1.9, Pola also sends it when both peers advertise the association type but the PCC omits SRPOLICY-CAPABILITY, unless the PCC advertises a legacy Cisco or Juniper association type.&#10;RFC 9862 Section 5.1 does not permit this fallback, and a PCC that enforces it may close the session.&lt;/p&gt;</description></item></channel></rss>