go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/wireguard/wireguard.proto (about)

     1  syntax = "proto3";
     2  
     3  package ligato.vpp.wireguard;
     4  
     5  option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/wireguard;vpp_wg";
     6  
     7  import "ligato/annotations.proto";
     8  
     9  message Peer {
    10    // Public-key base64
    11    string public_key = 1;
    12  
    13    // Peer UDP port
    14    uint32 port = 2  [(ligato_options).int_range = {minimum: 0 maximum: 65535}];
    15  
    16    // Keepalive interval (sec)
    17    uint32 persistent_keepalive = 3;
    18  
    19    // Endpoint IP
    20    string endpoint = 4  [(ligato_options).type = IP];
    21  
    22    // The name of the wireguard interface to which this peer belongs
    23    string wg_if_name = 5;
    24  
    25    // Flags
    26    // WIREGUARD_PEER_STATUS_DEAD = 0x1
    27    uint32 flags = 6;
    28  
    29    // Allowed IPs
    30    repeated string allowed_ips = 7  [(ligato_options).type = IP];
    31  }