Get desktop application:
View/edit binary Protocol Buffers messages
On this API, only the following payloads will be sent: - InSync - IPSetUpdate - IPSetDeltaUpdate - IPSetRemove - ActiveProfileUpdate - ActiveProfileRemove - ActivePolicyUpdate - ActivePolicyRemove - WorkloadEndpointUpdate - WorkloadEndpointRemove - ServiceAccountUpdate - ServiceAccountRemove - NamespaceUpdate - NamespaceRemove - RouteUpdate - RouteRemove - VXLANTunnelEndpointUpdate - VXLANTunnelEndpointRemove
(message has no fields)
Sequence number incremented with each message. Useful for correlating messages in logs.
InSync is sent once a complete snapshot of the datastore has been processed. The dataplane driver should use it as a signal to resynchronise the dataplane.
IPSetUpdate is sent when an IP set becomes active. It contains the complete membership of the IP set.
IPSetDeltaUpdates are sent after the first IPSetUpdate; they contain a list of IPs that should be added and removed from the IP set.
IPSet remove is sent when an IP set is no longer needed.
ActiveProfileUpdate is sent when a profile becomes active or is updated.
ActiveProfileRemove is sent when a profile becomes inactive or is deleted.
ActivePolicyUpdate is sent when a policy becomes active or is updated.
ActivePolicyRemove is sent when a policy becomes inactive or is deleted.
HostEndpointUpdate is sent when a local host endpoint is added or updated.
HostEndpointRemove is sent when a local host endpoint is removed.
WorkloadEndpointUpdate is sent when a local workload endpoint is added or updated.
WorkloadEndpointRemove is sent when a local workload endpoint is removed.
ConfigUpdate is sent at start of day or when the config changes.
HostMetadataUpdate is sent when a host IP is added or updated. I.e. the IP used for BGP peering/IPIP.
HostIPRemove is sent when a host IP is removed.
IPAMPoolUpdate is sent when an IPAM pool is added/updated.
IPAMPoolRemove is sent when an IPAM pool is removed.
ServiceAccountUpdate is sent when a ServiceAccount is added/updated.
ServiceAccountRemove is sent when a ServiceAccount is removed.
NamespaceUpdate is sent when a Namespace is added/updated.
NamespaceRemove is sent when a Namespace is removed.
RouteUpdate is send when a route is added/updated.
RouteRemove is send when a route is deleted.
VXLANTunnelEndpointUpdate is send when a vtep is added/updated.
VXLANTunnelEndpointRemove is send when a route is deleted.
WireguardEndpointUpdate is sent to setup wireguard on the host.
WireguardEndpointRemove is sent to undo wireguard on the host.
GlobalBGPConfigUpdate is sent when global BGPConfiguration changes.
Used as request type in: infra.InfraAgent.ActivePolicyRemove
Used as field type in:
Used as request type in: infra.InfraAgent.ActivePolicyUpdate
Used as field type in:
Used as request type in: infra.InfraAgent.RemoveActiveProfile
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateActiveProfile
Used as field type in:
Used in:
Used in: ,
ProcessStatusUpdate is sent as a periodic heartbeat.
HostEndpointStatusUpdate is sent when the oper status of an endpoint changes.
HostEndpointStatusRemove is sent when an endpoint is removed to clean up its oper status entry.
WorkloadEndpointStatusUpdate is sent when the oper status of an endpoint changes.
WorkloadEndpointStatusRemove is sent when an endpoint is removed to clean up its oper status entry.
WireguardStatusUpdate is sent when the wireguard is available with the crypto primitives set up.
Used as request type in: infra.InfraAgent.UpdateGlobalBGPConfig
Used as field type in:
Used in:
Used in:
Used in:
Used in: , , ,
Used as request type in: infra.InfraAgent.RemoveHostEndpoint
Used as field type in:
Used in:
Used in:
Used as request type in: infra.InfraAgent.UpdateHostEndpoint
Used as field type in:
Used as request type in: infra.InfraAgent.RemoveHostMetaData
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateHostMetaData
Used as field type in:
Used in:
Used in:
Used in:
Used in:
Used as request type in: infra.InfraAgent.UpdateIPSetDelta
Used as field type in:
Used as request type in: infra.InfraAgent.RemoveIPSet
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateIPSet
Used as field type in:
Used in:
Each member is an IP address in dotted-decimal or IPv6 format.
Each member is "<IP>,(tcp|udp):port".
Each member is a CIDR in dotted-decimal or IPv6 format.
Used in:
Used in:
Used in:
(message has no fields)
Used in: ,
Used as request type in: infra.InfraAgent.RemoveNamespace
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateNamespace
Used as field type in:
Used in:
Used in:
If the Policy represents a NetworkPolicy, this contains the namespace that the policy came from. Otherwise, empty.
Used in: ,
Individual ports are sent with first == last.
Used in:
Used in:
Used in:
Used in: ,
Used in:
Used as request type in: infra.InfraAgent.RemoveRoute
Used as field type in:
Used in:
CIDR_INFO gives information about a CIDR without establishing a route. For example, it is emitted for IP pools with no blocks.
Used as request type in: infra.InfraAgent.UpdateRoute
Used as field type in:
The name of the node holding this destination, if this route targets a calico node.
IP of the node holding this destination.
Used in: ,
The list of ports is split into numeric and named ports, where named ports are represented by (IP, port) IP sets. A packet matches this rule if it matches any numeric port range *or* any listed named port IP set.
Distinguish between a match on type only and type+code. We can't use the fact that fields ar optional because Go can't distinguish 0 from "not-present".
IP sets on which we should match both IP and port.
These fields pass through the original selectors from the v3 datamodel unmodified as required for the policy sync API.
Original source service match criteria.
Original destination service match criteria.
Pass through of the v3 datamodel service account match criteria.
Pass through of the v3 datamodel HTTP match criteria.
An opaque ID/hash for the rule.
Used in:
Used in: ,
Used in:
Used as request type in: infra.InfraAgent.RemoveServiceAccount
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateServiceAccount
Used as field type in:
Used in: ,
Used in:
Used as request type in: infra.InfraAgent.RemoveVXLANTunnelEndpoint
Used as field type in:
Used as request type in: infra.InfraAgent.UpdateVXLANTunnelEndpoint
Used as field type in:
Used as request type in: infra.InfraAgent.RemoveWireguardEndpoint
Used as field type in:
The name of the wireguard host.
Used as request type in: infra.InfraAgent.UpdateWireguardEndpoint
Used as field type in:
The name of the wireguard host.
The public key for this endpoint.
The IP address of the wireguard interface.
Used in:
Wireguard public-key set on the interface.
Used in:
Used in: , , ,
Used as request type in: infra.InfraAgent.RemoveLocalEndpoint
Used as field type in:
Used in:
Used in:
Used as request type in: infra.InfraAgent.UpdateLocalEndpoint
Used as field type in: