Proto: mirror_policy.proto

Package: trafficcontrol.policy.gloo.solo.io

Types:

MirrorPolicyReport

FieldDescription
workspaces(repeated MirrorPolicyReport.WorkspacesEntry)

The status of the resource in each workspace that it exists in.
selectedRoutes(repeated common.gloo.solo.io.RouteReference)

A list of references to all rotues selected by the policy.

MirrorPolicyReport.WorkspacesEntry

FieldDescription
key(string)

value(common.gloo.solo.io.Report)

MirrorPolicySpec

MirrorPolicy is used to mirror/shadow traffic to a another destination (traffic will be sent to its original destination in addition to the mirrored destinations). MirrorPolicies are applied at the Route level.

FieldDescription
applyToRoutes(repeated common.gloo.solo.io.RouteSelector)

select the routes where the policy will be applied if left empty, will apply to all routes in the workspace.
config(MirrorPolicySpec.Config)

The details of the Mirror policy to apply to the selected routes

MirrorPolicySpec.Config

FieldDescription
destination(common.gloo.solo.io.DestinationReference)

The destination to which to send mirrored traffic
percentage(google.protobuf.DoubleValue)

Percentage of traffic to mirror. If omitted all traffic will be mirrored. Values must be between 0 and 100. For information about the value format, see the Google protocol buffer documentation.

MirrorPolicyStatus

reflects the status of the MirrorPolicy

FieldDescription
common(common.gloo.solo.io.Status)

numSelectedRoutes(uint32)

The number of routes selected by this policy.