github.com/cilium/cilium@v1.16.2/pkg/bgpv1/types/log.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package types
     5  
     6  const (
     7  	// ReconcilerLogField is used as key for reconciler name in the log field.
     8  	ReconcilerLogField = "reconciler"
     9  
    10  	// BGPNodeConfigLogField is used as key for BGP node config resource
    11  	BGPNodeConfigLogField = "bgp_node_config"
    12  
    13  	// InstanceLogField is used as key for BGP instance.
    14  	InstanceLogField = "instance"
    15  
    16  	// LocalASNLogField is used as key for BGP instance AS number
    17  	LocalASNLogField = "asn"
    18  
    19  	// ListenPortLogField is used as key for local port of BGP instance
    20  	ListenPortLogField = "listen_port"
    21  
    22  	// RouterIDLogField is used as key for BGP instance router ID
    23  	RouterIDLogField = "router_id"
    24  
    25  	// PeerLogField is used as key for BGP peer in the log field.
    26  	PeerLogField = "peer"
    27  
    28  	// FamilyLogField is used as key for BGP peer address family in the log field.
    29  	FamilyLogField = "family"
    30  
    31  	// PathLogField is used as key for BGP path in the log field.
    32  	PathLogField = "path"
    33  
    34  	// PrefixLogField is used as key for BGP prefix in the log field.
    35  	PrefixLogField = "prefix"
    36  
    37  	// AdvertTypeLogField is used as key for BGP advertisement type in the log field.
    38  	AdvertTypeLogField = "advertisement_type"
    39  
    40  	// PodIPPoolLogField is used as key for Pod IP pool in the log field.
    41  	PodIPPoolLogField = "pod_ip_pool"
    42  
    43  	// PolicyLogField is used as key for BGP policy in the log field.
    44  	PolicyLogField = "policy"
    45  )