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

     1  syntax = "proto3";
     2  
     3  package ligato.vpp.l3;
     4  
     5  option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l3;vpp_l3";
     6  
     7  message VrfTable {
     8      // ID is mandatory identification for VRF table.
     9      // NOTE: do not confuse with fib index (shown by some VPP CLIs),
    10      // which is VPP's internal offset in the vector of allocated tables.
    11      uint32 id = 1;
    12  
    13      // Protocol define IP protocol of VRF table.
    14      enum Protocol {
    15          IPV4 = 0;
    16          IPV6 = 1;
    17      }
    18      Protocol protocol = 2;
    19  
    20      // Label is an optional description for the table.
    21      // - maximum allowed length is 63 characters
    22      // - included in the output from the VPP CLI command "show ip fib"
    23      // - if undefined, then VPP will generate label using the template "<protocol>-VRF:<id>"
    24      string label = 3;
    25  
    26      // FlowHashSettings allows tuning of hash calculation of IP flows in the VRF table.
    27      // This affects hash table size as well as the stickiness of flows by load-balancing.
    28      // If not defined, default settings that are implicitly enabled are:
    29      //  - use_src_ip, use_dst_ip, use_src_port, use_dst_port, use_protocol
    30      message FlowHashSettings {
    31          bool use_src_ip = 1;
    32          bool use_dst_ip = 2;
    33          bool use_src_port = 3;
    34          bool use_dst_port = 4;
    35          bool use_protocol = 5;
    36          bool reverse = 6;
    37          bool symmetric = 7;
    38      }
    39      FlowHashSettings flow_hash_settings = 4;
    40  }