<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocdepth="3"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>

<rfc
    category="std"
    docName="draft-zhangb-cats-sci-implementation-00"
    ipr="trust200902"
    submissionType="IETF"
    consensus="true">

  <front>
    <title abbrev="CATS SCI Functional Implementation">
      CATS Service Contact Instance Functional Implementation
    </title>

    <author fullname="Bin Zhang" initials="B." surname="Zhang" role="editor">
      <organization>Pengcheng Laboratory</organization>
      <address>
        <postal>
          <street>Sibilong Street</street>
          <city>Shenzhen</city>
          <region>Guangdong</region>
          <code>518055</code>
          <country>CN</country>
        </postal>
        <email>zhangb@pcl.ac.cn</email>
      </address>
    </author>


    <date year="2026" month="July" day="27"/>

    <area>Routing</area>
    <workgroup>Computing-Aware Traffic Steering</workgroup>
    <keyword>CATS</keyword>
    <keyword>Service Contact Instance</keyword>
    <keyword>SCI</keyword>
    <keyword>metric aggregation</keyword>
    <keyword>request dispatch</keyword>
    <keyword>health monitoring</keyword>

    <abstract>
      <t>The Computing-Aware Traffic Steering (CATS) framework introduces the concept of a Service Contact Instance (SCI) as the client-facing entity responsible for receiving and dispatching service requests. While existing drafts define the framework and metrics, the concrete functional behavior of a Service Contact Instance remains underspecified.</t>
      <t>This document fills that gap by defining the functional implementation of a CATS Service Contact Instance. Specifically, it specifies how an SCI collects, aggregates, and reports service instance metrics to the CATS Service Metric Agent (C-SMA); how it monitors the health and status of underlying service instances; how it dispatches client requests to the most appropriate service instance based on local policy and real-time conditions; and how it maintains affinity and handles failure scenarios. This document complements <xref target="I-D.ietf-cats-framework"/> and <xref target="I-D.zhangb-cats-service-metrics-op"/> by providing the operational execution layer for the SCI.</t>
    </abstract>
  </front>

  <middle>

    <section title="Introduction" anchor="intro">
      <t>The Computing-Aware Traffic Steering (CATS) framework <xref target="I-D.ietf-cats-framework"/> defines a Service Contact Instance (SCI) as a client-facing function responsible for receiving requests in the context of a given service. The framework states that an SCI may dispatch service requests to one or more service instances and that steering beyond an SCI is hidden to both clients and CATS components.</t>
      <t>However, the framework does not specify:</t>
      <t>
        <list style="symbols">
          <t>How an SCI collects and aggregates metrics from its underlying service instances.</t>
          <t>How an SCI monitors the health and availability of service instances.</t>
          <t>How an SCI dispatches incoming requests to the appropriate service instance.</t>
          <t>How an SCI reports metrics to the CATS Service Metric Agent (C-SMA).</t>
        </list>
      </t>
      <t>This document defines the functional implementation of a CATS Service Contact Instance to address these gaps. It specifies the internal architecture, metric collection mechanisms, health monitoring, request dispatch logic, and reporting interfaces required for an SCI to operate within the CATS framework.</t>
      <t>The SCI acts as the boundary between the CATS-aware network and the service site. It is responsible for:</t>
      <t>
        <list style="symbols">
          <t>Collecting per-service-instance metrics (CPU, memory, GPU, throughput, queue depth, etc.).</t>
          <t>Aggregating these metrics into service-oriented abstractions (e.g., Global Available Slots, Computing Time) as defined in <xref target="I-D.zhangb-cats-service-metrics-op"/>.</t>
          <t>Monitoring service instance health and adjusting reported metrics accordingly.</t>
          <t>Receiving client requests from the Egress CATS-Forwarder and dispatching them to the most suitable service instance.</t>
          <t>Reporting aggregated metrics and status to the C-SMA.</t>
        </list>
      </t>

      <section title="Requirements Language" anchor="requirements-language">
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
      </section>
    </section>

    <section title="Terminology" anchor="terminology">
      <t>This document makes use of the terms defined in <xref target="I-D.ietf-cats-framework"/> and <xref target="I-D.zhangb-cats-service-metrics-op"/>. In particular:</t>
      <t>
        <list style="symbols">
          <t>CS-ID (CATS Service ID): An identifier for a service.</t>
          <t>CSCI-ID (CATS Service Contact Instance ID): An identifier for a service contact instance. In this document, it is interpreted operationally as a locator (e.g., IP address and port).</t>
          <t>Global Available Slots (GAS): The maximum number of concurrent requests a service site is willing and able to serve for a specific CS-ID at a given time.</t>
          <t>Computing Time: The time required for the site to perform one service request.</t>
          <t>C-SMA (CATS Service Metric Agent): The functional entity that collects service metrics and advertises them to C-PSes.</t>
        </list>
      </t>
      <t>Additionally, the following terms are used in this document:</t>
      <t>
        <list style="symbols">
          <t>Service Instance (SI): A collection of running resources that are orchestrated following a service logic. An SCI may manage one or more SIs for the same CS-ID.</t>
          <t>Service Instance ID (SI-ID): A local identifier for a service instance within the scope of an SCI.</t>
          <t>Instance Metric: A raw or derived metric specific to a single service instance (e.g., instance CPU utilization, instance queue length).</t>
          <t>Health Status: A qualitative assessment of a service instance's operational state (e.g., healthy, degraded, failed).</t>
        </list>
      </t>
    </section>

    <section title="Service Contact Instance Functional Architecture" anchor="architecture">
      <t>An SCI is logically composed of the following internal functional components:</t>

      <figure anchor="fig-arch" title="SCI Internal Functional Components">
        <artwork><![CDATA[
+-------------------------------------------------------------+
|                    Service Contact Instance (SCI)             |
|  +------------------+  +------------------+  +-------------+|
|  | Metric Collector |  | Health Monitor   |  | Dispatcher  ||
|  | (MC)             |  | (HM)             |  | (DP)        ||
|  +--------+---------+  +--------+---------+  +------+------+|
|           |                     |                  |        |
|  +--------v---------+  +--------v---------+  +----v------+|
|  | Metric Aggregator|  | Failure Handler  |  | Session   ||
|  | (MA)             |  | (FH)             |  | Manager   ||
|  +--------+---------+  +--------+---------+  +------+------+|
|           |                     |                  |        |
|  +--------v---------------------v------------------v------+|
|  |              Reporting Interface (RI)                   ||
|  +---------------------------+-----------------------------+|
|                              |                              |
+------------------------------v------------------------------+
                                  |
                          +-------v--------+
                          |    C-SMA       |
                          +----------------+
]]></artwork>
      </figure>

      <t>The internal components of an SCI are defined as follows:</t>
      <t>
        <list style="hanging">
          <t hangText="Metric Collector (MC):">Responsible for collecting raw metrics from each service instance. This includes CPU utilization, memory usage, GPU utilization, request queue depth, response latency, throughput, and error rates.</t>
          <t hangText="Metric Aggregator (MA):">Responsible for aggregating instance-level metrics into service-oriented metrics (e.g., GAS, Computing Time) as defined in <xref target="I-D.zhangb-cats-service-metrics-op"/>. The MA applies local policy and reference information (e.g., from <xref target="I-D.zhangb-cats-cmas"/>) to derive actionable metrics.</t>
          <t hangText="Health Monitor (HM):">Responsible for actively and passively monitoring the health of each service instance. It performs health checks, detects anomalies, and classifies instance status.</t>
          <t hangText="Failure Handler (FH):">Responsible for reacting to health changes. It updates the metric aggregator when instances fail or recover, and may trigger re-dispatch of in-flight requests.</t>
          <t hangText="Dispatcher (DP):">Responsible for receiving client requests from the Egress CATS-Forwarder and dispatching them to the most suitable service instance based on local load, health status, and affinity requirements.</t>
          <t hangText="Session Manager (SM):">Responsible for maintaining session state, including affinity bindings between client flows and service instances. It tracks active sessions and notifies the Metric Aggregator of slot allocation and release.</t>
          <t hangText="Reporting Interface (RI):">Responsible for formatting and sending aggregated metrics and status updates to the C-SMA.</t>
        </list>
      </t>

      <section title="SCI Position in CATS Framework" anchor="position">
        <t>The SCI sits at the boundary between the CATS network and the service site. Its relationships with other CATS components are:</t>
        <t>
          <list style="symbols">
            <t>The SCI receives traffic from the Egress CATS-Forwarder.</t>
            <t>The SCI reports metrics to the C-SMA, which may be co-located with or adjacent to the SCI.</t>
            <t>The C-SMA advertises the SCI's metrics (along with the CSCI-ID) to the C-PS.</t>
            <t>The C-PS uses these metrics to make traffic steering decisions.</t>
            <t>The SCI does not directly interact with the C-PS or C-NMA; all control-plane communication goes through the C-SMA.</t>
          </list>
        </t>
        <t>The SCI is transparent to the client. The client sees only the CSCI-ID (e.g., an IP address and port) and is unaware of the internal service instances managed by the SCI.</t>
      </section>
    </section>

    <section title="Service Instance Metric Collection" anchor="metric-collection">
      <t>The Metric Collector (MC) gathers the following categories of information from each service instance:</t>

      <section title="Metric Collection Scope" anchor="collection-scope">
        <t>
          <list style="hanging">
            <t hangText="Resource Metrics:">Raw computing resource utilization. Examples include: CPU utilization (%), Memory utilization (%), GPU utilization (%) and GPU memory usage, NPU/TPU utilization (if applicable), Disk I/O and network I/O rates.</t>
            <t hangText="Performance Metrics:">Service-level performance indicators. Examples include: Request queue depth, Average response time, Requests per second (throughput), Error rate (5xx errors, timeout rate).</t>
            <t hangText="Status Metrics:">Operational state indicators. Examples include: Instance health (up/down), Load average, Number of active connections/sessions, Custom application-level status.</t>
          </list>
        </t>
        <t>The MC collects these metrics at a configurable sampling interval (e.g., every 5-10 seconds). The specific collection mechanism (e.g., Prometheus scraping, SNMP, gRPC, HTTP health endpoints) is deployment-specific and outside the scope of this document.</t>
      </section>

      <section title="Collection Methods" anchor="collection-methods">
        <t>The MC SHOULD support multiple collection methods to accommodate different service instance types:</t>
        <t>
          <list style="hanging">
            <t hangText="Pull-based:">The MC periodically queries each service instance via a standardized metrics endpoint (e.g., Prometheus /metrics, HTTP REST API, SNMP). This is suitable for instances that expose metrics via well-known interfaces.</t>
            <t hangText="Push-based:">Service instances push metrics to the MC via a message queue or streaming protocol (e.g., gRPC streaming, MQTT, Kafka). This is suitable for high-frequency updates or event-driven metrics.</t>
            <t hangText="Agent-based:">A lightweight agent runs alongside each service instance and reports metrics to the MC. This is suitable for environments where instances cannot be modified to expose endpoints.</t>
          </list>
        </t>
        <t>The MC MUST support at least one of these methods. In mixed deployments, the MC MAY use different methods for different service instances.</t>
      </section>

      <section title="Aggregation and Derivation" anchor="aggregation">
        <t>The Metric Aggregator (MA) combines instance-level metrics into service-oriented metrics that are meaningful for CATS traffic steering. The key aggregated metrics are:</t>
        <t>
          <list style="hanging">
            <t hangText="Global Available Slots (GAS):">The MA calculates the total GAS for the SCI by summing the available capacity of all healthy service instances. For each instance, the available capacity is derived from: the instance's maximum concurrent request capacity (it is the initial GAS value which can be calculated based on resource allocation and reference GAS information), the instance's current active session count (from the Session Manager), and the instance's health status (from the Health Monitor). Unhealthy instances contribute 0 to GAS.</t>
          </list>
        </t>
        <t>GAS = SUM_over_instances(max_capacity_i - active_sessions_i) for all healthy instances i</t>
        <t>The MA MAY apply a local policy factor (e.g., a safety margin of 80%) to prevent over-subscription.</t>
        <t>
          <list style="hanging">
            <t hangText="Computing Time:">The MA estimates the Computing Time for the SCI based on the observed response times of service instances. This can be computed as: the weighted average of instance response times, weighted by instance load; the median or percentile (e.g., p95) of instance response times to account for outliers; or a dynamically adjusted estimate based on current load and historical trends. The MA also reports the min/max computing time and the associated input token counts for reference.
            </t>
            <t hangText="Optional Metrics:">The MA MAY also derive optional metrics such as Cost, Reputation, Security Label, and Capability (L1/L2) as defined in <xref target="I-D.zhangb-cats-service-metrics-op"/>.</t>
          </list>
        </t>
        <t>The derivation algorithm is a local matter and is not standardized by this document. However, the MA MUST ensure that the reported metrics are consistent and comparable across updates.</t>
      </section>
    </section>

    <section title="Service Instance Health Monitoring" anchor="health-monitoring">
      <t>The Health Monitor (HM) performs the following types of health checks on each service instance:</t>

      <section title="Health Check Types" anchor="health-check-types">
        <t>
          <list style="hanging">
            <t hangText="Liveness Check:">Verifies that the service instance process is running and responsive. This is typically done via a simple TCP connection or HTTP GET to a /health endpoint. Failure indicates the instance is down.</t>
            <t hangText="Readiness Check:">Verifies that the service instance is ready to accept new requests. This may check: whether the instance has finished initialization, whether critical dependencies are available, and whether the instance is not in a maintenance mode.</t>
            <t hangText="Performance Check:">Verifies that the service instance is performing within acceptable bounds. This may check: response time against a threshold, error rate against a threshold, and resource utilization (e.g., CPU &gt; 90% for 30 seconds).</t>
          </list>
        </t>
        <t>The HM SHOULD perform these checks at regular intervals (e.g., every 5-10 seconds for liveness, every 30 seconds for readiness and performance). The intervals and thresholds SHOULD be configurable.</t>
      </section>

      <section title="Failure Detection and Recovery" anchor="failure-detection">
        <t>The HM classifies each service instance into one of the following health states:</t>
        <t>
          <list style="symbols">
            <t>HEALTHY: The instance is fully operational and accepting requests.</t>
            <t>DEGRADED: The instance is operational but experiencing performance issues (e.g., high latency, high error rate). New requests MAY be steered away, but existing sessions are maintained.</t>
            <t>UNHEALTHY: The instance is not operational or not ready. No new requests are dispatched to this instance. Existing sessions MAY be migrated or terminated based on policy.</t>
            <t>UNKNOWN: The HM cannot determine the instance's status (e.g., network partition). The instance is treated as UNHEALTHY until status is confirmed.</t>
          </list>
        </t>
        <t>State transitions trigger the following actions:</t>
        <t>
          <list style="symbols">
            <t>HEALTHY -&gt; DEGRADED: The HM notifies the MA to reduce the instance's contribution to GAS. The DP reduces or stops sending new requests to the instance.</t>
            <t>DEGRADED -&gt; UNHEALTHY: The HM notifies the MA to set the instance's contribution to GAS to 0. The DP stops sending new requests. The SM initiates session migration or graceful termination for affected sessions.</t>
            <t>UNHEALTHY -&gt; HEALTHY: The HM notifies the MA to restore the instance's contribution to GAS. The DP resumes sending requests.</t>
          </list>
        </t>
        <t>The HM MUST implement a hysteresis mechanism (e.g., require N consecutive failed checks before marking UNHEALTHY, and M consecutive passed checks before marking HEALTHY) to avoid flapping.</t>
      </section>

      <section title="Metric Adjustment on Health Changes" anchor="metric-adjustment">
        <t>When the HM detects a health state change, the MA MUST adjust the aggregated metrics accordingly:</t>
        <t>
          <list style="symbols">
            <t>When an instance becomes DEGRADED, the MA MAY reduce its max_capacity by a configured degradation factor (e.g., 50%) or set it to 0 based on local policy.</t>
            <t>When an instance becomes UNHEALTHY, the MA MUST set its contribution to GAS to 0.</t>
            <t>When an instance recovers to HEALTHY, the MA MUST restore its contribution to GAS based on current load.</t>
            <t>The Computing Time estimate MUST be recalculated to exclude UNHEALTHY instances and weight DEGRADED instances lower.</t>
          </list>
        </t>
        <t>These adjustments are reflected in the next metric report to the C-SMA. The MA SHOULD batch rapid health changes to avoid excessive updates.</t>
      </section>
    </section>

    <section title="Request Dispatch and Load Balancing" anchor="dispatch">
      <t>The Dispatcher (DP) receives client requests from the Egress CATS-Forwarder and selects a service instance to handle each request. The dispatch decision is based on:</t>

      <section title="Dispatch Decision Logic" anchor="dispatch-logic">
        <t>
          <list style="numbers">
            <t>Affinity Requirements: If the request belongs to an existing session with affinity, the DP MUST dispatch to the same service instance (if healthy).</t>
            <t>Health Status: The DP MUST NOT dispatch to UNHEALTHY instances. It SHOULD avoid DEGRADED instances unless no HEALTHY instances are available.</t>
            <t>Load Balancing Policy: The DP selects among HEALTHY instances using a local load balancing algorithm. Supported algorithms include:</t>
            <t>
              <list style="symbols">
                <t>Round-robin: Distribute requests evenly across instances.</t>
                <t>Least-connections: Send to the instance with the fewest active sessions.</t>
                <t>Weighted response time: Send to the instance with the lowest observed response time.</t>
                <t>Resource-aware: Send to the instance with the lowest resource utilization (CPU, memory, GPU).</t>
                <t>Slot-based: Send to the instance with the most available slots (max_capacity - active_sessions).</t>
              </list>
            </t>
            <t>Local Policy: The DP MAY apply additional policies such as cost optimization, security labels, or instance preference.</t>
          </list>
        </t>
        <t>The DP MUST handle the case where no HEALTHY instances are available. In this case, it MAY:</t>
        <t>
          <list style="symbols">
            <t>Return an error to the client (e.g., HTTP 503 Service Unavailable).</t>
            <t>Queue the request and retry after a timeout.</t>
            <t>Dispatch to a DEGRADED instance as a last resort.</t>
          </list>
        </t>
      </section>

      <section title="Affinity Handling" anchor="affinity">
        <t>The Session Manager (SM) maintains affinity bindings between client flows and service instances. Affinity is identified by a flow key (e.g., 5-tuple: source IP, destination IP, source port, destination port, protocol).</t>
        <t>When a new request arrives:</t>
        <t>
          <list style="symbols">
            <t>The SM checks if the flow key has an existing binding.</t>
            <t>If yes, and the bound instance is HEALTHY, the DP dispatches to that instance.</t>
            <t>If yes, but the bound instance is UNHEALTHY, the SM removes the binding and the DP selects a new instance.</t>
            <t>If no binding exists, the DP selects an instance and the SM creates a new binding.</t>
          </list>
        </t>
        <t>Affinity bindings have a configurable timeout. After the timeout expires with no activity, the SM removes the binding.</t>
        <t>The SM MUST support affinity at the flow level. It MAY also support affinity at the session level (e.g., for HTTP sessions identified by cookies or session IDs).</t>
      </section>

      <section title="Session Lifecycle Management" anchor="session-lifecycle">
        <t>The SM tracks the lifecycle of each session:</t>
        <t>
          <list style="hanging">
            <t hangText="Allocation:">When a request is dispatched, the SM increments the active session count for the selected instance and records the flow binding.</t>
            <t hangText="Renewal:">For long-lived sessions, the SM may refresh the binding timeout on each packet or keepalive.</t>
            <t hangText="Release:">When the session ends (e.g., TCP FIN/RST, timeout, explicit logout), the SM decrements the active session count and removes the binding.</t>
          </list>
        </t>
        <t>The SM notifies the MA of session allocation and release events so that GAS can be updated. However, per-session changes do not necessarily trigger immediate reports to the C-SMA; the MA applies local aggregation and threshold policies.</t>
      </section>
    </section>

    <section title="Metric Reporting to C-SMA" anchor="reporting">
      <t>The Reporting Interface (RI) communicates with the C-SMA to report aggregated metrics and status updates.</t>

      <section title="Reporting Interface" anchor="reporting-interface">
        <t>The RI SHOULD use a reliable transport (e.g., TCP, QUIC, or HTTP/2) to ensure metric delivery. The specific protocol is deployment-specific.</t>
        <t>In centralized deployments (e.g., SDN controller), the RI MAY use a RESTful API (e.g., RESTCONF <xref target="RFC8040"/>) or gRPC to push metrics to the C-SMA.</t>
        <t>In distributed deployments, the RI MAY use a routing protocol extension (e.g., BGP-LS <xref target="RFC8571"/>, GRASP <xref target="RFC8990"/>) or a dedicated CATS metric distribution protocol.</t>
      </section>

      <section title="Update Policies and Thresholds" anchor="update-policies">
        <t>The RI applies the following policies to control update frequency:</t>
        <t>
          <list style="hanging">
            <t hangText="Periodic Heartbeat:">A full report is sent at a fixed interval (e.g., every 60 seconds) to maintain soft state and prevent stale metrics.</t>
            <t hangText="Threshold-based Trigger:">A delta report is sent when any metric crosses a configured threshold. Examples include: GAS changes by more than 10% or an absolute value of 50, Computing Time deviates by more than 20%, or Health status changes for any instance.</t>
            <t hangText="Event-based Trigger:">A delta report is sent immediately upon critical events: all instances become UNHEALTHY (GAS = 0), an instance recovers from UNHEALTHY to HEALTHY, or security-related events (e.g., detected attack).</t>
            <t hangText="Rate Limiting:">The RI MUST implement rate limiting to prevent excessive updates during rapid fluctuations (e.g., during a thundering herd or DDoS attack).</t>
          </list>
        </t>
        <t>The specific thresholds and intervals SHOULD be configurable via the CATS Management Plane.</t>
      </section>

      <section title="Report Message Format" anchor="message-format">
        <t>The report message contains the following fields:</t>
        <table anchor="tbl-report-fields">
          <name>Report Message Fields</name>
          <thead>
            <tr>
              <th>Field</th>
              <th>Description</th>
            </tr>
          </thead>
          <tbody>
            <tr><td>CSCI-ID</td><td>Identifier of the reporting SCI</td></tr>
            <tr><td>CS-ID</td><td>Identifier of the service</td></tr>
            <tr><td>Timestamp</td><td>Time of metric generation (Unix epoch)</td></tr>
            <tr><td>Sequence Number</td><td>Monotonically increasing sequence number</td></tr>
            <tr><td>GAS</td><td>Global Available Slots (uint32)</td></tr>
            <tr><td>Computing Time</td><td>Estimated processing time in milliseconds (uint32)</td></tr>
            <tr><td>Health Summary</td><td>Number of HEALTHY/DEGRADED/UNHEALTHY instances</td></tr>
            <tr><td>Optional Metrics</td><td>Cost, Reputation, Security Label, Capability (if applicable)</td></tr>
            <tr><td>Instance Details</td><td>Per-instance status (optional, for debugging)</td></tr>
          </tbody>
        </table>
        <t>The encoding details, including field lengths and wire format, are TBD and depend on the chosen transport protocol.</t>
      </section>
    </section>

    <section title="External Communication" anchor="external">
      <t>The SCI exposes a client-facing interface that is the CSCI-ID (e.g., an IP address and port). Clients send service requests to this interface, and the Egress CATS-Forwarder forwards traffic to it.</t>

      <section title="Client-Facing Interface" anchor="client-interface">
        <t>The SCI MUST support the following on the client-facing interface:</t>
        <t>
          <list style="symbols">
            <t>Accept incoming connections/requests from the Egress CATS-Forwarder.</t>
            <t>Maintain transport-layer state (e.g., TCP connections) for the duration of the session.</t>
            <t>Support the service protocol (e.g., HTTP, gRPC, RTP) required by the CS-ID.</t>
          </list>
        </t>
        <t>The SCI MUST NOT expose internal service instance details (e.g., SI-IDs, internal IP addresses) to the client.</t>
      </section>

      <section title="Egress CATS-Forwarder Interface" anchor="egress-interface">
        <t>The SCI communicates with the Egress CATS-Forwarder via the underlay network. The Egress CATS-Forwarder is responsible for:</t>
        <t>
          <list style="symbols">
            <t>Decapsulating CATS overlay traffic and forwarding it to the SCI's CSCI-ID.</t>
            <t>Receiving responses from the SCI and encapsulating them for return to the Ingress CATS-Forwarder.</t>
          </list>
        </t>
        <t>The SCI does not need to be CATS-aware; it operates as a standard service endpoint from the network perspective. However, the SCI MAY support CATS-specific signaling (e.g., for affinity or session state synchronization) if defined by future documents.</t>
      </section>
    </section>

    <section title="Security Considerations" anchor="security">
      <t>The SCI handles client requests and manages internal service instances, making it a critical security boundary. The following security measures are REQUIRED:</t>
      <t>
        <list style="hanging">
          <t hangText="Authentication:">The SCI MUST authenticate the Egress CATS-Forwarder to prevent unauthorized traffic injection. This may use mutual TLS, IPsec, or network-layer authentication.</t>
          <t hangText="Authorization:">The SCI MUST verify that incoming requests are authorized for the requested CS-ID. This may involve validating tokens, certificates, or network-level policies.</t>
          <t hangText="Isolation:">Service instances managed by the same SCI MUST be isolated from each other to prevent cross-tenant attacks. This includes network isolation (e.g., separate VLANs or namespaces) and resource isolation (e.g., CPU/memory limits).</t>
          <t hangText="Metric Integrity:">The RI MUST protect the integrity of metric reports sent to the C-SMA. This may use TLS, message authentication codes (MACs), or digital signatures.</t>
          <t hangText="Confidentiality:">Metric reports SHOULD be encrypted to prevent disclosure of internal service topology and capacity.</t>
          <t hangText="DDoS Protection:">The SCI SHOULD implement rate limiting and connection throttling to protect against denial-of-service attacks that could exhaust GAS.</t>
          <t hangText="Health Check Security:">Health check endpoints exposed by service instances SHOULD be protected to prevent spoofing or manipulation.</t>
        </list>
      </t>
    </section>

    <section title="IANA Considerations" anchor="iana">
      <t>This document has no IANA actions at this time.</t>
    </section>

  </middle>

  <back>

    <references title="Normative References">
      <reference anchor="RFC2119">
        <front><title>Key words for use in RFCs to Indicate Requirement Levels</title>
        <author initials="S." surname="Bradner" fullname="Scott Bradner"/>
        <date year="1997" month="March"/></front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="2119"/>
        <format type="TXT" target="https://www.rfc-editor.org/rfc/rfc2119.txt"/>
      </reference>

      <reference anchor="RFC8174">
        <front><title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
        <author initials="B." surname="Leiba" fullname="Barry Leiba"/>
        <date year="2017" month="May"/></front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="8174"/>
        <format type="TXT" target="https://www.rfc-editor.org/rfc/rfc8174.txt"/>
      </reference>

      <reference anchor="I-D.ietf-cats-framework">
        <front><title>A Framework for Computing-Aware Traffic Steering (CATS)</title>
        <author initials="C." surname="Li" fullname="Cheng Li"/>
        <author initials="Z." surname="Du" fullname="Zongpeng Du"/>
        <author initials="M." surname="Boucadair" fullname="Mohamed Boucadair"/>
        <date year="2026" month="March"/></front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-cats-framework-22"/>
        <format type="TXT" target="https://www.ietf.org/archive/id/draft-ietf-cats-framework-22.txt"/>
      </reference>

      <reference anchor="I-D.zhangb-cats-service-metrics-op">
        <front><title>Computing Service Metric Definitions and Operation under CATS</title>
        <author initials="B." surname="Zhang" fullname="Bin Zhang"/>
        <author initials="Y." surname="Dai" fullname="Yina Dai"/>
        <author initials="Z." surname="Du" fullname="Zongpeng Du"/>
        <date year="2026" month="July"/></front>
        <seriesInfo name="Internet-Draft" value="draft-zhangb-cats-service-metrics-op-03"/>
        <format type="TXT" target="https://www.ietf.org/archive/id/draft-zhangb-cats-service-metrics-op-03.txt"/>
      </reference>

      <reference anchor="RFC8040">
        <front><title>RESTCONF Protocol</title>
        <author initials="A." surname="Bierman" fullname="Andy Bierman"/>
        <author initials="M." surname="Bjorklund" fullname="Martin Bjorklund"/>
        <author initials="K." surname="Watsen" fullname="Kent Watsen"/>
        <date year="2017" month="January"/></front>
        <seriesInfo name="RFC" value="8040"/>
        <format type="TXT" target="https://www.rfc-editor.org/rfc/rfc8040.txt"/>
      </reference>

      <reference anchor="RFC8571">
        <front><title>BGP - Link State (BGP-LS) Advertisement of IGP Traffic Engineering Performance Metric Extensions</title>
        <author initials="L." surname="Ginsberg" fullname="Les Ginsberg"/>
        <author initials="S." surname="Previdi" fullname="Stefano Previdi"/>
        <author initials="Q." surname="Wu" fullname="Qin Wu"/>
        <date year="2019" month="March"/></front>
        <seriesInfo name="RFC" value="8571"/>
        <format type="TXT" target="https://www.rfc-editor.org/rfc/rfc8571.txt"/>
      </reference>

      <reference anchor="RFC8990">
        <front><title>GeneRic Autonomic Signaling Protocol (GRASP)</title>
        <author initials="C." surname="Bormann" fullname="Carsten Bormann"/>
        <author initials="B." surname="Carpenter" fullname="Brian Carpenter"/>
        <author initials="B." surname="Liu" fullname="Bing Liu"/>
        <date year="2021" month="March"/></front>
        <seriesInfo name="RFC" value="8990"/>
        <format type="TXT" target="https://www.rfc-editor.org/rfc/rfc8990.txt"/>
      </reference>
    </references>

    <references title="Informative References">
      <reference anchor="I-D.zhangb-cats-cmas">
        <front><title>Public Service Platform for Computing-Aware Traffic Steering (CATS)</title>
        <author initials="B." surname="Zhang" fullname="Bin Zhang"/>
        <author initials="Y." surname="Dai" fullname="Yina Dai"/>
        <author initials="Z." surname="Du" fullname="Zongpeng Du"/>
        <date year="2026" month="May"/></front>
        <seriesInfo name="Internet-Draft" value="draft-zhangb-cats-cmas-04"/>
        <format type="TXT" target="https://www.ietf.org/archive/id/draft-zhangb-cats-cmas-04.txt"/>
      </reference>
    </references>

    <section title="Acknowledgments" anchor="ack">
      <t>The authors thank the CATS working group for their valuable feedback and contributions to this document.</t>
    </section>

  </back>

</rfc>
